Power supply method and device for cable electronic tag, equipment and storage medium
By dynamically controlling the power supply pins to power the cable electronic tags, the problems of power supply costs and energy consumption losses of cable electronic tags are solved, and cost reduction and life extension are achieved.
Patent Information
- Application Number
- CN202510431724.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2025-07-11
AI Technical Summary
The prior art requires additional voltage stabilization devices when powering cable electronic tags, resulting in increased hardware costs and energy consumption losses.
By controlling the dynamic power supply method of the power supply pin, the cable electronic tag is powered only when the cable information is needed, and the traditional voltage stabilization device is cancelled.
Reduces hardware costs and reduces energy consumption losses and extends the service life of the data cable.
Smart Images

Figure CN120300545A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of charging, and particularly relates to a power supply method, device, equipment and storage medium for a cable electronic tag. Background Art
[0002] A data cable is a cable that can connect two devices. Through this data cable, one electronic device can be used to charge another electronic device, or data in one electronic device can be transmitted to another electronic device.
[0003] Currently, some data can cooperate with the Universal Fast Charging Specification (UFCS) protocol to achieve fast charging. To cooperate with the UFCS protocol, a cable electronic tag needs to be added to this data cable. Through the cable electronic tag, cable information of this data cable, such as the maximum current that the data cable can withstand, can be obtained to ensure the safety and efficiency of charging. When obtaining the cable information of the data cable through the cable electronic tag, the cable electronic tag needs to be powered on, that is, power needs to be supplied to the cable electronic tag.
[0004] When powering the cable electronic tag in related technologies, an additional voltage stabilizing device is required, which not only increases the hardware cost but also causes energy consumption loss. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide a power supply method, device, equipment and storage medium for a cable electronic tag, which can reduce the power supply cost of the cable electronic tag and the energy consumption loss caused by power supply.
[0006] In a first aspect, the embodiments of this application provide a power supply method for a cable electronic tag, which is applied to a power receiving device. The power receiving device is communicatively connected to a power supply device through a data cable. The data cable includes a cable electronic tag and a first end. The first end includes a power supply pin. One end of the power supply pin is connected to the power supply end of the cable electronic tag, and the other end of the power supply pin is connected to the power receiving device;
[0007] The power supply method for the cable electronic tag includes:
[0008] When sending a first notification message to the power supply device, controlling the power supply pin to be powered on; the first notification message is used to indicate reading the cable information of the data cable;
[0009] When receiving the cable information of the data cable, controlling the power supply pin to be powered off.
[0010] Second aspect, an embodiment of the present application provides a power supply device for a cable electronic tag, which is applied to a power receiving device. The power receiving device is communicatively connected to a power supply device through a data cable. The data cable includes a cable electronic tag and a first end. The first end includes a power supply pin. One end of the power supply pin is connected to the power supply terminal of the cable electronic tag, and the other end of the power supply pin is connected to the power receiving device;
[0011] The power supply device for the cable electronic tag includes a sending module, a control module, and a receiving module;
[0012] The control module is configured to control the power supply pin to be powered on when the sending module sends a first notification message to the power supply device; the first notification message is used to indicate reading the cable information of the data cable;
[0013] The control module is further configured to control the power supply pin to be powered off when the receiving module receives the cable information of the data cable.
[0014] Third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0015] Fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0016] Fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run a program or instruction to implement the steps of the method described in the first aspect.
[0017] Sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
[0018] In an embodiment of the present application, a power receiving device is connected to the first end of a data cable. The power supply pin at the first end is electrically connected to the power port of a cable electronic tag, and the cable electronic tag is disposed in the data cable. When the power receiving device needs to obtain the cable information of the data cable, the power supply pin is controlled to be powered on; when the power receiving device receives the cable information of the data cable, the power supply pin is controlled to be powered off. In this way, the power supply pin in the first end is used to supply power to the cable electronic tag, without the need to additionally increase a voltage stabilizing device, so the hardware cost can be reduced. Moreover, only when the power receiving device needs to obtain the cable information, the power receiving device will control the power supply pin to be powered on, and when it receives the cable information, the power receiving device controls the power supply pin to be powered off, realizing dynamic control of the power supply to the cable electronic tag, without the need to constantly supply power to the cable electronic tag, thereby avoiding the problem of energy consumption loss caused by constant power supply. Brief Description of the Drawings
[0019] Figure 1 Schematic diagram of an application scenario of a power supply method for a cable electronic tag provided by an embodiment of the present application;
[0020] Figure 2 Schematic diagram of the structure of an A-to-C cable provided by an embodiment of the present application;
[0021] Figure 3 Schematic diagram of the pins of the C port of an A-to-C cable provided by an embodiment of the present application;
[0022] Figure 4 Schematic diagram of the internal structure of an A-to-C cable provided by an embodiment of the present application;
[0023] Figure 5 Flowchart of a power supply method for a cable electronic tag provided by an embodiment of the present application;
[0024] Figure 6 Schematic diagram of the interaction for a power receiving device to directly obtain cable information provided by an embodiment of the present application;
[0025] Figure 7 Schematic diagram of the interaction for a power receiving device to indirectly obtain cable information provided by an embodiment of the present application;
[0026] Figure 8 Schematic diagram of the structure of a power supply device for a cable electronic tag provided by an embodiment of the present application;
[0027] Figure 9 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0028] Figure 10 Schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application. Detailed Embodiments
[0029] The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0030] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the associated objects before and after.
[0031] The terms used in the embodiments of the present application will be described below first, as specifically shown below:
[0032] UFCS: Universal fast charging specification, a fusion fast charging technical specification;
[0033] Vconn: The power supply pin inside the Type-c port;
[0034] A-to-C cable: Standard-A to Type-c cable, where A represents the A port and C represents the C port.
[0035] As described above, the data cable has the functions of charging and data transmission, that is, it can both charge the device and realize data transmission between different devices. Taking the data cable including an A-to-C cable as an example, the A-to-C cable is a Universal Serial Bus (USB) cable, one end of which is a USB-A interface and the other end is a USB-C interface, also called a Type-C port. Such a cable is usually used to connect devices supporting the USB-A interface such as traditional chargers, laptop computers, etc. to devices supporting the USB-C interface such as smart phones, game controllers, etc.
[0036] Currently, the A-to-C cable mainly cooperates with the Universal fast charging specification (UFCS) protocol to achieve charging and data transmission. To cooperate with the UFCS protocol, a cable electronic tag needs to be added to the A-to-C cable. Through the cable electronic tag, cable information of the A-to-C cable can be obtained, such as the maximum current that the A-to-C cable can withstand, to ensure the safety and efficiency of charging. When obtaining the cable information of the A-to-C cable through the cable electronic tag, the cable electronic tag needs to be powered on, that is, power needs to be supplied to the cable electronic tag.
[0037] The related technology mainly uses the voltage bus (VBUS) at the power supply end of the A-to-C cable to supply power to the cable electronic tag. The operating voltage of the cable electronic tag is generally between 3.3V - 5.5V, and the supply voltage of VBUS is between 5V - 20V. To meet the voltage requirements of the cable electronic tag, an additional voltage stabilizing device needs to be added to reduce the voltage of VBUS to 3.3V - 5.5V through the voltage stabilizing device, which will increase the hardware cost. Moreover, VBUS supplies power to the cable electronic tag continuously, which is likely to cause energy consumption loss.
[0038] Therefore, the embodiments of the present application provide a power supply method, device, equipment, and storage medium for a cable electronic tag, which can reduce the power supply cost of the cable electronic tag and the energy consumption loss caused by power supply.
[0039] The following will combine the accompanying drawings to describe in detail the power supply method for the cable electronic tag provided by the embodiments of the present application through specific embodiments and their application scenarios.
[0040] Figure 1 FIG. is a schematic diagram of an application scenario of a power supply method for a cable electronic tag provided by an embodiment of the present application. As Figure 1 shown, the application scenario may include a first electronic device 101, a second electronic device 102, and a data cable 103. The first electronic device 101 and the second electronic device 102 are communicatively connected through the data cable 103. Exemplarily, the first electronic device may be a device supporting a Type-A interface, such as but not limited to a charger, a power adapter, a computer, etc. The second electronic device may be a device supporting a Type-C interface, such as but not limited to a mobile phone, a tablet computer, a game controller, etc.
[0041] The data cable 103 can be a cable that supports both Type-A and Type-C interfaces. For example, in some embodiments, the data cable 103 can be an A-to-C cable. That is, the first electronic device 101 can charge the second electronic device via the A-to-C cable, or the first electronic device 101 can transfer data with the second electronic device 102 via the A-to-C cable. That is, the first electronic device 101 can send data to the second electronic device 102 via the A-to-C cable, and the first electronic device 101 can also receive data sent by the second electronic device 102 via the A-to-C cable.
[0042] Taking the data cable 103 including an A-to-C cable as an example, Figure 2 Exemplarily, a schematic diagram of an A-to-C cable is provided. The A-to-C cable includes two ports, namely the A port 201 and the C port 202. Among them, the C port 202 includes 24 pin feet, and the A port includes 4 pin feet. The structure of the 24 pin feet of the C port 202 is as Figure 3 shown.
[0043] The A-to-C cable includes a cable electronic tag. Through the cable electronic tag, the first electronic device 101 and the second electronic device 102 can obtain the cable information of the A-to-C cable. The cable information can include, for example, but is not limited to, the maximum current that the A-to-C cable can withstand, the temperature of the A-to-C cable, the over-temperature and over-voltage protection mechanisms of the A-to-C cable, etc.
[0044] Figure 4 Exemplarily, an internal structure schematic diagram of an A-to-C cable is provided, as Figure 4 shown. The C port 202 includes a power supply pin VBUS, a power supply pin Vconn, a ground pin GND, a data transmission pin D+, and a data transmission pin D-. The other pins are not shown in Figure 4 and can be specifically referred to in Figure 3 . The A port includes a power supply pin VBUS, a data transmission pin D+, a data transmission pin D-, and a ground pin GND. The cable electronic tag 401 includes a power supply terminal VDD and two data transmission pins. Each data transmission pin can include two working modes: a sending mode and a receiving mode. That is, each data transmission pin can be used both as a sending port TX and as a receiving port RX. The default working modes of the two data transmission pins of the cable electronic tag 401 are both the receiving mode. That is, the two data transmission ports can only receive data. If the cable electronic tag 401 needs to send data, it is necessary to switch the working mode of one of the data transmission ports from the receiving mode to the sending mode.
[0045] Specifically, D+ of port A 201 is communicatively connected to D+ of port C 202, and D- of port A 201 is communicatively connected to D- of port C 202. D+ of port A 201 and D+ of port C 202 are respectively communicatively connected to a data transmission port of the cable electronic tag 401, and D- of port A 201 and D- of port C 202 are respectively communicatively connected to another data transmission port of the cable electronic tag 401. The power supply pin Vconn of port C 202 is electrically connected to the power supply terminal VDD of the cable electronic tag 401.
[0046] Combined with the above Figures 1-4 , taking the charging of a device using the data line 103 as an example, the power supply method of the cable electronic tag provided in the embodiments of the present application can be applied to a power receiving device, and the power receiving device can be the second electronic device 102 in the above embodiments, that is, a device supporting a type-c port.
[0047] As Figure 5 shown, the power supply method of the cable electronic tag may include the following steps:
[0048] S510: When sending a first notification message to the power supply device, control the power supply pin to be powered on.
[0049] Among them, the first notification message is used to indicate reading the cable information of the data line.
[0050] S520: When receiving the cable information of the data line, control the power supply pin to be powered off.
[0051] In this embodiment, when the power receiving device needs to obtain the cable information of the data line, the power supply pin is controlled to be powered on; when the power receiving device receives the cable information of the data line, the power supply pin is controlled to be powered off. Using the power supply pin in the first end of the data line to supply power to the cable electronic tag, there is no need to additionally increase a voltage stabilizing device, so the hardware cost can be reduced. Moreover, only when the power receiving device needs to obtain the cable information, the power receiving device will control the power supply pin to be powered on and supply power to the cable electronic tag through the power supply pin. When receiving the cable information, the power receiving device controls the power supply pin to be powered off, that is, no longer supplies power to the cable electronic tag. Thus, dynamic control of the power supply pin is achieved, that is, dynamic control of the power supply to the cable electronic tag is achieved, and there is no need to constantly supply power to the cable electronic tag, thereby avoiding the problem of energy consumption loss caused by constant power supply.
[0052] The above steps will be described in detail below, as specifically shown below:
[0053] In S510, the above-mentioned first end is the end where the data line is connected to the power receiving device and is used to charge the power receiving device. Therefore, the first end is also referred to as the charging end. The second end is the end where the data line is connected to the power supply device and is used to receive electrical energy from the power supply device to charge the power receiving device. Therefore, the second end is also referred to as the power supply end. The above-mentioned power supply pin is a pin in the first end and is used to supply power to the components inside the data line. When the data line is an A-to-C cable, this power supply pin is the Vconn pin, which can supply power to the cable electronic tag in the A-to-C cable or other components that need power supply, such as sensors or meters.
[0054] Exemplarily, when the power receiving device needs to be charged, the power receiving device needs to obtain the cable information of the data line. At this time, the power receiving device can send a first notification message to the power supply device indicating to read the cable information of the data line, and at the same time control the power supply pin in the first end to be powered on. In this way, the power supply pin can supply power to the cable electronic tag. When the cable electronic tag is powered on, the power receiving device can obtain the cable information of the cable electronic tag, ensuring the safety and efficiency of charging.
[0055] Exemplarily, the above-mentioned first notification message can be that the power receiving device notifies the power supply device to read the cable information in the cable electronic tag by the power supply device, that is, the power supply device directly interacts with the cable electronic tag. Subsequently, the power receiving device can directly obtain the cable information of the data line from the power supply device.
[0056] Exemplarily, the above-mentioned first notification message can also be that the power receiving device notifies the power supply device that the power receiving device is about to read the cable information in the cable electronic tag, that is, the power receiving device directly interacts with the cable electronic tag. That is, in this embodiment, the cable information can be directly obtained by the power receiving device communicating with the cable electronic tag, or the power supply device can first communicate with the cable electronic tag to obtain the cable information, and then the power receiving device communicates with the power supply device to obtain the cable information. In this way, the flexibility of the cable information acquisition method can be improved.
[0057] This embodiment does not limit the specific power-on process. For example, the power receiving device can be connected to the power supply pin through a hardware switch, and the power receiving device can control the conduction or disconnection of the hardware switch to power on the power supply pin. The hardware switch can be, for example, a field effect transistor. Another example is that the power receiving device can also control the power on or off of the power supply pin by outputting a level signal. For example, when the power receiving device outputs a high level, the power supply pin is powered on, and when the power receiving device outputs a low level, the power supply pin is powered off.
[0058] In S520, exemplarily, when the power receiving device receives the cable information, it can control the power supply pin to be powered off, thereby stopping supplying power to the cable electronic tag. In this way, the energy consumption loss caused by constant power supply and the heating of the data line can be reduced, and the service life of the data line can be extended.
[0059] In this embodiment, the cable electronic tag is dynamically powered in a combination of software and hardware. The traditional voltage stabilizing device is cancelled, reducing the hardware cost. At the same time, there is no need to continuously power the cable electronic tag, further reducing the energy consumption loss and extending the service life of the data cable.
[0060] In some embodiments, the above notification message may include a first notification message, which is used to instruct the power supply device to set the state of the sending port of the power supply device to a first target state, and the first target state is used to enable the power supply device to release the control right of the data cable.
[0061] Based on this, in some embodiments, after S510, the power supply method of the cable electronic tag may further include the following steps:
[0062] In the case of receiving the response message of the first notification message sent by the power supply device, send a first cable information reading request to the cable electronic tag; wherein, the power supply device sets the state of the sending port of the power supply device to a first state in response to the first notification message, and in the first state, the power supply device releases the control right of the data cable;
[0063] Receive the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
[0064] When the three terminals share the same bus for communication, the power supply device's release of the control right of the data cable means that the power supply device neither actively drives the signal nor pulls down or pulls up the voltage, thereby avoiding affecting the communication between the power receiving device and the cable electronic tag. Exemplarily, the first state may be a high impedance state.
[0065] That is, before the power receiving device communicates with the cable electronic tag to obtain the cable information, the power receiving device may first send a first notification message to the power supply device. After receiving the first notification message, the power supply device can set its own sending port (TX) to the first state to avoid affecting the communication between the power receiving device and the cable electronic tag. And return a response message to the power receiving device. After receiving the response message returned by the power supply device, the power receiving device can send a first cable information reading request to the cable electronic tag. The first cable information reading request is used to request the cable information of the data cable from the cable electronic tag. The first cable information reading request may include, but is not limited to, the identifier of the power receiving device, the identifier of the data cable, etc.
[0066] After receiving the first cable information reading request, the cable electronic tag can return the cable information of the data cable to the power receiving device. Considering that by default, both data transmission ports of the cable electronic tag are in the receiving mode, in order to ensure the normal transmission of the cable information, the cable electronic tag needs to first switch the working mode of one of the data transmission ports from the receiving mode to the sending mode. This can ensure the normal transmission of the cable information.
[0067] Exemplarily, it is assumed that the cable electronic tag includes a data transmission port 1 and a data transmission port 2. The cable electronic tag receives a first cable information reading request through the data transmission port 2. After receiving the first cable information reading request, the cable electronic tag needs to first switch the working mode of the data transmission port 1 to the sending mode, and then send the cable information to the power receiving device through the data transmission port 1. Thus, the power receiving device can obtain the cable information.
[0068] In this embodiment, the power receiving device can communicate with the cable electronic tag to directly obtain the cable information. Before communicating with the cable electronic tag, the power receiving device first sends a first notification message to the power supply device, avoiding the influence of the power supply device on the communication between the power receiving device and the cable electronic tag, and ensuring the accuracy of data transmission.
[0069] In order not to affect the interaction between the power supply device and the power receiving device, in some embodiments, the above S520 may include the following steps:
[0070] When receiving the cable information of the data line, send a second notification message to the power supply device; wherein, in response to the second notification message, the power supply device switches the state of the sending port of the power supply device from the first state to the second state;
[0071] When receiving the response message of the second notification message sent by the power supply device, control the power supply pin to power off.
[0072] The above second state may be the state of the sending port before the power supply device receives the first notification message, that is, the non-high impedance state. The second notification message is used to notify the power supply device to restore the state of its own TX, providing a basis for the subsequent communication between the power receiving device and the power supply device.
[0073] Exemplarily, after receiving the cable information, the power receiving device can send a second notification message to the power supply device, indicating that the power receiving device has successfully obtained the cable information. After receiving the second notification message, the power supply device restores the state of its own TX, that is, switches from the first state to the original state, and restores the control right of the power supply device over the data line.
[0074] After the power supply device restores the state of its own TX, it can return a response message to the power receiving device. After receiving the response message, the power receiving device can control the power supply pin to power off and stop powering the cable electronic tag.
[0075] In this embodiment, after the power receiving device receives the cable information, it can resume communication with the power supply device, control the power supply pin to power off, and stop powering the cable electronic tag, realizing dynamic power supply to the cable electronic tag. While reducing the power supply cost, it reduces the heat generation of the data line and extends the service life of the data line.
[0076] In some embodiments, the power supply of the cable electronic tag may further include the following steps:
[0077] Receiving the cable information of the data line sent by the power supply device; wherein, in response to the first notification message, the power supply device sends a second cable information reading request to the cable electronic tag, and in the case of receiving the cable information of the data line sent by the cable electronic tag in response to the second cable information reading request, the power supply device sends the cable information of the data line to the power receiving device.
[0078] In this embodiment, the power receiving device can indirectly obtain the cable information through the power supply device. That is, the power supply device first directly interacts with the cable electronic tag to obtain the cable information, and then sends the cable information to the power receiving device together with the power receiving device.
[0079] Exemplarily, after receiving the first notification message, the power supply device sends a second cable information reading request to the cable electronic tag. After receiving the second cable information reading request, the cable electronic tag sends the cable information to the power supply device. After receiving the cable information, the power supply device forwards the cable information to the power receiving device.
[0080] In this embodiment, the power receiving device can indirectly obtain the cable information of the data line through the power supply device, which improves the flexibility of the cable information acquisition method and can be applied to more scenarios.
[0081] In some embodiments, after S510, the power supply method of the cable electronic tag may further include the following steps:
[0082] Receiving a third notification message sent by the power supply device, where the third notification message is sent by the power supply device in the case of receiving the first notification message;
[0083] In response to the third notification message, setting the state of the sending port of the power receiving device to a third state, where in the third state, the power receiving device releases the control right of the data line.
[0084] Exemplarily, after receiving the first notification message sent by the power receiving device, indicating that the cable electronic tag has been powered on, in order to ensure the normal communication between the power supply device and the cable electronic tag, the power supply device may first send a third notification message to the power receiving device to notify the power receiving device that the power supply device is about to read the cable information.
[0085] After receiving the third notification message, the power receiving device automatically sets its TX to the third state to avoid affecting the communication between the power supply device and the cable electronic tag. Exemplarily, the third state may be a high impedance state.
[0086] Before the power supply device communicates with the cable electronic tag to obtain cable information, in response to the third notification message sent by the power supply device, its TX is set to the third state first, which can avoid affecting the communication between the power supply device and the cable electronic tag and ensure the accuracy of the cable information.
[0087] In some embodiments, before S520, the power supply method of the cable electronic tag may further include the following steps:
[0088] Receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when it receives the cable information of the data line sent by the cable electronic tag;
[0089] In response to the fourth notification message, switch the state of the sending port of the power receiving device from the third state to the fourth state;
[0090] Send a third cable information reading request to the power supply device;
[0091] Receive the cable information of the data line sent by the power supply device, including:
[0092] Receive the cable information of the data line sent by the power supply device in response to the third cable information reading request.
[0093] The fourth state is a state that enables the power receiving device to communicate with the power supply device, for example, it can be a non-high impedance state. Exemplarily, after the power supply device receives the cable information returned by the cable electronic tag, in order to ensure that the cable information can be accurately fed back to the power receiving device, the power supply device needs to send a fourth notification message to the power receiving device first to notify the power receiving device to update the state of its own TX. After receiving the fourth notification message, the power receiving device can restore the state of its own TX, providing conditions for the communication between the power receiving device and the power supply device.
[0094] After the power receiving device restores the state of its own TX, it can send a third cable information reading request to the power supply device to request the power supply device to obtain the cable information of the data line. After receiving the third cable information reading request, the power supply device can send the cable information to the power receiving device. Thus, the power receiving device indirectly obtains the cable information through the power supply device.
[0095] This embodiment can not only directly communicate with the cable electronic tag to obtain cable information, but also indirectly obtain cable information through the power supply device, which improves the flexibility of the cable information. Moreover, before the power receiving device communicates with the power supply device to obtain cable information, it first restores the state of its own TX in response to the fourth notification message sent by the power supply device, ensuring the normal communication between the power receiving device and the power supply device, and further ensuring the accuracy of the cable information.
[0096] Based on the current UFCS protocol, taking the A-to-C cable as an example, the communication process among the power receiving device, the power supply device, and the cable electronic tag will be described. Before the power receiving device and the power supply device communicate through the A-to-C cable, they need to handshake based on the UFCS protocol first. After the handshake is successful, the power supply device can charge the power receiving device through the A-to-C cable or transmit data to the power receiving device through the A-to-C cable. The specific handshake process will not be elaborated in this embodiment.
[0097] Figure 6 Taking the communication between the power receiving device and the cable electronic tag to obtain cable information as an example, the communication process among the power receiving device, the power supply device, and the cable electronic tag will be described.
[0098] S610. The power receiving device sends Start_Cable_Detect, indicating that it is about to start reading cable information and controls Vconn to power on. Here, Start_Cable_Detect represents the first notification message in the above embodiment.
[0099] S620. After receiving Start_Cable_Detect, the power supply device automatically sets its own TX to a high-impedance state and returns a response message to the power receiving device.
[0100] S630. After receiving the response message, the power receiving device sends Get_Cable_Info to the cable electronic tag to read the cable information. Here, Get_Cable_Info represents the first cable information reading request in the above embodiment.
[0101] S640. After receiving Get_Cable_Info, the cable electronic tag automatically switches the working mode of another data transmission port from the receiving mode to the sending mode and returns the cable information to the power receiving device.
[0102] S650. After receiving the cable information, the power receiving device sends End_Cable_Detect to the power supply device and controls Vconn to power off. Here, End_Cable_Detect represents the second notification message in the above embodiment.
[0103] S660. After receiving End_Cable_Detect, the power supply device restores the state of its own TX.
[0104] Figure 7 Taking the power receiving device to indirectly obtain cable information through the power supply device as an example, the communication process among the power receiving device, the power supply device, and the cable electronic tag will be described.
[0105] S710. The power receiving device sends Detect_Cable_Info to notify the power supply device to read the cable information. At the same time, the power receiving device controls the power-on of Vconn. Here, Detect_Cable_Info represents the first notification message in the above embodiments.
[0106] S720. After receiving Detect_Cable_Info, the power supply device sends Start_Cable_Detect to the power receiving device, indicating that it is about to start reading the cable information. Here, Start_Cable_Detect represents the third notification message in the above embodiments.
[0107] S730. After receiving Start_Cable_Detect, the power receiving device sets its own TX to a high impedance state and sends a response message to the power supply device.
[0108] S740. After receiving the response message, the power supply device sends Get_Cable_Info to the cable electronic tag to read the cable information. Here, Get_Cable_Info represents the second cable information reading request in the above embodiments.
[0109] S750. After receiving Get_Cable_Info, the cable electronic tag automatically switches the working mode of another data transmission port from the receiving mode to the sending mode and returns the cable information to the power supply device.
[0110] S760. After receiving the cable information, the power supply device sends End_Cable_Detect to the power receiving device to notify the power receiving device to restore the state of its own TX. Here, End_Cable_Detect represents the fourth notification message in the above embodiments.
[0111] S770. After receiving End_Cable_Detect, the power receiving device restores the state of its own TX and controls the power-off of Vconn.
[0112] S780. The power receiving device sends Get_Cable_Info to the power supply device. Here, Get_Cable_Info represents the third cable information reading request in the above embodiments.
[0113] S790. After receiving Get_Cable_Info, the power supply device returns the cable information to the power receiving device.
[0114] In the above process, whether it is the power receiving device, the power supply device, or the cable electronic tag, after receiving a message sent by any other party, it can first return an acknowledgment message (ACK) to the other party to indicate that the message has been received. Subsequently, after performing specific operations based on the message, it can then return the execution result of the operation to the other party. Figure 6 and Figure 7 The ACK message is not reflected.
[0115] In this embodiment, the traditional voltage stabilizing device is cancelled, and only a connection needs to be added between Vconn and the power supply terminal of the cable electronic tag, which reduces the hardware cost. At the same time, in cooperation with software control, when it is necessary to read the cable information after the UFCS protocol handshake is successful, Vconn is controlled to supply power, and when the cable information is not needed, Vconn is controlled to power off, avoiding additional heating of the cable, reducing energy consumption loss, and extending the service life of the cable.
[0116] It should be noted that for the power supply method of the cable electronic tag provided in the embodiment of the present application, the execution subject can be the power supply device of the cable electronic tag, or the processing module in the power supply device of the cable electronic tag for executing the power supply method of the cable electronic tag. In the embodiment of the present application, the power supply device of the cable electronic tag is used as an example to execute the power supply method of the cable electronic tag to illustrate the communication device provided in the embodiment of the present application.
[0117] Figure 8 FIG. is a schematic structural diagram of a power supply device for a cable electronic tag provided in an embodiment of the present application. The power supply device 800 of the cable electronic tag is applied to a power receiving device, and the power receiving device is communicatively connected to a power supply device through a data line. The data line includes a cable electronic tag and a first end, and the first end includes a power supply pin. One end of the power supply pin is connected to the power supply terminal of the cable electronic tag, and the other end of the power supply pin is connected to the power receiving device.
[0118] As Figure 8 shown, the power supply device 800 of the cable electronic tag may include a sending module 801, a control module 802, and a receiving module 803;
[0119] The control module 802 is configured to control the power supply pin to be powered on when the sending module 801 sends a first notification message to the power supply device; the first notification message is used to indicate reading the cable information of the data line;
[0120] The control module 802 is further configured to control the power supply pin to be powered off when the receiving module 803 receives the cable information of the data line.
[0121] In the embodiment of the present application, the power receiving device is connected to the first end of the data cable, the second end of the data cable is connected to the power supply device, the power supply pin at the first end is electrically connected to the power port of the cable electronic tag, and the cable electronic tag is disposed in the data cable. When the power receiving device needs to obtain the cable information of the data cable, the power supply pin is powered on; when the power receiving device receives the cable information of the data cable, the power supply pin is powered off. The power supply pin in the first end is used to supply power to the cable electronic tag, without the need to additionally increase a voltage stabilizing device, so the hardware cost can be reduced. Moreover, only when the power receiving device needs to obtain the cable information, the power receiving device will control the power supply pin to be powered on and supply power to the cable electronic tag through the power supply pin. When the cable information is received, the power receiving device controls the power supply pin to be powered off, that is, no longer supplies power to the cable electronic tag. In this way, dynamic control of the power supply pin is achieved, that is, dynamic control of the power supply to the cable electronic tag is achieved, and there is no need to constantly supply power to the cable electronic tag, thereby avoiding the problem of energy consumption loss caused by constant power supply.
[0122] In some possible implementations of the embodiment of the present application, the sending module 801 is further configured to, when the receiving module 803 receives the response message of the first notification message sent by the power supply device, send a first cable information reading request to the cable electronic tag; wherein, in response to the first notification message, the power supply device sets the state of the sending port of the power supply device to the first state, and in the first state, the power supply device releases the control right of the data cable;
[0123] The receiving module 803 is further configured to receive the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
[0124] In some possible implementations of the embodiment of the present application, the sending module 801 is further configured to, when the receiving module 803 receives the cable information of the data cable, send a second notification message to the power supply device; wherein, in response to the second notification message, the power supply device switches the state of the sending port of the power supply device from the first state to the second state;
[0125] The control module 802 is specifically configured to:
[0126] When the receiving module 803 receives the response message of the second notification message sent by the power supply device, control the power supply pin to be powered off.
[0127] In some possible implementations of the embodiment of the present application, the receiving module 803 is further configured to receive the cable information of the data cable sent by the power supply device; wherein, in response to the first notification message, the power supply device sends a second cable information reading request to the cable electronic tag, and when receiving the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request, sends the cable information of the data cable to the power receiving device.
[0128] In some possible implementations of the embodiments of the present application, the receiving module 803 is further configured to receive a third notification message sent by the power supply device after the power supply pin is powered on under the control of the control module 802, where the third notification message is sent by the power supply device when the first notification message is received;
[0129] The control module 802 is further configured to set the state of the sending port of the power receiving device to a third state in response to the third notification message; wherein, in the third state, the power receiving device releases the control right of the data line.
[0130] In some possible implementations of the embodiments of the present application, the receiving module 803 is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when the cable information of the data line sent by the cable electronic tag is received;
[0131] The control module 802 is further configured to switch the state of the sending port of the power receiving device from the third state to the fourth state in response to the fourth notification message;
[0132] The sending module 801 is further configured to send a third cable information reading request to the power supply device;
[0133] The receiving module 803 is specifically configured to: receive the cable information of the data line sent by the power supply device in response to the third cable information reading request.
[0134] The power supply device of the cable electronic tag in the embodiments of the present application may be a device or a component in an electronic device, such as an integrated circuit or a chip. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0135] The electronic device in the embodiments of the present application can be a terminal with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0136] The power supply device of the cable electronic tag provided in the embodiments of the present application can implement Figures 5-7 each process in the power supply method embodiment of the cable electronic tag and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0137] As Figure 9 shown, the embodiments of the present application also provide an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instruction that can run on the processor 901. When the program or instruction is executed by the processor 901, it implements each step of the power supply method embodiment of the above cable electronic tag and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0138] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile terminals and non-mobile terminals.
[0139] Figure 10 FIG. is a schematic hardware structure diagram of an electronic device provided in the embodiments of the present application. The electronic device 1000 can be the power receiving device in the above embodiments.
[0140] The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0141] Those skilled in the art can understand that the electronic device 1000 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 1010 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 10 The structure of the electronic device 1000 shown in does not constitute a limitation on the electronic device 1000. The electronic device 1000 may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0142] Among them, the processor 1010 is used to control the power-on of the power supply pin when sending a first notification message to the power supply device; the first notification message is used to indicate reading the cable information of the data line;
[0143] When the cable information of the data cable is received, power down the power supply pin.
[0144] In the embodiment of the present application, the power receiving device is connected to the first end of the data cable, the second end of the data cable is connected to the power supply device, the power supply pin at the first end is electrically connected to the power supply port of the cable electronic tag, and the cable electronic tag is disposed in the data cable. When the power receiving device needs to obtain the cable information of the data cable, power on the power supply pin; when the power receiving device receives the cable information of the data cable, power down the power supply pin. Using the power supply pin in the first end to supply power to the cable electronic tag, there is no need to additionally increase a voltage stabilizing device, so the hardware cost can be reduced. Moreover, only when the power receiving device needs to obtain the cable information, the power receiving device will control the power supply pin to power on and supply power to the cable electronic tag through the power supply pin. When the cable information is received, the power receiving device controls the power supply pin to power down, that is, no longer supplies power to the cable electronic tag. In this way, dynamic control of the power supply pin is achieved, that is, dynamic control of the power supply to the cable electronic tag is achieved, and there is no need to constantly supply power to the cable electronic tag, thereby avoiding the problem of energy consumption loss caused by constant power supply.
[0145] In some possible implementations of the embodiment of the present application, the processor 1010 is further configured to, after powering on the power supply pin, when receiving the response message of the first notification message sent by the power supply device, send a first cable information reading request to the cable electronic tag; wherein, the power supply device sets the state of the sending port of the power supply device to the first state in response to the first notification message, and in the first state, the power supply device releases the control right of the data cable;
[0146] Receive the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
[0147] In some possible implementations of the embodiment of the present application, the processor 1010 is specifically configured to:
[0148] When receiving the cable information of the data cable, send a second notification message to the power supply device; wherein, the power supply device switches the state of the sending port of the power supply device from the first state to the second state in response to the second notification message;
[0149] When receiving the response message of the second notification message sent by the power supply device, power down the power supply pin.
[0150] In some possible implementations of the embodiment of the present application, the processor 1010 is further configured to receive the cable information of the data cable sent by the power supply device; wherein, the power supply device sends a second cable information reading request to the cable electronic tag in response to the first notification message, and when receiving the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request, sends the cable information of the data cable to the power receiving device.
[0151] In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to, after powering on the control power supply pin, receive a third notification message sent by the power supply device, where the third notification message is sent by the power supply device in response to receiving the first notification message;
[0152] In response to the third notification message, set the state of the sending port of the power receiving device to a third state; wherein, in the third state, the power receiving device releases the control right of the data line.
[0153] In some possible implementations of the embodiments of the present application, the processor 1010 is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device in response to receiving the cable information of the data line sent by the cable electronic tag;
[0154] In response to the fourth notification message, switch the state of the sending port of the power receiving device from the third state to a fourth state;
[0155] Send a three-to-two cable information reading request to the power supply device;
[0156] Receive the cable information of the data line sent by the power supply device in response to the third cable information reading request.
[0157] It should be understood that in the embodiments of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The graphics processing unit 10041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. The other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.
[0158] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 1009 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.
[0159] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 1010.
[0160] The embodiments of the present application also provide a readable storage medium. A program or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the embodiment of the power supply method of the above cable electronic tag is implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.
[0161] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs, etc.
[0162] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above embodiment of the power supply method for the cable electronic tag, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0163] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.
[0164] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above embodiment of the power supply method for the cable electronic tag, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0165] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, the element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0166] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0167] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
Claims
1. A power supply method for a cable electronic tag, characterized in that, Applied to a power receiving device, the power receiving device is connected to a power supply device through a data cable. The data cable includes a cable electronic tag and a first end. The first end includes a power supply pin. One end of the power supply pin is connected to the power supply terminal of the cable electronic tag, and the other end of the power supply pin is connected to the power receiving device; The method includes: When sending a first notification message to the power supply device, controlling the power supply pin to be powered on; the first notification message is used to indicate reading the cable information of the data cable; When receiving the cable information of the data cable, controlling the power supply pin to be powered off.
2. The method according to claim 1, wherein After controlling the power supply pin to be powered on, the method further includes: When receiving the response message of the first notification message sent by the power supply device, sending a first cable information reading request to the cable electronic tag; wherein, in response to the first notification message, the power supply device sets the state of the sending port of the power supply device to a first state, and in the first state, the power supply device releases the control right of the data cable; Receiving the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
3. The method according to claim 2, wherein The step of, when receiving the cable information of the data cable, controlling the power supply pin to be powered off, includes: When receiving the cable information of the data cable, sending a second notification message to the power supply device; wherein, in response to the second notification message, the power supply device switches the state of the sending port of the power supply device from the first state to a second state; When receiving the response message of the second notification message sent by the power supply device, controlling the power supply pin to be powered off.
4. The method according to claim 1, characterized in that, The method further includes: Receiving the cable information of the data cable sent by the power supply device; wherein, in response to the first notification message, the power supply device sends a second cable information reading request to the cable electronic tag, and when receiving the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request, the power supply device sends the cable information of the data cable to the power receiving device.
5. The method according to claim 4, characterized in that, After controlling the power supply pin to be powered on, the method further includes: Receiving a third notification message sent by the power supply device, wherein the third notification message is sent by the power supply device when receiving the first notification message; In response to the third notification message, setting the state of the sending port of the power receiving device to a third state; wherein, in the third state, the power receiving device releases the control right of the data cable.
6. The method according to claim 5, wherein The method further includes: Receiving a fourth notification message sent by the power supply device, wherein the fourth notification message is sent by the power supply device when receiving the cable information of the data cable sent by the cable electronic tag; In response to the fourth notification message, switching the state of the sending port of the power receiving device from the third state to a fourth state; Sending a third cable information reading request to the power supply device; The step of receiving the cable information of the data cable sent by the power supply device includes: Receive the cable information of the data cable sent by the power supply device in response to the third cable information reading request.
7. A power supply device for a cable electronic tag, characterized in that, Applied to a power receiving device, the power receiving device is communicatively connected to a power supply device via a data cable. The data cable includes a cable electronic tag and a first end. The first end includes a power supply pin. One end of the power supply pin is connected to the power supply end of the cable electronic tag, and the other end of the power supply pin is connected to the power receiving device. The device includes a sending module, a control module, and a receiving module. The control module is configured to power on the power supply pin when the sending module sends a first notification message to the power supply device. The first notification message is used to indicate reading the cable information of the data cable. The control module is further configured to power off the power supply pin when the receiving module receives the cable information of the data cable.
8. The device according to claim 7, characterized in that, The sending module is further configured to send a first cable information reading request to the cable electronic tag when the receiving module receives an acknowledgement message of the first notification message sent by the power supply device. Wherein, the power supply device sets the state of the sending port of the power supply device to a first state in response to the first notification message. In the first state, the power supply device releases the control right of the data cable. The receiving module is further configured to receive the cable information of the data cable sent by the cable electronic tag in response to the first cable information reading request.
9. The device according to claim 8, characterized in that, The sending module is further configured to send a second notification message to the power supply device when the receiving module receives the cable information of the data cable. Wherein, the power supply device switches the state of the sending port of the power supply device from the first state to a second state in response to the second notification message. The control module is specifically configured to: Power off the power supply pin when the receiving module receives an acknowledgement message of the second notification message sent by the power supply device.
10. The device according to claim 7, characterized in that, The receiving module is further configured to receive the cable information of the data cable sent by the power supply device. Wherein, the power supply device sends a second cable information reading request to the cable electronic tag in response to the first notification message. When receiving the cable information of the data cable sent by the cable electronic tag in response to the second cable information reading request, the power supply device sends the cable information of the data cable to the power receiving device.
11. The device according to claim 10, characterized in that, The receiving module is further configured to receive a third notification message sent by the power supply device after the control module powers on the power supply pin. The third notification message is sent by the power supply device when receiving the first notification message. The control module is further configured to set the state of the sending port of the power receiving device to a third state in response to the third notification message. Wherein, in the third state, the power receiving device releases the control right of the data cable.
12. The device according to claim 11, characterized in that, The receiving module is further configured to receive a fourth notification message sent by the power supply device, where the fourth notification message is sent by the power supply device when the power supply device receives the cable information of the data cable sent by the cable electronic tag; The control module is further configured to, in response to the fourth notification message, switch the state of the sending port of the power receiving device from the third state to the fourth state; The sending module is further configured to send a third cable information reading request to the power supply device; The receiving module is specifically configured to: receive the cable information of the data cable sent by the power supply device in response to the third cable information reading request.
13. An electronic device, characterized in that, The electronic device includes a processor and a memory, and the memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
15. A computer program product, characterized in that, The program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the method according to any one of claims 1 to 6.