Earphone wireless charging management method and device, electronic equipment and storage medium

By monitoring the temperature in the headphones in real time and automatically adjusting the wireless charging status, the problem of excessive headphone temperature during wireless charging is solved, ensuring the safety of the equipment and charging efficiency.

CN119448509AActive Publication Date: 2025-02-14SHENZHEN ZHUOXIN MICRO TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510044918.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-02-14
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

During wireless charging, due to the limited cooling capacity of the headphones, it is easy to cause excessive temperature, resulting in safety hazards and equipment damage.

Method used

By monitoring the temperature in the headset in real time and comparing with the preset temperature threshold, when the temperature exceeds the threshold, the wireless charging function is automatically turned off until the temperature returns to the safe range, and then charging is turned on again.

Benefits of technology

Effectively prevent safety hazards and equipment damage caused by overheating, shorten the non-charging time of the headphones, improve charging efficiency, and extend the service life of the headphone battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119448509A_ABST
    Figure CN119448509A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless charging technology. The earphone wireless charging management method comprises the following steps: acquiring wireless charging starting information of a mobile power supply, judging whether a wireless charging coil of the mobile power supply has mobile equipment or not according to the wireless charging starting information, and if the mobile equipment exists on the wireless charging coil, performing wireless charging management on the mobile power supply. If yes, generating equipment connection information, performing equipment type confirmation on the equipment connection information through the equipment information database to obtain equipment type information, if the equipment type information is an earphone, generating earphone charging mode information, and charging the earphone according to the earphone charging mode information. The wireless charging method and the wireless charging device have the effect of ensuring the safety and the stability of equipment in the wireless charging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless charging technology, and in particular to a method, device, electronic device and storage medium for managing wireless charging of headphones. Background Art

[0002] As wireless charging technology becomes increasingly popular, more and more portable electronic devices such as headphones are adopting wireless charging to provide a more convenient charging experience. However, since the working principle of wireless charging involves the energy transmission of high-frequency electromagnetic fields, a certain amount of heat will be generated during the charging process, especially in small devices, where the heat dissipation space and heat dissipation efficiency are relatively limited, which can easily cause the device temperature to be too high. Summary of the invention

[0003] In order to ensure the safety and stability of the device during the wireless charging process, the present application provides a headset wireless charging management method, device, electronic device and storage medium.

[0004] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A method for managing wireless charging of an earphone, the method comprising: Get the wireless charging start information of the mobile power supply; According to the wireless charging start information, determining whether there is a mobile device on the wireless charging coil of the mobile power supply, and if the mobile device is on the wireless charging coil, generating device connection information; Confirming the device type of the device connection information through a device information database to obtain device type information, and if the device type information is a headset, generating headset charging mode information; The headset is charged according to the headset charging mode information, and during the charging process, the system obtains the headset temperature information in real time; The temperature information collected inside the earphone is compared with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and a continue charging information is generated.

[0005] By adopting the above technical solution, when the earphone is charging, the temperature is monitored in real time through the internal temperature sensor and compared with the preset earphone temperature threshold. When the temperature exceeds the threshold, the earphone can actively turn off the wireless charging function to avoid further temperature increase due to continuous charging, thereby effectively preventing safety hazards and equipment damage caused by overheating. When the earphone temperature returns to the preset safety threshold range, the wireless charging function is automatically turned on again and generates continued charging information to ensure that the earphone charging process can be quickly restored after cooling down. This dynamic adjustment mechanism shortens the non-charging time of the earphone, improves charging efficiency while ensuring safety. The wireless charging transmitter indirectly senses the charging status of the earphone through the feedback behavior of the earphone (such as turning off or turning on the wireless charging function). The transmitter does not need to directly obtain the internal data of the earphone such as temperature, voltage and current, thereby avoiding the need for additional expansion of the communication protocol and improving the compatibility and adaptability of the wireless charging transmitter to different devices. The earphone monitors, judges and controls the temperature autonomously, and the transmitter only needs to respond to the feedback signal of the earphone. Such a design transfers the complex temperature control logic to the earphone end, reducing the design complexity of the wireless charging transmitter. By dynamically adjusting the charging status, the earphones are prevented from being continuously charged at high temperatures and affecting the battery life. At the same time, the charging time and power output are accurately controlled according to the real-time temperature status of the earphones, extending the service life of the earphone batteries. When the earphones are turned off for wireless charging, the transmitter automatically enters a low-power standby mode, which not only avoids ineffective energy transmission, but also reduces overheating or unnecessary power consumption caused by abnormal loads on the transmitter.

[0006] In a preferred example, the present application may be further configured as follows: judging whether there is a mobile device on the wireless charging coil of the mobile power source according to the wireless charging start information, and generating device connection information if the mobile device is on the wireless charging coil, and further comprising: If the mobile device does not exist on the wireless charging coil, mobile power supply shutdown information is generated.

[0007] By adopting the above technical solution, the power waste caused by no device on the wireless charging coil can be effectively avoided. When the wireless charging coil does not detect the mobile device, the mobile power shutdown information is generated in time, triggering the mobile power to enter a low-power standby or completely shut down state, thereby reducing the energy consumption of the mobile power and extending the power life.

[0008] In a preferred example, the present application can be further configured as follows: the device type is confirmed by the device information database for the device connection information to obtain the device type information; if the device type information is a headset, the headset charging mode information is generated, including: Acquire device power requirement information and device communication characteristic information from the device connection information; If the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database, confirming the type of the device and generating the device type information; If the device type information is a headset, the headset charging mode information is generated.

[0009] By adopting the above technical solution, the device power requirement information and communication feature information are extracted from the device connection information, and matched and analyzed with the headphone power requirement standard and communication protocol type in the device information database to ensure that the device type is accurately determined, thereby avoiding charging mismatch or functional abnormality caused by identification errors. If the device is confirmed to be a headphone, the adapted headphone charging mode information is further generated, including the charging power range, communication protocol adaptation rules and temperature control strategy, to meet the personalized charging needs of the headphone.

[0010] In a preferred example, the present application may be further configured as follows: if the device power requirement information meets the headset power requirement standard in the device information database and the device communication feature information meets the headset communication protocol type in the device information database, then confirming the type of the device and generating the device type information, further comprising: If the device power requirement information does not conform to the headset power requirement standard in the device information database and / or the device communication feature information does not conform to the headset communication protocol type in the device information database, confirming that the mobile device is a non-headphone device; If the mobile device is the non-headphone device, normal charging mode information is generated.

[0011] By adopting the above technical solution, by comparing the device power requirement information with the headphone power requirement standard, and matching the device communication feature information with the headphone communication protocol type, it is possible to accurately determine whether the device is a headphone. If the device does not meet the relevant standards for the headphone, it is promptly confirmed as a non-headphone device, and the adapted normal charging mode information is generated, thereby avoiding abnormal charging problems caused by misidentification. The generated normal charging mode information dynamically adjusts the output power and charging rules according to the power requirements and communication protocol characteristics of the non-headphone device, ensuring the charging stability and safety of the non-headphone device.

[0012] In a preferred example, the present application may be further configured as follows: the processing of earphone temperature information includes: According to the processing of the earphone temperature information, the current power output value is calculated by a set temperature control algorithm through the battery power, temperature and power demand of the earphone, and the current power output value is used as the wireless charging output power; If the earphone temperature information is restored to the preset earphone temperature threshold, earphone temperature recovery information is generated, and according to the earphone temperature recovery information, the wireless charging output power is restored to the preset normal charging power.

[0013] By adopting the above technical solution, the current power output value is generated by dynamically calculating the battery power, temperature and power demand of the headset, and it is used as the output power of wireless charging, so as to avoid further temperature rise caused by continuous charging at a fixed power under high temperature conditions, thereby effectively protecting the battery and other key components inside the headset. The set temperature control algorithm can analyze the actual state of the headset in real time. After the headset temperature returns to the preset safety threshold, it automatically restores the normal charging power output by generating headset temperature recovery information, ensuring the continuity and efficiency of the charging process, while avoiding unnecessary losses caused by frequent charging interruptions. Under high temperature conditions, the output power is adjusted to reduce the heat accumulation inside the headset, shorten the time for the headset to recover from high temperature to temperature, effectively reduce the interference of high temperature on the charging process, and improve the overall charging efficiency. By dynamically adjusting the power output, the battery is prevented from being damaged by excessive or low charging power, and the battery is kept charged within a safe power range, thereby extending the battery life and reducing the risk of battery capacity attenuation due to high temperature. Through the independent operation of the temperature control algorithm on the headset end, the complex temperature control logic and real-time detection are transferred to the headset end. The transmitter only needs to adjust the output power according to the feedback of the headset, without directly processing the temperature, voltage and current data of the headset. This design reduces the processing burden on the transmitter and improves the system's compatibility with different headphone devices.

[0014] In a preferred example, the present application can be further configured as follows: if the earphone temperature information is restored to the preset earphone temperature threshold, earphone temperature recovery information is generated, and according to the earphone temperature recovery information, the wireless charging output power is restored to the preset normal charging power, and further includes: If the earphone is removed from the wireless charging coil during the cooling process, generating earphone removal coil information; The wireless charging output power is suspended according to the earphone removal coil information.

[0015] By adopting the above technical solution, it is possible to effectively detect whether the earphones are removed from the wireless charging coil during the earphone cooling process, and timely generate earphone removal coil information to trigger the operation of pausing the wireless charging output power. This mechanism avoids the ineffective power output of continuing to supply power when the earphones are not in the normal charging position, prevents energy waste, and reduces the additional burden on the transmitting hardware. In addition, by generating earphone removal coil information and suspending power output, it is possible to effectively avoid overheating, overload and other problems caused by improper placement of the earphones, thereby improving the safety and efficiency of wireless charging.

[0016] In a preferred example, the present application can be further configured as follows: the headset wireless charging management method further includes: Obtaining battery voltage information and battery current information of the headset; It is determined whether the battery voltage information and the battery current information have charging anomalies through a preset charging state detection model. If the battery voltage information and the battery current information have charging anomalies, charging protection measure information is generated.

[0017] By adopting the above technical solution, by obtaining the battery voltage information and battery current information of the headset, and combining with the preset charging status detection model, it is possible to accurately determine whether there is an abnormality in the charging process, such as overvoltage or overcurrent abnormality. Once an abnormality is detected, charging protection measures information is generated in a timely manner, and operations such as reducing power output and suspending charging are implemented, thereby effectively avoiding device damage or safety hazards that may be caused during the charging process.

[0018] The second object of the invention is achieved by the following technical solutions: A headset wireless charging management device, the headset wireless charging management device comprising: A wireless charging start information acquisition module is used to acquire the wireless charging start information of the mobile power supply; A device connection detection and confirmation module, used to determine whether there is a mobile device on the wireless charging coil of the mobile power supply according to the wireless charging startup information, and generate device connection information if the mobile device is on the wireless charging coil; A device type identification and charging mode generation module, used to confirm the device type of the device connection information through a device information database to obtain device type information, and if the device type information is a headset, generate headset charging mode information; An earphone charging and temperature monitoring module, used to charge the earphone according to the earphone charging mode information, and during the charging process, the system obtains earphone temperature information in real time; The temperature threshold comparison and charging status management module is used to compare the temperature information collected inside the earphone with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and a continue charging information is generated.

[0019] By adopting the above technical solution, when the earphone is charging, the temperature is monitored in real time through the internal temperature sensor and compared with the preset earphone temperature threshold. When the temperature exceeds the threshold, the earphone can actively turn off the wireless charging function to avoid further temperature increase due to continuous charging, thereby effectively preventing safety hazards and equipment damage caused by overheating. When the earphone temperature returns to the preset safety threshold range, the wireless charging function is automatically turned on again and generates continued charging information to ensure that the earphone charging process can be quickly restored after cooling down. This dynamic adjustment mechanism shortens the non-charging time of the earphone, improves charging efficiency while ensuring safety. The wireless charging transmitter indirectly senses the charging status of the earphone through the feedback behavior of the earphone (such as turning off or turning on the wireless charging function). The transmitter does not need to directly obtain the internal data of the earphone such as temperature, voltage and current, thereby avoiding the need for additional expansion of the communication protocol and improving the compatibility and adaptability of the wireless charging transmitter to different devices. The earphone monitors, judges and controls the temperature autonomously, and the transmitter only needs to respond to the feedback signal of the earphone. Such a design transfers the complex temperature control logic to the earphone end, reducing the design complexity of the wireless charging transmitter. By dynamically adjusting the charging status, the earphones are prevented from being continuously charged at high temperatures and affecting the battery life. At the same time, the charging time and power output are accurately controlled according to the real-time temperature status of the earphones, extending the service life of the earphone batteries. When the earphones are turned off for wireless charging, the transmitter automatically enters a low-power standby mode, which not only avoids ineffective energy transmission, but also reduces overheating or unnecessary power consumption caused by abnormal loads on the transmitter.

[0020] The third objective of the present application is achieved through the following technical solutions: An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned headset wireless charging management method when executing the computer program.

[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned headset wireless charging management method are implemented.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. When the earphones are charging, the temperature is monitored in real time through the internal temperature sensor and compared with the preset earphone temperature threshold. When the temperature exceeds the threshold, the earphones can actively turn off the wireless charging function to avoid further temperature increase due to continuous charging, thereby effectively preventing safety hazards and equipment damage caused by overheating. When the earphone temperature returns to the preset safety threshold range, the wireless charging function is automatically turned on again and generates a continuous charging message to ensure that the earphone charging process can be quickly restored after cooling down. This dynamic adjustment mechanism shortens the non-charging time of the earphones, improving the charging efficiency while ensuring safety. The wireless charging transmitter indirectly senses the charging status of the earphones through the feedback behavior of the earphones (such as turning off or on the wireless charging function). The transmitter does not need to directly obtain the internal data of the earphones such as temperature, voltage and current, thereby avoiding the need for additional expansion of the communication protocol and improving the compatibility and adaptability of the wireless charging transmitter to different devices. The earphones monitor, judge and control the temperature autonomously, and the transmitter only needs to respond to the feedback signal of the earphones. This design transfers the complex temperature control logic to the earphone end, reducing the design complexity of the wireless charging transmitter. By dynamically adjusting the charging status, the earphones are prevented from being continuously charged at high temperatures and affecting the battery life. At the same time, the charging time and power output are accurately controlled according to the real-time temperature status of the earphones, extending the service life of the earphone batteries. When the earphones are turned off for wireless charging, the transmitter automatically enters a low-power standby mode, which not only avoids ineffective energy transmission, but also reduces overheating or unnecessary power consumption caused by abnormal loads on the transmitter. 2. By dynamically calculating the current power output value based on the battery level, temperature and power requirements of the headset, the current power output value is generated and used as the output power of wireless charging, so as to avoid further temperature rise caused by continuous charging at a fixed power under high temperature conditions, thereby effectively protecting the battery and other key components inside the headset. The set temperature control algorithm can analyze the actual status of the headset in real time. After the headset temperature returns to the preset safety threshold, it automatically restores the normal charging power output by generating headset temperature recovery information, ensuring the continuity and efficiency of the charging process, while avoiding unnecessary losses caused by frequent charging interruptions. Under high temperature conditions, the output power is adjusted to reduce the heat accumulation inside the headset, shorten the time for the headset to recover from high temperature, effectively reduce the interference of high temperature on the charging process, and improve the overall charging efficiency. By dynamically adjusting the power output, the battery is prevented from being damaged by excessive or low charging power, and the battery is kept charged within the safe power range, thereby extending the battery life and reducing the risk of battery capacity attenuation due to high temperature. Through the independent operation of the temperature control algorithm on the headset end, the complex temperature control logic and real-time detection are transferred to the headset end. The transmitter only needs to adjust the output power according to the feedback of the headset, without directly processing the temperature, voltage and current data of the headset. This design reduces the processing burden on the transmitter and improves the system's compatibility with different headphone devices; 3. It can effectively detect whether the earphones are removed from the wireless charging coil during the earphone cooling process, and timely generate earphone removal coil information to trigger the operation of suspending the wireless charging output power. This mechanism avoids the invalid power output of continuing to supply power when the earphones are not in the normal charging position, prevents energy waste, and reduces the additional burden on the transmitter hardware. In addition, by generating earphone removal coil information and suspending power output, it can effectively avoid overheating, overload and other problems caused by improper placement of the earphones, thereby improving the safety and efficiency of wireless charging. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flow chart of a method for managing wireless charging of headphones in one embodiment of the present application; Figure 2 This is a flowchart for implementing step S20 in the headset wireless charging management method in one embodiment of the present application; Figure 3 This is a flowchart for implementing step S30 in the headset wireless charging management method in one embodiment of the present application; Figure 4 This is a flowchart for implementing step S302 in the headset wireless charging management method in one embodiment of the present application; Figure 5 This is a flowchart for implementing step S40 in the headset wireless charging management method in one embodiment of the present application; Figure 6 This is a flowchart for implementing step S402 in the headset wireless charging management method in one embodiment of the present application; Figure 7 This is a flowchart of the implementation after step S50 in the headset wireless charging management method in one embodiment of the present application; Figure 8 This is a principle block diagram of a headset wireless charging management device in one embodiment of the present application; Fig. 9 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application is further described in detail below in conjunction with the accompanying drawings.

[0025] In one embodiment, if Figure 1 As shown, the present application discloses a method for managing wireless charging of headphones, which specifically includes the following steps: S10: Acquire wireless charging start information of the mobile power supply.

[0026] Specifically, the start signal of the mobile power supply is detected by a button trigger method. When the user presses the start button, the main control unit of the mobile power supply captures the signal change generated by pressing the button through the voltage detection circuit, thereby activating the power management module; or it is started by detecting the Q value of the wireless charging system, and the loss ratio of the resonant circuit is obtained by using the detection circuit. The Q value is calculated by measuring the stored energy and the lost energy in one cycle. If the Q value is greater than the preset start threshold, the mobile power supply is awakened and enters the working state. If the Q value is lower than the start threshold, the standby state is maintained, and a fast response to the start signal is ensured through a hardware interrupt mechanism.

[0027] S20: judging whether there is a mobile device on the wireless charging coil of the mobile power source according to the wireless charging start information, and generating device connection information if there is a mobile device on the wireless charging coil.

[0028] Specifically, after the mobile power supply is started, a high-frequency alternating magnetic field is emitted through the wireless charging coil to detect whether the receiving coil enters the magnetic field range. If the receiving coil enters the magnetic field, the receiving resonant circuit will generate an induced current and send a communication signal to the transmitter through load regulation. The communication signal includes signal strength information and device identification information. The transmitter verifies whether the communication protocol complies with the standard (such as 0x01 package or 0x71 package) by parsing the received signal content, extracting the device identification field and signal strength information, and generating device connection information when the signal verification passes.

[0029] S30: Confirm the device type of the device connection information through the device information database to obtain the device type information. If the device type information is a headset, generate the headset charging mode information Specifically, the device connection information fed back by the receiving end is parsed, and the device identification field is compared with the standard in the device information database. The comparison process includes extracting the key bytes in the device identification information. If the key bytes match the characteristics of the headphone device, such as the second byte of the message of the 0x71 package (identification package) is 0x00, the third byte is 0x5A, and the seventh byte is not 0x67, 0x68 or 0x69, and no extended identification package (such as the 0x81 package) is received, then the device is preliminarily confirmed to be a headphone. By further analyzing the power requirement information, if the power requirement is less than the maximum power limit of the headphone, it is finally confirmed that the device is a headphone type, and the headphone charging mode information is generated. The charging mode information includes charging power parameters, communication protocol support rules and temperature control strategies.

[0030] S40: charging the earphone according to the earphone charging mode information, and during the charging process, the system obtains earphone temperature information in real time.

[0031] In this embodiment, the system refers to an overall working mechanism composed of a wireless charging transmitter and headphones, wherein the headphones detect the internal temperature in real time and adjust the charging behavior through a built-in temperature sensor, while the wireless charging transmitter dynamically adjusts the charging power according to the load characteristic changes or communication signals fed back by the headphones. The two together monitor and manage the charging process of the headphones to ensure the safety and stability of charging.

[0032] Specifically, the wireless charging transmitter adjusts the frequency and duty cycle of the PWM signal according to the power parameters set by the headset charging mode information to provide charging power for the headset. The temperature of its key components is monitored in real time by a temperature sensor inside the headset. The temperature value detected by the headset will not be transmitted to the transmitter through the wireless charging communication protocol. Instead, the headset processes the temperature data internally according to the temperature control strategy and indirectly reflects the temperature status by adjusting the load characteristics. The transmitter adjusts the output power according to the load feedback signal of the headset to ensure the safety of the charging process.

[0033] S50: Compare the temperature information collected inside the earphone with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and a continue charging information is generated.

[0034] Specifically, the temperature sensor inside the earphone collects the current temperature information in real time, and compares the collected temperature data with the preset earphone temperature threshold item by item. The comparison process adopts a logical judgment mechanism. When the temperature information exceeds the threshold, the earphone generates and processes the earphone temperature information and immediately triggers the high temperature protection mode. At this time, the earphone stops receiving the wireless charging power, and disconnects the communication connection with the wireless charging transmitter, and enters the cooling state; during the cooling process, the control unit inside the earphone monitors the temperature change, and re-detects whether the temperature returns to the safe range at a preset time interval until the temperature is lower than the temperature threshold. When the earphone temperature returns to the threshold range, the earphone generates a charge continuation message, re-establishes the communication connection with the wireless charging transmitter, and sends a charge resumption instruction. The wireless charging transmitter restores the output power to the normal range according to the earphone charging mode information, and the earphone enters a safe charging state.

[0035] In one embodiment, if Figure 2 As shown, in step S20, that is, according to the wireless charging start information, it is determined whether there is a mobile device on the wireless charging coil of the mobile power supply. If there is a mobile device on the wireless charging coil, the device connection information is generated, which also includes: S201: If there is no mobile device on the wireless charging coil, generating mobile power shutdown information.

[0036] Specifically, after detecting the wireless charging startup information, a high-frequency magnetic field is emitted through the wireless charging coil. The transmitter determines in real time whether any receiving device has entered the magnetic field range through the feedback signal of the resonant circuit. During the detection process, the transmitter confirms the presence of the device by analyzing whether a signal that complies with the communication protocol (such as 0x01 package or 0x71 package) is received. If no valid signal is detected within the set time window, it is considered that there is no mobile device on the wireless charging coil. At this time, the controller triggers the shutdown logic and generates mobile power shutdown information.

[0037] In one embodiment, if Figure 3 As shown, in step S30, the device type is confirmed for the device connection information through the device information database to obtain the device type information. If the device type information is a headset, the headset charging mode information is generated, including: S301: Acquire device power requirement information and device communication characteristic information from device connection information.

[0038] Specifically, by parsing the communication protocol message in the device connection information, the device identification field and the power requirement field in the data packet are extracted. The power requirement field contains the charging power requirement range and the current power request value of the device. During the parsing process, the content of the message is parsed byte by byte, the integrity and consistency of the data structure are verified, and the validity of the data is verified in combination with the checksum to ensure that the power requirement information is accurate. The extraction of device communication feature information is performed by analyzing the protocol type, field identifier, and additional attribute field of the data packet, including determining whether the data packet has specific key identification characteristics, such as whether it contains an extended identifier (such as a 0x81 package) or has a specific field value (such as the key byte value of a 0x71 package). The extracted power requirement information and communication feature information are processed by the protocol parsing module, converted into structured information, and stored in a temporary cache in the form of key-value pairs, providing a basis for subsequent comparison of device types.

[0039] S302: If the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database, then confirm the type of the device and generate device type information.

[0040] Specifically, the extracted power requirement information is compared with the headset power requirement standard recorded in the device information database. The comparison process includes parsing the value of the power requirement field and comparing it with the upper and lower limits of the headset power requirement stored in the database one by one to confirm whether the power requirement of the device is within the headset standard range; if the power requirement is within the standard range, the power requirement information is considered to meet the headset characteristics. In addition, the device communication feature information and the headset communication protocol type in the device information database are checked item by item, including verifying whether the communication protocol message contains fields that meet the headset characteristics (such as a specific identification package 0x71), whether there is an extended identification package that is not supported by the headset (such as a 0x81 package), and whether the key field value matches the headset communication identification rule. During the verification process, the feature field is comprehensively judged through logical rules to ensure the rigor of the matching conditions. If both the power requirement information and the communication feature information meet the headset standard, the device type is confirmed to be a headset, and information that the device type is a headset is generated.

[0041] S303: If the device type information is earphone, generate earphone charging mode information.

[0042] Specifically, after confirming that the device is a headset according to the device type information, the charging mode parameters corresponding to the headset are retrieved from the device information database, including the maximum charging power supported by the headset, the communication protocol type, the high temperature protection strategy, and the charging recovery rules. Since the wireless charging transmitter cannot directly obtain the temperature, voltage, and current information inside the headset, nor can it transmit these data through the communication protocol, the charging mode information sets the response rules for the headset feedback behavior. For example, the headset detects the temperature internally. When the temperature exceeds the preset threshold, the headset will actively adjust the load characteristics, such as changing the resonant frequency or impedance value, to indirectly reflect the abnormal temperature state to the transmitter. The headset charging mode information contains the logic for processing such feedback. When the transmitter detects a load change, it enters the intermittent charging mode, and provides the headset with sufficient cooling time by reducing the output power or temporarily stopping charging. The headset charging mode information also includes the rules for resuming charging at high temperature. When the internal temperature of the headset returns to a safe range, the headset will adjust the load characteristics or re-establish communication to notify the transmitter that charging can be resumed. The transmitter adjusts the output power to the normal range according to the charging mode information and resumes the charging process.

[0043] Further, after confirming the headset according to the device type information, the charging mode information of the headset is set, and the wireless charging mobile power supply enters the charging mode of cyclic timing switch output power. This mode is controlled by the PWM peripheral module of the MCU. When the PWM signal is turned off, the power output stops; when the PWM signal is turned on, the output frequency is set to 128KHz and the duty cycle is 30%. A complete cycle is divided into two steps: the first step is a short-term power output, which lasts for 100 microseconds and then turns off, enters a 250-millisecond standby state, and cycles 4 times; the second step is a single longer power output, which lasts for 90 milliseconds and then turns off. During each power output, the MCU collects the output current value in real time through a high-precision ADC, and records the dynamic changes in the output power to analyze the actual charging needs of the headset. By calculating the current difference between the off state and the working state (working current-off current), the power output is dynamically adjusted to optimize the charging efficiency of the headset. In addition, during the power output gap, the mobile power supply enters a low-power standby mode to reduce energy consumption. When the headset is in a high-temperature state, the power output is gradually reduced by adjusting the PWM duty cycle, and the intermittent charging mode is entered to control the headset temperature. When the earphone temperature returns to a safe range, it automatically adjusts to normal charging mode and resumes continuous power output.

[0044] In one embodiment, if Figure 4 As shown, in step S302, if the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database, then the type of the device is confirmed and the device type information is generated, which also includes: S3021: If the device power requirement information does not conform to the headset power requirement standard in the device information database and / or the device communication feature information does not conform to the headset communication protocol type in the device information database, then the mobile device is confirmed to be a non-headphone device.

[0045] Specifically, the power requirement field in the device connection information is compared with the headphone power requirement standard in the device information database. If the comparison result shows that the power requirement exceeds the standard range of the headphone, the power requirement mismatch information is recorded, and the device communication feature field is parsed at the same time, including detecting whether the data packet contains an extended identification packet (such as 0x81 packet) or determining whether the value of a specific keyword byte meets the headphone communication characteristics; if it is detected that the communication characteristics do not meet the headphone protocol standard, the communication protocol mismatch information is recorded. When any of the power requirement information or the communication feature information does not meet the headphone standard, the device is immediately confirmed as a non-headphone device and marked as a normal charging device.

[0046] S3022: If the mobile device is not a headphone device, normal charging mode information is generated.

[0047] Specifically, after confirming that the device is not a headphone device, the adapted normal charging mode parameters are retrieved from the database according to the power requirements and communication characteristics recorded in the device connection information. The mode information includes the maximum supported power of the device, the standard charging protocol type and the safety protection strategy. The charging mode information is generated in combination with the actual detected device parameters. The generated normal charging mode information specifically includes PWM control parameters, charging current range and overcurrent protection threshold. At the same time, a basic temperature monitoring strategy is set to ensure the safety of device charging.

[0048] In one embodiment, if Figure 5 As shown, in step S40, the earphone temperature information is processed, including: S401: According to the processed earphone temperature information, the current power output value is calculated through the battery power, temperature and power demand of the earphone through a set temperature control algorithm, and the current power output value is used as the wireless charging output power.

[0049] Specifically, when the earphone temperature exceeds the high temperature threshold, the current power output value is calculated based on the real-time data fed back by the earphone, including battery power, temperature information and power demand, combined with the dynamic temperature control algorithm optimized in the wireless charging system. The temperature control algorithm is based on the following formula: , where P output is the current power output value, P max is the maximum charging power supported by the headset, T is the current temperature of the headset, and T safe is the upper limit of the safe temperature range, T max is the maximum allowable critical temperature, P safe To prevent further temperature rise, a safety power threshold is set. α is the sensitivity index of temperature to power regulation, which is used to dynamically adjust the attenuation rate of output power. β is the power priority coefficient, which is used to increase the charging power in low-power state. g(E) is the nonlinear adjustment function of battery power, which provides additional power compensation when the power is less than 20%. When the earphone temperature approaches T max When the algorithm first reduces the output power to P saf e to avoid further temperature rise. At the same time, for low battery conditions (such as less than 20%), the nonlinear compensation function g(E) is used to provide appropriate charging power boost to take into account the battery requirements and temperature safety of the headset. The calculated power value is applied to the wireless charging output end in real time through the PWM signal, and the output parameters are dynamically adjusted to adapt to the temperature and power changes of the headset, ensuring that the charging process is both safe and efficient.

[0050] S402: If the earphone temperature information is restored to a preset earphone temperature threshold, earphone temperature recovery information is generated, and the wireless charging output power is restored to a preset normal charging power according to the earphone temperature recovery information.

[0051] Specifically, by monitoring the temperature information fed back by the earphones in real time and comparing it with the preset earphone temperature threshold, when the earphone temperature drops below the high temperature threshold, the current time point is recorded and the earphone temperature recovery information is generated. The information includes the temperature value, battery charge status and power demand value at the time of recovery. The wireless charging output power is then adjusted to the preset normal charging power. Specifically, the maximum supported charging power parameters recorded in the earphone charging mode information are read, and the duty cycle and frequency of the PWM control signal are reset to restore normal wireless charging output.

[0052] In one embodiment, if Figure 6 As shown, in step S402, that is, if the earphone temperature information is restored to the preset earphone temperature threshold, the earphone temperature recovery information is generated, and the wireless charging output power is restored to the preset normal charging power according to the earphone temperature recovery information, and further includes: S4021: If the earphone is removed from the wireless charging coil during the cooling process, earphone removal coil information is generated.

[0053] Specifically, during the cooling process of the earphone, the wireless charging mobile power supply controls the output power in real time through the PWM peripheral of the MCU, and detects the change of the output current through the high-precision ADC. When the earphone is removed from the charging coil, the transmitter detects a significant change in the load characteristics, such as an instantaneous drop in the output current or an offset in the resonant frequency. At this time, the PWM signal controls the output power to be turned off, and the mobile power supply enters the low-power detection mode, cyclically outputting the power to verify the load status. In the cyclic mode, the transmitter executes according to a preset two-step cycle: the first step is a short-term power output, which lasts for 100 microseconds and is turned off for 250 milliseconds. By calculating the difference between the working current and the shutdown current (working current-shutdown current), if the calculation result is lower than the threshold set by the software (such as 130), it is determined that the earphone has left the coil; the second step is a long-term power output, which lasts for 90 milliseconds, to verify whether the load has returned to normal. If all detection results indicate that the earphone is not within the range of the charging coil during the entire cycle, the earphone removal coil information is generated.

[0054] S4022: Suspend the wireless charging output power according to the earphone removal coil information.

[0055] Specifically, after generating the information that the earphone is removed from the coil, the PWM signal is controlled by the control module of the wireless charging transmitter to turn off the output power signal. Specifically, the transmitter sets the PWM duty cycle to 0, completely stops the energy transmission of wireless charging, and puts the power module of the transmitter into a low-power standby state. At the same time, before the earphone is put back into the coil, the high-frequency magnetic field is no longer emitted to prevent energy loss and interference.

[0056] In one embodiment, if Figure 7As shown, after step S50, the headset wireless charging management method further includes: S501: Obtaining battery voltage information and battery current information of the headset.

[0057] Specifically, the battery voltage information and current information are acquired in real time through the wireless charging communication protocol.

[0058] S502: Determine whether there is charging anomaly in the battery voltage information and the battery current information through a preset charging state detection model, and if there is anomaly in the battery voltage information and the battery current information, generate charging protection measure information.

[0059] Specifically, the acquired charging status information is input into a preset charging status detection model, which performs charging abnormality analysis based on comprehensive judgment rules of multiple parameters. The detection model includes the following main judgment conditions: If the battery voltage exceeds the normal range (for example, lower than 3.0V or higher than 4.2V), it is judged as a voltage abnormality; if the charging current fluctuation exceeds the set stability threshold, it is judged as a current abnormality; when the detection model outputs an abnormal result, charging protection measures information is immediately generated, and the protection measures information includes instructions to reduce the charging power, stop charging intermittently, or stop charging completely.

[0060] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0061] In one embodiment, a headset wireless charging management device is provided, and the headset wireless charging management device corresponds to the headset wireless charging management method in the above embodiment. Figure 8 As shown, the headset wireless charging management device includes a wireless charging startup information acquisition module, a device connection detection and confirmation module, a device type identification and charging mode generation module, a headset charging and temperature monitoring module, and a temperature threshold comparison and charging status management module. The functional modules are described in detail as follows: A wireless charging start information acquisition module is used to acquire the wireless charging start information of the mobile power supply; The device connection detection and confirmation module is used to determine whether there is a mobile device on the wireless charging coil of the mobile power supply according to the wireless charging startup information, and generate device connection information if there is a mobile device on the wireless charging coil; The device type identification and charging mode generation module is used to confirm the device type of the device connection information through the device information database to obtain the device type information. If the device type information is a headset, the headset charging mode information is generated; The earphone charging and temperature monitoring module is used to charge the earphone according to the earphone charging mode information, and during the charging process, the system obtains the earphone temperature information in real time; The temperature threshold comparison and charging status management module is used to compare the temperature information collected inside the earphone with the preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone will turn off the wireless charging function and generate and process the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function will be turned on and the continue charging information will be generated.

[0062] Optionally, the device connection detection and confirmation module also includes: The mobile power shutdown submodule is used to generate mobile power shutdown information if there is no mobile device on the wireless charging coil.

[0063] Optionally, the device type identification and charging mode generation module includes: The device information extraction submodule is used to obtain device power requirement information and device communication characteristic information from device connection information; A device type confirmation submodule, used to confirm the type of the device and generate device type information if the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database; The earphone charging mode generating submodule is used to generate earphone charging mode information if the device type information is earphone.

[0064] Optionally, the device type confirmation submodule includes: a device type exclusion submodule, configured to determine that the mobile device is a non-headphone device if the device power requirement information does not conform to the headphone power requirement standard in the device information database and / or the device communication feature information does not conform to the headphone communication protocol type in the device information database; The non-headphone charging mode generating submodule is used to generate normal charging mode information if the mobile device is a non-headphone device.

[0065] Optional, earphone charging and temperature monitoring module includes: The dynamic power output calculation submodule is used to calculate the current power output value according to the battery power, temperature and power demand of the headset according to the processing of the headset temperature information, and use the current power output value as the wireless charging output power through the set temperature control algorithm; The power recovery control submodule is used to generate earphone temperature recovery information if the earphone temperature information is restored to a preset earphone temperature threshold, and restore the wireless charging output power to a preset normal charging power according to the earphone temperature recovery information.

[0066] Optionally, the power recovery control submodule further includes: An earphone removal detection unit, configured to generate earphone removal coil information if the earphone is removed from the wireless charging coil during the cooling process; The wireless charging pause control unit is used to pause the wireless charging output power according to the earphone removal coil information.

[0067] Optionally, the temperature threshold comparison and charging status management module further includes: The health status acquisition submodule is used to obtain the battery voltage information and battery current information of the headset; The earphone protection submodule is used to determine whether there is charging anomaly in the battery voltage information and the battery current information through a preset charging status detection model, and if there is an abnormality in the battery voltage information and the battery current information, generate charging protection measure information.

[0068] For the specific definition of the headset wireless charging management device, please refer to the definition of the headset wireless charging management method above, which will not be repeated here. Each module in the above headset wireless charging management device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the electronic device in hardware form, or stored in the memory of the electronic device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0069] In one embodiment, an electronic device is provided. The electronic device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The electronic device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used for a device information database. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for managing wireless charging of headphones is implemented.

[0070] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Get the wireless charging start information of the mobile power supply; According to the wireless charging start information, it is determined whether there is a mobile device on the wireless charging coil of the mobile power supply, and if there is a mobile device on the wireless charging coil, device connection information is generated; Confirm the device type of the device connection information through the device information database to obtain the device type information. If the device type information is a headset, generate the headset charging mode information; The earphone is charged according to the earphone charging mode information, and during the charging process, the system obtains the earphone temperature information in real time; The earphone temperature information is compared with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone temperature information is generated and processed. If the earphone temperature information is lower than the preset earphone temperature threshold, the charging continuation information is generated.

[0071] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Get the wireless charging start information of the mobile power supply; According to the wireless charging start information, it is determined whether there is a mobile device on the wireless charging coil of the mobile power supply, and if there is a mobile device on the wireless charging coil, device connection information is generated; Confirm the device type of the device connection information through the device information database to obtain the device type information. If the device type information is a headset, generate the headset charging mode information; The earphone is charged according to the earphone charging mode information, and during the charging process, the system obtains the earphone temperature information in real time; The temperature information collected inside the earphone is compared with the preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and the continue charging information is generated.

[0072] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0073] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0074] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for managing wireless charging of headphones, characterized in that: The headset wireless charging management method comprises: Get the wireless charging start information of the mobile power supply; According to the wireless charging start information, determining whether there is a mobile device on the wireless charging coil of the mobile power supply, and if the mobile device is on the wireless charging coil, generating device connection information; Confirming the device type of the device connection information through a device information database to obtain device type information, and if the device type information is a headset, generating headset charging mode information; The headset is charged according to the headset charging mode information, and during the charging process, the system obtains the headset temperature information in real time; The temperature information collected inside the earphone is compared with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and a continue charging information is generated.

2. The headset wireless charging management method according to claim 1, characterized in that: The step of determining whether there is a mobile device on the wireless charging coil of the mobile power supply according to the wireless charging start information, and generating device connection information if the mobile device is on the wireless charging coil, further includes: If the mobile device does not exist on the wireless charging coil, mobile power supply shutdown information is generated.

3. The headset wireless charging management method according to claim 1, characterized in that: The device type is confirmed by the device information database for the device connection information to obtain the device type information, and if the device type information is a headset, the headset charging mode information is generated, including: Acquire device power requirement information and device communication characteristic information from the device connection information; If the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database, confirming the type of the device and generating the device type information; If the device type information is a headset, the headset charging mode information is generated.

4. The headset wireless charging management method according to claim 3, characterized in that: If the device power requirement information meets the headset power requirement standard in the device information database and the device communication characteristic information meets the headset communication protocol type in the device information database, then confirming the type of the device and generating the device type information further includes: If the device power requirement information does not conform to the headset power requirement standard in the device information database and / or the device communication feature information does not conform to the headset communication protocol type in the device information database, confirming that the mobile device is a non-headphone device; If the mobile device is the non-headphone device, normal charging mode information is generated.

5. The headset wireless charging management method according to claim 1, characterized in that: The processing of earphone temperature information includes: According to the processing of the earphone temperature information, the current power output value is calculated by a set temperature control algorithm through the battery power, temperature and power demand of the earphone, and the current power output value is used as the wireless charging output power; If the earphone temperature information is restored to the preset earphone temperature threshold, earphone temperature recovery information is generated, and according to the earphone temperature recovery information, the wireless charging output power is restored to the preset normal charging power.

6. The headset wireless charging management method according to claim 5, characterized in that: If the earphone temperature information is restored to the preset earphone temperature threshold, earphone temperature recovery information is generated, and according to the earphone temperature recovery information, the wireless charging output power is restored to the preset normal charging power, further comprising: If the earphone is removed from the wireless charging coil during the cooling process, generating earphone removal coil information; The wireless charging output power is suspended according to the earphone removal coil information.

7. The headset wireless charging management method according to claim 1, characterized in that: The headset wireless charging management method further includes: Obtaining battery voltage information and battery current information of the headset; It is determined whether the battery voltage information and the battery current information have charging anomalies through a preset charging state detection model. If the battery voltage information and the battery current information have charging anomalies, charging protection measure information is generated.

8. A headset wireless charging management device, characterized in that: The headset wireless charging management device comprises: A wireless charging start information acquisition module is used to acquire the wireless charging start information of the mobile power supply; A device connection detection and confirmation module, used to determine whether there is a mobile device on the wireless charging coil of the mobile power supply according to the wireless charging startup information, and generate device connection information if the mobile device is on the wireless charging coil; A device type identification and charging mode generation module, used to confirm the device type of the device connection information through a device information database to obtain device type information, and if the device type information is a headset, generate headset charging mode information; An earphone charging and temperature monitoring module, used to charge the earphone according to the earphone charging mode information, and during the charging process, the system obtains earphone temperature information in real time; The temperature threshold comparison and charging status management module is used to compare the temperature information collected inside the earphone with a preset earphone temperature threshold. If the earphone temperature information exceeds the preset earphone temperature threshold, the earphone turns off the wireless charging function and generates and processes the earphone temperature information. If the earphone temperature information is lower than the preset earphone temperature threshold, the wireless charging function is turned on and a continue charging information is generated.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the headset wireless charging management method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the headset wireless charging management method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Charging control method and circuit, electronic equipment and computer readable storage medium

    CN111064241A

  • Wireless charging method and device, computer equipment and medium

    CN115333251A

  • Wireless charging circuit, chip, equipment, charging method, device and storage medium

    CN117394481A

  • Wireless charging output method and system of mobile power supply, and storage medium

    CN117977768A

  • Intelligent prevention and control portable charging pile

    CN118322909A