Device identification method and system, and apparatus
By sending and receiving information instructions between the power supply device and the powered device, the cable label is instructed to change the address, which solves the cable label identification problem, realizes simple and correct cable label identification and access, and reduces the communication complexity.
Patent Information
- Application Number
- PCT/CN2025/084504
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-30
- Filing Date
- 2025-03-24
- Publication Date
- 2025-10-02
AI Technical Summary
In a scenario where a power supply device and a powered device communicate via a cable with two cable labels, how can the power supply device and the powered device easily and correctly identify the two cable labels of the cable?
By sending and receiving specific information instructions between the power supply device and the powered device, the cable label is instructed to change the address, and the cable label is identified by the address, ensuring that the power supply device and the powered device can identify the two cable labels in the cable.
This enables the power supply device and the powered device to easily and correctly identify and access the two cable labels in the cable without increasing the cable diameter and cost, reducing communication complexity and conflicts in cable label access.
Smart Images

Figure CN2025084504_02102025_PF_FP_ABST
Abstract
Description
Device identification method, system and device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 27, 2024, with application number 202410370642.4 and application name “A device identification method, system and device”, and the Chinese patent application filed with the China Patent Office on April 30, 2024, with application number 202410546864.7 and application name “A device identification method, system and device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal and communication technology, and in particular to a device identification method, system and apparatus. Background Art
[0003] Currently, two electronic devices can communicate with each other via a cable connection. For example, two electronic devices connected by a cable can be called a power supply and a powered device. The device that provides power can be called a power supply, and the device that receives power can be called a powered device. The power supply and the powered device are connected by a cable, and the power supply and the powered device can communicate with each other via the cable. The power supply can also provide power to the powered device via the cable. As electronic devices evolve, cables have also evolved. Some cables have two cable labels, one at each end of the cable. In scenarios where a power supply and a powered device communicate via a cable connection with two cable labels, the power supply and the powered device need to be able to identify the cable's two cable labels.
[0004] Therefore, in a scenario where a power supply device and a powered device communicate via a cable with two cable labels, how the power supply device and the powered device can simply and correctly identify the two cable labels of the cable is an urgent problem to be solved. Summary of the Invention
[0005] The present application provides a device identification method, system and apparatus. Through the device identification method provided by the present application, when a power supply device and a powered device communicate through a cable connection with two cable labels, the power supply device and the powered device can simply and correctly identify the two cable labels in the cable.
[0006] In the first aspect, the present application provides a device identification method, which can be applied to a first device. The first device may include a first power supply. The method may include: turning on the first power supply, the first power supply is used to power a first electronic tag, and the address of the first electronic tag is a first address; sending first information, the first information includes a first address and a second address; the first information is used to instruct the first electronic tag to change the address of the first electronic tag from the first address to the second address; receiving second information, the second information is used to indicate that the address of the first electronic tag has been changed to the second address; sending third information to a second device, the third information is used to instruct the second device to power the second electronic tag, and the address of the second electronic tag is the first address; receiving fourth information, the fourth information is used to indicate that the second device has powered the second electronic tag; sending fifth information, the fifth information includes the first address; the fifth information is used to confirm whether communication with the second electronic tag is possible; receiving sixth information, the sixth information is used to indicate that communication with the second electronic tag is possible.
[0007] The first device is a power supply device or a power receiving device.
[0008] The first electronic tag and the second electronic tag are in a cable, and the cable is used to connect the first device and the second device.
[0009] Using the method provided in the first aspect, the first device can instruct the first electronic tag to change its address from the first address to the second address. The second electronic tag's address remains the first address. Thus, the first electronic tag's address and the second electronic tag's address are different. Consequently, the first device can distinguish the first electronic tag from the second electronic tag by using the first and second electronic tag's addresses.
[0010] In combination with the first aspect, in a possible implementation, after receiving the sixth information, the method may also include: sending seventh information, the seventh information including the first address and the third address; the seventh information is used to instruct the second electronic tag to change the address of the second electronic tag from the first address to the third address; receiving eighth information, the eighth information is used to indicate that the address of the second electronic tag has been changed to the third address.
[0011] In this way, the first device can instruct the second electronic tag to change its address to the third address. This makes the address of the second electronic tag different from the address of the first electronic tag. In this way, the first device can distinguish the first electronic tag from the second electronic tag by the address of the first electronic tag and the address of the second electronic tag.
[0012] In conjunction with the first aspect, in one possible implementation, the third information is used to instruct the second device to power the second electronic tag, and may include: the third information is used to instruct the second device to turn on the second power supply. In this way, the first device can instruct the second device to turn on the power supply to power the second electronic tag.
[0013] In conjunction with the first aspect, in one possible implementation, after receiving the second message, the method may further include: sending a ninth message, the ninth message including the second address, used to confirm whether communication with the first electronic tag is possible; and receiving a tenth message, the tenth message indicating that communication with the first electronic tag is possible. In this way, the first device can determine that the address of the first electronic tag has been changed to the second address and can communicate with the first electronic tag.
[0014] In conjunction with the first aspect, in one possible implementation, after receiving the eighth message, the method may further include: sending an eleventh message, the eleventh message including the third address, the eleventh message being used to confirm whether communication with the second electronic tag is possible; and receiving a twelfth message, the twelfth message being used to indicate that communication with the second electronic tag is possible. Thus, after receiving the twelfth message, the first device can determine that the address of the second electronic tag has been changed to the third address and that communication with the second electronic tag is possible.
[0015] In conjunction with the first aspect, in one possible implementation, after turning on the first power supply, the method may further include: sending a thirteenth message, the thirteenth message including the first address, used to confirm whether communication with the first electronic tag is possible; and receiving a fourteenth message, the fourteenth message indicating that communication with the first electronic tag is possible. In this way, after turning on the first power supply and powering the first electronic tag, the first device can confirm that the cable tag is present in the cable and that communication is possible by sending the thirteenth message and receiving the tenth message.
[0016] In conjunction with the first aspect, in one possible implementation, before receiving the fourth message, the method may further include: receiving a fifteenth message, where the fifteenth message is used to indicate that the second device agrees to power the second electronic tag. In this way, the first device can learn from the fifteenth message that the second device can power the second electronic tag.
[0017] In this embodiment of the present application, the first information may be message 11. The second information may be message 12. The third information may be message 14. The fourth information may be message 16. The fifth information may be message 17. The sixth information may be the ACK sent by the cable label 305 to the powered device 100 described in step S1021. The seventh information may be message 18. The eighth information may be message 19. The ninth information may be message 13, and the tenth information may be the ACK involved in step S1010. The eleventh information may be message 20, and the twelfth information may be the ACK involved in step S1029. The thirteenth information may be message 10, and the fourteenth information may be the ACK involved in step S1003. The fifteenth information may be message 15.
[0018] Alternatively, the first information may be message 22. The second information may be message 23. The third information may be message 25. The fourth information may be message 27. The fifth information may be message 28. The sixth information may be the ACK sent by the cable label 306 described in step S1121 to the power supply device 200. The seventh information may be message 29. The eighth information may be message 30. The ninth information may be message 24, and the tenth information may be the ACK involved in step S1110. The eleventh information may be message 31, and the twelfth information may be the ACK involved in step S1129. The thirteenth information may be message 21, and the fourteenth information may be the ACK involved in step S1103. The fifteenth information may be message 26.
[0019] In a second aspect, a device identification system is provided, which may include: a first device, a second device, and a third device, wherein the first device and the second device are connected via the third device, and the third device includes a first electronic tag and a second electronic tag;
[0020] The first device may be used to: turn on a first power supply, the first power supply being used to power a first electronic tag, the address of the first electronic tag being a first address;
[0021] The first device may also be configured to: send first information, the first information including the first address and the second address, the first information being used to instruct the first electronic tag to change the address of the first electronic tag from the first address to the second address;
[0022] The first electronic tag may be used to: receive the first information, and modify the address of the first electronic tag from the first address to the second address;
[0023] The first electronic tag may be used to: send second information, where the second information is used to indicate that the address of the first electronic tag has been changed to the second address;
[0024] The first device may be configured to: receive second information;
[0025] The first device may be configured to: send third information to the second device, where the third information is used to instruct the second device to power the second electronic tag, where the address of the second electronic tag is the first address;
[0026] The second device may be configured to: receive third information;
[0027] The second device may be configured to: turn on a second power supply, the second power supply being configured to supply power to a second electronic tag, the address of the second electronic tag being the first address;
[0028] The second device may be configured to: send fourth information, where the fourth information is configured to indicate that the second device has turned on the second power supply;
[0029] The first device may be configured to: receive fourth information and send fifth information; the fifth information includes the first address, and the fifth information is used to determine whether communication with the second electronic tag is possible;
[0030] The second electronic tag may be used to: receive fifth information and send sixth information, where the sixth information is used to indicate that communication with the second electronic tag is possible;
[0031] The first device can be used to: receive sixth information.
[0032] The third device is a cable, the first device is a powered device, and the second device is a power supply device; or the first device is a power supply device, and the second device is a powered device.
[0033] With the system provided in the second aspect, the first device can instruct the first electronic tag to change its address from the first address to the second address. The second electronic tag's address remains the first address. Thus, the first electronic tag's address and the second electronic tag's address are different. Thus, the first device can distinguish the first electronic tag from the second electronic tag by using the first and second electronic tag's addresses.
[0034] In conjunction with the second aspect, in one possible implementation, the first device may be further configured to: after receiving the fourth message or after receiving the sixth message, send seventh information, where the seventh information includes the first address and the third address; and the seventh information is used to instruct the second electronic tag to change the address of the second electronic tag from the first address to the third address;
[0035] The second electronic tag may also be used to: receive the seventh information and change the address of the second electronic tag from the first address to the third address;
[0036] The second electronic tag may also be used to: send eighth information, where the eighth information is used to indicate that the address of the second electronic tag has been changed to the third address;
[0037] The first device may also be configured to: receive eighth information.
[0038] In this way, the first device can instruct the second electronic tag to change its address to the third address. This makes the address of the second electronic tag different from the address of the first electronic tag. In this way, the first device can distinguish the first electronic tag from the second electronic tag by the address of the first electronic tag and the address of the second electronic tag.
[0039] In conjunction with the second aspect, in one possible implementation, the first electronic tag may include a first power pin and a first configuration channel pin, and the first power supply is used to power the first electronic tag, which may specifically include: the first power supply is used to power the first electronic tag through the first power pin;
[0040] The first electronic tag may also be configured to receive first information via a first configuration channel pin.
[0041] In this way, the first electronic tag can receive power provided by the first power source through the first power pin. The first electronic tag can receive information (or message) sent by the first device through the first configuration channel pin.
[0042] In conjunction with the second aspect, in one possible implementation, the second electronic tag may include a second power pin and a second configuration channel pin, and the second power supply is used to power the second electronic tag, which may specifically include: the second power supply is used to power the second electronic tag through the second power pin;
[0043] The second electronic tag may be configured to receive fifth information via the second configuration channel pin.
[0044] In this way, the second electronic tag can receive power provided by the second power supply through the second power supply pin and can receive information sent by the first device through the second configuration channel pin.
[0045] In conjunction with the second aspect, in one possible implementation, the first device may be configured to: after receiving the second message, send a ninth message, where the ninth message includes the second address and is used to confirm whether communication with the first electronic tag is possible;
[0046] The first electronic tag may be configured to: receive a ninth message and send a tenth message, where the tenth message is configured to indicate that communication with the first electronic tag is possible;
[0047] The first device may be configured to: receive a tenth message.
[0048] In this way, the first device can determine that the address of the first electronic tag has been changed to the second address, and can communicate with the first electronic tag.
[0049] In conjunction with the second aspect, in a possible implementation, the first device may further be configured to: after receiving the eighth message, send an eleventh message, where the eleventh message includes the third address and is used to confirm whether communication with the second electronic tag is possible;
[0050] The second electronic tag may also be configured to: receive the eleventh message and send a twelfth message, where the twelfth message is used to indicate that communication with the second electronic tag is possible;
[0051] The first device may also be configured to: receive a twelfth message.
[0052] In this way, after receiving the twelfth message, the first device can determine that the address of the second electronic tag has been changed to the third address, and can communicate with the second electronic tag.
[0053] In conjunction with the second aspect, in one possible implementation, the first device may be further configured to: after turning on the first power supply, send a thirteenth message, where the thirteenth message includes the first address and is used to confirm whether communication with the first electronic tag is possible;
[0054] The first electronic tag may also be used to: receive a thirteenth message and send a fourteenth message, where the fourteenth message is used to indicate that communication with the first electronic tag is possible.
[0055] In this way, after turning on the first power supply to supply power to the first electronic tag, the first device can confirm that the cable tag exists in the cable and that the cable tag can communicate by sending the thirteenth message and receiving the tenth message.
[0056] With reference to the second aspect, in a possible implementation, the second device is configured to: before sending the fourth message, send a fifteenth message, where the fifteenth message is used to indicate that the second device agrees to supply power to the second electronic tag;
[0057] The first device is used to: receive the fifteenth message.
[0058] In this way, the first device can learn through the fifteenth message that the second device can supply power to the second electronic tag.
[0059] In a third aspect, an electronic device is provided, which may include a processor and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device executes the method involved in any possible implementation method of the first aspect.
[0060] In a fourth aspect, an electronic device is provided. The electronic device may include one or more functional modules, and the one or more functional modules are used for the method involved in any possible implementation manner of the first aspect.
[0061] In a fifth aspect, a chip system is provided, which is applied to an electronic device, and the chip system includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute the method involved in any possible implementation method of the first aspect.
[0062] In a sixth aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method involved in any possible implementation of the first aspect.
[0063] In a seventh aspect, a computer program product is provided, which includes a computer program / instruction. When the computer program / instruction is run on an electronic device, the electronic device executes the method involved in any possible implementation of the first aspect.
[0064] It is understandable that the electronic device provided in the third aspect, the electronic device provided in the fourth aspect, the chip system provided in the fifth aspect, the computer-readable storage medium provided in the sixth aspect, and the computer program product provided in the seventh aspect are all used to execute the method provided in this application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] FIG1 is a schematic diagram of a system 10 provided in an embodiment of the present application;
[0066] FIG2 is a schematic diagram of the structure and connection method of a power supply device 200, a cable 300, and a powered device 100 provided in an embodiment of the present application;
[0067] FIG3 is a device identification method provided by an embodiment of the present application;
[0068] FIG4 is a device identification method provided by an embodiment of the present application;
[0069] FIG5 is a schematic diagram of the structure and connection method of another power supply device 200, cable 300, and powered device 100 provided in an embodiment of the present application;
[0070] FIG6 is a device identification method provided by an embodiment of the present application;
[0071] FIG7 is a device identification method provided by an embodiment of the present application;
[0072] FIG8 is a schematic diagram of the structure and connection method of another power supply device 200, cable 300, and powered device 100 provided in an embodiment of the present application;
[0073] FIG9 is a schematic diagram of the structure and connection method of another power supply device 200, cable 300, and powered device 100 provided in an embodiment of the present application;
[0074] FIG10 is a device identification method provided in an embodiment of the present application;
[0075] FIG11 is a device identification method provided by an embodiment of the present application;
[0076] FIG12 is a schematic structural diagram of an electronic device 1200 provided in an embodiment of the present application;
[0077] FIG13 is a schematic structural diagram of a power supply device 1300 provided in an embodiment of the present application;
[0078] FIG14 is a schematic structural diagram of a power receiving device 1400 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0080] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of this application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless the context clearly indicates otherwise. The terms "first" and "second" are used for descriptive purposes only and are not to be understood as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "First" and "second" etc. are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first object and the second object are used to distinguish different objects, rather than to describe a specific order of objects.
[0081] In the description of the embodiments of this application, unless otherwise specified, "a plurality" means two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.
[0082] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0083] The term "and / or" in this application is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0084] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0085] First, a system 10 provided by an embodiment of the present application is introduced. The system 10 may include a powered device 100, a power supply device 200, and a cable 300. The powered device 100 and the power supply device 200 may be connected via the cable 300.
[0086] Exemplarily, the system 10 provided in an embodiment of the present application may be as shown in FIG1 , the powered device 100 may be the smart screen device shown in FIG1 , and the power supply device 200 may be the dock shown in FIG1 .
[0087] In the embodiments of the present application, the powered device 100 may be a device with a charging port. The powered device 100 is not limited to the smart screen device shown in FIG1 . For example, the powered device 100 may also be a router, camera, mobile phone, tablet, laptop computer, or other device. The embodiments of the present application do not limit the specific device of the powered device 100 .
[0088] In the embodiment of the present application, the power supply device can be a device with a power supply that can power other devices. The power supply device 200 is not limited to the dock shown in Figure 1. For example, the power supply device 200 can also be a switch. The embodiment of the present application does not limit the specific type of device of the power supply device 200.
[0089] In this embodiment of the present application, cable 300 has two cable labels. Cable 300 can contain both data conductors and power conductors. This means that the powered device 100 and the power supply device 200 can both transmit data and provide power via cable 300. This embodiment of the present application does not limit the specific materials and structure of cable 300.
[0090] In some possible implementations, as shown in FIG2 , a powered device (sink) 100 may include a Vbus 101 pin, a CC 102 pin, a Vcon 103 pin, and a GND 104 pin. A cable marker 301 may include a CC1 pin, a Vcon 10 pin, a Vcon 11 pin, and a Vcon 12 pin. A cable marker 302 may include a CC2 pin, a Vcon 20 pin, a Vcon 21 pin, and a Vcon 22 pin. A power supply device (source) 200 may include a Vbus 201 pin, a CC 202 pin, a Vcon 203 pin, and a GND 204 pin.
[0091] The Vbus 101 pin in the powered device 100 can be connected to the Vbus 201 pin in the power supply device 200 via the power line 205 in the cable 300. The CC 102 pin in the powered device 100 can be connected to the CC 202 pin in the power supply device 200 via the signal line 206 in the cable 300. The GND 104 pin in the powered device 100 can be connected to the GND 204 pin in the power supply device 200 via the ground line 208 in the cable 300.
[0092] The Vcon11 pin on the cable tag 301 can be connected to the Vcon203 pin on the power supply device 200 via a signal line 2072. The Vcon10 pin on the cable tag 301 can be connected to the Vcon20 pin on the cable tag 302 via a signal line 2071. The CC1 pin on the cable tag 301 can be connected to a signal line 206 and can communicate with the powered device 100 and the power supply device 200 via this signal line 206.
[0093] The Vcon21 pin in the cable tag 302 can be connected to the Vcon103 pin in the powered device 100 via the signal line 2073. The CC2 pin in the cable tag 302 can be connected to the signal line 206 and can communicate with the powered device 100 and the power supply device 200 via the signal line 206.
[0094] It will be understood that the above pin names are merely examples and this application does not limit the pin names.
[0095] In some examples, the power line 205 may be referred to as a power supply line, and the signal line 206, signal line 2071, signal line 2072, and signal line 2073 may be referred to as configuration channel connection lines or data lines, etc. This application does not limit the names of the power line 205, signal line 206, signal line 2071, signal line 2072, and signal line 2073.
[0096] Based on the structure and connection method of the powered device 100, power supply device 200, and cable 300 shown in Figure 2, Figure 3 shows an existing device identification method. As shown in Figure 3, before the power supply device 200 communicates with the cable 300, the device identification method may include the following steps:
[0097] S31 . The power supply device 200 turns on the power supply and supplies power to the cable tag 301 .
[0098] 2 , the power supply device 200 may include a Vcon 203 pin, which is connected to the Vcon 11 in the cable tag 301 via the power line 205 of the cable 300. The power supply device 200 may be powered on and then power the cable tag 301 via the Vcon 11 pin.
[0099] S32. The Vcon11 in the cable tag 301 is powered on and confirms the response to the sop' message.
[0100] The cable tag 301 can determine whether to respond to the sop' message or the sop" message sent by the power supply device 200 based on the powered pin. When the Vcon11 pin in the cable tag 301 is powered on, the cable tag 301 determines to respond to the sop' message sent by the power supply device 200. When the Vcon10 pin in the cable tag 301 is powered on, the cable tag 301 determines to respond to the sop" message sent by the power supply device 200.
[0101] SOP' messages and SOP" messages represent the start of pocket (Start of Pocket) messages, which can be divided into three types of messages: SOP messages, SOP' messages, and SOP" messages. In the power delivery (PD) protocol, messages communicated between the downstream facing port (DFP) and the near-end cable tag can be called SOP' messages. Messages communicated between the DFP and the far-end cable tag can be called SOP" messages, and messages communicated between the DFP and the upstream facing port (UFP) can be called SOP messages.
[0102] In some examples, a DFP can also be referred to as a primary device port. In a system consisting of a power supply device 200, a powered device 100, and a cable, a DFP can refer to the device in the system that provides external power. When the power supply device 200 is providing external power, it can be referred to as a DFP. When the powered device 100 is providing external power, it can be referred to as a DFP.
[0103] In some examples, the UFP may be referred to as a slave device port. In a system consisting of a power supply device 200, a powered device 100, and a cable, the UFP may refer to a device that obtains power in the system.
[0104] At this time, the power supply device 200 acts as a DFP and can send a sop' message or a sop" message.
[0105] Currently, the Vcon11 pin in the cable tag 301 is powered on, so the cable tag 301 can determine to respond to the sop' message.
[0106] S33 . The cable tag 301 supplies power to the cable tag 302 .
[0107] S34. Vcon20 in the cable tag 302 is powered on and confirms the response to the "sop" message.
[0108] Cable tag 302 can be powered via the connection line between the Vcon10 pin of cable tag 301 and the Vcon20 pin of cable tag 302. Cable tag 302 can determine whether to respond to the SOP' message or the SOP" message sent by power supply device 200 based on the powered pin. When the Vcon21 pin of cable tag 302 is powered, cable tag 302 determines to respond to the SOP' message sent by power supply device 200. When the Vcon20 pin of cable tag 302 is powered, cable tag 301 determines to respond to the SOP" message sent by power supply device 200.
[0109] Currently, the Vcon20 pin in the cable tag 302 is powered on, so the cable tag 302 can determine to respond to the "sop" message.
[0110] Thus, when the power supply device 200 sends a sop' message via the CC 202 pin, the cable tag 301 can respond to the sop' message. When the power supply device 200 sends a sop" message via the CC 202 pin, the cable tag 302 can respond to the sop" message.
[0111] Based on the structure and connection method of the powered device 100, power supply device 200, and cable 300 shown in Figure 2, Figure 4 shows an existing device identification method. As shown in Figure 4, before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:
[0112] S400 . The powered device 100 sends a DR_Swap instruction to the power supply device 200 .
[0113] The powered device 100 may send a DR_Swap instruction to the power supply device 200. The DR_Swap instruction is used to instruct the power supply device 200 to agree to the powered device 100 switching from UFP to DFP.
[0114] S401 . The power supply device 200 replies an accept message to the powered device 100 .
[0115] The power supply device 200 may reply an accept message to the powered device 100. The accept message may be used to indicate that the power supply device 200 accepts and supports the DR_Swap instruction. That is, the power supply device 200 accepts and supports the powered device 100 switching from UFP to DFP.
[0116] In a possible implementation, step S401 is an optional step, that is, the power supply device 200 may not reply with an accept message. When the power supply device 200 supports the powered device 100 switching from UFP to DFP, the power supply device 200 directly executes step S402.
[0117] S402. The power supply device 200 turns off the power supply.
[0118] After receiving the DR_Swap instruction, the power supply device 200 may turn off the power supply, that is, the power supply device 200 no longer supplies power to the cable tag 301 via the signal line 2072 between the Vcon203 pin and the Vcon11 pin of the cable tag 301 .
[0119] S403 . The power supply device 200 sends PS_RDY to the power receiving device 100 .
[0120] The power supply device 200 may send PS_RDY to the powered device 100. PS_RDY may be used to indicate that the power supply device 200 has reached a desired working state, that is, the power supply in the power supply device 200 has been turned off.
[0121] In a possible implementation, step S403 is an optional step, that is, the power supply device 200 may not send the PS_RDY to the powered device 100 after turning off the power supply.
[0122] S404 . The powered device 100 turns on the power supply to supply power to the cable tag 302 .
[0123] 2 , the powered device 100 may include a Vcon103 pin, which is connected to the Vcon21 pin on the cable tag 302 via a signal line 2073 on the cable 300. The powered device 100 can be powered on and then power can be supplied to the cable tag 302 via the signal line 2073 between the Vcon103 pin and the Vcon21 pin on the cable tag 302.
[0124] S405. Vcon21 in the cable tag 302 is powered on and confirms the response to the sop' message.
[0125] The Vcon21 pin in the cable tag 302 is powered on, so the cable tag 302 can determine to respond to the sop' message.
[0126] Step S405 may refer to the description of step S32 above, which will not be repeated here.
[0127] S406 . The cable tag 302 supplies power to the cable tag 301 .
[0128] S407. Vcon10 in the cable tag 301 is powered on and confirms the response to the "sop" message.
[0129] The cable tag 302 can power the cable tag 301 via the signal line 2071 between the Vcon20 pin and the Vcon10 pin of the cable tag 301. At this time, the Vcon10 pin of the cable tag is powered on. After the Vcon10 pin of the cable tag 301 is powered on, the cable tag 301 can determine to respond to the "sop" message.
[0130] Thus, when the powered device 100 sends a sop' message via the CC 102 pin, the cable tag 302 can respond to the sop' message. When the powered device 100 sends a sop" message via the CC 102 pin, the cable tag 301 can respond to the sop" message.
[0131] In the cable 300 shown in FIG2 , only one conductor (e.g., signal line 2071 shown in FIG2 ) is required between the cable label 301 and the cable label 302. This increases the cable diameter and cost. Furthermore, the UFP (e.g., powered device 100) must switch power via protocol instructions before communicating with the cable.
[0132] To save cable costs and avoid increasing the cable diameter, some prior art techniques do not require a wire connection between the two cable labels of cable 300. For example, as shown in FIG5 , cable 300 may include cable label 303 and cable label 304, power line 505, signal line 506, signal line 5071, signal line 5072, and ground line 508.
[0133] The power line 505 can connect the Vbus201 pin of the power supply device 200 and the Vbus101 pin of the powered device 100. The power supply device 200 can provide power to the powered device 100 through the power line 505.
[0134] The cable label 303 may include a CC501 pin and a Vcon502 pin. The CC501 pin in the cable label 303 may be connected to a signal line 506 and, via the signal line 506 in the cable, to the CC202 pin in the power supply device 200 and the CC102 pin in the powered device 100. The Vcon502 pin in the cable label 303 may be connected to the Vcon203 pin of the power supply device 200 via a signal line 5071.
[0135] The cable label 304 may include a CC503 pin and a Vcon504 pin. The CC503 pin in the cable label 304 may be connected to a signal line 506, and connected to the CC202 pin in the power supply device 200 and the CC102 pin in the powered device 100 via the signal line 506 in the cable. The Vcon504 pin in the cable label 304 may be connected to the Vcon103 pin of the powered device 100 via a signal line 5072.
[0136] The ground line 508 may be used to connect the GND204 pin in the power supply device 200 and the GND104 pin in the powered device 100 .
[0137] Based on the structure and connection method of the power supply device 100, the powered device 200, and the cable 300 shown in Figure 5, Figure 6 shows an existing device identification method. As shown in Figure 6, the power supply device 200 can serve as the DFP in the system 10. Before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:
[0138] S601 . The power supply device 200 turns on the power supply and supplies power to the cable tag 303 .
[0139] 5 , the power supply device 200 may include a Vcon 203 pin, which is connected to a Vcon 502 pin in the cable tag 303 via a signal line 5071 of the cable 300 . The power supply device 200 may be powered on and then power the cable tag 303 via the signal line 5071 .
[0140] S602. The Vcon 502 in the cable tag 303 is powered on and determines to respond to the sop' message.
[0141] After the Vcon 502 pin in the cable tag 303 is powered on, the cable tag 303 may determine to respond to the sop' message.
[0142] For steps S601 and S602, reference may be made to the description of steps S31 and S32 above, which will not be repeated here.
[0143] When power supply device 200 functions as a DFP, only the proximal cable tag of power supply device 200, namely cable tag 303, can be powered. The PD protocol stipulates that power supply device 200 and powered device 100 cannot simultaneously power the proximal cable tag. Therefore, when power supply device 200 functions as a DFP, power supply device 200 can only communicate with cable tag 303. Since cable tag 304 is not powered, power supply device 200 cannot communicate with cable tag 304.
[0144] Based on the structure and connection method of the power supply device 100, the powered device 200, and the cable 300 shown in Figure 5, Figure 7 shows a conventional device identification method. As shown in Figure 7, the powered device 100 can serve as the DFP in the system 10. Before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:
[0145] S700 . The powered device 100 sends a DR_Swap instruction to the power supply device 200 .
[0146] S701 . The power supply device 200 replies an accept message to the powered device 100 .
[0147] S702: The power supply device 200 turns off the power supply.
[0148] S703 . The power supply device 200 sends PS_RDY to the power receiving device 100 .
[0149] For steps S700 to S703 , reference may be made to the description of steps S400 to S403 above, which will not be repeated here.
[0150] S704 . The powered device 100 turns on the power supply to supply power to the cable tag 304 .
[0151] 5 , the powered device 100 may include a Vcon 103 pin, which is connected to a Vcon 504 in the cable tag 304 via a signal line 5072 of the cable 300 . The powered device 100 may be powered on, and then power may be supplied to the cable tag 304 via the signal line 5072 .
[0152] S705 . The Vcon 504 in the cable tag 304 is powered on and determines to respond to the sop′ message.
[0153] After the Vcon 504 pin in the cable tag 304 is powered on, the cable tag 304 may determine to respond to the sop' message.
[0154] When the powered device 100 is operating as a DFP, only the proximal cable tag of the powered device 100, namely, cable tag 304, can be powered. Due to the PD protocol, the power supply device 200 and the powered device 100 cannot simultaneously power the proximal cable tags. Therefore, when the powered device 100 is operating as a DFP, it can only communicate with cable tag 304. Since cable tag 303 is not powered, the powered device 200 cannot communicate with cable tag 303.
[0155] In the device identification method shown in Figures 6 and 7, during the communication process, the two cable tags in cable 300 cannot be powered on simultaneously. The power supply device 200 and the powered device 100 need to poll to access the two cable tags. That is, when the power supply device 200 accesses cable tag 303, if the powered device 100 wants to access cable tag 304, it must first switch power through the protocol, switching from powering the cable tag on the power supply device 200 to powering the cable tag on the powered device 100. Only then can the powered device 100 access the cable tag 304. This increases the design complexity of communication between the power supply device 200 and the powered device 100 and the two cable tags during charging, causing bus conflicts.
[0156] For cables with two cable labels, in order to solve the problems existing in the above-mentioned existing device identification methods, the embodiments of the present application provide a device identification method. Through the device identification method provided by the embodiment of the present application, when no wire is added between the two cable labels of the cable, both the power supply device and the powered device can identify the two cable labels in the cable and can access the two cable labels in the cable at the same time. Before introducing a device identification method provided by the embodiment of the present application, another structure and connection method of the power supply device 200, cable 300 and powered device 100 provided by the embodiment of the present application are first introduced. Figure 8 exemplarily shows another structure and connection method of the power supply device 200, cable 300 and powered device 100.
[0157] As shown in Figure 8, power supply device 200 may include GND 821, CL 822, and CL 823 pins, with CL 823 pin connected to power supply Vc 824. Power receiving device 100 may include GND 811, CL 812, and CL 813 pins, with CL 813 pin connected to power supply Vc 814. Cable 300 may include cable markers 305 and 306, a ground line 805, a signal line 806, a signal line 8071, and a signal line 8072. Cable marker 305 may include Vcon 801 and CL 802 pins. Cable marker 306 may include Vcon 803 and CL 804 pins.
[0158] The GND811 pin of the powered device 100 is connected to the GND821 pin of the power supply device 200 via the ground line 805 of the cable 300 . The CL812 pin of the powered device 100 is connected to the CL822 pin of the power supply device 200 via the signal line 806 of the cable 300 .
[0159] The CL 823 pin of the power supply device 200 can be connected to the Vcon 801 pin of the cable tag 305 via a signal line 8071. When the power source Vc 824 of the power supply device 200 is turned on, power can be supplied to the cable tag 305 via the signal line 8071. For example, as shown in FIG8 , when the switch 825 of the power supply device 200 is closed, that is, when the contact 8251 of the switch 825 is connected to the contact 8252, the power source Vc 824 of the power supply device 200 can be said to be turned on.
[0160] The CL 813 pin of the powered device 100 can be connected to the Vcon 803 pin of the cable tag 306 via a signal line 8072. When the power source Vc 814 of the powered device 100 is turned on, power can be supplied to the cable tag 306 via the signal line 8072. For example, as shown in FIG8 , when the switch 815 of the powered device 100 is closed, that is, when the contact 8151 of the switch 815 is connected to the contact 8152, the power source Vc 814 of the power supply device 200 can be said to be turned on.
[0161] The CL802 pin in the cable label 305 can be connected to the signal line 806 and connected to the CL822 pin in the power supply device 200 and the CL812 pin in the powered device 100 through the signal line 806 .
[0162] The CL804 pin in the cable label 306 can be connected to the signal line 806 and connected to the CL822 pin in the power supply device 200 and the CL812 pin in the powered device 100 through the signal line 806 .
[0163] The power supply device 200 and the powered device 100 can communicate via signal line 806. The power supply device 200 and the cable tag 305 can communicate via signal line 806. The power supply device 200 and the cable tag 306 can communicate via signal line 806. Similarly, the powered device 100 and the cable tag 305 can communicate via signal line 806. The powered device 100 and the cable tag 306 can communicate via signal line 806.
[0164] In the embodiment of the present application, the cable label 305 and the cable label 306 may be referred to as electronic labels or cable electronic labels, which is not limited in the embodiment of the present application.
[0165] In some examples, the connection between the internal circuit of any of the power supply device 200, the powered device 100, the cable label 305, and the cable label 306 and the external circuit can be referred to as a pin (PIN). A pin can also be referred to as a contact or a pin. For example, the CL822 pin in the power supply device 200 can also be referred to as the CL822 contact or CL822 pin in the power supply device 200. This is not limited in the present embodiment.
[0166] Furthermore, in one possible implementation, the powered device 100, power supply device 200, and cable 300 provided in the embodiments of the present application may include more electronic components. For example, FIG9 shows another structure and connection method of the power supply device 200, cable 300, and powered device 100.
[0167] As shown in FIG9 , the powered device 200 may include multiple resistors (e.g., resistor Rp21 and resistor Rp22), multiple power supplies (e.g., power supply Vc1, power supply Vc2, power supply Vp1, and power supply Vp2), a transmit / receive (RX / TX) device 2, a connection & cable marker detection device 2, a CL21 pin, and a CL22 pin.
[0168] In some possible examples, the powered device 200 may further include a switch 1 and a switch 2. Both switches 1 and 2 may be single-pole, multi-throw (SPMT) switches. For example, switch 1 may have multiple contacts: contact 1, contact 2, contact 3, and contact 4. Contact 1 is connected to pin CL21, contact 2 is connected to resistor Rp21, and contact 3 is connected to power supply Vc1. Contact 4 is connected to one end of a wire, with no other devices connected to the other end of the wire.
[0169] When contact 1 and contact 2 of switch 1 are connected, the CL21 pin of power supply device 200 can be connected to resistor Rp21 and power source Vp1 via switch 1. In this case, power supply device 200 can receive communication data via CL21 (this communication data can be sent by any of the powered device 100, cable tag 305, and cable tag 306). When contact 1 and contact 3 of switch 1 are connected, the CL21 pin of power supply device 200 can be connected to power source Vc1 via switch 1. In this case, power supply device 200 can send communication data to any of the powered device 100, cable tag 305, and cable tag 306 via CL21 pin. When contact 1 and contact 4 of switch 1 are connected, power supply device 200 cannot send or receive communication data.
[0170] For example, switch 2 of power supply device 200 may also have multiple contacts, namely contact 1, contact 2, contact 3, and contact 4. Contact 1 of switch 2 is connected to pin CL22. Contact 2 of switch 2 is connected to resistor Rp22 and power supply Vp2. Contact 3 of switch 2 is connected to power supply Vc2. Contact 4 of switch 2 is connected to one end of a wire, the other end of which is not connected to any other device. When contacts 1 and 3 are connected, power supply Vc2 in power supply device 200 can supply power to cable tag 305 via switch 2 and pin CL22.
[0171] Optionally, in a possible implementation, when the power supply device 200 does not supply power to the cable tag 305, the contact 1 in the switch 1 may be connected to the contact 2 by default. The contact 1 in the switch 2 may be connected to the contact 2 by default.
[0172] The power supply Vp1 can be used to provide a voltage to the resistor Rp21, and the power supply Vp2 can be used to provide a voltage to the resistor Rp22.
[0173] RX / TX device 2 can be used to determine whether power supply device 200 is sending or receiving signals. Connection & cable label detection device 2 can be used to detect the insertion or removal of a cable and identify whether a cable label is present based on the voltage difference between resistors Rp21 and Rp22. In some examples, connection & cable label detection device 2 can also be referred to as detection module 2.
[0174] As shown in FIG9 , the powered device 100 may include multiple resistors (eg, resistor Rp11 , resistor Rp12 , resistor Rd21 , and resistor Rd22 ), a power supply Vc3 , an RX / TX device 1 , a connection & cable label detection device 1 , a CL11 pin, and a CL12 pin.
[0175] In some feasible examples, the powered device 100 may further include switches 3, 4, and 5. Switches 3, 4, and 5 may be single-pole, single-throw switches. When switch 3 is closed, the power source Vc3 in the powered device 100 may power the cable tag 306 via the CL12 pin of the power supply device 100.
[0176] Optionally, in a possible implementation, switch 4 and switch 5 may remain closed by default.
[0177] The RX / TX device 1 can be used to determine whether the powered device 100 is a transmitter or receiver. The connection and cable label detection device 1 can be used to detect the insertion or removal of a cable and identify whether a cable label is present. In some examples, the connection and cable label detection device 1 can also be referred to as a detection module 1.
[0178] The cable 300 may include a DBUS bus and a PBUS bus, as well as a cable label 305 and a cable label 306. The cable label 305 may include a resistor Ra1 and a switch 6. The cable label 306 may include a resistor Ra2 and a switch 7.
[0179] Optionally, in a possible implementation, the switch 6 and the switch 7 may remain closed by default.
[0180] The DBUS bus can be used to transmit communication data, and the PBUS bus can be used to transmit power.
[0181] The present embodiment does not limit the components and circuit structures of the power supply device 200, the powered device 100, and the cable labels 305 and 306. The connection between the power supply device 200, the powered device 100, and the cable labels 305 and 306 can be seen in the description of FIG8 and will not be repeated here.
[0182] It should be understood that the electronic components, circuit structures, and names of the electronic components included in the power supply device 200, the power receiving device 100, and the cable 300 shown in FIG9 are merely examples. The present embodiment of the application does not limit the electronic components, circuit structures, and names of the electronic components included in the power supply device 200, the power receiving device 100, and the cable 300.
[0183] Based on the structure and connection method of the power supply device 100, the powered device 200, and the cable 300 shown in Figure 8, an embodiment of the present application provides a device identification method. As shown in Figure 10, when the powered device 100 is used as a DFP, the device identification method may include the following steps:
[0184] S1000. The powered device 100 turns on the power supply Vc.
[0185] The power source Vc turned on by the powered device 100 may be the power source Vc814 shown in Figure 8 or the power source Vc3 shown in Figure 9. The following description will be made by taking the case where the power source Vc turned on by the powered device 100 is the power source Vc814 shown in Figure 8 as an example.
[0186] As shown in Figure 8 , the powered device 100 can turn on power supply Vc 814 and then power cable tag 306 via pins CL 813 and Vcon 803. Once powered, cable tag 306 can receive communication data sent by the powered device 100 or power supply device 200. The format of the communication data sent by the powered device 100 or power supply device 200 can be as shown in Table 1 below.
[0187] Table 1
[0188] As shown in Table 1, the communication data between the powered device 100 and the cable label 306 may include a data header (or message header) field and a data field. The data header field may include a device address field, a message classification field, and a protocol version number field. The device address field contains the address of the device receiving the communication data. It should be understood that the data header fields shown in Table 1 are merely examples; the data header field may include more or fewer fields, and this is not limited in this embodiment of the present application.
[0189] For example, the length of the device address field can be 3 bits. The length of the message classification field can be 4 bits. The length of the protocol version number field can be 6 bits. The length of the message type field can be 3 bits. It is understood that the embodiments of the present application do not limit the length of the device address field, the length of the message classification field, the length of the protocol version number field, and the length of the message type field.
[0190] Table 2 takes the device address field as 3 bits long, the message classification field as 4 bits long, the protocol version number field as 6 bits long, and the message type field as 3 bits long as an example to describe in detail the values and corresponding meanings of each field, such as the device address field, the message classification field, the protocol version number field, and the message type field.
[0191] Table 2
[0192] As shown in Table 2, the length of the data header field can be 16 bits. Among them, the 13th to 15th bits in the data header field can be the device address field. The 9th to 12th bits in the data header field can be the message classification field. The 3rd to 8th bits in the data header field can be the protocol version number field. The 0th to 2nd bits in the data header field can be the message type field. In the data header field, the 15th bit can be a high-order bit, and the 0th bit can be a low-order bit. Alternatively, the 15th bit can be a low-order bit, and the 0th bit can be a high-order bit, which is not limited in this embodiment of the present application.
[0193] As shown in Table 2, when the device address field is "000", it indicates that the device address field is the default address of the cable electronic label. When the device address field is "001", it indicates that the device address field is the power supply device address. When the device address field is "010", it indicates that the device address field is the powered device address. When the device address field is "011", it indicates that the device address field is the local cable electronic label address. When the device address field is "100", it indicates that the device address field is the remote cable electronic label address.
[0194] It is understood that the values and corresponding meanings of the device address field shown in Table 2 are merely examples. The embodiments of the present application do not limit the length of the device address field, the bit value of the device address field, and the corresponding meaning of the bit value.
[0195] As shown in Table 2, when the message classification field is "0001", it means that the data part after the data header field is a DBUS-related instruction. When the message classification field is "0010", it means that the data part after the data header field is a PBUS-related instruction.
[0196] It is understood that the values and corresponding meanings of the message classification field shown in Table 2 are only examples. The embodiment of the present application does not limit the length of the message classification field, the bit value of the message classification field, and the meaning corresponding to the bit value.
[0197] As shown in Table 2, when the Protocol Version Number field is "000001", it indicates that the currently used protocol version is the initial version 1.0.0. When the Protocol Version Number field is "010001", it indicates that the currently used protocol version is version 1.0.1. When the Protocol Version Number field is "000010", it indicates that the currently used protocol version is version 2.0.0.
[0198] It is understood that the values and corresponding meanings of the protocol version number field shown in Table 2 are only examples. The embodiment of the present application does not limit the length of the protocol version number field, the bit value of the protocol version number field, and the meaning corresponding to the bit value.
[0199] As shown in Table 2, when the message type field is "000", it indicates that the corresponding communication data is a control message. When the message type field is "001", it indicates that the corresponding communication data is a data message. When the message type field is "010", it indicates that the corresponding communication data is a custom message.
[0200] It is understood that the values and corresponding meanings of the message type field shown in Table 2 are only examples. The embodiment of the present application does not limit the length of the message type field, the bit value of the message type field, and the meaning corresponding to the bit value.
[0201] It is understood that when the CL12 pin of the powered device 100 is connected to the cable tag 306 and the powered device 100 can directly power the cable tag 306, the cable tag 306 can be referred to as the proximal cable tag of the powered device 100, or a proximal cable electronic tag, a proximal electronic tag, etc. However, if the powered device 100 cannot directly power the cable tag 305, the cable tag 305 can be referred to as the distal cable tag of the powered device 100, or a distal cable electronic tag, a distal electronic tag, etc.
[0202] S1001. The powered device 100 sends a message 10, which carries the device address 1.
[0203] Powered device 100 may send message 10, which may include device address 1. For example, message 10 may be a ping message, and device address 1 may be "000." The ping message includes device address 1, i.e., "000." This embodiment of the present application does not specifically limit message 10 and device address 1.
[0204] The powered device 100 can use the message 10 to determine whether the current cable 300 has a cable tag with the device address 1 and whether the cable tag can communicate.
[0205] The following description uses the example where device address 1 is "000", device address 2 is "011", and device address 3 is "100".
[0206] S1002 . The cable tag 306 receives the message 10 .
[0207] S1003 . The cable tag 306 sends an ACK reply to the powered device 100 .
[0208] S1004. The powered device 100 receives ACK.
[0209] Because the device address of cable tag 306 is device address 1, cable tag 306 can receive message 10. After receiving message 10, cable tag 306 can reply with an acknowledgement character (ACK) to powered device 100. Powered device 100 can receive the ACK sent by cable tag 306. After receiving the ACK, powered device 100 can confirm that a cable tag with a device address of device address 1 exists in cable 300 and that communication with the cable tag is possible.
[0210] In a possible implementation, step S1003 and step S1004 may be optional steps, that is, after receiving the message 10 sent by the powered device 100, the cable tag 306 may not reply ACK to the powered device 100, and the powered device 100 may not accept the ACK.
[0211] S1005 . The powered device 100 sends a message 11 , which is used to instruct the cable label 306 to modify the device address.
[0212] The powered device 100 may send a message 11 indicating that a cable label with a device address of device address 1 has changed its device address from device address 1 to device address 2. In one possible implementation, the message 11 may carry device address 1 and device address 2. The message header of the message 11 may include device address 1, i.e., the value of the device address field in the message header may be device address 1. The message data of the message 11 may include device address 2.
[0213] For example, message 11 may be a modify_marker_ID command, device address 1 may be "000," and device address 2 may be "011." The modify_marker_ID command carries the cable tag's default device address, for example, "000." The modify_marker_ID command then instructs the cable tag with the device address "000" to modify the device address from "000" to "011."
[0214] It is understandable that the embodiment of the present application does not limit the specific content of the message 11, nor the device address 1 and the device address 2.
[0215] S1006 . The cable label 306 receives the message 11 and modifies the device address 1 to the device address 2 based on the message 11 .
[0216] After receiving the message 11 , the cable label 306 may modify the device address 1 to the device address 2 .
[0217] It is understandable that, since only the cable tag 306 is powered on and the cable tag 305 is not powered on, only the cable tag 306 can receive the message 12 sent by the powered device 100 .
[0218] Optionally, in a possible implementation, the message 11 may carry device address 1 but not device address 2. After receiving the message 11, the cable label 306 may modify the device address to a device address different from device address 1, for example, device address 2.
[0219] S1007 . The cable tag 306 sends a message 12 to the powered device 100 . The message 12 is used to indicate that the device address modification is completed.
[0220] After the cable tag 306 has modified the device address, it can send a message 12 to the powered device 100. The message 12 can be used to indicate that the device address of the cable tag 306 has been modified. For example, the message 12 can be a modify_finish message. The specific content of the message 12 is not limited in this embodiment of the application.
[0221] In a possible implementation, step S1007 may be an optional step, that is, the cable label 306 may not execute step S1005.
[0222] S1008 . The powered device 100 receives the message 12 and sends a message 13 to the cable tag 306 . The message 13 carries the device address 2 .
[0223] After receiving message 12, powered device 100 may send message 13 to cable tag 306. Message 13 may carry device address 2. Message 13 may be used to determine whether the device address of cable tag 306 has been modified to device address 2 and confirm whether cable tag 306 is capable of communication.
[0224] Exemplarily, the message 13 may be a ping message carrying the device address 2. The embodiment of the present application does not limit the specific content of the message 13.
[0225] S1009 . The cable tag 306 receives message 13 .
[0226] S1010 . The cable tag 306 sends an ACK reply to the powered device 100 .
[0227] S1011. The powered device 100 receives ACK.
[0228] Because the device address of cable tag 306 has been modified to device address 2, cable tag 306 can receive message 13 carrying device address 3. After receiving message 13, cable tag 306 can reply an ACK to powered device 100. Powered device 100 can receive the ACK from cable tag 306. After receiving the ACK, powered device 100 can determine that the device address of cable tag 306 is device address 2, and communication can be established.
[0229] In a possible implementation, step S1010 and step S1011 may be optional steps. In other words, the cable label 306 may not execute step S1010, and the powered device 100 may not execute step S1011.
[0230] S1012 . The powered device 100 sends a message 14 to the power supply device 200 .
[0231] The powered device 100 may send a message 14 to the power supply device 200. The message 14 may be used to instruct the power supply device 200 to turn on the power supply Vc and power the cable tag 305. For example, the message 14 may be a power_marker instruction, which is not specifically limited in this embodiment of the application.
[0232] Here, the power supply device 200 powering the cable tag 305 may refer to the power supply device 200 turning on the power source Vc and then inputting power to the cable tag 305 (or providing power).
[0233] In one implementation, the message 14 carries the device address of the power supply device 200 . Exemplarily, the device address of the power supply device 200 may be “001”.
[0234] S1013 . The power supply device 200 receives the message 14 .
[0235] S1014 . The power supply device 200 sends a message 15 to the powered device 100 .
[0236] S1015 . The powered device 100 receives the message 15 .
[0237] After receiving message 14, the power supply device 200 may send message 15 to the powered device 100. Message 15 may be used to indicate that the power supply device 200 receives and supports message 14. That is, the power supply device 200 supports turning on the power supply Vc and supplying power to the cable tag 305.
[0238] For example, the message 15 may be an accept message. The embodiment of the present application does not limit the specific content of the message 15.
[0239] The powered device 100 may receive the message 15 .
[0240] In one possible implementation, step S1014 and step S1015 may be optional steps. In other words, the power supply device 200 may not execute step S1014 and directly execute step S1016. The powered device 100 may also not execute step S1015.
[0241] S1016. The power supply device 200 turns on the power supply Vc.
[0242] The power source Vc of the power supply device 200 may be the power source Vc824 shown in Figure 8 or the power source Vc2 shown in Figure 9. The following description will be made by taking the power source Vc of the power supply device 200 as the power source Vc824 shown in Figure 8 as an example.
[0243] As shown in Figure 8 , the power supply device 200 can turn on power supply Vc 824 and then energize the Vcon 801 pin of the cable tag 305 via the CL 823 pin. Once powered, the cable tag 305 can receive communication data sent by the powered device 100 or the power supply device 200. The format of the communication data sent between the powered device 100 or the power supply device 200 and the cable tag 305 can be found in the description of Tables 1 and 2 above and will not be further described here.
[0244] S1017 . The power supply device 200 sends a message 16 to the powered device 100 . The message 16 is used to indicate that power-on is complete.
[0245] S1018 . The powered device 100 receives the message 16 .
[0246] The power supply device 200 may send a message 16 to the powered device 100. The message 16 may be used to indicate that power-on is complete, i.e., indicating that the power supply device 200 has turned on the power supply Vc and powered the cable tag 305. For example, the message 16 may be a PS_RDY instruction, and this embodiment of the present application does not specifically limit the message 16.
[0247] The powered device 100 may receive the message 16. In one possible implementation, steps S1017 and S1018 may be optional steps. In other words, the power supply device 200 may not perform step S1017. The powered device 100 may not perform step S1018.
[0248] S1019 . The powered device 100 sends a message 17 to the cable tag 305 . The message 17 carries the device address 1 .
[0249] S1020 . The cable tag 305 receives message 17 .
[0250] The powered device 100 can send a message 17 to the cable tag 305. This message 17 carries the device address 1. It is understood that since the device address of the cable tag 306 has been changed to the device address 2, while the device address of the cable tag 305 is still the device address 1, when the powered device 100 sends a message carrying the device address 1, the cable tag 305 will receive the message 17 carrying the device address 1. The powered device 100 can use this message 17 to determine whether the current device address of the cable tag 305 is the device address 1 and confirm whether the cable tag 305 is currently capable of communication.
[0251] Exemplarily, the message 17 may be a ping message carrying the device address 1. The embodiment of the present application does not limit the specific content of the message 17.
[0252] Since the device address of the cable tag 305 is device address 1 and the device address of the cable tag 306 has been modified to device address 2, the cable tag 305 can receive the message 17 carrying the device address 1.
[0253] S1021 . The cable tag 305 sends an ACK reply to the powered device 100 .
[0254] S1022. The powered device 100 receives ACK.
[0255] After receiving the message 17, the cable tag 305 may reply an ACK to the powered device 100. The powered device 100 may receive the ACK. After receiving the ACK, the powered device 100 may determine that the cable tag 305 can communicate.
[0256] In a possible implementation, step S1021 and step S1022 may be optional steps, that is, after receiving the message 16 sent by the powered device 100, the cable tag 305 may not reply an ACK to the powered device 100. The powered device 100 may also not receive the ACK.
[0257] S1023 . The powered device 100 sends a message 18 to the cable tag 305 . The message 18 is used to instruct the cable tag 305 to modify the device address.
[0258] The powered device 100 may send a message 18 to the cable tag 305 , where the message 18 is used to instruct the cable tag 305 to change the device address from device address 1 to device address 3. The message 18 may carry the device address 1 and the device address 3.
[0259] For example, message 18 may be a modify_marker_ID command carrying device address 1 and device address 3. Device address 1 may be "000" and device address 3 may be "100." The modify_marker_ID command carries the current device address of cable tag 305, for example, "000." The modify_marker_ID command then instructs cable tag 305 to change its device address from "000" to "100."
[0260] It is understandable that the embodiment of the present application does not limit the specific content of the message 18 and the device address 3.
[0261] S1024 . The cable label 305 receives the message 18 , and based on the message 18 , modifies the device address 1 to the device address 3 .
[0262] After receiving the message 18 , the cable label 305 may modify the device address 1 to the device address 3 .
[0263] S1025 . The cable tag 305 sends a message 19 to the powered device 100 . The message 19 is used to indicate that the device address modification is completed.
[0264] S1026 . The powered device 100 receives the message 19 .
[0265] After the cable tag 305 has modified the device address, it can send a message 19 to the powered device 100, indicating that the device address of the cable tag 305 has been modified. For example, the message 19 can be a modify_finish message. The specific content of the message 19 is not limited in this embodiment of the application.
[0266] In a possible implementation, step S1025 and step S1026 may be optional steps. In other words, the cable label 305 may not perform step S1025. The powered device 100 may also not perform step S1026.
[0267] S1027 . The powered device 100 sends a message 20 to the cable tag 305 . The message 20 carries the device address 3 .
[0268] S1028. The cable tag 305 receives the message 20.
[0269] The powered device 100 may send a message 20 to the cable tag 305, which may carry the device address 3. The message 20 may be used to determine whether the device address of the cable tag 305 has been modified to the device address 3 and confirm whether the cable tag 305 is currently capable of communication.
[0270] Exemplarily, the message 20 may be a ping message carrying the device address 3. The embodiment of the present application does not specifically limit the message 20.
[0271] Since the device address of the cable tag 305 has been modified to the device address 3 , the cable tag 305 can receive the message 30 carrying the device address 3 .
[0272] S1029 . The cable tag 305 sends an ACK reply to the powered device 100 .
[0273] S1030. The powered device 100 receives ACK.
[0274] After receiving the message 20, the cable tag 305 may reply an ACK to the powered device 100. The powered device 100 may receive the ACK. After receiving the ACK, the powered device 100 may determine that the cable tag 305 can communicate.
[0275] In a possible implementation, step S1029 and step S1030 may be optional steps. In other words, the cable label 305 may not perform step S1029. The powered device 100 may also not perform step S1030.
[0276] Thus, through the device identification method provided in the embodiments of the present application, after the powered device 100 successfully connects to the cable 300 and the power supply device 200, it can correctly identify the two cable tags in the cable. Because the device address indicated by the powered device 100 on the cable tag 306 and the device address of the cable tag 305 are modified differently, the powered device 100 can distinguish between messages sent to the cable tag 305 and messages sent to the cable tag 306 by device address. For example, a message sent by the powered device 100 to the cable tag 306 carries device address 2. A message sent by the powered device 100 to the cable tag 305 carries device address 3.
[0277] Furthermore, since the powered device 100 can correctly identify the two cable tags in the cable, the powered device 100 can obtain information about the two cable tags in the cable 300 through instructions, thereby enabling real-time temperature detection of the cable 300 and communication signal enhancement of the cable 300.
[0278] 8 , no additional connecting wires are required in the cable labels 305 and 306. This can reduce the cost of the cable and the design complexity of the cable labels in the cable.
[0279] It is understood that the aforementioned device address 1 may be the default address for cable label 305 and cable label 306. The device address of the near-end cable label may be modified from the default address to device address 2, and the device address of the far-end cable label may be modified from the default address to device address 3. The above description uses device address 1 as "000," device address 2 as "011," and device address 3 as "100" as examples. This application does not limit device address 1, device address 2, and device address 3.
[0280] The embodiment of the present application does not limit the specific content contained in the above-mentioned messages 10-20, nor the specific format of messages 10-20.
[0281] In one possible implementation, the powered device 100 can instruct only the cable tag 306 to change its device address, without instructing the cable tag 305 to change its device address. That is, the powered device 100, the power supply device 200, and the cable tags 305 and 306 can only perform steps S1000-S1013, omitting steps S1014-S1018. Thus, using this device identification method, after the powered device 100 successfully connects to the cable 300 and the power supply device 200, it can correctly identify both cable tags in the cable. Because the device address of cable tag 306 is changed to device address 2, while the device address of cable tag 305 remains the default device address 1, the device addresses of cable tags 306 and 305 are different. Therefore, the powered device 100 can distinguish between messages sent to cable tag 306 and messages sent to cable tag 306 based on the device addresses.
[0282] In one possible implementation, power supply device 200 can function as a DFP to identify the two cable labels in cable 300. That is, power supply device 200 can send a message instructing cable label 305 to modify its device address, and send a message instructing cable label 306 to modify its device address. See FIG11 for details.
[0283] Based on the structure and connection method of the power supply device 100, the powered device 200, and the cable 300 shown in Figure 8, an embodiment of the present application provides a device identification method. As shown in Figure 11, when the power supply device 200 is used as a DFP, the device identification method may include the following steps:
[0284] S1100 . The power supply device 200 turns on the power supply Vc.
[0285] The power source Vc of the power supply device 200 may be the power source Vc824 shown in Figure 8 or the power source Vc2 shown in Figure 9. The following description will be made by taking the power source Vc of the power supply device 200 as the power source Vc824 shown in Figure 8 as an example.
[0286] As shown in Figure 8 , the power supply device 200 can turn on power supply Vc 824 and then energize the Vcon 801 pin of the cable tag 305 via the CL 823 pin. Once powered, the cable tag 305 can receive communication data sent by the powered device 100 or the power supply device 200. The format of the communication data sent between the powered device 100 or the power supply device 200 and the cable tag 305 can be found in the description of Tables 1 and 2 above and will not be further described here.
[0287] It is understood that when the CL22 pin of the power supply device 200 is connected to the cable label 305 and the power supply device 200 can directly power the cable label 305, the cable label 305 can be referred to as the proximal cable label of the power supply device 200, or the proximal cable electronic label, the proximal electronic label, etc. However, since the power supply device 200 cannot directly power the cable label 306, the cable label 306 can be referred to as the distal cable label of the power supply device 200, or the distal cable electronic label, the distal electronic label, etc.
[0288] S1101 . The power supply device 200 sends a message 21 to the cable tag 305 . The message 21 carries the device address 1 .
[0289] S1102 . The cable tag 305 receives the message 21 .
[0290] The power supply device 200 may send a message 21 to the cable tag 305 , and the message 21 may carry the device address 1. Since the device address of the cable tag 305 is the device address 1, the cable tag 305 may receive the message 21 .
[0291] For example, the message 21 may be a ping message, and the device address 1 may be "000." The ping message carries the device address 1, i.e., "000." This embodiment of the application does not specifically limit the message 21 and the device address 1.
[0292] The power supply device 200 can use the message 21 to determine whether the current cable 300 has a cable tag with the device address 1 and whether the cable tag can communicate.
[0293] S1103 . The cable tag 305 sends an ACK reply to the power supply device 200 .
[0294] S1104. The power supply device 200 receives ACK.
[0295] After receiving the message 21, the cable tag 305 may reply an ACK to the power supply device 200. The power supply device 200 may receive the ACK. After receiving the ACK, the power supply device 200 may confirm that a cable tag with a device address of device address 1 exists in the cable 300 and that the cable tag can communicate.
[0296] In a possible implementation, step S1103 and step S1104 may be optional steps, that is, after receiving the message 11 sent by the power supply device 200, the cable tag 305 may not reply ACK to the power supply device 200. In other words, the power supply device 200 may not receive the ACK.
[0297] S1105 . The power supply device 200 sends a message 22 , which is used to instruct the cable label 305 to modify the device address.
[0298] The power supply device 200 may send a message 22, which is used to instruct the cable label with the device address of device address 1 to change the device address from device address 1 to device address 2. The message 22 may carry device address 1 and device address 2.
[0299] For example, message 22 may be a modify_marker_ID command, device address 1 may be "000," and device address 2 may be "011." The modify_marker_ID command carries the default device address of the cable tag, for example, "000." The modify_marker_ID command then instructs the cable tag with the device address "000" to modify its device address from "000" to "011."
[0300] It is understandable that the embodiment of the present application does not limit the specific content of the message 22, nor the device address 1 and the device address 2.
[0301] S1106 . The cable label 305 receives the message 22 and modifies the device address 1 to the device address 2 based on the message 22 .
[0302] After receiving the message 22 , the cable label 305 may modify the device address 1 to the device address 2 .
[0303] It is understandable that, since only the cable tag 305 is powered on and the cable tag 306 is not powered on, only the cable tag 305 can receive the message 22 sent by the power supply device 200 .
[0304] S1107 . The cable tag 305 sends a message 23 to the power supply device 200 . The message 23 is used to indicate that the device address modification is completed.
[0305] After the cable tag 305 has modified the device address, a message 23 may be sent to the power supply device 200 to indicate that the device address of the cable tag 305 has been modified. For example, the message 23 may be a modify_finish message. The specific content of the message 23 is not limited in this embodiment of the present application.
[0306] In a possible implementation, step S1105 may be an optional step, that is, the cable label 305 may not perform step S1105.
[0307] S1108. The power supply device 200 receives message 23 and sends message 24, which carries device address 2.
[0308] S1109 . The cable tag 305 receives the message 24 .
[0309] The power supply device 200 may send a message 24 to the cable tag 305. The message 24 may carry the device address 2. Since the device address of the cable tag 305 has been changed to the device address 2, the cable tag 305 may receive the message 24 carrying the device address 2. The message 24 may be used to determine whether the device address of the cable tag 305 has been changed to the device address 2 and to confirm whether the cable tag 305 is capable of communication.
[0310] Exemplarily, the message 24 may be a ping message carrying the device address 2. The embodiment of the present application does not limit the specific content of the message 24.
[0311] S1110 . The cable tag 305 sends an ACK reply to the power supply device 200 .
[0312] S1111. The power supply device 200 receives ACK.
[0313] After receiving message 24, the cable tag 305 may reply an ACK to the power supply device 200. The power supply device 200 may receive the ACK replied by the cable tag 305. After receiving the ACK, the power supply device 200 may determine that the device address of the cable tag 305 is device address 2 and communication may be performed.
[0314] In a possible implementation, step S1110 and step S1111 may be optional steps. In other words, the cable label 305 may not perform step S1107. The power supply device 200 may also not perform step S1111.
[0315] S1112 . The power supply device 200 sends a message 25 to the powered device 100 .
[0316] The power supply device 200 may send a message 25 to the powered device 100. The message 25 may be used to instruct the powered device 100 to turn on the power supply Vc and power the cable tag 306. For example, the message 25 may be a power_marker instruction, which is not specifically limited in this embodiment of the application.
[0317] In one implementation, the message 25 may carry the device address of the powered device 100 . For example, the device address of the powered device 100 may be “010”.
[0318] S1113 . The powered device 100 receives the message 25 .
[0319] S1114 . The powered device 100 sends a message 26 to the powered device 200 .
[0320] S1115 . The power supply device 200 receives the message 26 .
[0321] After receiving the message 25, the powered device 100 may send a message 26 to the power supply device 200. The message 26 may be used to indicate that the powered device 100 receives and supports the instruction 1. That is, the powered device 100 supports turning on the power supply Vc and supplying power to the cable tag 306.
[0322] For example, the message 26 may be an accept message. The embodiment of the present application does not limit the specific content of the message 26.
[0323] In one possible implementation, steps S1114 and S1115 may be optional steps. In other words, the powered device 100 may not execute step S1114 and directly execute step S1116. The power supply device 200 may also not execute step S1115.
[0324] S1116. The powered device 100 turns on the power supply Vc.
[0325] The power source Vc turned on by the powered device 100 may be the power source Vc814 shown in Figure 8 or the power source Vc3 shown in Figure 9. The following description will be made by taking the case where the power source Vc turned on by the powered device 100 is the power source Vc814 shown in Figure 8 as an example.
[0326] As shown in Figure 8 , the powered device 100 can turn on power supply Vc 814 and then energize pin Vcon 803 of the cable tag 306 via pin CL 813. Once powered, cable tag 306 can receive communication data sent by the powered device 100 or power supply device 200. The format of the communication data sent between the powered device 100 or power supply device 200 and the cable tag 306 can be found in Tables 1 and 2 above and will not be further described here.
[0327] S1117 . The powered device 100 sends a message 27 to the power supply device 200 . The message 27 is used to indicate that power-on is completed.
[0328] S1118 . The power supply device 200 receives the message 27 .
[0329] The powered device 100 may send a message 27 to the power supply device 200. The message 27 may be used to indicate that power-on is complete, i.e., to indicate that the powered device 100 has turned on the power supply Vc and powered the cable tag 306. For example, the message 272 may be a PS_RDY instruction, and this embodiment of the application does not specifically limit the message 27.
[0330] The power supply device 200 may receive the message 27 .
[0331] In a possible implementation, step S1117 and step S1118 are optional steps. In other words, the powered device 100 may not perform step S1117. The power supply device 200 may not perform step S1118.
[0332] S1119 . The power supply device 200 sends a message 28 to the cable label 306 . The message 28 carries the device address 1 .
[0333] S1120 . The cable tag 306 receives the message 28 .
[0334] Power supply device 200 can send message 28 to cable tag 306, which carries device address 1. It is understandable that since the device address of cable tag 305 has been changed to device address 2, while the device address of cable tag 306 remains device address 1. Therefore, when power supply device 200 sends a message carrying device address 1, cable tag 306 can receive message 28 carrying device address 1. Power supply device 200 can use message 28 to determine whether the current device address of cable tag 306 is device address 1 and whether communication is possible.
[0335] Exemplarily, the message 28 may be a ping message carrying the device address 1. The embodiment of the present application does not limit the specific content of the message 28.
[0336] S1121 . The cable tag 306 sends an ACK reply to the power supply device 200 .
[0337] S1122. The power supply device receives ACK.
[0338] After receiving the message 28, the cable tag 306 may reply an ACK to the power supply device 200. The power supply device 200 may receive the ACK. After receiving the ACK, the power supply device 200 may determine that the cable tag 306 can communicate.
[0339] In a possible implementation, step S1121 and step S1122 may be optional steps, that is, after receiving the message 26 sent by the power supply device 200, the cable tag 306 may not reply an ACK to the power supply device 200. The power supply device 200 may also not accept the ACK.
[0340] S1123. The power supply device 200 sends a message 29 to the cable tag 306. The message 29 is used to instruct the cable tag 306 to modify the device address.
[0341] The power supply device 200 may send a message 29 to the cable tag 306 , where the message 29 is used to instruct the cable tag 306 to change the device address from device address 1 to device address 3. The message 29 may carry the device address 1 and the device address 3.
[0342] For example, message 29 may be a modify_marker_ID command carrying device address 1 and device address 3. Device address 1 may be "000" and device address 3 may be "100." The modify_marker_ID command carries the current device address of cable tag 306, for example, "000." The modify_marker_ID command is then used to instruct cable tag 306 to change its device address from "000" to "100."
[0343] It is understandable that the embodiment of the present application does not limit the specific content of the message 27 and the device address 3.
[0344] S1124 . The cable label 306 receives the message 29 and modifies the device address 1 to the device address 3 based on the message 29 .
[0345] After receiving the message 29 , the cable label 306 may modify the device address 1 to the device address 3 .
[0346] S1125. The cable label 306 sends a message 30 to the power supply device 200. The message 30 is used to indicate that the device address modification is completed.
[0347] S1126 . The power supply device 200 receives the message 30 .
[0348] After the cable tag 306 has modified the device address, it can send a message 30 to the power supply device 200, indicating that the device address of the cable tag 306 has been modified. The power supply device 200 can receive the message 30. For example, the message 30 can be a modify_finish message. The specific content of the message 30 is not limited in this embodiment of the present application.
[0349] In a possible implementation, step S1124 and step S1125 may be optional steps. In other words, the cable label 306 may not perform step S1124. The power supply device 200 may also not perform step S1125.
[0350] S1127 . The power supply device 200 sends a message 31 to the cable label 306 . The message 31 carries the device address 3 .
[0351] S1128. The cable tag 306 receives the message 31.
[0352] Power supply device 200 may send message 31 to cable tag 306. Message 31 may carry device address 3. Since the device address of cable tag 306 has been changed to device address 3, cable tag 306 may receive message 31. Message 31 may be used to determine whether the device address of cable tag 306 has been changed to device address 3 and whether communication is possible.
[0353] Exemplarily, the message 31 may be a ping message carrying the device address 3. The embodiment of the present application does not specifically limit the message 31.
[0354] S1129 . The cable tag 306 sends an ACK reply to the power supply device 200 .
[0355] S1130. The power supply device 200 receives ACK.
[0356] After receiving the message 31, the cable tag 306 may reply an ACK to the power supply device 200. The power supply device 200 may receive the ACK. After receiving the ACK, the power supply device 200 may determine that the cable tag 306 can communicate.
[0357] In a possible implementation, step S1129 and step S1130 may be optional steps. In other words, the cable label 306 may not execute step S1129. The power supply device 200 may also not execute step S1130.
[0358] Thus, through the device identification method provided in the embodiment of the present application, when the powered device 100 is successfully connected to the cable 300 and the power supply device 200, the power supply device 200 can correctly identify the two cable tags in the cable. Because the power supply device 200 indicates that the device address of the cable tag 306 and the device address of the cable tag 305 are modified differently, the power supply device 200 can distinguish between messages sent to the cable tag 305 and messages sent to the cable tag 306 by the device address. The power supply device 200 can identify the messages sent from the cable tag 306 and the messages sent from the cable tag 305 in the received messages by the device address. For example, the message sent by the power supply device 200 to the cable tag 306 carries the device address 2. The message sent by the power supply device 200 to the cable tag 305 carries the device address 3.
[0359] Furthermore, since the power supply device 200 can correctly identify the two cable labels in the cable, the power supply device 200 can obtain information about the two cable labels in the cable 300 through instructions, thereby realizing functions such as real-time temperature detection of the cable 300 and communication signal enhancement of the cable 300.
[0360] 9 , no additional connecting wires are required in the cable labels 305 and 306. This can reduce the cost of the cable and the design complexity of the cable labels in the cable.
[0361] The embodiment of the present application does not limit the specific content contained in the above-mentioned messages 21-31, nor the specific format of messages 21-31.
[0362] In one possible implementation, the power supply device 200 can only instruct the cable label 305 to change its device address, without instructing the cable label 306 to change its device address. That is, the powered device 100, the power supply device 200, and the cable labels 305 and 306 can only perform steps S1100 through S1113, omitting steps S1114 through S1118. Thus, using this device identification method, after the powered device 100 successfully connects to the cable 300 and the power supply device 200, both cable labels in the cable can be correctly identified. Because the device address of cable label 306 is changed to device address 2, while the device address of cable label 305 remains the default device address 1, the device addresses of cable label 306 and cable label 305 are different. Therefore, the power supply device 200 can distinguish between messages sent to cable label 306 and messages sent to cable label 306 based on the device addresses. The power supply device 200 can identify the message sent from the cable tag 306 and the message sent from the cable tag 305 in the received message by using the device address.
[0363] It should be noted that the order of the steps of the device identification method provided in the embodiment of the present application can be appropriately adjusted, and the steps can also be increased or decreased according to the situation. Any technician familiar with this technical field can easily think of different methods within the technical scope disclosed in this application, and they are all covered by the protection scope of this application, so they will not be repeated here.
[0364] It is understandable that the device identification method provided in the embodiment of the present application is not limited to being applied to power supply devices and powered devices. The method can be applied to any two electronic devices connected with cables (and the cables have two cable labels).
[0365] The following introduces an exemplary electronic device 1200 provided in an embodiment of the present application.
[0366] FIG12 is a schematic structural diagram of an electronic device 1200 provided in an embodiment of the present application.
[0367] The following embodiments are described in detail using electronic device 1200 as an example. It should be understood that electronic device 1200 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0368] The electronic device 1200 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna, a display screen 150, a wireless communication module 160, an audio module 170, etc.
[0369] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 1200. In other embodiments of the present application, the electronic device 1200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0370] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0371] The controller may be the nerve center and command center of the electronic device 1200. The controller may generate an operation control signal based on the instruction operation code and the timing signal to complete the control of instruction fetching and execution.
[0372] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0373] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0374] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
[0375] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170.
[0376] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0377] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0378] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 150. The MIPI interface includes a display serial interface (DSI). The processor 110 and the display screen 150 communicate via the DSI interface to implement the display function of the electronic device 1200.
[0379] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the display 150, the wireless communication module 160, the audio module 170, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0380] USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 130 can be used to connect a charger to charge electronic device 1200, or to transfer data between electronic device 1200 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices.
[0381] In an embodiment of the present application, the USB interface 130 can be used to connect a cable. For example, the USB interface 130 can include the GND821 pin, the CL822 pin, and the CL823 pin as shown in FIG8 ; or the USB interface 130 can include the GND811 pin, the CL812 pin, and the CL813 pin as shown in FIG8 , etc. The present embodiment does not limit the circuit structure of the USB interface 130.
[0382] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 1200. In other embodiments of the present application, the electronic device 1200 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0383] The charging management module 140 is configured to receive charging input from a charger, which may be a wireless charger or a wired charger.
[0384] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 150, the camera 193, and the wireless communication module 160.
[0385] The wireless communication function of the electronic device 1200 can be implemented through an antenna, a wireless communication module 160, a modem processor, a baseband processor, and the like.
[0386] Antennas are used to transmit and receive electromagnetic wave signals. The antennas in electronic device 1200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0387] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 1200. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0388] In some embodiments, the antenna of the electronic device 1200 is coupled to the wireless communication module 160 so that the electronic device 1200 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite-based augmentation system (SBAS).
[0389] Electronic device 1200 implements display functionality through a GPU, display screen 150, and an application processor. The GPU is a microprocessor for image processing that connects display screen 150 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0390] The display screen 150 is used to display images, videos, and the like. The display screen 150 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device 1200 can include one or N display screens 150, where N is a positive integer greater than one.
[0391] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1200. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0392] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 1200 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, applications required for at least one function (such as face recognition function, fingerprint recognition function, mobile payment function, etc.), etc. The data storage area may store data created during the use of the electronic device 1200 (such as face information template data, fingerprint information template, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0393] The electronic device 1200 can implement audio functions such as music playback and recording through the audio module 170 and the application processor.
[0394] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0395] The electronic device 1200 may be the power supply device 200 or the powered device 100, which is not limited in this embodiment of the present application.
[0396] Figure 13 illustrates an exemplary power supply device 1300. As shown in Figure 13, power supply device 1300 may include a processor 1301, a power supply 1302, multiple power ports 1303, and multiple data ports 1304. Multiple powered devices may be connected to the multiple power ports 1303 of power supply device 1300 via multiple power cables. Multiple powered devices may be connected to the multiple data ports 1304 via multiple data cables. Data signals are transmitted between power supply device 1300 and the powered devices via the data cables. Power supply device 1300 may supply power to the powered devices via the power cables.
[0397] Optionally, the power port 1303 and the data port 1304 may be combined into the same port, that is, the power supply device 1300 may both transmit data to the powered device through the port and supply power to the powered device through the port.
[0398] The processor 1301 may be configured to send an instruction for modifying the device address to the cable label in the cable through the data port 1304 or through a port formed by the data port 1304 and the power supply port 1303 .
[0399] The power supply 1302 can be used to supply power to multiple powered devices and to supply power to cable labels in cables. Specifically, the power supply 1302 in the power supply device 1300 can supply power to the powered devices through the power port 1303 or through a port formed by a combination of the data port 1304 and the power port 1303.
[0400] The power supply device 1300 can be used to execute the device identification method executed by the power supply device 200.
[0401] The power supply device 1300 may include more or fewer components than shown in the figure, which is not limited in this application. The embodiment of the application also does not limit the names of the components included in the power supply device 1300.
[0402] Figure 14 illustrates an exemplary powered device 1400. As shown in Figure 14 , powered device 1400 may include a processor 1401, a powered component 1402, a power receiving port 1403, a data port 1404, and a power conversion module 1405. Power receiving port 1403 can be connected to a power supply device via a cable to receive power from the device. Data port 1404 can be connected to a power supply device via a cable to transmit data between the device and the power supply device.
[0403] Optionally, the power receiving port 1403 and the data port 1404 may be combined into one port, that is, the powered device 1400 may receive power through the port and may also transmit data through the port.
[0404] The processor 1401 may be configured to send an instruction for modifying the device address to the cable tag in the cable through the data port 1404 or through a port formed by the data port 1404 and the power port 1403 .
[0405] The power receiving component 1402 can be used to receive power from the power supply device via the power receiving port 1403. The power receiving component 1402 can be a component in the power receiving device 1400 that requires power, such as a wireless local area network module, etc., which is not limited in this embodiment of the application.
[0406] The power conversion module 1405 can convert the power input from the power supply device to the power receiving port 1403 into power for the power receiving device, so that the power can be input to the cable tag through the power receiving port 1403 to supply power to the cable tag.
[0407] The power receiving device 1400 can be used to execute the device identification method executed by the power receiving device 100.
[0408] The power receiving device 1400 may include more or fewer components than shown in the figure, which is not limited in this application. The embodiment of the application also does not limit the names of the components included in the power receiving device 1400.
[0409] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0410] In some examples, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor that is implemented by reading software code stored in a memory.
[0411] In some examples, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in the embodiments of the present application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. The embodiments of the present application do not specifically limit the type of memory or the configuration of the memory and the processor.
[0412] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0413] It should be understood that each step in the above method embodiment can be completed by hardware integrated logic circuits in a processor or by software instructions. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0414] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the above-mentioned related steps to implement the layer synthesis method in the above-mentioned embodiment.
[0415] An embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the layer synthesis method in the above-mentioned embodiment.
[0416] In addition, embodiments of the present application also provide a device. This device can be a component or module, and can include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the layer composition method described in each of the above method embodiments.
[0417] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0418] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disc (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0419] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0420] As used in the above embodiments, the term “when…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0421] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk).
[0422] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A device identification method, applied to a first device, wherein the first device includes a first power supply, the method comprising: Turning on the first power supply, where the first power supply is used to power a first electronic tag of the cable, where the address of the first electronic tag is a first address; Sending first information, where the first information includes the first address and the second address; the first information is used to instruct the first electronic tag to change the address of the first electronic tag from the first address to the second address; Sending third information to the second device, where the third information is used to instruct the second device to power a second electronic tag of the cable, where the address of the second electronic tag is the first address; Sending fifth information, the fifth information including the first address; the fifth information is used to confirm whether communication with the second electronic tag is possible; Sixth information is received, where the sixth information is used to indicate that communication with the second electronic tag is possible.
2. The method according to claim 1, characterized in that After receiving the sixth information, the method further includes: Sending seventh information, the seventh information including the first address and the third address; the seventh information is used to instruct the second electronic tag to change the address of the second electronic tag from the first address to the third address; Eighth information is received, where the eighth information is used to indicate that the address of the second electronic tag has been modified to the third address.
3. The method according to claim 1 or 2, characterized in that The first device is a power supply device or a power receiving device.
4. The method according to claim 3, characterized in that The third information is used to instruct the second device to supply power to the second electronic tag of the cable, and includes: The third information is used to instruct the second device to turn on a second power supply.
5. The method according to claim 4, characterized in that The first electronic tag and the second electronic tag are in a cable, and the cable is used to connect the first device and the second device.
6. The method according to claim 5, characterized in that After receiving the second message, the method further includes: sending a ninth message, the ninth message including the second address, the ninth message being used to confirm whether communication with the first electronic tag is possible; A tenth message is received, where the tenth message is used to indicate that communication with the first electronic tag is possible.
7. The method according to claim 2, characterized in that After receiving the eighth message, the method further includes: sending an eleventh message, the eleventh message including the third address, the eleventh message being used to confirm whether communication with the second electronic tag is possible; A twelfth message is received, where the twelfth message is used to indicate that communication with the second electronic tag is possible.
8. The method according to any one of claims 4 to 7, characterized in that: After turning on the first power supply, the method further includes: sending a thirteenth message, where the thirteenth message includes the first address and is used to confirm whether communication with the first electronic tag is possible; A fourteenth message is received, where the fourteenth message is used to indicate that communication with the first electronic tag is possible.
9. The method according to claim 8, characterized in that Before receiving the fourth information, the method further includes: A fifteenth message is received, where the fifteenth message is used to indicate that the second device agrees to supply power to the second electronic tag.
10. The method according to any one of claims 1 to 9, characterized in that After sending the first information, the method further includes: Second information is received, where the second information is used to indicate that the address of the first electronic tag has been modified to the second address.
11. The method according to any one of claims 1 to 10, characterized in that After sending the third information to the second device, the method further includes: Receive fourth information, where the fourth information is used to indicate that the second device has supplied power to the second electronic tag.
12. A device identification system, characterized in that: The system comprises: A first device, a second device, and a third device, wherein the first device and the second device are connected via the third device, and the third device includes a first electronic tag and a second electronic tag; The first device is used to: turn on a first power supply, where the first power supply is used to power the first electronic tag, and the address of the first electronic tag is a first address; The first device is further configured to: send first information, the first information including the first address and the second address, the first information being used to instruct the first electronic tag to change the address of the first electronic tag from the first address to the second address; The first electronic tag is configured to: receive the first information and modify the address of the first electronic tag from the first address to the second address; The first device is configured to: send third information to the second device, where the third information is used to instruct the second device to power a second electronic tag, and the address of the second electronic tag is the first address; The second device is used to: receive the third information; The second device is used to: turn on a second power supply, where the second power supply is used to power the second electronic tag, and the address of the second electronic tag is the first address; The first device is configured to: send fifth information; the fifth message includes the first address, and the fifth information is used to determine whether communication with the second electronic tag is possible; The second electronic tag is used to: receive the fifth information and send sixth information, where the sixth information is used to indicate that communication with the second electronic tag is possible; The first device is used to receive the sixth information.
13. The system according to claim 12, wherein: The first device is configured to: after receiving the fourth message or after receiving the sixth message, send seventh information, where the seventh information includes the first address and the third address; the seventh information is used to instruct the second electronic tag to change the address of the second electronic tag from the first address to the third address; The second electronic tag is configured to: receive the seventh information and modify the address of the second electronic tag from the first address to the third address; The second electronic tag is used to: send eighth information, where the eighth information is used to indicate that the address of the second electronic tag has been changed to the third address; The first device is used to: receive the eighth information.
14. The system according to any one of claims 12 or 13, characterized in that The first device is a powered device, the second device is a power supply device, and the third device is a cable; or the first device is a power supply device, the second device is a powered device, and the third device is a cable.
15. The system according to claim 14, characterized in that The first electronic tag includes a first power pin and a first configuration channel pin, and the first power supply is used to power the first electronic tag, specifically including: The first power supply is used to supply power to the first electronic tag through the first power pin; The first electronic tag is used to receive the first information through the first configuration channel pin.
16. The system according to claim 15, wherein: The second electronic tag includes a second power pin and a second configuration channel pin, and the second power supply is used to power the second electronic tag, specifically including: The second power supply is used to supply power to the second electronic tag through the second power pin; The second electronic tag is used to receive the fifth information through the second configuration channel pin.
17. The system according to claim 16, wherein: The first device is configured to: after receiving the second message, send a ninth message, wherein the ninth message includes the second address and is used to confirm whether communication with the first electronic tag is possible; The first electronic tag is configured to: receive the ninth message and send a tenth message, wherein the tenth message is used to indicate that communication with the first electronic tag is possible; The first device is used to: receive the tenth message.
18. The system according to claim 17, wherein: The first device is configured to: after receiving the eighth message, send an eleventh message, where the eleventh message includes the third address, and the eleventh message is used to confirm whether communication with the second electronic tag is possible; The second electronic tag is configured to: receive the eleventh message and send a twelfth message, wherein the twelfth message is used to indicate that communication with the second electronic tag is possible; The first device is used to: receive the twelfth message.
19. The system according to any one of claims 15 to 17, characterized in that: The first device is configured to: after turning on the first power supply, send a thirteenth message, the thirteenth message including the first address, and the thirteenth message is used to confirm whether communication with the first electronic tag is possible; The first electronic tag is used to receive the thirteenth message and send a fourteenth message, where the fourteenth message is used to indicate that communication with the first electronic tag is possible.
20. The system according to claim 19, wherein: The second device is configured to: before sending the fourth message, send a fifteenth message, where the fifteenth message is used to indicate that the second device agrees to supply power to the second electronic tag; The first device is used to: receive the fifteenth message.
21. The system according to any one of claims 12 to 20, characterized in that: The first electronic tag is configured to: after receiving the first information, send second information, where the second information is configured to indicate that the address of the first electronic tag has been modified to the second address; The first device is used to: receive the second information.
22. The system according to any one of claims 12 to 21, characterized in that: The second device is configured to: after turning on the second power supply, send fourth information, where the fourth information is used to indicate that the second device has turned on the second power supply; The first device is used to receive the fourth information.
23. An electronic device, characterized in that: include: A processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code comprising computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method according to any one of claims 1 to 11.
24. A chip system, applied to electronic equipment, comprising one or more processors, characterized in that: The processor is configured to call computer instructions so as to execute the method according to any one of claims 1 to 11.
25. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a computer program, and when the computer program is run on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 11.
26. A computer program product, characterized in that When the computer program product is run on a computer, the electronic device is enabled to perform the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Equipment identification method, system and device
CN118337761A
Content continuing method and system and electronic equipment
CN112351412A
Data transmission method and electronic device
CN112771900A
Setting method and system of network address
JP2018061227A
CN202410370642A