[go: up one dir, main page]

CN120300545A - Power supply method, device, equipment and storage medium for cable electronic tag - Google Patents

Power supply method, device, equipment and storage medium for cable electronic tag Download PDF

Info

Publication number
CN120300545A
CN120300545A CN202510431724.XA CN202510431724A CN120300545A CN 120300545 A CN120300545 A CN 120300545A CN 202510431724 A CN202510431724 A CN 202510431724A CN 120300545 A CN120300545 A CN 120300545A
Authority
CN
China
Prior art keywords
power supply
cable
electronic tag
notification message
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510431724.XA
Other languages
Chinese (zh)
Inventor
付喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202510431724.XA priority Critical patent/CN120300545A/en
Publication of CN120300545A publication Critical patent/CN120300545A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

本申请公开了一种线缆电子标签的供电方法、装置、设备及存储介质,属于充电技术领域。该线缆电子标签的供电方法,应用于受电设备,受电设备通过数据线与供电设备通信连接,数据线包括线缆电子标签和第一端,第一端包括供电引脚,供电引脚的一端与线缆电子标签的电源端连接,供电引脚的另一端与受电设备连接;该线缆电子标签的供电方法包括:在向供电设备发送第一通知消息的情况下,控制供电引脚上电;第一通知消息用于指示读取数据线的线缆信息;在接收到数据线的线缆信息的情况下,控制供电引脚下电。

The present application discloses a power supply method, device, equipment and storage medium for a cable electronic tag, belonging to the field of charging technology. The power supply method for the cable electronic tag is applied to a powered device, the powered device is connected to the power supply device through a data line, the data line includes a cable electronic tag and a first end, the first end includes a power supply pin, one end of the power supply pin is connected to the power supply end of the cable electronic tag, and the other end of the power supply pin is connected to the powered device; the power supply method for the cable electronic tag includes: in the case of sending a first notification message to the power supply device, controlling the power supply pin to power on; the first notification message is used to indicate the reading of the cable information of the data line; in the case of receiving the cable information of the data line, controlling the power supply pin to power off.

Description

Power supply method, device, equipment and storage medium of cable electronic tag
Technical Field
The application belongs to the technical field of charging, and particularly relates to a power supply method, a device, equipment and a storage medium of a cable electronic tag.
Background
The data line is a cable that can connect two devices, through which one electronic device can be used to charge the other electronic device, and data in one electronic device can also be transmitted to the other electronic device.
At present, some data can be matched with a Universal FAST CHARGING Specific (UFCS) protocol to realize quick charging. In order to match UFCS protocols, a cable electronic tag needs to be added in the data line, and cable information of the data line such as the maximum current bearable by the data can be obtained through the cable electronic tag, so that the safety and the efficiency of charging are ensured. When cable information of the data line is acquired through the cable electronic tag, the cable electronic tag needs to be electrified, that is, needs to be powered.
In the related art, when the cable electronic tag is powered, a voltage stabilizing device is additionally arranged, so that the hardware cost is increased, and energy consumption loss is generated.
Disclosure of Invention
The embodiment of the application aims to provide a power supply method, a device, equipment and a storage medium of a cable electronic tag, which can reduce the power supply cost of the cable electronic tag and the energy consumption loss caused by power supply.
In a first aspect, an embodiment of the present application provides a power supply method for a cable electronic tag, where the power supply method is applied to a power receiving device, the power receiving device is connected with a power supply device through a data line, the data line includes the cable electronic tag and a first end, the first end includes a power supply pin, one end of the power supply pin is connected with a power supply end of the cable electronic tag, and the other end of the power supply pin is connected with the power receiving device;
the power supply method of the cable electronic tag comprises the following steps:
controlling the power supply pin to be electrified under the condition that a first notification message is sent to the power supply equipment, wherein the first notification message is used for indicating to read the cable information of the data line;
and under the condition that the cable information of the data line is received, controlling the power supply pin to be powered down.
In a second aspect, an embodiment of the present application provides a power supply device of a cable electronic tag, which is applied to a power receiving device, where the power receiving device is connected with the power supply device through a data line, the data line includes the cable electronic tag and a first end, the first end includes a power supply pin, one end of the power supply pin is connected with a power supply end of the cable electronic tag, and the other end of the power supply pin is connected with the power receiving device;
The power supply device of the cable electronic tag comprises a sending module, a control module and a receiving module;
the control module is used for controlling the power supply pin to be electrified under the condition that the sending module sends a first notification message to the power supply equipment, wherein the first notification message is used for indicating to read the cable information of the data line;
The control module is also used for controlling the power supply pins to be powered down under the condition that the receiving module receives the cable information of the data line.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to carry out the steps of the method according to the first aspect.
In the embodiment of the application, the powered device is connected with a first end of the data line, a power supply pin of the first end is electrically connected with a power port of the cable electronic tag, and the cable electronic tag is arranged in the data line. And controlling the power supply pin to be powered down when the power receiving equipment receives the cable information of the data line, so that the power supply pin in the first end is utilized to supply power for the cable electronic tag, and a voltage stabilizing device is not required to be additionally added, thereby reducing the hardware cost. Moreover, only when the power receiving equipment needs to acquire the cable information, the power receiving equipment can control the power supply pins to be electrified, and when the cable information is received, the power receiving equipment controls the power supply pins to be electrified, so that the dynamic control of power supply of the cable electronic tag is realized, the cable electronic tag is not required to be electrified normally, and the problem of energy loss caused by the normal power supply can be avoided.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a power supply method of a cable electronic tag according to an embodiment of the present application;
FIG. 2is a schematic diagram of an A-to-C cable according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a pin of a port C of an A-to-C cable according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an internal structure of an A-to-C cable according to an embodiment of the present application;
fig. 5 is a flowchart of a power supply method of a cable electronic tag according to an embodiment of the present application;
fig. 6 is an interaction schematic diagram of a powered device directly acquiring cable information according to an embodiment of the present application;
Fig. 7 is an interaction schematic diagram of a powered device indirectly acquiring cable information according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a power supply device of a cable electronic tag according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
The terms used in the embodiments of the present application will be described below, specifically as follows:
UFCS Universal FAST CHARGING specification, fusion of the rapid charging specifications;
Vconn a power supply pin inside the Type-c port;
A-to-C cable is a Standard-A-to-Type-C cable, A represents an A port, and C represents a C port.
As described above, the data line has a charging and data transmission function, that is, can charge the device, and can realize data transmission between different devices. Taking an example in which the datA line includes an A-to-C cable, the A-to-C cable is A universal serial bus (Universal Serial Bus, USB) cable, one end of the A USB-A interface, and the other end of the USB-A interface is A USB-C interface, which is also called A Type-C interface. Such cables are commonly used to connect USB-A interface enabled devices such as conventional chargers, notebook computers, and the like with USB-C interface enabled devices such as smartphones, game controllers, and the like.
At present, the A-to-C cable is mainly matched with a Universal FAST CHARGING Specific (UFCS) protocol to realize charging and data transmission. In order to match UFCS protocols, a cable electronic tag needs to be added in the A-to-C cable, and cable information of the A-to-C cable, such as the maximum current which can be born by the A-to-C cable, can be obtained through the cable electronic tag, so that the safety and the efficiency of charging are ensured. When cable information of the a-to-C cable is acquired through the cable electronic tag, the cable electronic tag needs to be charged, that is, needs to be powered.
The related art mainly uses a Voltage Bus (VBUS) at the power supply end of an a-to-C cable to supply power to the cable electronic tag. The working voltage of the cable electronic tag is generally 3.3V-5.5V, the power supply voltage of the VBUS is 5V-20V, and in order to meet the voltage requirement of the cable electronic tag, a voltage stabilizing device is additionally added, so that the voltage of the VBUS is reduced to 3.3V-5.5V through the voltage stabilizing device, and the hardware cost is increased. And VBUS is the cable electronic tags and always supplies power, causes the energy consumption loss easily.
Therefore, the embodiment of the application provides a power supply method, a device, equipment and a storage medium of a cable electronic tag, which can reduce the power supply cost of the cable electronic tag and the energy consumption loss caused by power supply.
The power supply method of the cable electronic tag provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a schematic application scenario of a power supply method of a cable electronic tag according to an embodiment of the present application, as shown in fig. 1, the application scenario may include a first electronic device 101, a second electronic device 102, and a data line 103, where the first electronic device 101 and the second electronic device 102 are connected by a data line 103 in a communication manner. Illustratively, the first electronic device may be a Type-a interface enabled device, which may include, for example, but is not limited to, a charger, a power adapter, a computer, and the like. The second electronic device may be a Type-C interface enabled device, which may include, for example, but is not limited to, a cell phone, a tablet computer, a game controller, and the like.
The data line 103 may be a cable supporting a Type-A interface and a Type-C interface, for example, in some embodiments, the data line 103 may be an A-to-C cable. That is, the first electronic device 101 may charge the second electronic device through the a-to-C cable, or the first electronic device 101 may perform data transmission with the second electronic device 102 through the a-to-C cable, that is, the first electronic device 101 may send data to the second electronic device 102 through the a-to-C cable, and the first electronic device 101 may also receive data sent by the second electronic device 102 through the a-to-C cable.
Taking the example of the data line 103 comprising an a-to-C cable, fig. 2 exemplarily provides a schematic diagram of an a-to-C cable, which comprises two ports, namely an a port 201 and a C port 202, wherein the C port 202 comprises 24 pin pins and the a port comprises 4 pin pins. The 24 pin configuration of the C-port 202 is shown in fig. 3.
The a-to-C cable includes a cable electronic tag, through which the first electronic device 101 and the second electronic device 102 may obtain cable information of the a-to-C cable, where the cable information may include, but is not limited to, a maximum current that the a-to-C cable can withstand, a temperature of the a-to-C cable, an over-voltage protection mechanism, and the like.
Fig. 4 schematically provides an internal structure of an a-to-C cable, and as shown in fig. 4, the C port 202 includes a power supply pin VBUS, a power supply pin Vconn, a ground pin GND, and a data transmission pin d+ and D-, and other pins are not shown in fig. 4, and may be particularly seen in fig. 3. The port a includes a supply pin VBUS, a data transfer pin d+, a data transfer pin D-and a ground pin GND. The cable electronic tag 401 includes a power supply terminal VDD and two data transmission pins, each of which may include two operation modes, i.e., a transmitting mode and a receiving mode, that is, each of which may be used as a transmitting port TX or a receiving port RX. The default working modes of the two data transmission pins of the cable electronic tag 401 are both receiving modes, that is, the two data transmission ports can only receive data, and if the cable electronic tag 401 needs to send data, the working mode of one of the data transmission ports needs to be switched from the receiving mode to the sending mode.
Specifically, the d+ of the a port 201 and the d+ of the C port 202 are in communication connection, the D-of the a port 201 and the D-of the C port 202 are in communication connection, the d+ of the a port 201 and the d+ of the C port 202 are respectively in communication connection with one data transmission port of the cable electronic tag 401, the D-of the a port 201 and the D-of the C port 202 are respectively in communication connection with the other data transmission port of the cable electronic tag 401, and the power supply pin Vconn of the C port 202 is electrically connected with the power supply terminal VDD of the cable electronic tag 401.
Referring to fig. 1 to fig. 4, taking charging of a device by using a data line 103 as an example, the power supply method of the cable electronic tag according to the embodiment of the present application may be applied to a powered device, where the powered device may be the second electronic device 102 in the foregoing embodiment, that is, a device supporting a type-c port.
As shown in fig. 5, the power supply method of the cable electronic tag may include the following steps:
and S510, controlling the power supply pin to be electrified under the condition that a first notification message is sent to the power supply equipment.
The first notification message is used for indicating cable information of the read data line.
And S520, controlling the power supply pin to be powered down under the condition that the cable information of the data line is received.
The power supply pin is controlled to be electrified under the condition that the power receiving equipment needs to acquire the cable information of the data line, and the power supply pin is controlled to be electrified under the condition that the power receiving equipment receives the cable information of the data line. The power supply pin in the first end of the data line is used for supplying power to the cable electronic tag, and a voltage stabilizing device is not required to be additionally arranged, so that hardware cost can be reduced. Moreover, only when the power receiving equipment needs to acquire the cable information, the power receiving equipment can control the power supply pins to power up and supply power to the cable electronic tag through the power supply pins, and when the cable information is received, the power receiving equipment controls the power supply pins to power down, namely, the power supply pins are not supplied with power any more, so that the dynamic control of the power supply pins is realized, namely, the dynamic control of the power supply of the cable electronic tag is realized, the power supply of the cable electronic tag is not needed, and the problem of energy loss caused by the constant power supply can be avoided.
The following describes the above steps in detail, as follows:
in S510, the first terminal is a terminal of the data line connected to the power receiving device, and is used for charging the power receiving device, so the first terminal is also called a charging terminal. The second end is one end of the data line connected with the power supply device and is used for receiving the electric energy of the power supply device and charging the power receiving device, so the second end is also called a power supply end. The power supply pin is a pin in the first end and is used for supplying power to devices in the data line, and when the data line is an A-to-C cable, the power supply pin is Vconn pins and can supply power to cable electronic tags in the A-to-C cable or other devices needing power supply, such as a sensor or an instrument.
For example, when the power receiving device needs to be charged, the power receiving device needs to acquire the cable information of the data line, at this time, the power receiving device may send a first notification message indicating that the cable information of the data line is read to the power supply device, and control the power supply pin in the first end to be powered on, so that the power supply pin can supply power for the cable electronic tag. Under the condition that the cable electronic tag is electrified, the power receiving equipment can acquire the cable information of the cable electronic tag, so that the safety and the efficiency of charging are ensured.
For example, the first notification message may be that the power receiving device notifies the power supply device to read the cable information in the cable electronic tag by the power supply device, that is, the power supply device directly interacts with the cable electronic tag, and the subsequent power receiving device may directly obtain the cable information of the data line from the power supply device.
The first notification message may also be an notification by the powered device to the powered device, where the powered device is about to read the cable information in the cable electronic tag, i.e. the powered device interacts directly with the cable electronic tag. That is, in this embodiment, the power receiving device may directly communicate with the cable electronic tag to obtain the cable information, or the power supply device may first communicate with the cable electronic tag to obtain the cable information, and then the power receiving device communicates with the power supply device to obtain the cable information, so that flexibility of a cable information obtaining manner may be improved.
The specific power-up process is not limited in this embodiment, for example, the power receiving device may be connected to the power supply pin through a hardware switch, and the power receiving device may power up the power supply pin by controlling on or off of the hardware switch. The hardware switch may be, for example, a field effect transistor. And if the power receiving equipment can also control the power supply pin to be powered on or powered off through the output level signal, for example, when the power receiving equipment outputs a high level, the power supply pin is powered on, and when the power receiving equipment outputs a low level, the power supply pin is powered off.
In S520, the power receiving device may control the power supply pin to power down when receiving the cable information, so as to stop supplying power to the cable electronic tag, so that energy consumption loss caused by normal power supply and heat generation of the data line may be reduced, and the service life of the data line may be prolonged.
The embodiment utilizes the mode of combining soft and hard to dynamically supply power for the cable electronic tag, cancels the traditional voltage stabilizing device, reduces the hardware cost, simultaneously does not need to always supply power for the cable electronic tag, further reduces the energy consumption loss and prolongs the service life of the data line.
In some embodiments, the notification message may include a first notification message, where the first notification message is configured to instruct the power supply device to set a state of a transmitting port of the power supply device to a first target state, where the first target state is configured to enable the power supply device to release control over the data line.
Based on this, in some embodiments, after S510, the power supply method of the cable electronic tag may further include the steps of:
The method comprises the steps that under the condition that a response message of a first notification message sent by power supply equipment is received, a first cable information reading request is sent to a cable electronic tag, wherein the power supply equipment responds to the first notification message to set the state of a sending port of the power supply equipment to be a first state, and the power supply equipment releases control rights to a data line in the first state;
And receiving the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
When the three terminals share the same bus for communication, the power supply device releases the control right to the data line to indicate that the power supply device neither actively drives signals nor pulls down or pulls up voltage, so that the influence on the communication between the power receiving device and the cable electronic tag can be avoided. The first state may be, for example, a high resistance state.
That is, the powered device may first send a first notification message to the power sourcing device before the powered device communicates with the cable electronic tag to obtain the cable information. After the power supply device receives the first notification message, a transmitting port (TX) of the power supply device can be set to be in a first state, so that the influence on the communication between the power receiving device and the cable electronic tag is avoided. And a response message is returned to the power receiving equipment, and after the power receiving equipment receives the response message returned by the power supply equipment, the first cable information reading request can be sent to the cable electronic tag. The first cable information reading request is used for requesting the cable electronic tag to acquire the cable information of the data cable. The first cable information reading request may include, but is not limited to, an identification of the powered device, an identification of the data line, and the like.
After the cable electronic tag receives the first cable information reading request, the cable information of the data cable can be returned to the powered device. Considering that under the default condition, two data transmission ports of the cable electronic tag are in a receiving mode, in order to ensure normal transmission of cable information, the cable electronic tag needs to switch the working mode of one of the data transmission ports from the receiving mode to the transmitting mode. So that normal transmission of cable information can be ensured.
For example, it is assumed that the cable electronic tag includes a data transmission port 1 and a data transmission port 2, and the cable electronic tag receives a first cable information reading request through the data transmission port 2, and after receiving the first cable information reading request, the cable electronic tag needs to switch the working mode of the data transmission port 1 to the transmitting mode, and then transmits the cable information to the powered device through the data transmission port 1. Thereby, the power receiving apparatus can acquire the cable information.
According to the embodiment, the power receiving equipment can communicate with the cable electronic tag to directly acquire the cable information, and the power receiving equipment sends the first notification message to the power supply equipment before communicating with the cable electronic tag, so that the power supply equipment is prevented from influencing the communication between the power receiving equipment and the cable electronic tag, and the accuracy of data transmission is guaranteed.
In order not to affect the interaction between the power sourcing equipment and the powered device, in some embodiments, S520 described above may include the steps of:
Transmitting a second notification message to the power supply device under the condition that the cable information of the data line is received, wherein the power supply device responds to the second notification message to switch the state of the transmitting port of the power supply device from the first state to the second state;
and controlling the power supply pin to be powered down under the condition that a response message of the second notification message sent by the power supply equipment is received.
The second state may be a state in which the transmitting port is located before the power supply apparatus receives the first notification message, that is, a non-high impedance state. The second notification message is used for notifying the power supply device to restore the state of the self TX, and provides a basis for the subsequent communication between the powered device and the power supply device.
The power receiving device may send a second notification message to the power supply device after receiving the cable information, which indicates that the power receiving device has successfully acquired the cable information, and the power supply device resumes the state of TX thereof after receiving the second notification message, that is, switches from the first state to the original state, and resumes the control right of the power supply device on the data line.
After the power supply equipment recovers the state of the self TX, a response message can be returned to the power receiving equipment, and after the power receiving equipment receives the response message, the power supply pin can be controlled to be powered down, and the power supply for the cable electronic tag is stopped.
According to the embodiment, after the power receiving equipment receives the cable information, communication with the power supply equipment can be restored, the power supply pins are controlled to be powered down, power supply for the cable electronic tag is stopped, dynamic power supply for the cable electronic tag is achieved, heating of the data wire is reduced, and the service life of the data wire is prolonged under the condition that power supply cost is reduced.
In some embodiments, the power supply of the cable electronic tag may further include the steps of:
And the power supply equipment responds to the first notification message to send a second cable information reading request to the cable electronic tag, and sends the cable information of the data cable to the power receiving equipment under the condition that the cable electronic tag receives the cable information of the data cable sent by the cable electronic tag responding to the second cable information reading request.
In the present embodiment, the power receiving apparatus may indirectly acquire the cable information through the power supply apparatus. That is, the power supply device firstly directly interacts with the cable electronic tag to obtain the cable information, and then the power supply device and the power receiving device send the cable information to the power receiving device.
The power supply device sends the second cable information reading request to the cable electronic tag after receiving the first notification message, and the cable electronic tag sends the cable information to the power supply device after receiving the second cable information reading request. And the power supply equipment forwards the cable information to the power receiving equipment after receiving the cable information.
In this embodiment, the powered device may indirectly obtain the cable information of the data line through the power supply device, which improves flexibility of a cable information obtaining manner and may be applicable to more scenes.
In some embodiments, after S510, the power supply method of the cable electronic tag may further include the steps of:
Receiving a third notification message sent by the power supply equipment, wherein the third notification message is sent by the power supply equipment under the condition of receiving the first notification message;
in response to the third notification message, setting a state of the transmitting port of the powered device to a third state, wherein in the third state, the powered device releases control of the data line.
In an exemplary embodiment, after receiving the first notification message sent by the power receiving device, the power supply device indicates that the cable electronic tag is already powered on, and in order to ensure that the power supply device communicates with the cable electronic tag normally, the power supply device may send a third notification message to the power receiving device first to notify the power receiving device that the power supply device is about to read the cable information.
And after receiving the third notification message, the power receiving equipment automatically sets the TX of the power receiving equipment to be in a third state so as to avoid affecting the communication between the power supply equipment and the cable electronic tag. The third state may be, for example, a high resistance state.
In the embodiment, before the power supply equipment and the cable electronic tag communicate to acquire the cable information, the TX of the power supply equipment is set to be in the third state in response to the third notification message sent by the power supply equipment, so that the influence on the communication between the power supply equipment and the cable electronic tag can be avoided, and the accuracy of the cable information is ensured.
In some embodiments, before S520, the power supply method of the cable electronic tag may further include the steps of:
Receiving a fourth known message sent by the power supply equipment, wherein the fourth known message is sent by the power supply equipment under the condition that the cable information of the data cable sent by the cable electronic tag is received;
Switching the state of the transmitting port of the powered device from the third state to a fourth state in response to the fourth notification message;
Transmitting a third cable information reading request to the power supply device;
Receiving cable information of a data line sent by power supply equipment, including:
And receiving the cable information of the data line sent by the power supply equipment in response to the third cable information reading request.
The fourth state is a state in which the power receiving apparatus can communicate with the power feeding apparatus, and may be, for example, a non-high resistance state. In an exemplary embodiment, after the power supply device receives the cable information returned by the cable electronic tag, in order to ensure that the cable information can be accurately fed back to the power receiving device, the power supply device needs to send a fourth notification message to the power receiving device to notify the power receiving device to update the state of the TX of the power receiving device. After receiving the fourth notification message, the power receiving device can restore the state of the TX of the power receiving device, thereby improving the condition for communication between the power receiving device and the power supply device.
After the power receiving apparatus resumes the state of itself TX, a third cable information reading request may be sent to the power supply apparatus to request acquisition of cable information of the data line from the power supply apparatus. After receiving the third cable information reading request, the power supply apparatus may send the cable information to the power receiving apparatus. Thereby, the power receiving apparatus indirectly acquires the cable information through the power supply apparatus.
According to the embodiment, not only can the cable information be directly obtained through communication with the cable electronic tag, but also the cable information can be indirectly obtained through the power supply equipment, so that the flexibility of the cable information is improved, but also the power receiving equipment responds to the fourth known message sent by the power supply equipment to restore the state of the TX of the power receiving equipment before the cable information is obtained through communication with the power supply equipment, so that the normal communication between the power receiving equipment and the power supply equipment is ensured, and the accuracy of the cable information is further ensured.
The following describes a communication procedure between a powered device, a power supply device, and a cable electronic tag based on the current UFCS protocol, taking an a-to-C cable as an example. Before the power receiving device and the power supply device communicate through the A-to-C cable, handshake based on UFCS protocol is needed, and after handshake is successful, the power supply device can charge the power receiving device through the A-to-C cable or perform data transmission with the power receiving device through the A-to-C cable. Specific handshake procedures this embodiment will not be described in detail.
Fig. 6 illustrates a communication procedure among the power receiving apparatus, the power feeding apparatus, and the cable electronic tag, taking the cable information obtained by the communication between the power receiving apparatus and the cable electronic tag as an example.
S610, the power receiving device transmits start_cable_detect, which indicates that the Cable information is about to be read, and controls Vconn to power up. Here, start_cable_detect represents the first notification message in the above embodiment.
And S620, after the power supply equipment receives the start_Cable_detection, the power supply equipment automatically sets the TX of the power supply equipment to be in a high-impedance state, and returns a response message to the power receiving equipment.
And S630, after receiving the response message, the powered device sends get_Cable_info to the Cable electronic tag, and reads the Cable information. Here get_cable_info represents the first Cable information read request in the above-described embodiment.
And S640, after the Cable electronic tag receives the get_Cable_info, the working mode of the other data transmission port is automatically switched from the receiving mode to the sending mode, and the Cable information is returned to the power receiving equipment.
S650, after receiving the Cable information, the power receiving device sends end_Cable_detect to the power supply device, and controls Vconn to power down. Here, end_cable_detect represents the second notification message in the above embodiment.
S660, the power supply equipment recovers the state of the self TX after receiving end_Cable_detection.
Fig. 7 illustrates a communication procedure among the power receiving apparatus, the power feeding apparatus, and the cable electronic tag, taking an example in which the power receiving apparatus acquires cable information indirectly through power feeding apparatus communication.
S710, the power receiving device sends detection_Cable_info to inform the power supply device to read the Cable information, and meanwhile the power receiving device controls Vconn to power on. Here, detect_cable_info represents the first notification message in the above embodiment.
S720, after receiving the detection_Cable_info, the power supply device sends start_Cable_detection to the power receiving device, and the start_Cable_detection indicates that the Cable information is about to be read. Here, start_cable_detect represents the third notification message in the above embodiment.
And S730, after receiving the start_Cable_detection, the power receiving equipment sets the self TX to be in a high impedance state and sends a response message to the power supply equipment.
And S740, after receiving the response message, the power supply equipment sends get_Cable_info to the Cable electronic tag, and reads the Cable information. Here get_cable_info represents the second Cable information read request in the above-described embodiment.
And S750, after the Cable electronic tag receives the get_Cable_info, the working mode of the other data transmission port is automatically switched from the receiving mode to the sending mode, and Cable information is returned to the power supply equipment.
S760, after receiving the Cable information, the power supply device sends end_Cable_detect to the power receiving device, and notifies the power receiving device to recover the state of TX. Here, end_cable_detect represents the fourth known message in the above embodiment.
S770, after receiving end_Cable_Detector, the powered device resumes the state of the TX itself, and controls Vconn to power down.
S780, the power receiving device sends get_Cable_info to the power supply device. Here get_cable_info represents the third Cable information read request in the above-described embodiment.
S790, after receiving the get_Cable_info, the power supply device returns the Cable information to the power receiving device.
In the above process, whether the power receiving device, the power supplying device or the cable electronic tag receives a message sent by any other party, an Acknowledgement (ACK) may be returned to the other party first, which indicates that the message has been received, and then, after a specific operation is performed based on the message, the execution result of the operation may be returned to the other party. Fig. 6 and 7 do not embody an ACK message.
The embodiment cancels the traditional voltage stabilizing device, only needs to add a connecting line between Vconn and the power end of the cable electronic tag, reduces the hardware cost, is matched with software control, controls Vconn to supply power when the cable information needs to be read after UFCS protocol handshake is successful, controls Vconn to supply power when the cable information is not needed, avoids extra heating of the cable, reduces energy consumption loss and prolongs the service life of the cable.
It should be noted that, in the power supply method for a cable electronic tag according to the embodiment of the present application, the execution body may be a power supply device for a cable electronic tag, or a processing module for executing the power supply method for a cable electronic tag in the power supply device for a cable electronic tag. In the embodiment of the application, a power supply method of a cable electronic tag is taken as an example for a power supply device of the cable electronic tag, and a communication device provided by the embodiment of the application is described.
Fig. 8 is a schematic structural diagram of a power supply device of a cable electronic tag according to an embodiment of the present application. The power supply device 800 of the cable electronic tag is applied to power receiving equipment, the power receiving equipment is in communication connection with the power supply equipment through a data line, the data line comprises the cable electronic tag and a first end, the first end comprises a power supply pin, one end of the power supply pin is connected with a power supply end of the cable electronic tag, and the other end of the power supply pin is connected with the power receiving equipment.
As shown in fig. 8, the power supply device 800 of the cable electronic tag may include a transmitting module 801, a control module 802, and a receiving module 803;
The control module 802 is configured to control the power supply pin to be powered on when the sending module 801 sends a first notification message to the power supply device;
the control module 802 is further configured to control the power supply pin to be powered down when the receiving module 803 receives the cable information of the data line.
In the embodiment of the application, the power receiving equipment is connected with the first end of the data wire, the second end of the data wire is connected with the power supply equipment, the power supply pin of the first end is electrically connected with the power supply port of the cable electronic tag, and the cable electronic tag is arranged in the data wire. And controlling the power supply pin to be electrified under the condition that the power receiving equipment needs to acquire the cable information of the data line, and controlling the power supply pin to be electrified under the condition that the power receiving equipment receives the cable information of the data line. The power supply pin in the first end is used for supplying power to the cable electronic tag, and a voltage stabilizing device is not required to be additionally arranged, so that hardware cost can be reduced. Moreover, only when the power receiving equipment needs to acquire the cable information, the power receiving equipment can control the power supply pins to power up and supply power to the cable electronic tag through the power supply pins, and when the cable information is received, the power receiving equipment controls the power supply pins to power down, namely, the power supply pins are not supplied with power any more, so that the dynamic control of the power supply pins is realized, namely, the dynamic control of the power supply of the cable electronic tag is realized, the power supply of the cable electronic tag is not needed, and the problem of energy loss caused by the constant power supply can be avoided.
In some possible implementations of the embodiments of the present application, the sending module 801 is further configured to send a first cable information reading request to the cable electronic tag when the receiving module 803 receives a response message of a first notification message sent by the power supply device, where the power supply device sets a state of a sending port of the power supply device to a first state in response to the first notification message, and in the first state, the power supply device releases control rights to the data line;
the receiving module 803 is further configured to receive cable information of a data line sent by the cable electronic tag in response to the first cable information reading request.
In some possible implementations of the embodiments of the present application, the sending module 801 is further configured to send a second notification message to the power supply device when the receiving module 803 receives the cable information of the data line, where the power supply device switches the state of the sending port of the power supply device from the first state to the second state in response to the second notification message;
the control module 802 is specifically configured to:
In the case that the receiving module 803 receives a response message of the second notification message sent by the power supply device, the power supply pin is controlled to be powered down.
In some possible implementations of the embodiment of the present application, the receiving module 803 is further configured to receive cable information of a data cable sent by a power supply device, where the power supply device sends a second cable information reading request to the cable electronic tag in response to the first notification message, and sends the cable information of the data cable to the power receiving device when the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request is received.
In some possible implementations of the embodiment of the present application, the receiving module 803 is further configured to receive a third notification message sent by the power supply device after the control module 802 controls the power supply pin to be powered on, where the third notification message is sent by the power supply device when the first notification message is received;
The control module 802 is further configured to set a state of a transmitting port of the powered device to a third state in response to the third notification message, where the powered device releases control rights to the data line in the third state.
In some possible implementations of the embodiments of the present application, the receiving module 803 is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when the cable information of the data line sent by the cable electronic tag is received;
the control module 802 is further configured to switch, in response to the fourth notification message, a state of a transmitting port of the powered device from the third state to a fourth state;
a sending module 801, configured to send a third cable information reading request to a power supply device;
The receiving module 803 is specifically configured to receive cable information of a data line sent by the power supply device in response to the third cable information reading request.
The power supply device of the cable electronic tag in the embodiment of the application can be a device or a component in electronic equipment, such as an integrated circuit or a chip. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet device (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a user digital assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a user computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The electronic device in the embodiment of the application can be a terminal with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The power supply device for the cable electronic tag provided by the embodiment of the application can realize each process in the power supply method embodiments of the cable electronic tag in fig. 5 to 7, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
As shown in fig. 9, the embodiment of the present application further provides an electronic device 900, which includes a processor 901 and a memory 902, where the memory 902 stores a program or an instruction that can be executed on the processor 901, and the program or the instruction when executed by the processor 901 implements each step of the power supply method embodiment of the cable electronic tag, and can achieve the same technical effect, so that repetition is avoided, and no redundant description is given here.
The electronic device in the embodiment of the application includes the mobile terminal and the non-mobile terminal.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. The electronic apparatus 1000 may be the power receiving apparatus in the above-described embodiment.
The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device 1000 structure shown in fig. 10 does not constitute a limitation of the electronic device 1000, and the electronic device 1000 may include more or less components than shown, or may combine some components, or may be arranged with different components, which will not be described in detail herein.
The processor 1010 is configured to control the power supply pin to be powered on when a first notification message is sent to the power supply device;
and under the condition that the cable information of the data line is received, controlling the power supply pin to be powered down.
In the embodiment of the application, the power receiving equipment is connected with the first end of the data wire, the second end of the data wire is connected with the power supply equipment, the power supply pin of the first end is electrically connected with the power supply port of the cable electronic tag, and the cable electronic tag is arranged in the data wire. And controlling the power supply pin to be electrified under the condition that the power receiving equipment needs to acquire the cable information of the data line, and controlling the power supply pin to be electrified under the condition that the power receiving equipment receives the cable information of the data line. The power supply pin in the first end is used for supplying power to the cable electronic tag, and a voltage stabilizing device is not required to be additionally arranged, so that hardware cost can be reduced. Moreover, only when the power receiving equipment needs to acquire the cable information, the power receiving equipment can control the power supply pins to power up and supply power to the cable electronic tag through the power supply pins, and when the cable information is received, the power receiving equipment controls the power supply pins to power down, namely, the power supply pins are not supplied with power any more, so that the dynamic control of the power supply pins is realized, namely, the dynamic control of the power supply of the cable electronic tag is realized, the power supply of the cable electronic tag is not needed, and the problem of energy loss caused by the constant power supply can be avoided.
In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to, after controlling the power supply pin to be powered on, send a first cable information reading request to the cable electronic tag if a response message of a first notification message sent by the power supply device is received;
And receiving the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
In some possible implementations of embodiments of the application, the processor 1010 is specifically configured to:
Transmitting a second notification message to the power supply device under the condition that the cable information of the data line is received, wherein the power supply device responds to the second notification message to switch the state of the transmitting port of the power supply device from the first state to the second state;
and controlling the power supply pin to be powered down under the condition that a response message of the second notification message sent by the power supply equipment is received.
In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to receive cable information of a data cable sent by a power supply device, where the power supply device sends a second cable information reading request to the cable electronic tag in response to the first notification message, and send the cable information of the data cable to the power receiving device when the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request is received.
In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to receive a third notification message sent by the power supply device after the power supply pin is controlled to be powered on, where the third notification message is sent by the power supply device when the first notification message is received;
And setting the state of the transmitting port of the powered device to a third state in response to the third notification message, wherein in the third state, the powered device releases control rights to the data line.
In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when the power supply device receives cable information of a data cable sent by the cable electronic tag;
Switching the state of the transmitting port of the powered device from the third state to a fourth state in response to the fourth notification message;
transmitting a three-two cable information reading request to power supply equipment;
And receiving the cable information of the data line sent by the power supply equipment in response to the third cable information reading request.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units, and optionally the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application program, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, realizes each process of the power supply method embodiment of the cable electronic tag, and can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer readable memory ROM, a random access memory RAM, a magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the power supply method embodiment of the cable electronic tag can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
An embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the power supply method embodiment of the cable electronic tag, and the same technical effects can be achieved, so that repetition is avoided, and a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (15)

1. The power supply method of the cable electronic tag is characterized by being applied to power receiving equipment, wherein the power receiving equipment is connected with the power supply equipment through a data line, the data line comprises the cable electronic tag and a first end, the first end comprises a power supply pin, one end of the power supply pin is connected with a power supply end of the cable electronic tag, and the other end of the power supply pin is connected with the power receiving equipment;
The method comprises the following steps:
Controlling the power supply pin to be electrified under the condition of sending a first notification message to the power supply equipment, wherein the first notification message is used for indicating to read the cable information of the data line;
and under the condition that the cable information of the data line is received, controlling the power supply pin to be powered down.
2. The method of claim 1, wherein after said controlling said power pin to power up, said method further comprises:
The power supply equipment responds to the first notification message to set the state of a transmitting port of the power supply equipment to be a first state, and the power supply equipment releases control right on the data line in the first state;
and receiving the cable information of the data cable, which is sent by the cable electronic tag in response to the first cable information reading request.
3. The method of claim 2, wherein controlling the power pin to be powered down in the case of receiving the cable information of the data line comprises:
Transmitting a second notification message to the power supply device under the condition that the cable information of the data line is received, wherein the power supply device responds to the second notification message to switch the state of a transmitting port of the power supply device from the first state to the second state;
and controlling the power supply pin to be powered down under the condition that a response message of the second notification message sent by the power supply equipment is received.
4. The method according to claim 1, wherein the method further comprises:
The power supply equipment responds to the first notification message to send a second cable information reading request to the cable electronic tag, and the cable information of the data cable is sent to the power receiving equipment under the condition that the cable information of the data cable sent by the cable electronic tag responding to the second cable information reading request is received.
5. The method of claim 4, wherein after said controlling said power pin to power up, said method further comprises:
receiving a third notification message sent by the power supply equipment, wherein the third notification message is sent by the power supply equipment under the condition that the first notification message is received;
and setting the state of the transmitting port of the powered device to a third state in response to the third notification message, wherein in the third state, the powered device releases control rights to the data line.
6. The method of claim 5, wherein the method further comprises:
receiving a fourth known message sent by the power supply equipment, wherein the fourth known message is sent by the power supply equipment under the condition of receiving the cable information of the data cable sent by the cable electronic tag;
Switching a state of a transmitting port of the powered device from the third state to a fourth state in response to the fourth notification message;
Transmitting a third cable information reading request to the power supply device;
the receiving the cable information of the data line sent by the power supply device includes:
and receiving the cable information of the data cable, which is sent by the power supply equipment in response to the third cable information reading request.
7. The power supply device of the cable electronic tag is characterized by being applied to power receiving equipment, wherein the power receiving equipment is in communication connection with the power supply equipment through a data line, the data line comprises the cable electronic tag and a first end, the first end comprises a power supply pin, one end of the power supply pin is connected with a power supply end of the cable electronic tag, and the other end of the power supply pin is connected with the power receiving equipment;
the device comprises a sending module, a control module and a receiving module;
The control module is used for controlling the power supply pin to be electrified under the condition that the sending module sends a first notification message to the power supply equipment, wherein the first notification message is used for indicating to read the cable information of the data line;
The control module is further used for controlling the power supply pin to be powered down under the condition that the receiving module receives the cable information of the data line.
8. The apparatus of claim 7, wherein the transmitting module is further configured to transmit a first cable information read request to the cable electronic tag if the receiving module receives a reply message of the first notification message transmitted by the power supply device, wherein the power supply device sets a state of a transmitting port of the power supply device to a first state in response to the first notification message, and wherein the power supply device releases control of the data line in the first state;
the receiving module is further configured to receive cable information of the data line, where the cable information is sent by the cable electronic tag in response to the first cable information reading request.
9. The apparatus of claim 8, wherein the transmitting module is further configured to transmit a second notification message to the power sourcing equipment if the receiving module receives the cable information for the data line, wherein the power sourcing equipment switches the state of the transmitting port of the power sourcing equipment from the first state to the second state in response to the second notification message;
the control module is specifically configured to:
And controlling the power supply pin to be powered down under the condition that the receiving module receives the response message of the second notification message sent by the power supply equipment.
10. The apparatus of claim 7, wherein the receiving module is further configured to receive cable information of the data line sent by the power sourcing equipment, wherein the power sourcing equipment sends a second cable information reading request to the cable electronic tag in response to the first notification message, and sends the cable information of the data line to the powered device when the cable information of the data line sent by the cable electronic tag in response to the second cable information reading request is received.
11. The apparatus of claim 10, wherein the receiving module is further configured to receive a third notification message sent by the power supply device after the control module controls the power supply pin to be powered on, where the third notification message is sent by the power supply device when the first notification message is received;
the control module is further configured to set a state of a transmitting port of the powered device to a third state in response to the third notification message, where in the third state, the powered device releases control rights to the data line.
12. The apparatus of claim 11, wherein the receiving module is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when cable information of the data line sent by the cable electronic tag is received;
The control module is further configured to switch a state of a transmitting port of the powered device from the third state to a fourth state in response to the fourth notification message;
the sending module is further used for sending a third cable information reading request to the power supply equipment;
The receiving module is specifically configured to:
and receiving the cable information of the data cable, which is sent by the power supply equipment in response to the third cable information reading request.
13. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method according to any of claims 1 to 6.
15. A computer program product, characterized in that the program product is stored in a storage medium, which program product is executed by at least one processor to carry out the steps of the method according to any one of claims 1 to 6.
CN202510431724.XA 2025-04-07 2025-04-07 Power supply method, device, equipment and storage medium for cable electronic tag Pending CN120300545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510431724.XA CN120300545A (en) 2025-04-07 2025-04-07 Power supply method, device, equipment and storage medium for cable electronic tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510431724.XA CN120300545A (en) 2025-04-07 2025-04-07 Power supply method, device, equipment and storage medium for cable electronic tag

Publications (1)

Publication Number Publication Date
CN120300545A true CN120300545A (en) 2025-07-11

Family

ID=96283379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510431724.XA Pending CN120300545A (en) 2025-04-07 2025-04-07 Power supply method, device, equipment and storage medium for cable electronic tag

Country Status (1)

Country Link
CN (1) CN120300545A (en)

Similar Documents

Publication Publication Date Title
US11288407B2 (en) Method and electronic device for controlling voltage output to external electronic device according to size of voltage detected at signal terminal connected to external electronic device
US8150539B2 (en) Information processing apparatus and method for controlling power supply of the apparatus
US11340676B2 (en) Method of identifying external electronic device based on power information and electronic device and storage medium for supporting same
WO2018147703A1 (en) Device for supplying power to external device and method therefor
CN116742740B (en) Charging device and electronic equipment
US20220147130A1 (en) Method for selectively controlling voltage, and electronic device and external electronic device therefor
KR102813618B1 (en) Method for power supply and an electronic device thereof
CN109921481A (en) OTG device and power supply method for supplying power to communication objects during USB communication
US20250147912A1 (en) Electronic device, fast charging method, apparatus, system, and readable storage medium
CN105917288A (en) Power state control signal
US11775040B2 (en) Electronic device and method for receiving power from external electronic device
CN112310756A (en) Electronic device for preventing USB device from being damaged and operation method thereof
US7552245B2 (en) Communication card with three operational states
CN109861335A (en) Charging system, electronic device and charging control method
KR20190084525A (en) Electronic device and method for operation thereof
CN108777627B (en) A power supply method and device
US11394225B2 (en) Method and apparatus for changing impedance of terminal included in connector
KR20210054172A (en) Method for controlling power path and electronic device supporting the same
KR20230057905A (en) Multi-port adaptor supporting power delivery and portable electronic device connected thereto
CN120300545A (en) Power supply method, device, equipment and storage medium for cable electronic tag
US20230378767A1 (en) Charging control method and apparatus, electronic device, and charger
KR20160081676A (en) Travel adapter
US20200364170A1 (en) Integrated electronic apparatus for data access, data transmission and power management and method thereof
CN111463912A (en) Electronic equipment and power supply control method
EP4280072B1 (en) Data transmission method of electronic device, electronic device, and interface circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination