Charging cable control method and apparatus

By dynamically controlling the working mode of the Emark chip during the charging process, the power loss problem caused by continuous power supply during charging is solved, achieving more efficient charging and lower device heating.

WO2025209275A1PCT designated stage Publication Date: 2025-10-09VIVO MOBILE COMM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/085031
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-01
Filing Date
2025-03-26
Publication Date
2025-10-09

AI Technical Summary

Technical Problem

The Emark chip in existing charging cables continuously supplies power during the charging process, resulting in power loss, affecting charging efficiency and device heating, and not meeting green energy requirements.

Method used

By sending a target pulse signal in the charging device or electronic device to control the Emark chip to enter the working mode or sleep mode, its working state is dynamically adjusted as needed to reduce unnecessary power consumption.

Benefits of technology

It reduces the power loss of the Emark chip, improves the overall charging efficiency, reduces the heat generation of the device, and meets the development needs of green energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025085031_09102025_PF_FP_ABST
    Figure CN2025085031_09102025_PF_FP_ABST
Patent Text Reader

Abstract

A charging cable control method and apparatus, which belong to the technical field of electronics. The method is executed by an electronic device or a charging device, wherein the electronic device is connected to the charging device by means of a charging cable, and the charging cable comprises an electronically marked cable chip. The method comprises: sending a target pulse signal to an electronically marked cable chip, wherein the target pulse signal is used for triggering the electronically marked cable chip to enter a target mode, and the target mode is an operating mode or a sleep mode.
Need to check novelty before this filing date? Find Prior Art

Description

Charging cable control method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese Patent Application No. 202410388805.1 filed in China on April 1, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of electronic technology, and specifically relates to a control method and device for a charging cable. Background Art

[0004] Currently, most manufacturers use charging cables equipped with an Electronically Marked Cable (Emark) chip in conjunction with high-power chargers to quickly charge mobile phones and other electronic devices. During charging, the Emark chip communicates with the electronic device or charger to identify cable information, including power transmission capabilities (such as the maximum current and voltage supported by the cable), data transmission capabilities, video transmission capabilities, cable length, voltage resistance, and manufacturer ID, and then sends this information to the electronic device or charger.

[0005] However, the Emark chip is generally only used to obtain cable information when the charger is first inserted, but the Emark chip will continue to be powered during the charging process, which will cause power loss. The greater the charging power and the higher the voltage, the greater the loss to the Emark chip, and it also affects the overall charging efficiency of the electronic device. Summary of the Invention

[0006] The purpose of the embodiments of the present application is to provide a charging cable control method and device thereof, which can solve the problem of affecting the overall charging efficiency of electronic devices.

[0007] In a first aspect, an embodiment of the present application provides a method for controlling a charging cable, which is performed by an electronic device or a charging device, wherein the electronic device is connected to the charging device via a charging cable, and the charging cable includes an electronic marking cable chip. The method includes:

[0008] A target pulse signal is sent to the electronically marked cable chip, where the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

[0009] In a second aspect, an embodiment of the present application provides another method for controlling a charging cable, which is executed by an electronically marked cable chip in the charging cable, wherein both ends of the charging cable are connected to an electronic device and a charging device, respectively. The method includes:

[0010] When a target pulse signal sent by the electronic device or the charging device is received, the target mode is entered, and the target mode is a working mode or a sleep mode.

[0011] In a third aspect, an embodiment of the present application provides a control device for a charging cable, which is provided in an electronic device or a charging device. The electronic device is connected to the charging device via a charging cable, and the charging cable includes an electronic marking cable chip. The control device for the charging cable includes:

[0012] The sending module is used to send a target pulse signal to the electronically marked cable chip, wherein the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

[0013] In a fourth aspect, an embodiment of the present application provides another control device for a charging cable, including an electronically marked cable chip disposed in the charging cable, wherein both ends of the charging cable are connected to an electronic device and a charging device, respectively. The device for placing the charging cable in hibernation includes:

[0014] The control module is used to enter a target mode when receiving a target pulse signal sent by the electronic device or the charging device, and the target mode is a working mode or a sleep mode.

[0015] In a fifth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0016] In a sixth aspect, an embodiment of the present application provides a charging device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0017] In the seventh aspect, an embodiment of the present application provides an electronically marked cable Emark chip, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.

[0018] In an eighth 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 a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0019] In the ninth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method as described in the first aspect, or implement the steps of the method as described in the second aspect.

[0020] In the tenth 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 method as described in the first aspect, or to implement the steps of the method as described in the second aspect.

[0021] In an embodiment of the present application, an electronic device or a charging device sends a target pulse signal to an Emark chip of an electronically marked cable, and the target pulse signal is used to trigger the Emark chip to enter a target mode, which is a working mode or a sleep mode.

[0022] When the Emark chip receives the target pulse signal sent by the electronic device or the charging device, it enters the target mode, which is the working mode or the sleep mode.

[0023] In this way, since the Emark chip supports multiple modes and can send a pulse signal to the Emark chip through the electronic device or charging device during the charging process to instruct the Emark chip to enter the sleep mode or working mode, the Emark chip can be in the working state as needed during the charging process and in the sleep state when not needed. Compared with the existing method of continuously supplying power to the Emark chip during the charging process, this application can greatly reduce power loss and reduce the loss of the Emark chip, thereby improving the overall charging efficiency of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] FIG1 is a flow chart of a method for controlling a charging cable according to an embodiment of the present application;

[0025] FIG2 is a schematic diagram of different pulse signal types corresponding to different modes of the Emark chip provided in an embodiment of the present application;

[0026] FIG3 is a second flowchart of a method for controlling a charging cable according to an embodiment of the present application;

[0027] FIG4 is a schematic diagram of an Emark chip according to an embodiment of the present application entering a corresponding mode by monitoring a pulse signal;

[0028] FIG5 is a structural diagram of a voltage divider circuit provided in an embodiment of the present application;

[0029] FIG6 is a third flowchart of a method for controlling a charging cable according to an embodiment of the present application;

[0030] FIG7 is a fourth flowchart of a method for controlling a charging cable according to an embodiment of the present application;

[0031] FIG8 is a structural diagram of a control device for a charging cable according to an embodiment of the present application;

[0032] FIG9 is a second structural diagram of the control device for a charging cable provided in an embodiment of the present application;

[0033] FIG10 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0034] FIG11 is a hardware structure diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0036] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0037] In order to more clearly illustrate the embodiments of the present application, the technical background proposed by the embodiments of the present application is first introduced in more detail as follows:

[0038] Fast charging is a key selling point for mobile phones. To better support the Universal Fast Charging Specification (UFCS), most manufacturers currently use charging cables with Emark chips paired with high-power charging devices. When a charging cable with an EMark chip is first plugged into a charging device and powered on, it communicates with both the charging device and the phone simultaneously. This handshake with the charging device and phone allows for rapid identification of cable information and various attributes, including the cable's power transmission capability (such as the maximum current and voltage supported by the cable), data transmission capability, video transmission capability, cable length, voltage withstand capability, and manufacturer's ID. The Emark chip can also perform encrypted cable verification. For example, the phone sends a manufacturer-specified cmd command to the cable's Emark chip. Upon receiving the command, the Emark chip responds with the agreed-upon data to the phone within a specified timeframe, such as 100ms. The phone verifies the data is correct and then responds with a predetermined verification code to the Emark chip. This code indicates a successful handshake between the phone and the Emark chip. The Emark chip then reports the maximum voltage and current the cable can withstand to the phone. Otherwise, it reports a lower current and voltage for charging. This encrypted verification process significantly improves charging efficiency and safety, bringing convenience to users.

[0039] However, the inventors discovered that during charging, the Emark chip is generally only used to obtain cable information when the charging device is initially inserted. After the Emark chip provides the cable information to the phone or charging device for storage and completes the handshake verification with the phone or charging device, the Emark chip is no longer needed or is rarely used during subsequent charging processes. While UFCS's use of a charging cable with an Emark chip for fast charging can provide convenience and improve efficiency, the Emark chip remains active after the cable information transmission and handshake are completed during the charging process. Continuously supplying power to the Emark chip results in power loss. The greater the charging power and the higher the voltage, the greater the Emark chip loss, which also affects the overall charging efficiency of the phone. This is because the phone's charging power = the total output power of the charging device - the Emark chip's power loss - the cable's power loss. Emark chip loss also causes the cable to heat up. From a macro perspective, the continuous loss of cables with Emark chips during use does not meet the country's demand for developing green, low-carbon energy.

[0040] In response to the above technical problems, the purpose of this application is to provide a method that supports UFCS fast charging cable sleep mode, and to control the sleep mode of the Emark chip through a combination of hardware and software.

[0041] In terms of hardware, the Emark chip power supply can be designed to have different voltage division levels for power supply.

[0042] In software, the phone sends control pulses based on the Emark chip's operating requirements, which in turn controls the switch to select the voltage divider position. If the phone has already acquired the cable information and completed the encryption authentication handshake with the Emark chip, the cable's Emark chip no longer needs to operate and is inactive. In this case, low-power mode can be selected, and the hardware selects the low-voltage divider position. If the phone needs to acquire cable information and perform encryption authentication, the Emark chip must be active, in which case high-power mode is selected, and the hardware selects the high-voltage divider position to ensure normal power supply. If the phone is charging and needs to re-acquire the Emark chip and cable information due to a change in charging mode, but not immediately, pulses are sent to put the Emark chip in a waiting state (if the phone does not send information for a certain period of time, the Emark chip automatically switches to low-power mode). During this waiting period, the Emark chip selects a lower power mode, and the hardware selects the medium-voltage divider position. Dynamically selecting the Emark chip's operating mode reduces fixed losses during charging, thereby improving overall charging efficiency, reducing charging cable heat, and achieving better energy savings and a more comfortable user experience.

[0043] The following describes in detail the control method of the charging cable provided in the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0044] Please refer to Figure 1, which is a flowchart of a method for controlling a charging cable according to an embodiment of the present application. The method is executed by an electronic device or a charging device. The electronic device is connected to the charging device via a charging cable, and the charging cable includes an electronically marked cable (Emark) chip. As shown in Figure 1, the method includes the following steps:

[0045] Step 101: Send a target pulse signal to the electronically marked cable chip, wherein the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

[0046] The electronic device in the embodiment of the present application may refer to an electronic device that supports fast charging, such as a mobile phone, a tablet, an electronic watch, etc. The charging device refers to a device such as a charger used to charge the electronic device. The charging cable is a data cable connecting the charging device and the electronic device, and an Emark chip is provided in the charging cable.

[0047] In an embodiment of the present application, in order to avoid power loss caused by the Emark chip in the charging cable being in a continuously powered state during charging, it is proposed that the charging electronic device or the charging device send a pulse signal to the Emark chip according to actual working needs to instruct the Emark chip to enter a corresponding mode, that is, the chip can be selected to enter a working mode or a sleep mode, without the Emark chip being in a constantly working state and without continuously providing a high voltage power supply to the Emark chip, thereby reducing power loss and also reducing the loss of the Emark chip.

[0048] Specifically, when an electronic device is connected to a charging device via a charging cable and the charging device is connected to a power source to start charging the electronic device, the electronic device end or the charging device end can determine whether the Emark chip needs to work according to actual needs, and then determine whether to send a pulse signal to the Emark chip, and / or determine what kind of pulse signal to send to the Emark chip, such as determining the type, quantity or duration of the pulse signal to be sent, and then execute the corresponding pulse sending plan according to the determination result.

[0049] For example, if the mobile phone needs to obtain the information of the charging cable and perform encryption authentication on the cable, the Emark chip needs to be in a working state. At this time, a pulse signal can be sent to the Emark chip, or a pulse signal corresponding to the working mode of the Emark chip can be sent to the Emark chip; for example, if the mobile phone has obtained the cable information and has completed the encryption authentication handshake with the Emark chip, the Emark chip no longer needs to work. At this time, a pulse signal can be not sent to the Emark chip, or a pulse signal corresponding to the sleep mode of the Emark chip can be sent to the Emark chip; for example, when the mobile phone is charging, due to the change in charging mode, the cable information needs to be re-acquired, but not immediately. At this time, a pulse signal can be sent to the Emark chip, or a pulse signal corresponding to the wake-up mode of the Emark chip can be sent to the Emark chip.

[0050] Correspondingly, the Emark chip in the charging cable can detect the pulse signal sent by the electronic device or the charging device to obtain a detection result. The detection result may be whether a pulse signal is detected and what kind of pulse signal is detected, such as the pulse signal type, quantity, duration, etc. The Emark chip can determine which mode to enter based on the detection result, such as whether to enter working mode or sleep mode.

[0051] In an embodiment of the present application, the Emark chip can support multiple modes, such as at least a working mode and a sleep mode. That is, the Emark chip can be in working mode when it needs to work, and can also be in sleep mode when it does not need to work, thereby reducing unnecessary power loss during charging.

[0052] Specifically, the Emark chip can decide which mode to enter based on whether a pulse signal is received or the specific information of the received pulse signal, such as type, quantity, duration, etc. For example, it can enter the working mode when a pulse signal is received, and enter the sleep mode when no pulse signal is received, or vice versa, it can enter the working mode when no pulse signal is received, and enter the sleep mode when a pulse signal is received; for example, the Emark chip can agree with the electronic device or charging device on the correspondence between different pulse signals and different modes, so that the Emark chip can enter the corresponding mode based on the different pulse signals received.

[0053] In some embodiments, in addition to supporting working mode and sleep mode, the Emark chip can also support wake-up mode, which can also be called working preparation mode, that is, the working preparation state that the Emark chip enters before entering the working mode. That is, the electronic device or charging device can first send a pulse signal to the Emark chip to wake up the Emark chip, so that it waits to receive data sent by the electronic device or charging device. After the electronic device or charging device is ready for the data, it sends a pulse signal to the Emark chip to notify the Emark chip to enter the working state and start receiving data transmitted by the electronic device or charging device.

[0054] This implementation can refine the mode of the Emark chip, making the working mode of the Emark chip more flexible, enabling it to enter different working states based on different working requirements, and saving power consumption.

[0055] In some embodiments, the electronic device or charging device may send a target pulse signal to the Emark chip when the Emark chip needs to work, and not send a target pulse signal to the Emark chip when the Emark chip does not need to work, based on actual working requirements of the Emark chip. In this way, the Emark chip can enter or remain in sleep mode if it does not receive the target pulse signal, and can enter or remain in working mode if it receives the target pulse signal.

[0056] In one embodiment, the electronic device or charging device can send a pulse signal of a specific type, quantity and / or duration to the Emark chip when the Emark chip is needed to work, and send a pulse signal of another specific type, quantity and / or duration to the Emark chip when the Emark chip is not needed to work, so that the Emark chip can determine the corresponding mode according to the type, quantity and / or duration of the received pulse signal, and the Emark chip can enter or maintain the mode.

[0057] Therefore, in some embodiments, the target mode is a sleep mode; the target pulse signal includes at least one of the following: a first type of pulse signal, a first number of pulse signals, and a first duration of pulse signal.

[0058] That is, the electronic device or charging device can send a pulse signal of the first type, first quantity and / or first duration to the Emark chip when the Emark chip is not needed to work, so that the Emark chip can enter the working mode after receiving the pulse signal of the first type, first quantity and / or first duration.

[0059] In other embodiments, the target mode is a working mode; the target pulse signal includes at least one of the following: a second type of pulse signal, a second number of pulse signals, and a second duration of pulse signal.

[0060] That is, the electronic device or charging device can send a pulse signal of the second type, second number and / or second duration to the Emark chip when the Emark chip needs to work, so that the Emark chip can enter the working mode after receiving the pulse signal of the second type, second number and / or second duration.

[0061] Through this implementation, different pulse signals can be used to instruct the Emark chip to enter different modes, thereby achieving flexible switching of the Emark chip modes.

[0062] Optionally, the target mode is a working mode;

[0063] The sending of a target pulse signal to the electronically marked cable chip comprises:

[0064] sending at least one of a third type of pulse signal, a third number of pulse signals, and a third duration of pulse signals to the electronically marked cable chip to trigger the electronically marked cable chip to enter a wake-up mode;

[0065] At least one of a fourth type of pulse signal, a fourth number of pulse signals, and a fourth duration of pulse signals is sent to the electronically marked cable chip to trigger the electronically marked cable chip to enter an operating mode from a wake-up mode.

[0066] In some embodiments, the Emark chip may also support a wake-up mode, which serves as a transition from sleep mode to working mode. When the electronic device or charging device needs to acquire data, it may wake up the Emark chip and begin preparing the information required to acquire the data. After the required information is prepared, it may notify the Emark chip to enter working mode and transmit data with the Emark chip. In specific implementations, it may be agreed that pulse signals of different types, quantities, and / or durations are used to control the Emark chip to enter different modes. For example, when the electronic device or charging device needs to acquire data from the Emark chip, it may send a pulse signal of a third type, a third quantity, and a third duration to the Emark chip to wake up the Emark chip. Upon receiving the pulse signal, the Emark chip enters the wake-up mode. After preparing to acquire the information required for the data, the electronic device or charging device may send a pulse signal of a fourth type, a fourth quantity, and a fourth duration to the Emark chip. Upon receiving the pulse signal, the Emark chip enters the working mode.

[0067] Through the above implementation, different pulse signals can be used to instruct the Emark chip to enter different modes, thereby achieving flexible switching of the Emark chip mode. Moreover, through the wake-up mode, the power loss caused by the continuous working mode can be further reduced.

[0068] It should be noted that, in one embodiment, the electronic device or charging device can actively control the Emark chip, that is, the electronic device or charging device can send different pulses to make the Emark chip enter different working modes according to whether the Emark chip needs to work. In this embodiment, the electronic device or charging device can agree with the Emark chip to indicate a specific Emark chip mode through a specific pulse, that is, the correspondence between the pulse and the Emark chip mode can be defined. Specifically, it can be agreed that the first type, first number, and first duration of pulses correspond to the sleep mode, the second type, second number, and second duration of pulses correspond to the working mode, and the third type and third number of pulses correspond to the wake-up mode.

[0069] The electronic device and the Emark chip typically communicate via the D+ and D- data transmission lines, either by sending a set of pulses or by sending specially agreed-upon pulses. Whether the Emark chip is operational can be actively controlled by the electronic device. This means that when the electronic device needs to obtain cable information, the Emark chip is actively controlled to be operational. When it does not need to obtain cable information, the Emark chip is controlled to be in sleep mode. When the electronic device is ready to obtain information or verify information from the Emark chip again, the Emark chip is placed in a ready-to-work state, or wake-up mode.

[0070] Since the charging device is also connected to the D+ and D- data transmission lines, sending data from the device could potentially interfere with the charging device. For example, if the device sends a wake-up signal to the Emark chip, the charging device might also interpret this signal as useful data and process it. This could disrupt the charging device's operation and prevent stable charging. This is because the handshake between the charging device and the electronic device typically uses one or more data bits, rather than a single pulse or special pulse. Therefore, to prevent interference with the charging device, special pulses can be defined. For example, a rising edge pulse indicates a wake-up state; a falling edge pulse indicates a sleep state; and a pulse with both a rising and falling edge indicates an active state. Furthermore, to identify pulses rather than data transmission, the Emark chip can be configured to receive only one rising edge pulse within a specified timeframe. For example, if the Emark chip receives only one rising edge pulse within 100ms, it indicates a wake-up pulse; if it receives only one falling edge pulse within 100ms, it indicates a sleep pulse; and if it receives only one rising edge and one falling edge pulse within 100ms, it indicates an active pulse. This special pulse control method does not require the transmission of a large number of signals, nor does it require the Emark chip to perform a large number of checks on the received data signals. It is simpler, more efficient, and more resistant to interference than the previous handshake control method using D+ and D- data transmission lines to transmit data.

[0071] Exemplarily, as shown in Figure 2, the first type of pulse signal is a falling edge pulse, such as a pulse that changes from a high level to a low level, corresponding to the sleep mode, the second type of pulse signal includes a rising edge pulse and a falling edge pulse, corresponding to the working mode, and the third type of pulse signal is a rising edge pulse, such as a pulse that changes from a low level to a high level, corresponding to the wake-up mode.

[0072] When distinguishing pulses and Emark chip modes based on the number of pulses, if a first number of pulses, such as one pulse, is received within an agreed time, such as 100ms, it can be considered that the Emark chip needs to be in sleep mode, if a third number of pulses, such as two pulses, is received within the agreed time, it can be considered that the Emark chip needs to be in wake-up mode, and if a second number of pulses, such as three pulses, is received within the agreed time, it can be considered that the Emark chip needs to be in working mode.

[0073] When distinguishing pulses and Emark chip modes based on pulse duration, it can be that when a pulse lasting the first duration or a pulse lasting less than the second duration is received, it is considered that the Emark chip needs to be in sleep mode; when a pulse lasting the third duration is received, it is considered that the Emark chip needs to be in wake-up mode; when a pulse lasting the second duration is received, it is considered that the Emark chip needs to be in working mode. The second duration can be greater than the third duration, and the third duration can be greater than the first duration.

[0074] In some embodiments, Emark chip modes may include: wake-up mode, operating mode, and sleep mode. More modes may be defined based on actual application needs. When the electronic device or charging device does not need the Emark chip to operate, such as when it does not need to acquire cable information, it may send a first type of pulse signal, such as a falling edge pulse or a first number of pulses, to the Emark chip to trigger the Emark chip to sleep. Upon receiving the first type or first number of pulse signals, the Emark chip enters sleep mode. When the electronic device or charging device needs to reacquire cable information, it may need the Emark chip to be ready for operation. In this case, it may first send a third type of pulse signal, such as a rising edge pulse or a third number of pulses, to the Emark chip to wake it up. Upon receiving the third type or third number of pulse signals, the Emark chip enters the ready for operation state. When the electronic device or charging device has prepared data to be transmitted and needs the Emark chip to operate, it may send a second type of pulse signal, such as a rising edge pulse and a falling edge pulse, or a second number of pulse signals, to the Emark chip to trigger the Emark chip to enter the operating state. Upon receiving the second type or second number of pulse signals, the Emark chip enters the operating state.

[0075] In this way, in the above implementation, by sending the agreed pulse signal by the electronic device or charging device, without using complex handshake communication, the Emark chip can be simply and efficiently controlled to enter different modes, avoiding interference, reducing development workload, and improving signal transmission efficiency.

[0076] This solution can send control pulses not only from the phone but also from the charging device, with the manufacturer deciding which end to use. In real-world scenarios, many users leave their charging device and the cable with the Emark chip plugged into an outlet without connecting their phone (only connecting the phone when charging is needed). This also results in power consumption, and the Emark chip sleep control solution can address this power consumption issue.

[0077] In another embodiment, the mode of the Emark chip can be changed to a passive control mode. The electronic device or charging device does not actively control the pulse type, but only sends pulses. The Emark chip actively monitors the pulses to select the mode.

[0078] In the previous embodiment, it is necessary to agree on the corresponding pulse signal type. In this embodiment, it is not necessary to agree on the pulse type. When the electronic device or charging device needs the Emark chip to work, it can send a random pulse signal to the Emark chip.

[0079] Specifically, when the Emark chip needs to work, the electronic device or charging device can continuously send a pulse signal to the Emark chip, such as sending a pulse signal lasting more than the second time period. When the Emark chip does not need to work, no pulse signal is sent to the Emark chip, or a pulse signal lasting less than the second time period is sent. Accordingly, the Emark chip monitors the pulse signal sent by the electronic device or charging device. If no pulse signal is detected, the Emark chip enters sleep mode. If a pulse signal is detected, the Emark chip first enters wake-up mode and continuously monitors for a period of time to see if there is still a pulse signal. If so, the Emark chip enters work mode; otherwise, the Emark chip enters sleep mode.

[0080] This implementation adopts a passive control method, that is, the microcontroller unit (MCU) of the Emark chip is not interrupt-triggered, and polling is required in the MCU to check the pulse status. This mode can save the work of the electronic device or charging device end, and only the work needs to be done on the Emark chip end. This can reduce the interaction work with the electronic device or charging device end, expand compatibility, and adapt to more models from different manufacturers.

[0081] Optionally, the electronic device or the charging device sends the target pulse signal to the electronically marked cable chip through the D+ data transmission line and / or the D- data transmission line of the charging cable.

[0082] In some embodiments, the electronic device or charging device can send a pulse signal to the Emark chip through the D+ data transmission line, or through the D- data transmission line. Of course, pulse control signals of different modes can be sent through the D+ and D- data transmission lines respectively, such as sending a pulse signal corresponding to the working mode through the D+ data transmission line, and sending a pulse signal corresponding to the sleep mode through the D- data transmission line.

[0083] The basic principles of these three transmission methods are the same and there is no difference. In practical applications, they can be selected according to different design schemes and data transmission requirements. For example, the D- data transmission line may need to transmit a large amount of data with the charging device or Emark chip, while the D+ data transmission line is relatively idle, so the D+ data transmission line is used for pulse transmission.

[0084] In the control method of the charging cable in the embodiment of the present application, the electronic device or charging device sends a target pulse signal to the Emark chip of the electronically marked cable. The target pulse signal is used to trigger the Emark chip to enter a target mode, which is either an operating mode or a sleep mode. In this way, since the Emark chip supports multiple modes and can send a pulse signal to the Emark chip during charging to instruct the Emark chip to enter a sleep mode or an operating mode, the Emark chip can be in an operating state as needed during the charging process and in a sleep state when not needed. Compared with the existing method of continuously supplying power to the Emark chip during charging, the present application can greatly reduce power loss and reduce the loss of the Emark chip, thereby improving the overall charging efficiency of the electronic device.

[0085] Please refer to Figure 3, which is a flowchart of another charging cable control method provided by an embodiment of the present application. The method is executed by an electronic marking cable chip in the charging cable. The two ends of the charging cable are respectively connected to an electronic device and a charging device. As shown in Figure 3, the method includes the following steps:

[0086] Step 301: upon receiving a target pulse signal sent by the electronic device or the charging device, enter a target mode, wherein the target mode is a working mode or a sleep mode.

[0087] Optionally, the target mode is a working mode;

[0088] The method further comprises:

[0089] When the target pulse signal sent by the electronic device or the charging device is not detected, the device enters the sleep mode.

[0090] Optionally, step 301 includes:

[0091] Upon receiving a target pulse signal sent by the electronic device or the charging device, determining pulse signal information of the target pulse signal, the pulse signal information including at least one of the following: a type of the target pulse signal, a number of target pulse signals, and a duration of the target pulse signal;

[0092] Entering the working mode or the sleep mode according to the pulse signal information.

[0093] Optionally, the entering into the working mode or the sleep mode according to the pulse signal information includes:

[0094] Entering the working mode according to the pulse signal information, the pulse signal information includes at least one of the following: a second type, a second quantity, and a second duration.

[0095] Optionally, the entering into the working mode or the sleep mode according to the pulse signal information includes:

[0096] Entering the sleep mode according to the pulse signal information, where the pulse signal information includes at least one of the following: a first type, a first quantity, and a first duration.

[0097] Optionally, the entering into the working mode or the sleep mode according to the pulse signal information includes:

[0098] Entering the working mode according to the pulse signal information, the target pulse signal includes a first pulse signal and a second pulse signal, the pulse signal information of the first pulse signal includes at least one of the following: a third type, a third quantity, and a third duration, and the pulse signal information of the second pulse signal includes at least one of the following: a fourth type, a fourth quantity, and a fourth duration.

[0099] Specifically, the Emark chip enters the wake-up mode when receiving the first pulse signal, and enters the working mode when receiving the second pulse signal, wherein the third duration can be any duration less than the fourth duration, that is, the Emark chip can first enter the wake-up mode when receiving the pulse signal, and then continue to monitor the duration of the pulse signal, and then enter the working mode when it detects that the pulse signal lasts for the fourth duration.

[0100] Optionally, the electronic marking cable chip receives the target pulse signal sent by the electronic device or the charging device through the D+ data transmission line and / or the D- data transmission line of the charging cable.

[0101] It should be noted that this embodiment is an implementation on the electronic device or charging device side corresponding to the embodiment shown in Figure 1. Its specific implementation and the above optional implementation can refer to the relevant introduction in the embodiment shown in Figure 1, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0102] Optionally, the pulse signal information includes a duration of a target pulse signal. After the Emark chip enters the working mode, the method further includes:

[0103] When the Emark chip is in the working mode for the fifth time period, it is detected whether a pulse signal sent by the electronic device or the charger is received, and the process returns to step 301 .

[0104] In some embodiments, after the Emark chip enters the working mode, it can delay for a certain period of time, such as 300ms, and then detect the pulse signal again, and determine which mode the Emark chip enters based on the detection result. In this way, the Emark chip can stop monitoring the pulse signal for a period of time during operation, thereby reducing the power consumption caused by continuous monitoring without affecting the operation of the Emark chip.

[0105] Optionally, the pulse signal information includes a duration of a target pulse signal. After the Emark chip enters the sleep mode, the method further includes:

[0106] When the Emark chip is in the sleep mode for the sixth time period, it is detected whether a pulse signal sent by the electronic device or the charger is received, and the process returns to step 301 .

[0107] In some embodiments, after the Emark chip enters sleep mode, it can also sleep for a certain period of time, such as 300ms, and then detect the pulse signal again, and determine which mode to control the Emark chip to enter based on the detection result. In this way, the Emark chip can stop monitoring the pulse signal for a period of time during sleep to reduce the power consumption caused by continuous monitoring, and a short period of stopping monitoring and sleeping will not affect the communication between the electronic device or charging device and the Emark chip.

[0108] For example, as shown in Figure 4, the Emark chip monitors pulse signals sent from electronic devices or charging devices. If no pulse signal is detected within 100ms, it enters sleep mode and selects low-power mode. If a pulse is detected, it first enters intermediate preparation mode and delays for 100ms before retesting. If a pulse is still detected, it enters the working state, selects high-power mode, and delays for another 300ms to detect whether there is a pulse. If the Emark chip enters sleep mode, it wakes up after a delay of 300ms or longer to detect whether there is a pulse, and then enters the corresponding state. Note that this delayed wake-up time must ensure that communication data is not lost after waking up, that is, the delay cannot be too long.

[0109] Optionally, the pulse signal information includes a type of target pulse signal or a number of target pulse signals. After the Emark chip enters the wake-up mode, the method further includes:

[0110] Within the seventh time period after the Emark chip enters the wake-up mode, detecting whether the second type of pulse signal or the second number of pulse signals sent by the electronic device or the charger is received; if so, controlling the Emark chip to enter the working mode; otherwise, controlling the Emark chip to enter the sleep mode.

[0111] In some embodiments, after controlling the Emark chip to enter the wake-up mode, in order to avoid being in a state of waiting to enter the working state and to avoid unnecessary power loss, it can be agreed that the Emark chip waits for a certain period of time after entering the working preparation state. If it has not received the second type of pulse signal or the second number of pulse signals sent by the electronic device or the charging device within this time, it will re-enter the sleep mode. If it receives the second type of pulse signal or the second number of pulse signals sent by the electronic device or the charging device within this time, it will enter the working mode.

[0112] Correspondingly, the electronic device or the charging device may send a second type of pulse signal or a second number of pulse signals to the Emark chip within the seventh time period after waking up the Emark chip, so as to trigger the Emark chip to enter the working mode.

[0113] For example, when it is necessary to reacquire cable information, the Emark chip needs to be in a working ready state. The electronic device or charging device first sends a rising edge pulse to wake up the Emark chip. After receiving the rising edge pulse, the Emark chip puts the Emark in a working ready state, because at this time the electronic device or charging device may not be ready to obtain information, and the Emark chip does not need to be in working mode. Of course, this ready state is not always waiting. After waiting for a certain period of time, such as no pulse is received within 5S, it enters a low power consumption mode, that is, a sleep mode; when the electronic device or charging device is ready, it sends a rising edge pulse and a falling edge pulse successively within a specified time, such as sending a rising edge pulse and a falling edge pulse successively within 5ms, telling the Emark chip to enter the working mode.

[0114] This implementation can allow the electronic device and the charging device a certain amount of time to prepare for data acquisition, and can also prevent the Emark chip from being in a waiting state for a long time, thereby saving power consumption.

[0115] Optionally, a voltage divider circuit is provided in the charging cable, and the electronically marked cable chip is connected to a power output line of the charging cable via the voltage divider circuit. The voltage divider circuit supports multiple voltage levels, and the multiple voltage levels have corresponding target modes.

[0116] The step 301 includes:

[0117] When a target pulse signal is received from the electronic device or the charging device, the voltage level of the voltage divider circuit is controlled to control the electronically marked cable chip to enter the target mode.

[0118] In some embodiments, a voltage divider circuit may be provided in the charging cable to control the supply voltage of the Emark chip, so that the Emark chip can operate in different modes by adjusting the supply voltage levels.

[0119] Specifically, the voltage divider circuit can be provided inside or outside the Emark chip. As shown in FIG5 , the voltage divider circuit 51 is provided outside the Emark chip 52. The Emark chip 52 is connected to the power output line VBUS of the charging cable 50 through the voltage divider circuit 51. The voltage divider circuit 51 includes a switch 511 and multiple voltage divider modules 512. The multiple voltage divider modules 512 respectively correspond to multiple voltage levels, and the multiple voltage levels correspond one-to-one to the multiple modes of the Emark chip 52. The first end of the switch 511 is connected to the power supply terminal VCC of the Emark chip 52, and the multiple second ends of the switch 511 are respectively connected to the multiple voltage divider modules 512.

[0120] In this way, the switch 511 can be used to connect different voltage divider modules to control the Emark chip 52 to connect to the power supply voltage of different voltage levels, thereby controlling the Emark chip 52 to enter different modes. For example, when the voltage divider circuit 51 is connected to the low voltage level, the Emark chip 52 enters the low power consumption mode, that is, the sleep mode; when the voltage divider circuit 51 is connected to the medium voltage level, the Emark chip 52 enters the working preparation mode; when the voltage divider circuit 51 is connected to the high voltage level, the Emark chip 52 enters the working mode.

[0121] After determining the target mode to be entered based on the detection result of the pulse signal, the Emark chip 52 can control the voltage divider circuit 51 to operate at the voltage level corresponding to the target mode, thereby controlling the Emark chip 52 to enter the target mode.

[0122] Through this implementation, the Emark chip mode can be controlled and switched by combining software and hardware, thereby reducing power loss and loss of the Emark chip.

[0123] Furthermore, the multiple voltage levels include a first voltage level, a second voltage level, and a third voltage level, the voltage corresponding to the second voltage level is greater than the voltage corresponding to the first voltage level, and the voltage corresponding to the third voltage level is greater than the voltage corresponding to the second voltage level;

[0124] When receiving the target pulse signal sent by the electronic device or the charging device, controlling the voltage level of the voltage divider circuit to control the electronically marked cable chip to enter the target mode includes any of the following:

[0125] controlling the voltage divider circuit to operate at the first voltage level to control the Emark chip to enter a sleep mode, wherein the target mode is the sleep mode;

[0126] controlling the voltage divider circuit to operate at the second voltage level to control the Emark chip to enter a wake-up mode, wherein the target mode is the wake-up mode;

[0127] The voltage divider circuit is controlled to operate at the third voltage level to control the Emark chip to enter a working mode, wherein the target mode is the working mode.

[0128] In some embodiments, the voltage divider circuit 51 can be designed with three voltage divider gears, namely: high voltage gear, medium voltage gear, and low voltage gear. In the circuit shown in Figure 5, D+ and D- are data transmission lines, mainly used to transmit pulses and data; VBUS is the power output line, mainly used to power electronic devices and Emark chips, and the voltage divider circuit 51 is connected to VBUS; GND is the ground line, and the functions of these pins are different. According to actual needs, more than three voltage divider gears can be designed. The MCU of the Emark chip selects the voltage divider by connecting D+ to detect external pulses, and then controls the switch 511 of the voltage divider circuit 51 to select the voltage divider gear.

[0129] Electronic devices or charging devices can agree on switch selection rules with the Emark chip to select the voltage divider module. If the Emark chip receives a wake-up mode pulse, it selects a mid-range voltage divider to enter a ready-to-use state, at which point the Emark chip consumes moderate power. If the Emark chip receives a working mode pulse, it selects a higher voltage divider to enter working mode, at which point the supply voltage is higher and the Emark chip consumes more power. If the Emark chip receives a sleep mode pulse, it selects a lower voltage divider to enter a low-power mode, also known as sleep mode. This reduces power loss, increases overall charging efficiency, and reduces cable heating.

[0130] In this implementation, multi-level voltage levels are designed to support the Emark chip in entering different modes, thereby flexibly meeting the power supply requirements of the Emark chip in different working states.

[0131] According to the above-mentioned implementation mode, the flow chart of an embodiment of the present application can be shown as shown in Figure 6. The type of control pulse can be defined by the mobile phone end. The mobile phone end sends the pulse through the D+ or D- data transmission line. The MCU of the Emark chip detects the pulse. According to the detected pulse type, the MCU of the Emark chip controls the switch to select the voltage divider gear and enter the corresponding mode.

[0132] Another embodiment of the present application can be illustrated in the flowchart of Figure 7, which uses a passive control method. The mobile phone does not actively control the pulse type, but only sends the pulse. The Emark chip actively monitors the pulse and selects the voltage divider. The mobile phone or charging device sends the pulse via the D+ or D- data transmission line. The Emark chip's MCU detects the pulse and, based on whether the pulse is detected and whether the pulse is still detected after a delay, controls the switch to select the voltage divider position and enter the corresponding mode.

[0133] In the control method for the charging cable in the embodiment of the present application, the Emark chip enters a target mode upon receiving a target pulse signal sent by the electronic device or the charging device, wherein the target mode is either an operating mode or a sleep mode. Thus, since the Emark chip supports multiple modes and can instruct the Emark chip to enter a sleep mode or an operating mode by sending a pulse signal to the Emark chip during charging, the Emark chip can be in an operating state as needed during charging and in a sleep state when not needed. Compared to the existing method of continuously powering the Emark chip during charging, the present application can significantly reduce power loss and reduce wear on the Emark chip, thereby improving the overall charging efficiency of the electronic device.

[0134] Please refer to Figure 5, which is a structural diagram of a voltage divider circuit provided in an embodiment of the present application. As shown in Figure 5, a voltage divider circuit 51 is disposed in a charging cable 50. The charging cable 50 also includes an Emark chip 52. The voltage divider circuit 51 includes: a switch 511 and multiple voltage divider modules 512. The multiple voltage divider modules 512 correspond to multiple voltage levels, respectively.

[0135] A first end of the switch 511 is connected to the Emark chip 52;

[0136] The multiple second ends of the switch 511 are respectively connected to the multiple voltage dividing modules 512;

[0137] When the first end of the switch 511 is connected to a target voltage divider module among the multiple voltage divider modules 512, the voltage divider circuit 51 outputs a target voltage level corresponding to the target voltage divider module to the Emark chip 52. The target voltage level is used to put the Emark chip 52 into a target mode.

[0138] The target mode is one of the multiple modes supported by the Emark chip 52 , including a working mode and a sleep mode.

[0139] It should be noted that this embodiment is an implementation of the voltage divider circuit in the charging cable corresponding to the embodiment shown in Figure 1. Its specific implementation can refer to the relevant introduction in the embodiment shown in Figure 1, and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0140] This application has the following improvements:

[0141] 1) Design a selectable voltage divider circuit to power the Emark chip. The voltage divider circuit can be designed outside or inside the Emark chip. By selecting different voltage divider gears to power the Emark chip, the loss of the Emark chip can be reduced.

[0142] 2) Combined with the hardware voltage divider circuit, a custom pulse method is used to control the Emark chip to select the voltage divider position by sending or detecting pulses. This control method is simple and efficient and does not require complex handshake rules.

[0143] The control method for a charging cable provided in the embodiment of the present application can be executed by a control device for the charging cable. In the embodiment of the present application, the control device for the charging cable executing the control method for the charging cable is used as an example to illustrate the control device for the charging cable provided in the embodiment of the present application.

[0144] Please refer to Figure 8, which is a schematic diagram of the structure of a control device for a charging cable provided in an embodiment of the present application. The control device is executed by an electronic device or a charging device. The electronic device is connected to the charging device via a charging cable. The charging cable includes an electronic marking cable chip. As shown in Figure 8, the control device 800 of the charging cable includes:

[0145] The sending module 801 is used to send a target pulse signal to the electronically marked cable chip, wherein the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

[0146] Optionally, the target mode is a sleep mode; the target pulse signal includes at least one of the following: a first type of pulse signal, a first number of pulse signals, and a pulse signal of a first duration.

[0147] Optionally, the target mode is a working mode; the target pulse signal includes at least one of the following: a second type of pulse signal, a second number of pulse signals, and a pulse signal of a second duration.

[0148] Optionally, the target mode is a working mode;

[0149] The sending module 801 is used to:

[0150] sending at least one of a third type of pulse signal, a third number of pulse signals, and a third duration of pulse signals to the electronically marked cable chip to trigger the electronically marked cable chip to enter a wake-up mode;

[0151] At least one of a fourth type of pulse signal, a fourth number of pulse signals, and a fourth duration of pulse signals is sent to the electronically marked cable chip to trigger the electronically marked cable chip to enter an operating mode from a wake-up mode.

[0152] Optionally, the electronic device or the charging device sends the target pulse signal to the electronically marked cable chip through the D+ data transmission line and / or the D- data transmission line of the charging cable.

[0153] The control device 800 of the charging cable in the embodiment of the present application sends a target pulse signal to the Emark chip of the electronically marked cable. The target pulse signal is used to trigger the Emark chip to enter a target mode, which is either an operating mode or a sleep mode. Thus, because the Emark chip supports multiple modes and can be instructed to enter a sleep mode or an operating mode by sending a pulse signal to the Emark chip during charging by an electronic device or a charging device, the Emark chip can be in an operating state as needed during charging and in a sleep state when not needed. Compared to the existing method of continuously powering the Emark chip during charging, the present application can significantly reduce power loss and reduce wear on the Emark chip, thereby improving the overall charging efficiency of the electronic device.

[0154] Please refer to Figure 9, which is a schematic diagram of the structure of another charging cable control device provided in an embodiment of the present application. An electronic marking cable chip is provided in the charging cable, and the two ends of the charging cable are respectively connected to an electronic device and a charging device. As shown in Figure 9, the charging cable control device 900 includes:

[0155] The control module 901 is configured to enter a target mode upon receiving a target pulse signal sent by the electronic device or the charging device, wherein the target mode is a working mode or a sleep mode.

[0156] Optionally, the target mode is a working mode;

[0157] The method further comprises:

[0158] When the target pulse signal sent by the electronic device or the charging device is not detected, the device enters the sleep mode.

[0159] Optionally, the control module 901 is configured to:

[0160] Upon receiving a target pulse signal sent by the electronic device or the charging device, determining pulse signal information of the target pulse signal, the pulse signal information including at least one of the following: a type of the target pulse signal, a number of target pulse signals, and a duration of the target pulse signal;

[0161] Entering the working mode or the sleep mode according to the pulse signal information.

[0162] Optionally, the control module 901 is configured to enter a working mode according to the pulse signal information, where the pulse signal information includes at least one of the following: a second type, a second quantity, and a second duration.

[0163] Optionally, the control module 901 is configured to enter a sleep mode according to the pulse signal information, where the pulse signal information includes at least one of the following: a first type, a first quantity, and a first duration.

[0164] Optionally, the control module 901 is used to enter the working mode according to the pulse signal information, and the target pulse signal includes a first pulse signal and a second pulse signal. The pulse signal information of the first pulse signal includes at least one of the following: a third type, a third quantity, and a third duration. The pulse signal information of the second pulse signal includes at least one of the following: a fourth type, a fourth quantity, and a fourth duration.

[0165] Optionally, a voltage divider circuit is provided in the charging cable, and the electronically marked cable chip is connected to a power output line of the charging cable via the voltage divider circuit. The voltage divider circuit supports multiple voltage levels, and the multiple voltage levels have corresponding target modes.

[0166] The control module 901 is used to control the voltage level of the voltage divider circuit when receiving a target pulse signal sent by the electronic device or the charging device, so as to control the electronically marked cable chip to enter the target mode.

[0167] Optionally, the electronic marking cable chip receives the target pulse signal sent by the electronic device or the charging device through the D+ data transmission line and / or the D- data transmission line of the charging cable.

[0168] The control device 800 of the charging cable in the embodiment of the present application enters a target mode upon receiving a target pulse signal sent by the electronic device or the charging device, wherein the target mode is either an operating mode or a sleep mode. Thus, since the Emark chip supports multiple modes and can instruct the Emark chip to enter a sleep mode or an operating mode by sending a pulse signal to the Emark chip during charging, the Emark chip can be in an operating state as needed during charging and in a sleep state when not needed. Compared to the existing method of continuously powering the Emark chip during charging, the present application can significantly reduce power loss and wear on the Emark chip, thereby improving the overall charging efficiency of the electronic device.

[0169] The control device of the charging cable in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle 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. It can 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., and the embodiment of the present application does not specifically limit it.

[0170] The control device of the charging cable in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0171] The control device of the charging cable provided in the embodiment of the present application can implement the various processes implemented in the method embodiments of Figures 1, 3, 6 to 7, and can achieve the same technical effects. To avoid repetition, they are not described here.

[0172] Optionally, as shown in Figure 10, an embodiment of the present application further provides an electronic device 1000, including a processor 1001 and a memory 1002, and the memory 1002 stores a program or instruction that can be run on the processor 1001. When the program or instruction is executed by the processor 1001, the various steps of the above-mentioned charging cable control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0173] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0174] Figure 11 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. The electronic device is connected to the charging device via a charging cable, and the charging cable includes an electronic marking cable chip.

[0175] The electronic device 1100 includes, but is not limited to, a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110. The electronic device is connected to a charging device via a charging cable, which is equipped with an Emark chip.

[0176] Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for powering various components. The power source may be logically connected to the processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG11 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components or arrange the components differently, which will not be described in detail here.

[0177] The processor 1110 is configured to send a target pulse signal to the electronically marked cable chip, wherein the target pulse signal is configured to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

[0178] Optionally, the target mode is a sleep mode; the target pulse signal includes at least one of the following: a first type of pulse signal, a first number of pulse signals, and a pulse signal of a first duration.

[0179] Optionally, the target mode is a working mode; the target pulse signal includes at least one of the following: a second type of pulse signal, a second number of pulse signals, and a pulse signal of a second duration.

[0180] Optionally, the target mode is a working mode;

[0181] The processor 1110 is further configured to:

[0182] sending at least one of a third type of pulse signal, a third number of pulse signals, and a third duration of pulse signals to the electronically marked cable chip to trigger the electronically marked cable chip to enter a wake-up mode;

[0183] At least one of a fourth type of pulse signal, a fourth number of pulse signals, and a fourth duration of pulse signals is sent to the electronically marked cable chip to trigger the electronically marked cable chip to enter an operating mode from a wake-up mode.

[0184] Optionally, the electronic device or the charging device sends the target pulse signal to the Emark chip through a D+ data transmission line and / or a D- data transmission line of the charging cable.

[0185] It should be understood that in an embodiment of the present application, the input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. Other input devices 11072 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 repeated here.

[0186] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories. 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 random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0187] Processor 1110 may include one or more processing units. Optionally, processor 1110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1110.

[0188] An embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned charging cable control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0189] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0190] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned charging cable control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0191] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0192] An embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-mentioned charging cable control method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[0193] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted 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 opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0194] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0195] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for controlling a charging cable, performed by an electronic device or a charging device, wherein the electronic device is connected to the charging device via a charging cable, and the charging cable includes an electronically marked cable chip, the method comprising: A target pulse signal is sent to the electronically marked cable chip, where the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

2. The method according to claim 1, wherein The target mode is a sleep mode; the target pulse signal includes at least one of the following: a pulse signal of a first type, a pulse signal of a first number, and a pulse signal of a first duration.

3. The method according to claim 1, wherein The target mode is a working mode; the target pulse signal includes at least one of the following: a second type of pulse signal, a second number of pulse signals, and a second duration of pulse signals.

4. The method according to claim 1, wherein The target mode is a working mode; The sending of a target pulse signal to the electronically marked cable chip comprises: sending at least one of a third type of pulse signal, a third number of pulse signals, and a third duration of pulse signals to the electronically marked cable chip to trigger the electronically marked cable chip to enter a wake-up mode; At least one of a fourth type of pulse signal, a fourth number of pulse signals, and a fourth duration of pulse signals is sent to the electronically marked cable chip to trigger the electronically marked cable chip to enter an operating mode from a wake-up mode.

5. The method according to any one of claims 1 to 4, wherein The electronic device or the charging device sends the target pulse signal to the electronically marked cable chip through the D+ data transmission line and / or the D- data transmission line of the charging cable.

6. A method for controlling a charging cable, executed by an electronically marked cable chip in the charging cable, wherein the two ends of the charging cable are connected to an electronic device and a charging device, respectively, the method comprising: When a target pulse signal sent by the electronic device or the charging device is received, the target mode is entered, and the target mode is a working mode or a sleep mode.

7. The method according to claim 6, wherein: The target mode is a working mode; The method further comprises: When the target pulse signal sent by the electronic device or the charging device is not detected, the device enters the sleep mode.

8. The method according to claim 6, wherein: The step of entering the target mode upon receiving the target pulse signal sent by the electronic device or the charging device includes: Upon receiving a target pulse signal sent by the electronic device or the charging device, determining pulse signal information of the target pulse signal, the pulse signal information including at least one of the following: a type of the target pulse signal, a number of target pulse signals, and a duration of the target pulse signal; Entering the working mode or the sleep mode according to the pulse signal information.

9. The method according to claim 8, wherein The entering into the working mode or the sleep mode according to the pulse signal information includes: Entering the working mode according to the pulse signal information, the pulse signal information includes at least one of the following: a second type, a second quantity, and a second duration.

10. The method according to claim 8, wherein The entering into the working mode or the sleep mode according to the pulse signal information includes: Entering the sleep mode according to the pulse signal information, where the pulse signal information includes at least one of the following: a first type, a first quantity, and a first duration.

11. The method according to claim 9, wherein The entering into the working mode or the sleep mode according to the pulse signal information includes: Entering the working mode according to the pulse signal information, the target pulse signal includes a first pulse signal and a second pulse signal, the pulse signal information of the first pulse signal includes at least one of the following: a third type, a third quantity, and a third duration, and the pulse signal information of the second pulse signal includes at least one of the following: a fourth type, a fourth quantity, and a fourth duration.

12. The method according to claim 6, wherein: The charging cable is provided with a voltage divider circuit, and the electronically marked cable chip is connected to the power output line of the charging cable through the voltage divider circuit. The voltage divider circuit supports multiple voltage levels, and the multiple voltage levels have corresponding target modes; The step of entering the target mode upon receiving the target pulse signal sent by the electronic device or the charging device includes: When a target pulse signal is received from the electronic device or the charging device, the voltage level of the voltage divider circuit is controlled to control the electronically marked cable chip to enter the target mode.

13. The method according to any one of claims 6 to 12, wherein The electronic marking cable chip receives the target pulse signal sent by the electronic device or the charging device through the D+ data transmission line and / or the D- data transmission line of the charging cable.

14. A control device for a charging cable, provided in an electronic device or a charging device, wherein the electronic device is connected to the charging device via a charging cable, the charging cable including an electronic marking cable chip, the control device for the charging cable comprising: The sending module is used to send a target pulse signal to the electronically marked cable chip, wherein the target pulse signal is used to trigger the electronically marked cable chip to enter a target mode, which is a working mode or a sleep mode.

15. A control device for a charging cable, comprising an electronically marked cable chip disposed in the charging cable, wherein the two ends of the charging cable are connected to an electronic device and a charging device, respectively. The device for placing the charging cable in hibernation comprises: The control module is used to enter a target mode when receiving a target pulse signal sent by the electronic device or the charging device, and the target mode is a working mode or a sleep mode.

Citation Information

Patent Citations

  • Method for reducing power consumption of terminal supporting CMMB function and terminal

    CN101707674A

  • A charging device and its cable and electronic tag chip

    CN107093915A

  • Device and method for generating a wake-up signal and charging interface

    CN112654525A

  • Charging cable, power supply device, terminal device and communication system

    CN115208433A

  • Charging cable control method and device

    CN118300217A