A device identification method, system and apparatus

By sending and receiving information instructions between the power supply equipment and the power receiving equipment, the electronic tag is instructed to change its address, which solves the problem of cable tag identification, realizes simple and accurate cable tag identification and access, and reduces communication complexity and the risk of conflict.

CN118337761BActive Publication Date: 2025-11-21HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410546864.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2024-03-27
Filing Date
2024-04-30
Publication Date
2025-11-21
Estimated Expiration
2044-04-30

AI Technical Summary

Technical Problem

In scenarios where power supply equipment and power receiving equipment communicate via a cable connection with two cable tags, how to easily and accurately identify the two cable tags is an urgent problem to be solved.

Method used

By sending and receiving specific information instructions between the power supply equipment and the power receiving equipment, the electronic tag is instructed to change its address, and the two cable tags in the cable are identified by the address, ensuring that the power supply equipment and the power receiving equipment can recognize the cable tag.

Benefits of technology

This enables power supply and receiving equipment to easily and correctly identify and access two cable tags in a cable without increasing cable diameter and cost, reducing communication complexity and the risk of cable collisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337761B_ABST
    Figure CN118337761B_ABST
Patent Text Reader

Abstract

The application provides a device identification method, system and device. In the system, a power supply device is connected with a powered device through a cable, and the cable contains two cable tags. In the method, the power supply device or the powered device can send instructions for modifying device addresses to the two cable tags of the cable respectively. Cable tag 1 in the cable can modify the device address from device address 1 to device address 2, and cable tag 2 in the cable can modify the device address from device address 1 to device address 3. In this way, the power supply device or the powered device identifies the two cable tags in the cable through the device addresses of the two cable tags.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal and communication technology, and in particular to a device identification method, system and apparatus. Background Technology

[0002] Currently, two electronic devices can communicate via a cable connection. For example, two electronic devices connected by a cable can be called a power supply device and a power receiving device. The device that provides electrical energy is called the power supply device, and the device that receives electrical energy is called the power receiving device. The power supply device and the power receiving device are connected by a cable, and they can communicate with each other via the cable. The power supply device can also provide electrical energy to the power receiving device via the cable. With the development of electronic devices, cables have also developed. Some cables have two cable tags, one at each end. In scenarios where the power supply device and the power receiving device communicate via a cable with two cable tags, both the power supply device and the power receiving device need to have the ability to identify the two cable tags.

[0003] Therefore, in scenarios where power supply equipment and power receiving equipment communicate through a cable connection with two cable tags, how to easily and correctly identify the two cable tags of the cable is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a device identification method, system, and apparatus. With the device identification method provided by this application, when a power supply device and a power receiving device communicate through a cable connection with two cable tags, the power supply device and the power receiving device can easily and correctly identify the two cable tags in the cable.

[0005] In a first aspect, this application provides a device identification method, which can be applied to a first device, the first device including a first power source. The method can include: turning on the first power source to power a first electronic tag, the first power source being a first address; sending first information, the first information including the first address and a second address; the first information being used to instruct the first electronic tag to change its address from the first address to the second address; receiving second information, the second information being 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 being used to instruct the second device to power a second electronic tag, the address of the second electronic tag being the first address; receiving fourth information, the fourth information being used to indicate that the second device has powered the second electronic tag; sending fifth information, the fifth information including the first address; the fifth information being used to confirm whether communication with the second electronic tag is possible; and receiving sixth information, the sixth information being used to indicate that communication with the second electronic tag is possible.

[0006] The first device is either a power supply device or a power receiving device.

[0007] The first electronic tag and the second electronic tag are contained in a cable, which is used to connect the first device and the second device.

[0008] Using the method provided in the first aspect, the first device can instruct the first electronic tag to change its address from a first address to a second address. The second electronic tag, however, retains the first address. Thus, the addresses of the first and second electronic tags are different. Consequently, the first device can identify the first and second electronic tags using their respective addresses.

[0009] In conjunction with the first aspect, in one possible implementation, after receiving the sixth information, the method may further include: sending a seventh information, the seventh information including a first address and a third address; the seventh information being used to instruct the second electronic tag to change the address of the second electronic tag from the first address to the third address; and receiving an eighth information, the eighth information being used to indicate that the address of the second electronic tag has been changed to the third address.

[0010] In this way, the first device can instruct the second electronic tag to change its address to a third address. This makes the address of the second electronic tag different from the address of the first electronic tag. Thus, the first device can identify the first electronic tag and the second electronic tag using their respective addresses.

[0011] In conjunction with the first aspect, in one possible implementation, the third information used to instruct the second device to power the second electronic tag may include: the third information used to instruct the second device to turn on the second power supply. Thus, the first device can instruct the second device to turn on the power supply to power the second electronic tag.

[0012] In conjunction with the first aspect, in one possible implementation, after receiving the second information, the method may further include: sending a ninth message, the ninth message including a second address, the ninth message being used to confirm whether communication with the first electronic tag is possible; and receiving a tenth message, the tenth message being used to indicate 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 modified to the second address and that communication with the first electronic tag is possible.

[0013] In conjunction with the first aspect, in one possible implementation, after receiving the eighth information, the method may further include: sending an eleventh information, the eleventh information including a third address, the eleventh information being used to confirm whether communication with the second electronic tag is possible; and receiving a twelfth information, the twelfth information being used to indicate that communication with the second electronic tag is possible. Thus, after receiving the twelfth information, the first device can determine that the address of the second electronic tag has been modified to the third address and that communication with the second electronic tag is possible.

[0014] 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 a first address, the thirteenth message being used to confirm whether communication with the first electronic tag is possible; and receiving a fourteenth message, the fourteenth message being used to indicate that communication with the first electronic tag is possible. Thus, after the first device turns on the first power supply to power the first electronic tag, it can confirm the presence of a cable tag in the cable and that the cable tag is capable of communication by sending the thirteenth message and receiving the tenth message.

[0015] In conjunction with the first aspect, in one possible implementation, before receiving the fourth information, the method may further include: receiving a fifteenth information, the fifteenth information being used to instruct the second device to agree to power the second electronic tag. Thus, the first device can learn from the fifteenth information that the second device can power the second electronic tag.

[0016] In this embodiment, the first information can be message 11. The second information can be message 12. The third information can be message 14. The fourth information can be message 16. The fifth information can be message 17. The sixth information can be the ACK sent by the cable tag 305 to the powered device 100 as described in step S1021. The seventh information can be message 18. The eighth information can be message 19. The ninth information can be message 13, and the tenth information can be the ACK involved in step S1010. The eleventh information can be message 20, and the twelfth information can be the ACK involved in step S1029. The thirteenth information can be message 10, and the fourteenth information can be the ACK involved in step S1003. The fifteenth information can be message 15.

[0017] Alternatively, the first message could be message 22. The second message could be message 23. The third message could be message 25. The fourth message could be message 27. The fifth message could be message 28. The sixth message could be an ACK sent by the cable tag 306 to the power supply device 200 as described in step S1121. The seventh message could be message 29. The eighth message could be message 30. The ninth message could be message 24, and the tenth message could be the ACK involved in step S1110. The eleventh message could be message 31, and the twelfth message could be the ACK involved in step S1129. The thirteenth message could be message 21, and the fourteenth message could be the ACK involved in step S1103. The fifteenth message could be message 26.

[0018] 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 through the third device, and the third device includes a first electronic tag and a second electronic tag;

[0019] The first device can be used to: turn on the first power supply, the first power supply is used to power the first electronic tag, and the address of the first electronic tag is the first address;

[0020] The first device can also be used to: send first information, the first information including a first address and a 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;

[0021] The first electronic tag can be used to: receive first information and change the address of the first electronic tag from the first address to the second address;

[0022] The first electronic tag can be used to: send a second message, the second message indicating that the address of the first electronic tag has been changed to a second address;

[0023] The first device can be used to: receive the second information;

[0024] The first device can be used to: send a third message to the second device, the third message being used to instruct the second device to supply power to the second electronic tag, the address of the second electronic tag being the first address;

[0025] The second device can be used to: receive third information;

[0026] The second device can be used to: turn on the second power supply, which is used to power the second electronic tag, and the address of the second electronic tag is the first address;

[0027] The second device can be used to: send a fourth message, which indicates that the second device has turned on the second power;

[0028] The first device can be used to: receive fourth information and send fifth information; the fifth information includes the first address and is used to determine whether communication with the second electronic tag is possible.

[0029] The second electronic tag can be used to: receive the fifth information and send the sixth information, the sixth information being used to indicate that it can communicate with the second electronic tag;

[0030] The first device can be used to: receive the sixth information.

[0031] The third device is a cable. The first device is a receiving 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 receiving device.

[0032] Using the system provided in the second aspect, the first device can instruct the first electronic tag to change its address from a first address to a second address. The second electronic tag, however, retains the first address. Thus, the addresses of the first and second electronic tags are different. Consequently, the first device can identify the first and second electronic tags using their respective addresses.

[0033] In conjunction with the second aspect, in one possible implementation, the first device may also be used to: after receiving the fourth information, or after receiving the sixth information, send a seventh information, the seventh information including a first address and a 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;

[0034] The second electronic tag can 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;

[0035] The second electronic tag can also be used to send an eighth message, which indicates that the address of the second electronic tag has been changed to the third address;

[0036] The first device can also be used to receive the eighth message.

[0037] In this way, the first device can instruct the second electronic tag to change its address to a third address. This makes the address of the second electronic tag different from the address of the first electronic tag. Thus, the first device can identify the first electronic tag and the second electronic tag using their respective addresses.

[0038] In conjunction with the second aspect, in one possible implementation, the first electronic tag may include a first power supply pin and a first configuration channel pin. The first power supply is used to power the first electronic tag, specifically including: the first power supply is used to power the first electronic tag through the first power supply pin;

[0039] The first electronic tag can also be used to: receive first information through the first configuration channel pin.

[0040] In this way, the first electronic tag can receive electrical energy supplied by the first power source through the first power supply pin. The first electronic tag can also receive information (or messages) sent by the first device through the first configuration channel pin.

[0041] In conjunction with the second aspect, in one possible implementation, the second electronic tag may include a second power supply pin and a second configuration channel pin. The second power supply is used to power the second electronic tag, specifically including: the second power supply is used to power the second electronic tag through the second power supply pin;

[0042] The second electronic tag can be used to receive the fifth information via the second configuration channel pin.

[0043] In this way, the second electronic tag can receive electrical energy from the second power supply through the second power supply pin. The second electronic tag can also receive information sent by the first device through the second configuration channel pin.

[0044] In conjunction with the second aspect, in one possible implementation, the first device can be used to: after receiving the second information, send the ninth information, which includes the second address and is used to confirm whether it can communicate with the first electronic tag;

[0045] The first electronic tag can be used to: receive the ninth information and send the tenth information, the tenth information being used to indicate that it can communicate with the first electronic tag;

[0046] The first device can be used to: receive the tenth information.

[0047] 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.

[0048] In conjunction with the second aspect, in one possible implementation, the first device can also be used to: after receiving the eighth information, send the eleventh information, the eleventh information including the third address, the eleventh information being used to confirm whether communication with the second electronic tag is possible;

[0049] The second electronic tag can also be used to: receive eleventh information and send twelfth information, the twelfth information being used to indicate the ability to communicate with the second electronic tag;

[0050] The first device can also be used to receive the twelfth message.

[0051] 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.

[0052] In conjunction with the second aspect, in one possible implementation, the first device can also be used to: after turning on the first power, send thirteenth information, the thirteenth information including the first address, the thirteenth information being used to confirm whether it can communicate with the first electronic tag;

[0053] The first electronic tag can also be used to: receive the thirteenth message and send the fourteenth message, which indicates that it can communicate with the first electronic tag.

[0054] In this way, after the first device turns on the first power supply to power the first electronic tag, it can confirm the existence of a cable tag in the cable and that the cable tag can communicate by sending the thirteenth information and receiving the tenth information.

[0055] In conjunction with the second aspect, in one possible implementation, the second device is used to: send a fifteenth message before sending the fourth message, the fifteenth message being used to instruct the second device to agree to power the second electronic tag;

[0056] The first device is used to receive the fifteenth message.

[0057] In this way, the first device can learn from the fifteenth piece of information that the second device can provide power to the second electronic tag.

[0058] Thirdly, an electronic device is provided, which may include a processor and a memory; the memory is coupled to the processor and is used to store computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the methods involved in any of the possible implementations of the first aspect.

[0059] Fourthly, an electronic device is provided, which may include one or more functional modules for the methods involved in any possible implementation of the first aspect.

[0060] Fifthly, a chip system is provided for use in an electronic device, the chip system including one or more processors for invoking computer instructions to cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0061] A sixth aspect provides a computationally readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0062] In a seventh aspect, a computer program product is provided, comprising a computer program / instructions that, when executed on an electronic device, cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0063] Understandably, 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 they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description

[0064] Figure 1 This is a schematic diagram of system 10 provided in an embodiment of this application;

[0065] Figure 2 This is a schematic diagram of the structure and connection method of a power supply device 200, a cable 300, and a power receiving device 100 provided in an embodiment of this application;

[0066] Figure 3 This application provides a device identification method according to an embodiment.

[0067] Figure 4 This application provides a device identification method according to an embodiment.

[0068] Figure 5 This is a schematic diagram illustrating the structure and connection method of another power supply device 200, cable 300, and power receiving device 100 provided in an embodiment of this application;

[0069] Figure 6 This application provides a device identification method according to an embodiment.

[0070] Figure 7 This application provides a device identification method according to an embodiment.

[0071] Figure 8 This is a schematic diagram of the structure and connection method of another power supply device 200, cable 300, and power receiving device 100 provided in an embodiment of this application;

[0072] Figure 9 This is a schematic diagram of the structure and connection method of another power supply device 200, cable 300, and power receiving device 100 provided in an embodiment of this application;

[0073] Figure 10 This application provides a device identification method according to an embodiment.

[0074] Figure 11 This application provides a device identification method according to an embodiment.

[0075] Figure 12 This is a schematic diagram of the structure of the electronic device 1200 provided in the embodiments of this application;

[0076] Figure 13 This is a schematic diagram of the power supply device 1300 provided in the embodiments of this application;

[0077] Figure 14 This is a schematic diagram of the structure of the power receiving device 1400 provided in the embodiments of this application. Detailed Implementation

[0078] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0079] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. The terms “first” and “second” are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include one or more of that feature. “First” and “second,” etc., are used to distinguish different objects, not to describe a particular order of objects. For example, a first object and a second object are used to distinguish different objects, not to describe a particular order of objects.

[0080] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

[0081] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or related scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0082] The term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A existing alone, A and B existing simultaneously, and B existing alone.

[0083] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.

[0084] First, a system 10 provided in this application embodiment is introduced. The system 10 may include a power receiving device 100, a power supply device 200, and a cable 300. The power receiving device 100 and the power supply device 200 can be connected via the cable 300.

[0085] Exemplary, the system 10 provided in this application embodiment can be as follows: Figure 1 As shown, the power receiving device 100 can be Figure 1 The smart screen device and power supply device 200 shown in the figure can be Figure 1 The dock shown in the image.

[0086] In this embodiment, the powered device 100 may be a device with a rechargeable port. The powered device 100 is not limited to... Figure 1 The smart screen device shown in the illustration, for example, the powered device 100 can also be a router, camera, mobile phone, tablet, laptop, or other devices. This application embodiment does not limit the specific type of device that the powered device 100 is.

[0087] In this embodiment, the power supply device can be a device equipped with a power source and capable of supplying power to other devices. The power supply device 200 is not limited to... Figure 1 The dock shown in the diagram, for example, power supply device 200, could also be a switch. This application embodiment does not limit the specific type of power supply device 200.

[0088] In this embodiment, the cable 300 has two cable tags. The cable 300 may include data conductors and power supply conductors. That is, the powered device 100 and the powered device 200 can both transmit data and receive power through the cable 300. This embodiment does not limit the specific materials or structure of the cable 300.

[0089] In some possible implementations, such as Figure 2 As shown, the sink 100 may include a Vbus 101 pin, a CC 102 pin, a Vcon 103 pin, and a GND 104 pin. The cable marker 301 may include a CC1 pin, a Vcon 10 pin, a Vcon 11 pin, and a Vcon 12 pin. The cable marker 302 may include a CC2 pin, a Vcon 20 pin, a Vcon 21 pin, and a Vcon 22 pin. The source 200 may include a Vbus 201 pin, a CC 202 pin, a Vcon 203 pin, and a GND 204 pin.

[0090] Specifically, the Vbus101 pin of the powered device 100 can be connected to the Vbus201 pin of the powered device 200 via the power supply line 205 in the cable 300. The CC102 pin of the powered device 100 can be connected to the CC202 pin of the powered device 200 via the signal line 206 in the cable 300. The GND104 pin of the powered device 100 can be connected to the GND204 pin of the powered device 200 via the ground line 208 in the cable 300.

[0091] Specifically, the Vcon11 pin of cable tag 301 can be connected to the Vcon203 pin of power supply device 200 via signal line 2072. The Vcon10 pin of cable tag 301 can be connected to the Vcon20 pin of cable tag 302 via signal line 2071. The CC1 pin of cable tag 301 can be connected to signal line 206, and can communicate with the powered device 100 and the power supply device 200 through signal line 206.

[0092] The Vcon21 pin of the cable tag 302 can be connected to the Vcon103 pin of the powered device 100 via signal line 2073. The CC2 pin of the cable tag 302 can be connected to signal line 206, and can communicate with the powered device 100 and the power supply device 200 through signal line 206.

[0093] It is understood that the names of the pins mentioned above are merely examples, and this application does not limit the names of the pins.

[0094] In some examples, the power line 205 may be referred to as a power supply conductor, and the signal lines 206, 2071, 2072, and 2073 may be referred to as configuration channel connection lines or data conductors, 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.

[0095] based on Figure 2 The structure and connection method of the power receiving device 100, the power supply device 200, and the cable 300 are shown. Figure 3 An existing device identification method is illustrated. For example... Figure 3 As shown, before the power supply device 200 communicates with the cable 300, the device identification method may include the following steps:

[0096] S31. Power supply device 200 turns on the power supply to power cable tag 301.

[0097] See Figure 2 The power supply device 200 may include a Vcon203 pin, which is connected to Vcon11 in the cable tag 301 via the power line 205 of the cable 300. The power supply device 200 can be powered on and then supply power to the cable tag 301 via the Vcon11 pin.

[0098] S32. Power on Vcon11 in cable tag 301 and confirm the response to the sop' message.

[0099] The cable tag 301 can determine whether to respond to a "sop'" or "sop" message sent by the power supply device 200 based on the powered pin. When the Vcon11 pin of the cable tag 301 is powered on, the cable tag 301 determines to respond to a "sop'" message sent by the power supply device 200. When the Vcon10 pin of the cable tag 301 is powered on, the cable tag 301 determines to respond to a "sop" message sent by the power supply device 200.

[0100] The terms "sop" and "sop" indicate that packet header (startofpocket) messages can be categorized into three types: sop messages, sop' messages, and sop" messages. In the power delivery (PD) protocol, messages communicating between the downstream facing port (DFP) and the near-end cable tag are called sop' messages. Messages communicating between the DFP and the far-end cable tag are called sop" messages, and messages communicating between the DFP and the upstream facing port (UFP) are called sop messages.

[0101] In some examples, DFP can also be referred to as a master device port. In a system consisting of power supply device 200, power receiving device 100, and cables, DFP can refer to the device that provides power to the outside world in the system. When power supply device 200 provides power to the outside world, power supply device 200 can be referred to as DFP. When power receiving device 100 provides power to the outside world, power receiving device 100 can be referred to as DFP.

[0102] In some examples, a UFP can be referred to as a slave port. In a system consisting of a power supply device 200, a power receiving device 100, and cables, a UFP can refer to the device that receives power from the system.

[0103] At this time, the power supply device 200 acts as a DFP. The power supply device 200 can send a sop' message or a sop" message.

[0104] Currently, the Vcon11 pin in cable tag 301 is powered on, therefore, cable tag 301 can determine that it is responding to the sop' message.

[0105] S33. Cable tag 301 supplies power to cable tag 302.

[0106] S34. Power on Vcon20 in cable tag 302 and confirm the response to the "sop" message.

[0107] Cable tag 301 can be powered via the connection between the Vcon10 pin and the Vcon20 pin in cable tag 302. Cable tag 302 can determine whether to respond to a "sop" message or a "sop" message sent by the power supply device 200 based on the powered pin. When the Vcon21 pin in cable tag 302 is powered on, cable tag 302 determines to respond to a "sop" message sent by the power supply device 200. When the Vcon20 pin in cable tag 302 is powered on, cable tag 301 determines to respond to a "sop" message sent by the power supply device 200.

[0108] Currently, the Vcon20 pin in cable tag 302 is powered on, therefore, cable tag 302 can determine that it is responding to the "sop" message.

[0109] Thus, when the power supply device 200 sends a 'sop' message through the CC 202 pin, the cable tag 301 can respond to the 'sop' message. When the power supply device 200 sends a 'sop' message through the CC 202 pin, the cable tag 302 can respond to the 'sop' message.

[0110] based on Figure 2The structure and connection method of the power receiving device 100, the power supply device 200, and the cable 300 are shown. Figure 4 An existing device identification method is illustrated. For example... Figure 4 As shown, before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:

[0111] S400. The receiving device 100 sends a DR_Swap command to the power supply device 200.

[0112] The powered device 100 can send a DR_Swap command to the power supply device 200. The DR_Swap command is used to instruct the power supply device 200 to agree to the switching of the powered device 100 from a UFP to a DFP.

[0113] S401. Power supply equipment 200 replies with an accept message to power receiving equipment 100.

[0114] The power supply device 200 can reply with an accept message to the powered device 100. This accept message can be used to indicate that the power supply device 200 accepts and supports the DR_Swap command. That is, the power supply device 200 accepts and supports the powered device 100 switching from a UFP to a DFP.

[0115] In one possible implementation, step S401 is optional, meaning the power supply device 200 may not respond to the 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.

[0116] S402. Power supply equipment 200: Power off.

[0117] Upon receiving the DR_Swap command, the power supply device 200 can shut down the power. That is, the power supply device 200 no longer supplies power to the cable tag 301 through the signal line 2072 between the Vcon203 pin and the Vcon11 pin of the cable tag 301.

[0118] S403. The power supply equipment 200 sends PS_RDY to the power receiving equipment 100.

[0119] The power supply device 200 can send PS_RDY to the power receiving device 100. PS_RDY can be used to indicate that the power supply device 200 has reached the required operating state, that is, the power supply in the power supply device 200 has been turned off.

[0120] In one possible implementation, step S403 is optional, meaning that the power supply device 200 may not send the PS_RDY to the powered device 100 after the power is turned off.

[0121] S404. Power receiving device 100 turns on the power supply to power cable tag 302.

[0122] See Figure 2 The powered device 100 may include a Vcon103 pin, which is connected to the Vcon21 pin in the cable tag 302 via the signal line 2073 of the cable 300. The powered device 100 can turn on the power and then supply power to the cable tag 302 via the signal line 2073 between the Vcon103 pin and the Vcon21 pin in the cable tag 302.

[0123] S405. Power on Vcon21 in cable tag 302 and confirm the response to the sop' message.

[0124] The Vcon21 pin in cable tag 302 is powered on, therefore, cable tag 302 can determine the response to the sop' message.

[0125] Step S405 can be referred to the description in step S32 above, and will not be repeated here.

[0126] S406. Cable tag 302 supplies power to cable tag 301.

[0127] S407. Power on Vcon10 in cable tag 301 and confirm the response to the "sop" message.

[0128] The cable tag 302 can be powered by the signal line 2071 between the Vcon20 pin and the Vcon10 pin in the cable tag 301. At this time, the Vcon10 pin in the cable tag is powered on, and the cable tag 301 can determine to respond to the "sop" message after the Vcon10 pin in the cable tag 301 is powered on.

[0129] Thus, when the powered device 100 sends a sop' message through the CC 102 pin, the cable tag 302 can respond to the sop' message. When the powered device 100 sends a sop' message through the CC 102 pin, the cable tag 301 can respond to the sop' message.

[0130] exist Figure 2 In the cable 300 shown, only one wire is needed between cable label 301 and cable label 302 (e.g., Figure 2 The signal line 2071 shown in the diagram would increase the cable diameter and cost. Furthermore, the UFP (e.g., powered device 100) needs to switch power via protocol commands before communicating with the cable.

[0131] To save on cable costs and without increasing cable diameter, in some existing technologies, no wire connection is needed between the two cable tags of cable 300. For example, such as... Figure 5 As shown, cable 300 may include cable labels 303 and 304, power cable 505, signal cable 506, signal cable 5071, signal cable 5072, and ground cable 508.

[0132] Power cable 505 can connect the Vbus 201 pin of the power supply device 200 and the Vbus 101 pin of the power receiving device 100. The power supply device 200 can provide power to the power receiving device 100 through this power cable 505.

[0133] The cable label 303 may include a CC501 pin and a Vcon502 pin. The CC501 pin of the cable label 303 can be connected to signal line 506, and through signal line 506, it can be connected to the CC 202 pin of the power supply device 200 and the CC 102 pin of the powered device 100. The Vcon502 pin of the cable label 303 can be connected to the Vcon203 pin of the power supply device 200 through signal line 5071.

[0134] The cable label 304 may include a CC503 pin and a Vcon504 pin. The CC503 pin of the cable label 304 can be connected to signal line 506, and through signal line 506, it can be connected to the CC 202 pin of the power supply device 200 and the CC102 pin of the powered device 100. The Vcon504 pin of the cable label 304 can be connected to the Vcon103 pin of the powered device 100 through signal line 5072.

[0135] Ground wire 508 can be used to connect the GND204 pin in the power supply device 200 and the GND104 pin in the power receiving device 100.

[0136] based on Figure 5 The structure and connection method of the power supply device 100, the power receiving device 200, and the cable 300 are shown. Figure 6 An existing device identification method is illustrated. For example... Figure 6 As shown, the power supply device 200 can act as a DFP in system 10. Before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:

[0137] S601. Power supply device 200 turns on the power supply to power cable tag 303.

[0138] See Figure 5The power supply device 200 may include a Vcon203 pin, which is connected to the Vcon502 pin in the cable tag 303 via the signal line 5071 of the cable 300. The power supply device 200 can turn on the power and then supply power to the cable tag 303 via the signal line 5071.

[0139] S602. Vcon502 in cable tag 303 is powered on and confirms the response to the sop' message.

[0140] After the Vcon502 pin in the cable tag 303 is powered on, the cable tag 303 can determine that it is responding to the sop' message.

[0141] Steps S601-S602 can be referred to in the description of steps S31-S32 above, and will not be repeated here.

[0142] When the power supply device 200 is used as a DFP, only the near-end cable tag of the power supply device 200, i.e., cable tag 303, can be powered on in the cable 300. Because the PD protocol stipulates that the power supply device 200 and the powered device 100 cannot simultaneously power on the near-end cable tag, when the power supply device 200 is used as a DFP, the power supply device 200 can only communicate with cable tag 303. Since cable tag 304 is not powered on, the power supply device 200 cannot communicate with cable tag 304.

[0143] based on Figure 5 The structure and connection method of the power supply device 100, the power receiving device 200, and the cable 300 are shown. Figure 7 An existing device identification method is illustrated. For example... Figure 7 As shown, the powered device 100 can serve as a DFP in system 10. Before the powered device 100 communicates with the cable 300, the device identification method may include the following steps:

[0144] S700. The receiving device 100 sends a DR_Swap command to the power supply device 200.

[0145] S701. The power supply equipment 200 replies with an accept message to the power receiving equipment 100.

[0146] S702. Power supply equipment 200: Power off.

[0147] S703. The power supply equipment 200 sends PS_RDY to the power receiving equipment 100.

[0148] Steps S700-S703 can be found in the descriptions of steps S400-S403 above, and will not be repeated here.

[0149] S704. Power receiving device 100 turns on the power supply to power cable tag 304.

[0150] See Figure 5 The powered device 100 may include a Vcon103 pin, which is connected to the Vcon504 in the cable tag 304 via the signal line 5072 of the cable 300. The powered device 100 can turn on the power and then supply power to the cable tag 304 via the signal line 5072.

[0151] S705. Power on Vcon504 in cable tag 304 and confirm response to the sop' message.

[0152] When the Vcon504 pin in cable tag 304 is powered on, cable tag 304 can determine that it is responding to the sop' message.

[0153] When powered device 100 is used as a DFP, only the near-end cable tag of powered device 100, i.e., cable tag 304, can be powered on in cable 300. Because the PD protocol stipulates that power supply device 200 and powered device 100 cannot simultaneously power on the near-end cable tag, when powered device 100 is used as a DFP, powered device 100 can only communicate with cable tag 304. Since cable tag 303 is not powered on, powered device 200 cannot communicate with cable tag 303.

[0154] Figures 6-7 In the illustrated device identification method, the two cable tags in cable 300 cannot be powered on simultaneously during communication. 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 needs to switch power via a protocol, switching from the power supply device 200 powering on to supply power to the cable tag to the powered device 100 powering on to supply power to the cable tag. Only then can the powered device 100 access 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, potentially causing bus conflicts.

[0155] For cables with two cable tags, this application provides a device identification method to address the problems existing in the aforementioned existing device identification methods. Using the device identification method provided by this application, both the power supply device and the powered device can identify and access both cable tags simultaneously, even without adding a wire between the two cable tags. Before introducing the device identification method provided by this application, another structure and connection method of the power supply device 200, cable 300, and powered device 100 provided by this application will be introduced. Figure 8 An alternative structure and connection method of the power supply device 200, cable 300 and power receiving device 100 are illustrated by way of example.

[0156] like Figure 8 As shown, the power supply device 200 may include a GND821 pin, a CL822 pin, and a CL823 pin, wherein the CL823 pin is connected to a power supply Vc824. The power receiving device 100 may include a GND811 pin, a CL812 pin, and a CL813 pin, wherein the CL813 pin is connected to a power supply Vc814. The cable 300 may include cable markers 305 and 306, a ground wire 805, a signal wire 806, a signal wire 8071, and a signal wire 8072. Cable marker 305 may include a Vcon801 pin and a CL802 pin. Cable marker 306 may include a Vcon803 pin and a CL804 pin.

[0157] Specifically, the GND811 pin of the powered device 100 is connected to the GND821 pin of the powered device 200 via the ground wire 805 of the cable 300. The CL812 pin of the powered device 100 is connected to the CL822 pin of the powered device 200 via the signal line 806 of the cable 300.

[0158] The CL823 pin of the power supply device 200 can be connected to the Vcon801 pin of the cable tag 305 via signal line 8071. When the power supply Vc824 in the power supply device 200 is turned on, power can be supplied to the cable tag 305 via signal line 8071. For example, as... Figure 8 As shown, when the switch 825 in the power supply device 200 is closed, that is, when the contacts 8251 and 8252 of the switch 825 are connected, the power supply Vc824 of the power supply device 200 can be said to be turned on.

[0159] The CL813 pin of the powered device 100 can be connected to the Vcon803 pin of the cable tag 306 via signal line 8072. When the power supply Vc814 of the powered device 100 is turned on, the cable tag 306 can be powered via signal line 8072. For example, as... Figure 8 As shown, when the switch 815 in the power receiving device 100 is closed, that is, when the contacts 8151 and 8152 of the switch 815 are connected, the power supply Vc814 of the power supply device 200 can be said to be turned on.

[0160] The CL802 pin in the cable label 305 can be connected to the signal line 806, and through the signal line 806, it can be connected to the CL822 pin in the power supply device 200 and the CL812 pin in the power receiving device 100.

[0161] The CL804 pin in the cable tag 306 can be connected to the signal line 806, and through the signal line 806, it can be connected to the CL822 pin in the power supply device 200 and the CL812 pin in the power receiving device 100.

[0162] The power supply device 200 and the power receiving device 100 can communicate via signal line 806. The power supply device 200 and the cable tag 305 can also communicate via signal line 806. Similarly, the power receiving device 100 and the cable tag 305 can communicate via signal line 806.

[0163] In this embodiment, the cable tag 305 and cable tag 306 may be referred to as electronic tags or cable electronic tags, and this embodiment does not limit them.

[0164] In some examples, the connection between the internal circuitry of any of the following devices—power supply device 200, power receiving device 100, cable tag 305, and cable tag 306—and the external circuitry can be referred to as a pin. A pin can also be called a contact or a terminal. For example, the CL822 pin in power supply device 200 can also be called a CL822 contact or a CL822 terminal, etc. This application does not limit this specific application.

[0165] Furthermore, in one possible implementation, the power receiving device 100, power supply device 200, and cable 300 provided in this application embodiment may include more electronic components. For example, Figure 9 Another structure and connection method of the power supply device 200, cable 300 and power receiving device 100 are shown.

[0166] like Figure 9As shown, the powered device 200 may include multiple resistors (e.g., resistors Rp21 and Rp22), multiple power supplies (e.g., power supplies Vc1, Vc2, Vp1, and Vp2), a receive / transmit (RX / TX) device 2, a connection & cable marker detection device 2, a CL21 pin, and a CL22 pin.

[0167] In some possible examples, the powered device 200 may also include switch 1 and switch 2. Both switch 1 and switch 2 can be single-pole multi-throw switches. Exemplarily, switch 1 may have multiple contacts: contact 1, contact 2, contact 3, and contact 4. Contact 1 is connected to the CL21 pin, contact 2 is connected to the resistor Rp21, and contact 3 is connected to the power supply Vc1. Contact 4 is connected to one end of a wire, the other end of which is not connected to any other device.

[0168] 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 supply Vp1 through switch 1. At this time, power supply device 200 can receive communication data (which can be sent by any of the following devices: powered device 100, cable tag 305, and cable tag 306) through the CL21 pin. When contact 1 and contact 3 of switch 1 are connected, the CL21 pin of power supply device 200 can be connected to power supply Vc1 through switch 1. At this time, power supply device 200 can send communication data to any of the following devices: powered device 100, cable tag 305, and cable tag 306 through the CL21 pin. When contact 1 and contact 4 of switch 1 are connected, power supply device 200 cannot send or receive communication data.

[0169] For example, the switch 2 of the power supply device 200 may also have multiple contacts: contact 1, contact 2, contact 3, and contact 4. Contact 1 of switch 2 is connected to the CL22 pin. 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 the power supply device 200 can supply power to cable tag 305 through switch 2 and the CL22 pin.

[0170] Alternatively, in one possible implementation, when the power supply device 200 is not supplying power to the cable tag 305, contact 1 in switch 1 can be connected to contact 2 by default. Similarly, contact 1 in switch 2 can be connected to contact 2 by default.

[0171] Power supply Vp1 can be used to provide voltage to resistor Rp21. Power supply Vp2 can be used to provide voltage to resistor Rp22.

[0172] The RX / TX device 2 can be used to determine whether the power supply device 200 is a signal transmitter or receiver. The connection & cable tag detection device 2 can be used to detect cable insertion or removal and identify whether there is a cable tag in the cable based on the voltage difference across resistors Rp21 and Rp22. In some examples, the connection & cable tag detection device 2 can also be referred to as detection module 2.

[0173] like Figure 9 As shown, the powered device 100 may include multiple resistors (e.g., resistors Rp11, Rp12, Rd21 and Rd22), power supply Vc3, RX / TX device 1, connection & cable tag detection device 1, CL11 pin and CL12 pin.

[0174] In some feasible examples, the power receiving device 100 may also 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 supply Vc3 in the power receiving device 100 can supply power to the cable tag 306 through the CL12 pin of the power supply device 100.

[0175] Alternatively, in one possible implementation, switches 4 and 5 can remain closed by default.

[0176] The RX / TX device 1 can be used to determine whether the powered device 100 is a signal transmitter or a signal receiver. The connection & cable tag detection device 1 can be used to detect cable insertion or removal and to identify whether there is a cable tag in the cable. In some examples, the connection & cable tag detection device 1 can also be referred to as detection module 1.

[0177] Cable 300 may include a DBUS bus and a PBUS bus, as well as cable labels 305 and 306. Cable label 305 may include a resistor Ra1 and a switch 6. Cable label 306 may include a resistor Ra2 and a switch 7.

[0178] Alternatively, in one possible implementation, switches 6 and 7 can remain closed by default.

[0179] The DBUS bus can be used to transmit communication data. The PBUS bus can be used to transmit power.

[0180] This application does not limit the components and circuit structures in the power supply device 200, the power receiving device 100, and the cable tags 305 and 306. For the connection method between the power supply device 200, the power receiving device 100, and the cable tags 305 and 306, please refer to [reference needed]. Figure 8 The description in the text will not be repeated here.

[0181] It is understandable that the above Figure 9 The electronic components, circuit structures, and names of the electronic components included in the power supply device 200, power receiving device 100, and cable 300 shown are merely examples. This application does not limit the electronic components, circuit structures, or names of the electronic components included in the power supply device 200, power receiving device 100, and cable 300.

[0182] based on Figure 8 The present application provides a device identification method based on the structure and connection method of the power supply device 100, the power receiving device 200, and the cable 300. (Example: This application provides a device identification method.) Figure 10 As shown, when the powered device 100 is used as a DFP, the device identification method may include the following steps:

[0183] S1000. Power receiving device 100 turns on power Vc.

[0184] The power supply Vc of the powered device 100 can be as follows: Figure 8 The power supply Vc814 shown in the image can also be... Figure 9 The power supply Vc3 is shown in the figure. The following text refers to the power supply Vc when the powered device 100 is turned on. Figure 8 The following explanation will be based on the power supply Vc814 shown in the figure.

[0185] like Figure 8 As shown, the powered device 100 can turn on the power supply Vc814, and then power on the cable tag 306 through the CL813 pin and the Vcon803 pin. After being powered on, the cable tag 306 can receive communication data sent by the powered device 100 or the power supply device 200. The format of the communication data sent by the powered device 100 or the power supply device 200 can be shown in Table 1 below.

[0186] Table 1

[0187]

[0188] As shown in Table 1, the communication data between the powered device 100 and the cable tag 306 may include a header (or message header) field and a data field. The header field may include a device address field, a message attribution category field, and a protocol version number field. The device address field contains the address of the device receiving the communication data. It is understood that the header fields shown in Table 1 are merely examples, and the header field may contain more or fewer fields; this embodiment does not limit this.

[0189] For example, the device address field can be 3 bits long. The message attribution category field can be 4 bits long. The protocol version number field can be 6 bits long. The message type field can be 3 bits long. It is understood that this application embodiment does not limit the length of the device address field, the message attribution category field, the protocol version number field, and the message type field.

[0190] Table 2 uses the following examples: the device address field has a length of 3 bits, the message category field has a length of 4 bits, the protocol version number field has a length of 6 bits, and the message type field has a length of 3 bits to describe in detail the values ​​and corresponding meanings of each field.

[0191] Table 2

[0192]

[0193] As shown in Table 2, the header field can be 16 bits long. Bits 13-15 of the header field can be the device address field. Bits 9-12 of the header field can be the message attribution category field. Bits 3-8 of the header field can be the protocol version number field. Bits 0-2 of the header field can be the message type field. In the header field, bit 15 can be the most significant bit and bit 0 can be the least significant bit. Alternatively, bit 15 can be the least significant bit and bit 0 can be the most significant bit; this embodiment does not limit the specific choice.

[0194] 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 RFID tag. When the device address field is "001", it indicates that the device address field is the address of the power supply equipment. When the device address field is "010", it indicates that the device address field is the address of the powered equipment. When the device address field is "011", it indicates that the device address field is the address of the near-end cable RFID tag. When the device address field is "100", it indicates that the device address field is the address of the far-end cable RFID tag.

[0195] It is understood that the values ​​and corresponding meanings of the device address field shown in Table 2 are merely examples. This application does not limit the length of the device address field, the bit value of the device address field, or the meaning of that bit value.

[0196] As shown in Table 2, when the message category field is "0001", it indicates that the data portion following the header field contains DBUS-related commands. When the message category field is "0010", it indicates that the data portion following the header field contains PBUS-related commands.

[0197] It is understood that the values ​​and corresponding meanings of the message attribution classification field shown in Table 2 are merely examples. This application embodiment does not limit the length of the message attribution classification field, the bit value of the message attribution classification field, or the meaning of that bit value.

[0198] As shown in Table 2, when the protocol version number field is "000001", it indicates that the current protocol version is the initial version 1.0.0. When the protocol version number field is "010001", it indicates that the current protocol version is version 1.0.1. When the protocol version number field is "000010", it indicates that the current protocol version is version 2.0.0.

[0199] It is understood that the values ​​and corresponding meanings of the protocol version number field shown in Table 2 are merely examples. This application embodiment does not limit the length of the protocol version number field, the bit value of the protocol version number field, or the meaning of that bit value.

[0200] 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.

[0201] It is understood that the values ​​and corresponding meanings of the message type field shown in Table 2 are merely examples. This application does not limit the length of the message type field, the bit value of the message type field, or the meaning of that bit value.

[0202] Understandably, when the CL12 pin of the powered device 100 is connected to the cable tag 306, and the powered device 100 can directly supply power to the cable tag 306, then the cable tag 306 can be referred to as the near-end cable tag of the powered device 100, or a near-end cable electronic tag, a near-end electronic tag, etc. However, since the powered device 100 cannot directly supply power to the cable tag 305, the cable tag 305 can be referred to as the far-end cable tag of the powered device 100, or a far-end cable electronic tag, a far-end electronic tag, etc.

[0203] S1001. Power receiving device 100 sends message 10, which carries device address 1.

[0204] The powered device 100 can send message 10, which may carry device address 1. For example, message 10 may be a ping message, and device address 1 may be "000". The ping message carries device address 1, i.e., "000". This application embodiment does not specifically limit the message 10 and device address 1.

[0205] The powered device 100 can use this message 10 to determine whether the current cable 300 has a cable tag with device address 1, and whether the cable tag can communicate.

[0206] The following explanation will use device address 1 as “000”, device address 2 as “011”, and device address 3 as “100” as examples.

[0207] S1002. Cable tag 306 receives message 10.

[0208] S1003. Cable tag 306 sends an ACK to powered device 100.

[0209] S1004. Power receiving device 100 receives ACK.

[0210] Since 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 acknowledgment character (ACK) to powered device 100. Powered device 100 can receive the ACK sent by cable tag 306. When powered device 100 receives the ACK, it can confirm that there is a cable tag with device address 1 in cable 300, and that the cable tag can communicate.

[0211] In one possible implementation, steps S1003 and S1004 can be optional steps, that is, after receiving message 10 sent by the powered device 100, the cable tag 306 may not reply with ACK to the powered device 100, and the powered device 100 may not accept the ACK.

[0212] S1005. Power receiving device 100 sends message 11, message 11 is used to instruct cable tag 306 to modify device address.

[0213] The powered device 100 can send message 11, which instructs the cable tag with device address 1 to change its device address from device address 1 to device address 2. In one possible implementation, message 11 may carry both device address 1 and device address 2. The message header of message 11 may include device address 1, that is, the value of the device address field in the message header may be device address 1. The message data of message 11 may include device address 2.

[0214] For example, message 11 could be a `modify_marker_ID` instruction, where device address 1 could be "000" and device address 2 could be "011". The `modify_marker_ID` instruction carries the default device address of the cable tag, for example, "000". Then, the `modify_marker_ID` instruction is used to instruct the cable tag with device address "000" to change its device address from "000" to "011".

[0215] It is understood that the embodiments of this application do not limit the specific content of message 11, nor the device address 1 and device address 2.

[0216] S1006. Cable tag 306 receives message 11 and modifies device address 1 to device address 2 based on message 11.

[0217] After receiving message 11, cable tag 306 can change device address 1 to device address 2.

[0218] Understandably, since only cable tag 306 is currently powered on and cable tag 305 is not yet powered on, message 12 sent by the powered device 100 can only be received by cable tag 306.

[0219] Alternatively, in one possible implementation, message 11 may carry device address 1 but not device address 2. After receiving message 11, cable tag 306 can modify the device address to a different device address than device address 1, for example, device address 2.

[0220] S1007. Cable tag 306 sends message 12 to powered device 100, message 12 indicating that the device address modification has been completed.

[0221] After the cable tag 306 has modified the device address, it can send message 12 to the powered device 100. This message 12 can be used to indicate that the device address of the cable tag 306 has been modified. For example, this message 12 can be a modify_finish message. The specific content of this message 12 is not limited in this embodiment.

[0222] In one possible implementation, step S1007 can be an optional step. That is, the cable tag 306 may not need to perform step S1005.

[0223] S1008. The receiving device 100 receives message 12 and sends message 13 to the cable tag 306, which carries the device address 2.

[0224] After receiving message 12, the powered device 100 can send message 13 to the cable tag 306, which may carry device address 2. This message 13 can be used to determine whether the device address of the cable tag 306 has been modified to device address 2, and to confirm whether the cable tag 306 can communicate.

[0225] For example, message 13 may be a ping message carrying device address 2. This application embodiment does not limit the specific content of message 13.

[0226] S1009. Cable tag 306 receives message 13.

[0227] S1010. Cable tag 306 sends an ACK to powered device 100.

[0228] S1011. Power receiving device 100 receives ACK.

[0229] Since 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 with an ACK to the powered device 100. Powered device 100 can receive the ACK replied by cable tag 306. When powered device 100 receives the ACK, it can determine that the device address of cable tag 306 is device address 2 and can communicate.

[0230] In one possible implementation, steps S1010 and S1011 can be optional. That is, the cable tag 306 may not perform step S1010, and the powered device 100 may not perform step S1011.

[0231] S1012. The receiving device 100 sends message 14 to the power supply device 200.

[0232] The receiving device 100 can send message 14 to the power supply device 200. This message 14 can be used to instruct the power supply device 200 to turn on the power supply Vc and power on the cable tag 305. Exemplarily, this message 14 can be a power_marker instruction, but the specific meaning of this message 14 is not limited in this embodiment.

[0233] Here, "power supply device 200 powers cable tag 305" can mean that after power supply device 200 turns on power Vc, it inputs power (or provides power) to cable tag 305.

[0234] In one embodiment, the message 14 carries the device address of the power supply device 200. For example, the device address of the power supply device 200 may be "001".

[0235] S1013. Power supply equipment 200 receives message 14.

[0236] S1014. The power supply equipment 200 sends a message 15 to the power receiving equipment 100.

[0237] S1015. Power receiving device 100 receives message 15.

[0238] After receiving message 14, the power supply device 200 can send message 15 to the powered device 100. This message 15 can be used to instruct the power supply device 200 to receive and support message 14. That is, the power supply device 200 supports turning on the power supply Vc and supplying power to the cable tag 305.

[0239] For example, message 15 may be an accept message. This application embodiment does not limit the specific content of message 15.

[0240] The receiving device 100 can receive this message 15.

[0241] In one possible implementation, steps S1014 and S1015 can be optional. That is, the power supply device 200 may skip step S1014 and directly execute step S1016. The power receiving device 100 may also skip step S1015.

[0242] S1016. Power supply equipment 200 turns on power Vc.

[0243] The power supply Vc of power supply equipment 200 can be Figure 8 The power supply Vc824 shown in the image can also be... Figure 9 The power supply Vc2 is shown in the figure. The following text refers to the power supply Vc when the power supply device 200 is turned on. Figure 8 The following explanation will be based on the power supply Vc824 shown in the figure.

[0244] like Figure 8 As shown, the power supply device 200 can turn on the power supply Vc824, and then power on the Vcon801 pin of the cable tag 305 through the CL823 pin. After the cable tag 305 is powered on, it can receive communication data sent by the powered device 100 or the power supply device 200. When the powered device 100 or the power supply device 200 communicates with the cable tag 305, the format of the communication data sent can be found in the descriptions in Tables 1 and 2 above, and will not be repeated here.

[0245] S1017. The power supply equipment 200 sends message 16 to the power receiving equipment 100, message 16 is used to indicate that the power-on is complete.

[0246] S1018. Power receiving equipment 100 receives message 16.

[0247] The power supply device 200 can send message 16 to the powered device 100. Message 16 can be used to indicate that power-on is complete, that is, to indicate that the power supply device 200 has turned on the power supply Vc and powered on the cable tag 305. For example, message 16 can be a PS_RDY command, but the specific meaning of message 16 is not limited in this embodiment.

[0248] The powered device 100 can receive the message 16. In one possible implementation, steps S1017 and S1018 can be optional. That is, the power supply device 200 may also omit step S1017. The powered device 100 may also omit step S1018.

[0249] S1019. Power receiving device 100 sends message 17 to cable tag 305, message 17 carrying device address 1.

[0250] S1020. Cable tag 305 receives message 17.

[0251] Powered device 100 can send message 17 to cable tag 305, which carries device address 1. It is understood that since the device address of cable tag 306 has been modified to device address 2, while the device address of cable tag 305 remains device address 1, when powered device 100 sends a message carrying device address 1, cable tag 305 will receive message 17 carrying device address 1. Powered device 100 can use message 17 to determine whether the current device address of cable tag 305 is device address 1 and to confirm whether cable tag 305 is currently capable of communication.

[0252] For example, message 17 may be a ping message carrying device address 1. This application embodiment does not limit the specific content of message 17.

[0253] Since the device address of cable tag 305 is device address 1, while the device address of cable tag 306 has been modified to device address 2, cable tag 305 can receive message 17 carrying device address 1.

[0254] S1021. Cable tag 305 replies with ACK to powered device 100.

[0255] S1022. Power receiving device 100 receives ACK.

[0256] After receiving message 17, cable tag 305 can reply with an ACK to powered device 100. Powered device 100 can receive the ACK. After receiving the ACK, powered device 100 can determine that cable tag 305 can communicate.

[0257] In one possible implementation, steps S1021 and S1022 can be optional, meaning that the cable tag 305 may not reply with an ACK after receiving message 16 from the powered device 100. The powered device 100 may also choose not to receive the ACK.

[0258] S1023. The powered device 100 sends message 18 to the cable tag 305, which instructs the cable tag 305 to modify the device address.

[0259] The powered device 100 can send message 18 to the cable tag 305, which instructs the cable tag 305 to change the device address from device address 1 to device address 3. The message 18 may carry both device address 1 and device address 3.

[0260] For example, message 18 could be a `modify_marker_ID` instruction carrying device address 1 and device address 3. Device address 1 could be "000" and device address 3 could be "100". The `modify_marker_ID` instruction carries the current device address of cable tag 305, for example, "000". Then, the `modify_marker_ID` instruction is used to instruct cable tag 305 to change the device address from "000" to "100".

[0261] It is understood that the embodiments of this application do not limit the specific content of message 18 or device address 3.

[0262] S1024. Cable tag 305 receives message 18 and modifies device address 1 to device address 3 based on message 18.

[0263] After receiving message 18, cable tag 305 can change device address 1 to device address 3.

[0264] S1025. Cable tag 305 sends message 19 to powered device 100, message 19 indicating that device address modification has been completed.

[0265] S1026. Power receiving equipment 100 receives message 19.

[0266] After the cable tag 305 has modified the device address, it can send message 19 to the powered device 100. This message 19 can be used to indicate that the device address of the cable tag 305 has been modified. For example, this message 19 can be a modify_finish message. The specific content of this message 19 is not limited in this embodiment.

[0267] In one possible implementation, steps S1025 and S1026 can be optional. That is, the cable tag 305 may not perform step S1025. The powered device 100 may also not perform step S1026.

[0268] S1027. Power receiving device 100 sends message 20 to cable tag 305, message 20 carrying device address 3.

[0269] S1028. Cable tag 305 receives message 20.

[0270] The powered device 100 can send message 20 to the cable tag 305, which may carry the device address 3. This message 20 can be used to determine whether the device address of the cable tag 305 has been modified to device address 3, and to confirm whether the cable tag 305 is currently able to communicate.

[0271] For example, message 20 may be a ping message carrying device address 3. This application embodiment does not specifically limit the nature of message 20.

[0272] Since the device address of cable tag 305 has been modified to device address 3, cable tag 305 can receive message 30 carrying device address 3.

[0273] S1029. Cable tag 305 sends an ACK to powered device 100.

[0274] S1030. Power receiving device 100 receives ACK.

[0275] After receiving message 20, cable tag 305 can reply with an ACK to powered device 100. Powered device 100 can receive the ACK. After receiving the ACK, powered device 100 can determine that cable tag 305 can communicate.

[0276] In one possible implementation, steps S1029 and S1030 can be optional. That is, the cable tag 305 may not perform step S1029. The powered device 100 may also not perform step S1030.

[0277] Thus, using the device identification method provided in this application embodiment, 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. Since the powered device 100 indicates that the device address of cable tag 306 and the device address of cable tag 305 are modified differently, the powered device 100 can distinguish between messages sent to cable tag 305 and messages sent to cable tag 306 based on the device address. For example, the message sent by the powered device 100 to cable tag 306 carries device address 2, while the message sent by the powered device 100 to cable tag 305 carries device address 3.

[0278] Furthermore, since the receiving device 100 can correctly identify the two cable tags in the cable, it can obtain information about the two cable tags in the cable 300 through instructions, enabling functions such as real-time temperature detection of the cable 300 and enhancement of the communication signal of the cable 300.

[0279] In addition, Figure 8 In the cable 300 shown, cable labels 305 and 306 do not require additional connecting wires. This reduces the cost of the cable and simplifies the design of the cable labels.

[0280] It is understood that device address 1 can be the default address of cable label 305 and cable label 306. The near-end cable label can change the device address from the default address to device address 2, and the far-end cable label can change the device address 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.

[0281] This application embodiment does not limit the specific content contained in messages 10-20 above, nor the specific format of messages 10-20.

[0282] In one possible implementation, the powered device 100 can instruct cable tag 306 to modify its device address, without instructing cable tag 305 to modify its device address. That is, the powered device 100, the power supply device 200, and cable tags 305 and 306 can only execute steps S1000-S1013, omitting steps S1014-S1018. Thus, using this device identification method, after the powered device 100 successfully connects to cable 300 and the power supply device 200, it can correctly identify the two cable tags in the cable. Since the device address of cable tag 306 is modified 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 305 based on their device addresses.

[0283] In one possible implementation, the power supply device 200 can act as a DFP to identify the two cable tags in the cable 300. That is, the power supply device 200 can send messages to instruct cable tag 305 to modify its device address, and send messages to instruct cable tag 306 to modify its device address. See details... Figure 11 The description in the text.

[0284] based on Figure 8 The present application provides a device identification method based on the structure and connection method of the power supply device 100, the power receiving device 200, and the cable 300. (Example: This application provides a device identification method.) Figure 11 As shown, when the power supply device 200 is used as a DFP, the device identification method may include the following steps:

[0285] S1100. Power supply equipment 200 turn on power supply Vc.

[0286] The power supply Vc of power supply equipment 200 can be Figure 8 The power supply Vc824 shown in the image can also be... Figure 9 The power supply Vc2 is shown in the figure. The following text refers to the power supply Vc when the power supply device 200 is turned on. Figure 8 The following explanation will be based on the power supply Vc824 shown in the figure.

[0287] like Figure 8 As shown, the power supply device 200 can turn on the power supply Vc824, and then power on the Vcon801 pin of the cable tag 305 through the CL823 pin. After the cable tag 305 is powered on, it can receive communication data sent by the powered device 100 or the power supply device 200. When the powered device 100 or the power supply device 200 communicates with the cable tag 305, the format of the communication data sent can be found in the descriptions in Tables 1 and 2 above, and will not be repeated here.

[0288] Understandably, when the CL22 pin of the power supply device 200 is connected to the cable tag 305, and the power supply device 200 can directly supply power to the cable tag 305, then the cable tag 305 can be referred to as the near-end cable tag of the power supply device 200, or a near-end cable electronic tag, a near-end electronic tag, etc. However, since the power supply device 200 cannot directly supply power to the cable tag 306, the cable tag 306 can be referred to as the far-end cable tag of the power supply device 200, or a far-end cable electronic tag, a far-end electronic tag, etc.

[0289] S1101. Power supply device 200 sends message 21 to cable tag 305, message 21 carrying device address 1.

[0290] S1102. Cable tag 305 receives message 21.

[0291] The power supply device 200 can send message 21 to the cable tag 305, and message 21 can carry device address 1. Since the device address of the cable tag 305 is device address 1, the cable tag 305 can receive the message 21.

[0292] For example, message 21 can be a ping message, and device address 1 can be "000". The ping message carries device address 1, i.e., "000". This application embodiment does not specifically limit the message 21 and device address 1.

[0293] The power supply device 200 can use this message 21 to determine whether the current cable 300 has a cable tag with device address 1, and whether the cable tag can communicate.

[0294] S1103. Cable tag 305 replies ACK to power supply equipment 200.

[0295] S1104. Power supply equipment 200 receives ACK.

[0296] After receiving message 21, cable tag 305 can reply with an ACK to power supply device 200. Power supply device 200 can receive the ACK. When power supply device 200 receives the ACK, it can confirm that there is a cable tag with device address 1 in cable 300, and that the cable tag can communicate.

[0297] In one possible implementation, steps S1103 and S1104 can be optional, meaning that after receiving message 11 sent by power supply device 200, cable tag 305 may not reply with an ACK to power supply device 200. In other words, power supply device 200 may also choose not to receive the ACK.

[0298] S1105. Power supply device 200 sends message 22, message 22 is used to instruct cable tag 305 to modify device address.

[0299] The power supply device 200 can send message 22, which instructs the cable tag with device address 1 to change its device address from device address 1 to device address 2. This message 22 can carry both device address 1 and device address 2.

[0300] For example, message 22 could be a `modify_marker_ID` instruction, where device address 1 could be "000" and device address 2 could be "011". The `modify_marker_ID` instruction carries the default device address of the cable tag, for example, "000". Then, the `modify_marker_ID` instruction is used to instruct the cable tag with device address "000" to change its device address from "000" to "011".

[0301] It is understood that the embodiments of this application do not limit the specific content of message 22, nor the device address 1 and device address 2.

[0302] S1106. Cable tag 305 receives message 22 and modifies device address 1 to device address 2 based on message 22.

[0303] After receiving message 22, cable tag 305 can change device address 1 to device address 2.

[0304] Understandably, since only cable tag 305 is currently powered on and cable tag 306 is not yet powered on, message 22 sent by power supply device 200 can only be received by cable tag 305.

[0305] S1107. Cable tag 305 sends message 23 to power supply device 200, message 23 indicating that device address modification has been completed.

[0306] After the cable tag 305 has modified the device address, it can send message 23 to the power supply device 200. This message 23 can be used to indicate that the device address of the cable tag 305 has been modified. For example, this message 23 can be a modify_finish message. The specific content of this message 23 is not limited in this embodiment.

[0307] In one possible implementation, step S1105 can be an optional step. That is, the cable tag 305 may not perform step S1105.

[0308] S1108. Power supply device 200 receives message 23 and sends message 24, which carries device address 2.

[0309] S1109. Cable tag 305 receives message 24.

[0310] The power supply device 200 can send message 24 to the cable tag 305, which may carry device address 2. Since the device address of the cable tag 305 has been modified to device address 2, the cable tag 305 can receive the message 24 carrying device address 2. This message 24 can be used to determine whether the device address of the cable tag 305 has been modified to device address 2 and to confirm whether the cable tag 305 can communicate.

[0311] For example, message 24 may be a ping message carrying device address 2. This application embodiment does not limit the specific content of message 24.

[0312] S1110. Cable tag 305 replies ACK to power supply device 200.

[0313] S1111. Power supply equipment 200 receives ACK.

[0314] After receiving message 24, cable tag 305 can reply with an ACK to power supply device 200. Power supply device 200 can receive the ACK from cable tag 305. When power supply device 200 receives the ACK, it can determine that the device address of cable tag 305 is device address 2, and communication can be established.

[0315] In one possible implementation, steps S1110 and S1111 can be optional. That is, the cable tag 305 may not perform step S1107. The power supply device 200 may also not perform step S1111.

[0316] S1112. The power supply equipment 200 sends message 25 to the power receiving equipment 100.

[0317] The power supply device 200 can send message 25 to the powered device 100. This message 25 can be used to instruct the powered device 100 to turn on the power supply Vc and power on the cable tag 306. For example, this message 25 can be a power_marker instruction, but the specific meaning of this message 25 is not limited in this embodiment.

[0318] 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".

[0319] S1113. Power receiving device 100 receives message 25.

[0320] S1114. Power receiving device 100 sends message 26 to power receiving device 200.

[0321] S1115. Power supply equipment 200 receives message 26.

[0322] After receiving message 25, the powered device 100 can send message 26 to the power supply device 200. This message 26 can be used to instruct the powered device 100 to receive and support instruction 1. That is, the powered device 100 supports turning on the power supply Vc and supplying power to the cable tag 306.

[0323] For example, message 26 may be an accept message. This application embodiment does not limit the specific content of message 26.

[0324] In one possible implementation, steps S1114 and S1115 can be optional. That is, the powered device 100 may skip step S1114 and directly execute step S1116. The power supply device 200 may also skip step S1115.

[0325] S1116. Power receiving equipment 100 turns on power supply Vc.

[0326] The power supply Vc of the powered device 100 can be as follows: Figure 8 The power supply Vc814 shown in the image can also be... Figure 9 The power supply Vc3 is shown in the figure. The following text refers to the power supply Vc when the powered device 100 is turned on. Figure 8 The following explanation will be based on the power supply Vc814 shown in the figure.

[0327] like Figure 8As shown, the receiving device 100 can turn on the power supply Vc814, and then power on the Vcon803 pin of the cable tag 306 through the CL813 pin. After being powered on, the cable tag 306 can receive communication data sent by the receiving device 100 or the power supply device 200. When the receiving device 100 or the power supply device 200 communicates with the cable tag 306, the format of the communication data sent can be found in the descriptions in Tables 1 and 2 above, and will not be repeated here.

[0328] S1117. The receiving device 100 sends message 27 to the power supply device 200, message 27 indicating that power-on is complete.

[0329] S1118. Power supply equipment 200 receives message 27.

[0330] The powered device 100 can send message 27 to the power supply device 200. This message 27 can be used to indicate that power-on is complete, that is, to indicate that the powered device 100 has turned on the power supply Vc and powered on the cable tag 306. For example, this message 272 can be a PS_RDY command, but the specific meaning of this message 27 is not limited in this embodiment.

[0331] Power supply equipment 200 can receive message 27.

[0332] In one possible implementation, steps S1117 and S1118 are optional. That is, the powered device 100 may also omit step S1117. The powered device 200 may also omit step S1118.

[0333] S1119. Power supply device 200 sends message 28 to cable tag 306, message 28 carrying device address 1.

[0334] S1120. Cable tag 306 receives message 28.

[0335] The power supply device 200 can send message 28 to cable tag 306, which carries device address 1. It's 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, when the power supply device 200 sends a message carrying device address 1, cable tag 306 can receive message 28 carrying device address 1. The 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.

[0336] For example, message 28 may be a ping message carrying device address 1. This application embodiment does not limit the specific content of message 28.

[0337] S1121. Cable tag 306 sends an ACK to power supply device 200.

[0338] S1122. Power supply equipment receives ACK.

[0339] After receiving message 28, cable tag 306 can reply with an ACK to power supply device 200. Power supply device 200 can receive the ACK. Upon receiving the ACK, power supply device 200 can determine that cable tag 306 can communicate.

[0340] In one possible implementation, steps S1121 and S1122 can be optional, meaning that the cable tag 306 may not reply with an ACK after receiving message 26 from the power supply device 200. The power supply device 200 may also choose not to accept the ACK.

[0341] S1123. The power supply device 200 sends message 29 to the cable tag 306, which instructs the cable tag 306 to modify the device address.

[0342] The power supply device 200 can send message 29 to the cable tag 306, which instructs the cable tag 306 to change the device address from device address 1 to device address 3. This message 29 may carry both device address 1 and device address 3.

[0343] For example, message 29 could be a `modify_marker_ID` instruction carrying device address 1 and device address 3. Device address 1 could be "000" and device address 3 could be "100". The `modify_marker_ID` instruction carries the current device address of cable tag 306, for example, "000". Then, the `modify_marker_ID` instruction is used to instruct cable tag 306 to change the device address from "000" to "100".

[0344] It is understood that the embodiments of this application do not limit the specific content of message 27 or device address 3.

[0345] S1124. Cable tag 306 receives message 29 and modifies device address 1 to device address 3 based on message 29.

[0346] After receiving message 29, cable tag 306 can change device address 1 to device address 3.

[0347] S1125. Cable tag 306 sends message 30 to power supply device 200, message 30 indicating that device address modification has been completed.

[0348] S1126. Power supply equipment 200 receives message 30.

[0349] After the cable tag 306 has modified the device address, it can send message 30 to the power supply device 200. This message 30 can be used to indicate that the device address of the cable tag 306 has been modified. The power supply device 200 can receive this message 30. For example, this message 30 can be a modify_finish message. The specific content of this message 30 is not limited in this embodiment.

[0350] In one possible implementation, steps S1124 and S1125 can be optional. That is, the cable tag 306 may not perform step S1124. The power supply device 200 may also not perform step S1125.

[0351] S1127. Power supply device 200 sends message 31 to cable tag 306, message 31 carrying device address 3.

[0352] S1128. Cable tag 306 receives message 31.

[0353] The power supply device 200 can send message 31 to the cable tag 306, which may carry the device address 3. Since the device address of the cable tag 306 has been modified to device address 3, the cable tag 306 can receive the message 31. The message 31 can be used to determine whether the device address of the cable tag 306 has been modified to device address 3 and whether communication is possible.

[0354] For example, message 31 may be a ping message carrying device address 3. This application embodiment does not specifically limit the nature of message 31.

[0355] S1129. Cable tag 306 sends an ACK to power supply equipment 200.

[0356] S1130. Power supply equipment 200 receives ACK.

[0357] After receiving message 31, cable tag 306 can reply with an ACK to power supply device 200. Power supply device 200 can receive the ACK. After receiving the ACK, power supply device 200 can determine that cable tag 306 can communicate.

[0358] In one possible implementation, steps S1129 and S1130 can be optional. That is, the cable tag 306 may not perform step S1129. The power supply device 200 may also not perform step S1130.

[0359] Thus, using the device identification method provided in this application embodiment, after the powered device 100 successfully connects 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. Since the power supply device 200 indicates that the device addresses of cable tag 306 and cable tag 305 are modified differently, the power supply device 200 can distinguish between messages sent to cable tag 305 and messages sent to cable tag 306 based on the device addresses. The power supply device 200 can also identify messages sent from cable tag 306 and messages sent from cable tag 305 within the received messages based on the device addresses. For example, the message sent by the power supply device 200 to cable tag 306 carries device address 2. The message sent by the power supply device 200 to cable tag 305 carries device address 3.

[0360] Furthermore, since the power supply device 200 can correctly identify the two cable tags in the cable, it can obtain information about the two cable tags in the cable 300 through instructions, enabling real-time detection of the temperature of the cable 300 and enhancement of the communication signal of the cable 300.

[0361] In addition, Figure 9 In the cable 300 shown, cable labels 305 and 306 do not require additional connecting wires. This reduces the cost of the cable and simplifies the design of the cable labels.

[0362] This application embodiment does not limit the specific content or format of messages 21-31.

[0363] In one possible implementation, the power supply device 200 can instruct cable tag 305 to modify its device address, without instructing cable tag 306 to modify its device address. That is, the powered device 100, the power supply device 200, and cable tags 305 and 306 can only execute steps S1100-S1113, omitting steps S1114-S1118. Thus, using this device identification method, after the powered device 100 successfully connects to cable 300 and the power supply device 200, the two cable tags in the cable can be correctly identified. Since the device address of cable tag 306 is modified to device address 2, while the device address of cable tag 305 remains the default device address 1, the device addresses of cable tag 306 and cable tag 305 are different. Therefore, the power supply device 200 can distinguish between messages sent to cable tag 306 and messages sent to cable tag 306 based on their device addresses. The power supply device 200 can identify the messages sent from cable tag 306 and cable tag 305 in the received messages by the device address.

[0364] It should be noted that the order of steps in the device identification method provided in this application embodiment can be appropriately adjusted, and steps can also be added or removed as needed. Any variations that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application are covered within the protection scope of this application and will not be elaborated further.

[0365] It is understood that the device identification method provided in this application embodiment is not limited to power supply equipment and power receiving equipment. The method can be applied to any two electronic devices connected by cables (and the cables have two cable tags).

[0366] The exemplary electronic device 1200 provided in the embodiments of this application is described below.

[0367] Figure 12 This is a schematic diagram of the structure of the electronic device 1200 provided in the embodiments of this application.

[0368] The following detailed description uses electronic device 1200 as an example. It should be understood that electronic device 1200 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0369] Electronic device 1200 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna, display screen 150, wireless communication module 160, audio module 170, etc.

[0370] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 1200. In other embodiments of this application, the electronic device 1200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0371] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0372] The controller can serve as the central nervous system and command center of the electronic device 1200. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.

[0373] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0374] In some embodiments, the processor 110 may include one or more interfaces. 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, etc.

[0375] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).

[0376] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to realize communication between the processor 110 and the audio module 170.

[0377] 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 the 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 phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0378] 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 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 to enable music playback through Bluetooth headphones.

[0379] 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 through the DSI interface to realize the display function of the electronic device 1200.

[0380] The GPIO interface can be configured via software. It 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.

[0381] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 130 can be used to connect a charger to charge electronic device 1200, and can also be used for data transfer between electronic device 1200 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0382] In this embodiment, the USB interface 130 can be used to connect a cable. Exemplarily, the USB interface 130 may have the following features: Figure 8 The GND821 pin, CL822 pin, and CL823 pin shown in the diagram; or the USB interface 130 may have as follows: Figure 8 The GND811 pin, CL812 pin, and CL813 pin are shown in the figure. This application embodiment does not limit the circuit structure of the USB interface 130.

[0383] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 1200. In other embodiments of this application, the electronic device 1200 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0384] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0385] 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 power the processor 110, internal memory 121, external memory, display 150, camera 193, and wireless communication module 160, etc.

[0386] The wireless communication function of the electronic device 1200 can be implemented through an antenna, a wireless communication module 160, a modem processor, and a baseband processor.

[0387] Antennas are used to transmit and receive electromagnetic wave signals. The antennas in electronic device 1200 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0388] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 1200, 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), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via the antenna.

[0389] In some embodiments, the antenna of the electronic device 1200 is coupled to the wireless communication module 160, enabling the electronic device 1200 to communicate with networks 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 technologies. 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 Systems (SBAS).

[0390] Electronic device 1200 implements display functions through a GPU, display screen 150, and application processor. The GPU is a microprocessor for image processing, connected to the 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, which execute program instructions to generate or modify display information.

[0391] The display screen 150 is used to display images, videos, etc. The display screen 150 includes a display panel. The display panel may 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 Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 1200 may include one or N display screens 150, where N is a positive integer greater than 1.

[0392] The external storage 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 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0393] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 1200 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application required for a function (such as facial recognition, fingerprint recognition, mobile payment, etc.). The data storage area may store data created during the use of electronic device 1200 (such as facial information template data, fingerprint information templates, etc.). Furthermore, internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0394] Electronic device 1200 can implement audio functions through audio module 170 and application processor, such as music playback and recording.

[0395] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0396] The electronic device 1200 can be either the power supply device 200 or the power receiving device 100, and this application embodiment does not limit it in this way.

[0397] Figure 13 A power supply device 1300 is shown as an example. For example... Figure 13 As shown, the power supply device 1300 may include a processor 1301, a power supply 1302, multiple power supply ports 1303, and multiple data ports 1304. Multiple powered devices can be connected to the multiple power supply ports 1303 of the power supply device 1300 via multiple power supply cables. Multiple powered devices can be connected to the multiple data ports 1304 via multiple data cables. Data signals are transmitted between the power supply device 1300 and the powered devices via the data cables. The power supply device 1300 can supply power to the powered devices via the power supply cables.

[0398] Optionally, the power supply port 1303 can be combined with the data port 1304 to form a single port, that is, the power supply device 1300 can transmit data to the powered device through this port, and can also supply power to the powered device through this port.

[0399] The processor 1301 can be used to send instructions to the cable tag in the cable to modify the device address through the data port 1304, or through a port composed of the data port 1304 and the power supply port 1303.

[0400] Power supply 1302 can be used to supply power to multiple powered devices and to power cable tags in cables. Specifically, in the power supply device 1300, power supply 1302 can supply power to powered devices through power supply port 1303, or through a port formed by a combination of data port 1304 and power supply port 1303.

[0401] The power supply device 1300 can be used to perform the device identification method performed by the power supply equipment 200.

[0402] The power supply device 1300 may include more or fewer components than shown in the figure, and this application does not limit this. The embodiments of this application also do not limit the names of the components included in the power supply device 1300.

[0403] Figure 14 An exemplary power receiving device 1400 is shown. For example... Figure 14As shown, the powered device 1400 may include a processor 1401, a powered component 1402, a powered port 1403, a data port 1404, and a power conversion module 1405. The powered port 1403 can be connected to the power supply equipment via a cable to receive power from the power supply equipment. The data port 1404 can be connected to the power supply equipment via a cable and transmit data between the two devices via the cable.

[0404] Optionally, the power receiving port 1403 can be combined with the data port 1404 to form a single port. That is, the power receiving device 1400 can both receive power and transmit data through this port.

[0405] The processor 1401 can be used to send instructions to the cable tag in the cable to modify the device address through the data port 1404, or through a port composed of the data port 1404 and the power receiving port 1403.

[0406] 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., and this application embodiment does not limit it.

[0407] The power conversion module 1405 can convert the electrical energy input from the power supply device to the power receiving port 1403 into power for the power receiving device. This power can then be input to the cable tag through the power receiving port 1403 to power the cable tag.

[0408] The power receiving device 1400 can be used to perform the device identification method performed by the power receiving device 100 described above.

[0409] The power receiving device 1400 may include more or fewer components than shown in the figure, and this application does not limit this. The embodiments of this application also do not limit the names of the components included in the power receiving device 1400.

[0410] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.

[0411] In some examples, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0412] In some examples, the memory in the chip system may be one or more. The memory may be integrated with the processor or set separately from the processor, and this application embodiment does not limit this. Exemplarily, 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 set separately on different chips. This application embodiment does not specifically limit the type of memory or the way the memory and processor are set.

[0413] For example, 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 micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0414] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0415] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the layer compositing method in the above embodiments.

[0416] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the layer compositing method described in the above embodiments.

[0417] In addition, this application also provides an apparatus. This apparatus may specifically be a component or module, and may 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 apparatus performs the layer compositing methods described in the above method embodiments.

[0418] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0419] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and 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 reside in an application-specific integrated circuit (ASIC).

[0420] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0421] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0422] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially 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, all or part of the processes or functions described in the embodiments of this application are generated. 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. 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 wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. 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 integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0423] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above 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, the first device including a first power supply, the method comprising: Turn on the first power supply, which is used to power the first electronic tag of the cable, and the address of the first electronic tag is the first address; Send a first message, the first message including the first address and the second address; the first message 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; Send a third message to the second device, the third message being used to instruct the second device to power the second electronic tag of the cable, the address of the second electronic tag being the first address; Send a fifth message, the fifth message including the first address; the fifth message is used to confirm whether communication with the second electronic tag is possible. Receive a sixth message, which indicates 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: Send a seventh message, the seventh message including the first address and the third address; the seventh message 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; Receive the eighth message, which indicates 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 power the second electronic tag of the cable, including: The third piece of information is used to instruct the second device to turn on the 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, which is used to connect the first device and the second device.

6. The method according to claim 5, characterized in that, After sending the first information, the method further includes: Receive second information, which indicates that the address of the first electronic tag has been modified to the second address.

7. The method according to claim 6, characterized in that, After receiving the second information, the method further includes: Send 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; Receive tenth information, which indicates that communication with the first electronic tag is possible.

8. The method according to claim 2, characterized in that, After receiving the eighth information, the method further includes: Send eleventh information, the eleventh information including the third address, the eleventh information being used to confirm whether communication with the second electronic tag is possible; Receive the twelfth message, which indicates that communication with the second electronic tag is possible.

9. The method according to any one of claims 4-8, characterized in that, After the first power supply is turned on, the method further includes: Send a thirteenth message, the thirteenth message including the first address, the thirteenth message being used to confirm whether communication with the first electronic tag is possible; Receive the fourteenth message, which indicates that communication with the first electronic tag is possible.

10. The method according to claim 9, characterized in that, After sending the third information to the second device, the method further includes: A fourth message is received, which indicates that the second device has powered the second electronic tag.

11. The method according to claim 10, characterized in that, Before receiving the fourth information, the method further includes: Receive the fifteenth message, which is used to instruct the second device to agree to power the second electronic tag.

12. A device identification system, characterized in that, The system includes: 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 source, the first power source being used to supply power to the first electronic tag, the address of the first electronic tag being 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 used 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, the third information being used to instruct the second device to supply power to the second electronic tag, the address of the second electronic tag being the first address; The second device is used to: receive the third information; The second device is used to: turn on the second power supply, the second power supply being used to power the second electronic tag, the address of the second electronic tag being the first address; The first device is used to: send fifth information; the fifth information includes the first address, and the fifth information is used to determine whether it can communicate with the second electronic tag; The second electronic tag is used to: receive the fifth information and send the sixth information, wherein the sixth information is used to indicate that it can communicate with the second electronic tag; The first device is used to: receive the sixth information.

13. The system according to claim 12, characterized in that, The second device is configured to: after turning on the second power, send a fourth message, the fourth message being used to indicate that the second device has turned on the second power; The first device is used to: receive the fourth information.

14. The system according to claim 13, characterized in that, The first device is configured to: after receiving the fourth information, or after receiving the sixth information, send a seventh information, the seventh information including the first address and the third address; the seventh information is configured 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 used 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 an eighth message, the eighth message being used to indicate that the address of the second electronic tag has been modified to the third address; The first device is used to: receive the eighth information.

15. The system according to claim 14, characterized in that, The first device is a power receiving 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 power receiving device, and the third device is a cable.

16. The system according to claim 15, characterized in that, The first electronic tag includes a first power supply pin and a first configuration channel pin. The first power supply is used to power the first electronic tag, specifically including: The first power supply is used to power the first electronic tag through the first power supply pin; The first electronic tag is used to receive the first information through the first configuration channel pin.

17. The system according to claim 16, characterized in that, The second electronic tag includes a second power supply pin and a second configuration channel pin. The second power supply is used to power the second electronic tag, specifically including: The second power supply is used to power the second electronic tag through the second power supply pin; The second electronic tag is used to receive the fifth information via the second configuration channel pin.

18. The system according to claim 17, characterized in that, The first electronic tag is used to: after receiving the first information, send second information, the second information being used 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.

19. The system according to claim 18, characterized in that, The first device is configured to: after receiving the second information, send a ninth information, the ninth information including the second address, the ninth information being used to confirm whether it can communicate with the first electronic tag; The first electronic tag is used to: receive the ninth information and send tenth information, the tenth information being used to indicate that it can communicate with the first electronic tag; The first device is used to: receive the tenth information.

20. The system according to claim 19, characterized in that, The first device is configured to: after receiving the eighth information, send eleventh information, the eleventh information including the third address, the eleventh information being used to confirm whether it can communicate with the second electronic tag; The second electronic tag is used to: receive the eleventh information and send the twelfth information, the twelfth information being used to indicate that it can communicate with the second electronic tag; The first device is used to: receive the twelfth information.

21. The system according to claim 19, characterized in that, The first device is configured to: after turning on the first power, send a thirteenth message, the thirteenth message including the first address, the thirteenth message being used to confirm whether it can communicate with the first electronic tag; The first electronic tag is used to: receive the thirteenth information and send the fourteenth information, the fourteenth information being used to indicate that it can communicate with the first electronic tag.

22. The system according to any one of claims 13-21, characterized in that, The second device is configured to: send a fifteenth message before sending the fourth message, the fifteenth message being used to indicate that the second device agrees to power the second electronic tag; The first device is used to: receive the fifteenth 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 including computer instructions, which, when the processor reads the computer instructions from the memory, cause the electronic device to perform the method as described in any one of claims 1-11.

24. A chip system applied to an electronic device, the chip system comprising one or more processors, characterized in that, The processor is used to invoke computer instructions to cause the execution of the method as described in any one of claims 1-11.

25. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1-11.

26. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-11.

Citation Information

Patent Citations

  • Electronic tag chip and TYPE-C data line

    CN112821156A

  • Electronic tag chip and charging cable

    CN115189322A