Charging control method, device, apparatus, and storage medium
Patent Information
- Application Number
- CN202510473415.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2026-10-27
AI Technical Summary
[0004]本申请的主要目的在于提供一种充电控制方法、装置、设备及存储介质,旨在解决如何以较低的成本实现对可穿戴设备的充电触点处液体残留及误触情况的准确检测,从而在确保安全的前提下为可穿戴设备充电的技术问题
[0040]本申请提供了一种充电控制方法,本申请通过所述充电检测电路对所述充电触点进行负载接触检测,确定所述充电触点处的接触负载信息;根据所述接触负载信息确定所述充电触点处的负载接触状态;在所述负载接触状态为有效连接状态的情况下,通过所述充电触点对有效接触负载进行充电控制,所述有效接触负载通过所述充电触点与所述充电控制设备电性连接。通过上述方式,通过分立元器件构建的检测电路,实现了触点状态双重安全判定,通过精确识别充电触点处的有效连接状态,在确保无液体残留和非误触的情况下才启动充电动作,有效避免了因液体或误触引起的短路风险和其他安全隐患,不仅降低了成本,还提升了充电过程的安全性,同时极大地提升了用户体验。
Smart Images

Figure CN122993147A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging technology, and in particular to charging control methods, devices, equipment and storage media. Background Technology
[0002] With the trend towards lighter wearable devices, such as AR (Augmented Reality) glasses, the limited battery capacity of the devices themselves necessitates the use of external charging cases for recharging. Current technologies for AR glasses and charging cases generally employ contact-based charging solutions, but this presents two significant safety hazards in practical use: First, when conductive liquids such as sweat remain on the contact areas during user activity, direct charging can easily lead to short circuits or electrochemical corrosion. Traditional liquid detection solutions based on USB-C interfaces suffer from poor compatibility and high costs due to differences in contact shape. Second, as a constant voltage output terminal, the charging case, if lacking accurate load recognition when a person accidentally touches the contact points, can easily trigger incorrect power supply, causing personal injury. Existing solutions often rely on customized chips for dual protection, significantly increasing hardware costs and hindering widespread application in consumer-grade AR devices.
[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this application is to provide a charging control method, apparatus, device, and storage medium, which aims to solve the technical problem of how to accurately detect liquid residue and accidental contact at the charging contacts of wearable devices at a low cost, thereby charging wearable devices while ensuring safety.
[0005] To achieve the above objectives, this application proposes a charging control method, the method comprising:
[0006] The charging detection circuit performs load contact detection on the charging contacts to determine the contact load information at the charging contacts.
[0007] The load contact state at the charging contact is determined based on the contact load information.
[0008] When the load is in a valid connection state, the validly contacted load is charged via the charging contacts, and the validly contacted load is electrically connected to the charging control device via the charging contacts.
[0009] In one embodiment, the step of performing load contact detection on the charging contacts through the charging detection circuit to determine the contact load information at the charging contacts includes:
[0010] The charging detection circuit is controlled to perform load contact detection on the charging contacts according to a preset detection cycle, and the circuit voltage division corresponding to the charging detection circuit within the preset detection cycle is obtained.
[0011] Find the contact load corresponding to the voltage division of the circuit in the voltage divider object mapping relationship. The voltage divider object mapping relationship is used to characterize the mapping relationship between each circuit voltage division and each contact load.
[0012] The contact load information at the charging contact is determined based on the contact load corresponding to the voltage division of the circuit.
[0013] In one embodiment, the charging detection circuit includes a sampling amplification unit;
[0014] The step of controlling the charging detection circuit to perform load contact detection on the charging contacts according to a preset detection cycle, and obtaining the circuit voltage divider corresponding to the charging detection circuit within the preset detection cycle, includes:
[0015] The charging detection circuit is activated based on a high-level signal within a preset detection period;
[0016] When the charging detection circuit is turned on, the voltage of the charging detection circuit is sampled by the sampling amplification unit to determine the circuit voltage division corresponding to the charging detection circuit.
[0017] In one embodiment, the step of determining the load contact state at the charging contact based on the contact load information includes:
[0018] When the contact load information indicates that there is a contact load and the contact load is a valid contact load, the load contact state at the charging contact is determined to be a valid connection state.
[0019] When the contact load information indicates that there is a contact load but the contact load is invalid, the load contact state at the charging contact is determined to be an invalid connection state.
[0020] When the contact load information indicates that there is no contact load, the load contact state at the charging contact is determined to be a no-load connection state.
[0021] In one embodiment, the charging control device further includes a charging unit;
[0022] The step of controlling the charging of the effectively contacting load through the charging contacts includes:
[0023] The charging unit is controlled to send load charging information to the effectively contacting load through the charging contacts;
[0024] When the charging unit receives load reception information sent by the effective contact load through the charging contact, it determines the current load power of the effective contact load based on the load reception information.
[0025] Based on the current load power, the charging control is performed on the effectively contacting load through the charging contacts.
[0026] In one embodiment, the step of controlling the charging of the effectively contacting load through the charging contacts based on the current load power includes:
[0027] If the current load power is not the preset power, obtain the current external connection status of the charging unit;
[0028] When the current external power supply is absent, the current device power of the charging unit is obtained;
[0029] When the current device power level is greater than a preset power threshold, the charging unit is controlled to charge the effective contact load through the charging contacts.
[0030] In one embodiment, the step of controlling the charging of the effectively contacting load through the charging contacts based on the current load power includes:
[0031] When the current load power is a preset power, the charging unit is controlled to send power reading information to the effectively contacting load through the charging contacts at preset time intervals;
[0032] When the charging unit receives the load power information sent by the effective contact load through the charging contact, it determines the updated load power of the effective contact load based on the load power information.
[0033] When the updated load power is less than or equal to the load power threshold, the effectively contacting load is charged through the charging contacts.
[0034] In addition, to achieve the above objectives, this application also proposes a charging control device, which includes: a detection module, used to perform load contact detection on the charging contacts through the charging detection circuit to determine the contact load information at the charging contacts;
[0035] The processing module is used to determine the load contact state at the charging contact based on the contact load information.
[0036] The control module is used to control the charging of the effectively contacted load through the charging contacts when the load contact state is an effective connection state. The effectively contacted load is electrically connected to the charging control device through the charging contacts.
[0037] In addition, to achieve the above objectives, this application also proposes a charging control device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the charging control method as described above.
[0038] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and which, when executed by a processor, implements the steps of the charging control method described above.
[0039] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the charging control method described above.
[0040] This application provides a charging control method. The method uses a charging detection circuit to detect the load contact at the charging contacts, determining the contact load information at each contact. Based on the contact load information, the method determines the load contact state at the charging contacts. If the load contact state is a valid connection state, charging control is performed on the valid contact load through the charging contacts. The valid contact load is electrically connected to the charging control device through the charging contacts. This method, using a detection circuit constructed with discrete components, achieves dual safety determination of the contact state. By accurately identifying the valid connection state at the charging contacts, charging is only initiated when there is no liquid residue and no accidental contact. This effectively avoids short circuit risks and other safety hazards caused by liquids or accidental contact, reducing costs, improving charging safety, and significantly enhancing the user experience. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating an embodiment of the charging control method of this application.
[0044] Figure 2This is a schematic diagram of the charging detection circuit provided in Embodiment 1 of this application;
[0045] Figure 3 This is a schematic flowchart of Embodiment 2 of the charging control method of this application;
[0046] Figure 4 This is a flowchart illustrating Embodiment 3 of the charging control method of this application;
[0047] Figure 5 A simplified flowchart illustrating the charging control method provided in Embodiment 3 of this application;
[0048] Figure 6 This is a schematic diagram of the module structure of the charging control device according to an embodiment of this application;
[0049] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the charging control method in the embodiments of this application.
[0050] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0051] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0052] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0053] The main solution of this application embodiment is: to perform load contact detection on the charging contact through the charging detection circuit to determine the contact load information at the charging contact; to determine the load contact state at the charging contact based on the contact load information; and to perform charging control on the effective contact load through the charging contact when the load contact state is an effective connection state, wherein the effective contact load is electrically connected to the charging control device through the charging contact.
[0054] With the trend towards lighter wearable devices, such as AR (Augmented Reality) glasses, the limited battery capacity of the devices themselves necessitates the use of external charging cases for recharging. Current technologies for AR glasses and charging cases generally employ contact-based charging solutions, but this presents two significant safety hazards in practical use: First, when conductive liquids such as sweat remain on the contact areas during user activity, direct charging can easily lead to short circuits or electrochemical corrosion. Traditional liquid detection solutions based on USB-C interfaces suffer from poor compatibility and high costs due to differences in contact shape. Second, as a constant voltage output terminal, the charging case, if lacking accurate load recognition when a person accidentally touches the contact points, can easily trigger incorrect power supply, causing personal injury. Existing solutions often rely on customized chips for dual protection, significantly increasing hardware costs and hindering widespread application in consumer-grade AR devices.
[0055] This application achieves dual safety determination of contact status through a detection circuit constructed with discrete components. By accurately identifying the effective connection status at the charging contact, the charging action is only initiated when there is no liquid residue and no accidental contact. This effectively avoids the risk of short circuits and other safety hazards caused by liquids or accidental contact, not only reducing costs but also improving the safety of the charging process and greatly enhancing the user experience.
[0056] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or charging control device capable of performing the above functions. The following description uses a charging control device as an example to illustrate this embodiment and the subsequent embodiments.
[0057] Based on this, embodiments of this application provide a charging control method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the charging control method of this application.
[0058] In this embodiment, the charging control method is applied to a charging control device, which includes a charging detection circuit and charging contacts. The charging control method includes steps S10 to S30:
[0059] Step S10: The charging detection circuit performs load contact detection on the charging contacts to determine the contact load information at the charging contacts.
[0060] It should be noted that the charging control device has a compatible wearable device. The wearable device can be placed inside the charging control device, and the charging unit in the charging control device can charge the wearable device through charging contacts. The wearable device can also be removed from the charging control device, thereby disconnecting the charging connection between the two. In this embodiment, both the wearable device and the charging control device have at least one charging contact, and the two are electrically connected through the charging contact. Simultaneously, both the wearable device and the charging control device have charging units, and the charging units share a common communication protocol, enabling communication between them through the charging contacts. In this embodiment, the wearable device is described using AR glasses as an example, and the charging control device is described using an AR glasses case compatible with AR glasses as an example.
[0061] It is understood that the charging control device includes, but is not limited to, charging contacts, a charging detection circuit, and a charging unit. The charging detection circuit consists of a microcontroller unit (MCU), a sampling amplification unit, and a switching module. The microcontroller can be a single-chip microcomputer or other microprocessor, and has GPIO (General Purpose Input / Output) ports, ADC (Analog-to-Digital Converter) interfaces, and DAC (Digital-to-Analog Converter) interfaces. The sampling amplification unit consists of two non-inverting operational amplifiers, current-limiting resistors, amplification gain adjustment resistor, and voltage divider resistors. The operational amplifiers include U1 and U2, the current-limiting resistors include two resistors R1 and R2, the amplification gain adjustment resistors include four resistors R3, R4, R5, and R6, and the voltage divider resistors include two resistors R7 and R8. The switching module consists of an NMOS (N-channel Metal-Oxide-Semiconductor) transistor Q1. Its gate G is connected to the microprocessor's GPIO1, its source is connected in series with resistor R7 and then to the microprocessor's DAC interface, and its drain is connected in series with resistor R8 and then to the contact. One possible connection diagram for the charging detection circuit is shown below. Figure 2 As shown in the figure, the resistance values are for illustrative purposes only, and can be adjusted according to specific needs.
[0062] In practical implementation, the charging units of both wearable devices and charging control devices include a power management integrated circuit (PMIC) and a device battery. The charging units of the two can communicate according to a preset protocol to exchange information such as battery status and charging needs, thereby achieving a more efficient energy management and protection mechanism.
[0063] It should be noted that when the charging detection circuit is on, load detection can be performed on the charging contacts in the charging control device to determine the load contact status at the charging contacts in the charging control unit. When the charging contacts contact different objects or there is no contact object, the voltage divider network composed of voltage divider resistors R7 and R8 in the charging detection circuit will generate different voltage signals. The sampling unit will collect the voltage signals generated by the voltage divider network and amplify them to a level suitable for processing by the microprocessor's ADC interface. Based on the amplified voltage signal, the microprocessor can determine whether there is a load in contact with the charging contacts of the charging control device. If so, the specific type of the load can be further identified. In this embodiment, the contact load information at the charging contacts includes information on whether there is a load in contact with the charging contacts of the charging control device, and, when there is a load in contact with the charging contacts, the specific type of the contact load.
[0064] Step S20: Determine the load contact state at the charging contact based on the contact load information.
[0065] It should be noted that in this embodiment, the load contact state can be divided into an effective connection state, an invalid connection state, and a no-load connection state. By analyzing the contact load information, the load contact status of the charging contacts of the charging control device at this time can be determined, clarifying whether there is a load in contact and the specific type of the load, thereby obtaining the load contact state at the charging contacts.
[0066] In this embodiment, a valid connection state refers to a situation where a load is in contact with the charging contacts of the charging control device, and the contacting load is a wearable device compatible with the charging control device. The charging control device will only execute the subsequent charging process when the load contact state is in a valid connection state.
[0067] In one feasible implementation, step S20 may include any one of steps A11 to A13:
[0068] Step A11: When the contact load information indicates that there is a contact load and the contact load is a valid contact load, the load contact state at the charging contact is determined to be a valid connection state.
[0069] It should be noted that the effective contact load refers to the wearable device adapted to the charging control device. Adaptation can be confirmed by the similarity of the contact layout, or by other methods to verify whether the two are compatible. This embodiment does not impose any limitations on this. For example, if the charging control device is an AR charging glasses case, then the effective contact load is the corresponding AR glasses.
[0070] Understandably, when it is determined from the contact load information that there is a contact load in contact with the charging contact, and the contact load is a valid contact load, the load contact state is considered to be a valid connection state. Only then will the microprocessor in the charging control device execute the subsequent process of charging the valid contact load.
[0071] Step A12: When the contact load information indicates that there is a contact load but the contact load is an invalid contact load, the load contact state at the charging contact is determined to be an invalid connection state.
[0072] It should be noted that, in this embodiment, an invalid contact load refers to any object that is not compatible with the charging control device, such as other types of wearable devices, liquids, or people. When it is determined from the contact load information that a contact load exists and is in contact with the charging contacts, but the contact load is an invalid contact load, the load contact state is considered an invalid connection state. In this case, the microprocessor in the charging control device will not execute the subsequent process of charging the valid contact load.
[0073] Step A13: When the contact load information indicates that there is no contact load, determine that the load contact state at the charging contact is a no-load connection state.
[0074] It should be noted that when it is determined that there is no contact load based on the contact load information, it means that there is no load in contact with the charging contact. At this time, the load contact state at the charging contact is determined to be a no-load connection state. In this case, the microprocessor in the charging control device will not execute the subsequent process of charging for a valid contact load.
[0075] In this embodiment, the charging detection circuit continuously monitors the load contact status at the charging contacts at a preset detection cycle, thereby preventing the sudden disconnection of the effective contact load in an effective connection state; preventing the load contact state from changing to an effective connection state in an invalid connection state or a no-load connection state, as well as other situations. Through continuous detection, the timely charging response to the wearable device is ensured.
[0076] Step S30: When the load contact state is in an effective connection state, the effective contact load is charged through the charging contact, and the effective contact load is electrically connected to the charging control device through the charging contact.
[0077] It should be noted that when the load contact state is in an effective connection state, the power of the effective contact load is further determined. If the effective contact load needs to be charged, it is charged through the charging contacts. If the effective contact load does not need to be charged, the charging unit in the charging control device communicates with the charging unit in the effective contact load through the charging contacts at regular intervals to read the real-time power of the effective contact load until the real-time power of the effective contact load reaches the charging condition. At this time, the effective contact load is charged through the charging contacts.
[0078] It is understood that when charging the effective contact load through the charging contacts, if the charging control device does not have an external power source, the charging unit in the charging control device can be used directly to charge the effective contact load through the charging contacts; if an external power source is available, either the charging unit in the charging control device can be used to charge the effective contact load through the charging contacts, or the external power source can be used to charge the effective contact load directly through the charging contacts. This embodiment does not limit the charging method.
[0079] This embodiment provides a charging control method. The charging detection circuit performs load contact detection on the charging contacts to determine the contact load information at the charging contacts. Based on the contact load information, the load contact state at the charging contacts is determined. When the load contact state is a valid connection state, charging control is performed on the valid contact load through the charging contacts. The valid contact load is electrically connected to the charging control device through the charging contacts. Through this method, the detection circuit constructed with discrete components achieves dual safety determination of the contact state. By accurately identifying the valid connection state at the charging contacts, the charging action is initiated only when there is no liquid residue and no accidental contact. This effectively avoids the risk of short circuits and other safety hazards caused by liquids or accidental contact, not only reducing costs but also improving the safety of the charging process and greatly enhancing the user experience.
[0080] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 In step S10, the charging control method further includes steps S11 to S13:
[0081] Step S11: Control the charging detection circuit to perform load contact detection on the charging contacts according to a preset detection cycle, and obtain the circuit voltage division corresponding to the charging detection circuit within the preset detection cycle.
[0082] It should be noted that the preset detection period is a pre-defined time interval for the charging detection circuit to perform load contact detection, for example, once every 50ms. Because the charging detection circuit contains a voltage divider network to convert the voltage at the charging contacts of the charging control device into a range suitable for processing by the sampling amplification unit, different load contact conditions will cause the circuit to exhibit different electrical characteristics (such as different resistance values), thus affecting the voltage level at the charging contacts. Therefore, the charging detection circuit is controlled to perform load contact detection on the charging contacts according to the preset detection period, thereby obtaining the circuit voltage division generated by the voltage divider network in the charging detection circuit within the preset detection period.
[0083] In one feasible implementation, the charging detection circuit includes a sampling amplification unit, and step S11 may include steps B11 to B12:
[0084] Step B11: Within a preset detection period, the charging detection circuit is activated based on a high-level signal.
[0085] It should be noted that during the preset detection cycle, the GPIO port of the microprocessor in the charging detection circuit outputs a high level, at which time the switching module of the charging detection circuit is turned on, and the charging detection circuit becomes active. For example... Figure 2 As shown, when the microprocessor's GPIO1 outputs a high level, the NMOS transistor Q1 is turned on, and the charging detection circuit is activated; when it is not within the preset detection period, the microprocessor's GPIO1 outputs a low level signal, the NMOS transistor Q1 is turned off, and the detection circuit fails.
[0086] Step B12: When the charging detection circuit is turned on, the voltage of the charging detection circuit is sampled by the sampling amplification unit to determine the circuit voltage division corresponding to the charging detection circuit.
[0087] It should be noted that when the charging detection circuit is on, different load contact conditions will cause the circuit to exhibit different electrical characteristics (such as different resistance values), thus affecting the voltage level at the charging contacts. The voltage divider network of the charging detection circuit converts the voltage at the charging contacts of the charging control device into a range suitable for processing by the sampling amplification unit. The sampling amplification unit samples the circuit voltage divided by the voltage divider network to determine the contact condition.
[0088] Step S12: Locate the contact load corresponding to the voltage divider of the circuit in the voltage divider object mapping relationship. The voltage divider object mapping relationship is used to characterize the mapping relationship between each circuit voltage divider and each contact load.
[0089] It should be noted that before conducting contact load testing, a mapping relationship of voltage divider objects was constructed through a large number of experiments and sampling. This was used to clarify the specific type of contact load corresponding to different circuit voltage dividers. When there is no contact load, the contact load corresponding to the voltage divider of this circuit can be replaced by the identifier "none" or " / ".
[0090] It is understandable that after the microprocessor obtains the voltage divider corresponding to the charging detection circuit, it will search for the closest matching item to the voltage divider in the voltage divider object mapping relationship, and take the contact load corresponding to the matching item as the contact load corresponding to the detected voltage divider.
[0091] Step S13: Determine the contact load information at the charging contact according to the contact load corresponding to the voltage division of the circuit.
[0092] It should be noted that when the contact load corresponding to the circuit voltage divider is "none" or " / " or other similar identifiers, the contact load information at the charging contact is determined to be that there is no load in contact with the charging contact of the charging control device.
[0093] Understandably, when the contact load corresponding to the circuit voltage divider has a specific type, the microprocessor determines that the contact load information is that there is a load in contact with the charging contact, and the specific type of the contact load.
[0094] In the specific implementation, for ease of understanding, the following is combined with... Figure 2 The specific detection process of the charging detection circuit is illustrated with an example. When the charging detection circuit is on, the microprocessor outputs a 0.3V level through the DAC interface (this level can be adjusted according to actual needs). If the AR glasses are not connected to the glasses case via contacts, the charging contacts in the glasses case will have a voltage of 0V. At this time, based on the voltage division result of R7 and R8, U1 and U2 in the sampling amplification unit sample and amplify the voltage, sending the corresponding value to the microprocessor's ADC1 and ADC2 interfaces. If the compatible AR glasses are connected to the glasses case via contacts, the voltage at the contacts will become 5V. U1 and U2 will sample and amplify the voltage again, sending the corresponding value to the microprocessor's ADC1 and ADC2 interfaces. If there is liquid on the charging contacts, the equivalent impedance of different liquids will be different, resulting in a different voltage at the contacts (less than 5V). The microprocessor will also obtain the voltage division value of the circuit according to the above steps.
[0095] This embodiment provides a charging control method. This embodiment controls the charging detection circuit to perform load contact detection on the charging contacts according to a preset detection cycle, obtaining the circuit voltage division corresponding to the charging detection circuit within the preset detection cycle; it then searches for the contact load corresponding to the circuit voltage division in a voltage division object mapping relationship, where the voltage division object mapping relationship characterizes the mapping relationship between each circuit voltage division and each contact load; finally, it determines the contact load information at the charging contact based on the contact load corresponding to the circuit voltage division. Through the above method,
[0096] Based on the first and / or second embodiments of this application, in the third embodiment of this application, the content that is the same as or similar to that in embodiments one and two above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 The charging control device further includes a charging unit, step S30, and the charging control method further includes steps S31 to S33:
[0097] Step S31: When the load contact state is in an effective connection state, control the charging unit to send load charging information to the effectively contacted load through the charging contact, and the effectively contacted load is electrically connected to the charging control device through the charging contact.
[0098] It should be noted that when the load contact state is in an effective connection state, the wearable device adapted to the charging control device is already placed in the charging control device, and the contacts on the wearable device are physically aligned and in contact with the charging contacts in the charging control device. At this time, the microprocessor will communicate with the charging unit in the charging control device to obtain the device's power level, and control the charging unit in the charging control device to send load charging information to the charging unit effectively contacting the load through the charging contacts between the devices, so as to obtain the current load power of the effectively contacting load.
[0099] Understandably, even when the load contact is in an invalid connection state, the microprocessor will still communicate with the charging unit in the charging control device to obtain the device's power level and control the charging unit in the charging control device to communicate with the invalid contact load through the charging contacts between the devices. In this case, the invalid contact load cannot provide correct feedback to the charging unit in the charging control device, and therefore will not perform a charging action.
[0100] Step S32: When the charging unit receives the load reception information sent by the effective contact load through the charging contact, the current load power of the effective contact load is determined according to the load reception information.
[0101] It should be noted that only when the load contact state is in an effective connection state can the charging unit in effective contact with the load recognize the load charging information sent by the charging unit in the charging control device, since the communication protocol of the charging units in the two devices is the same. At this time, the charging unit in effective contact with the load will feed back the load reception information through the contacts between the devices according to the communication protocol. The load reception information will include the current load power of the effectively contacting load.
[0102] Understandably, when the charging unit in the charging control device receives feedback information from the valid contact load, it further verifies that the load in contact with the charging contacts of the charging control device is a wearable load compatible with the device. At this time, it reads the current load power of the valid contact load by receiving information from the load.
[0103] Step S33: Based on the current load power, charge control is performed on the effectively contacting load through the charging contacts.
[0104] It should be noted that the system determines whether the effectively contacted load needs charging based on the current load power. If the effectively contacted load needs charging, it is charged through the charging contacts. If the effectively contacted load does not need charging, the charging unit in the charging control device communicates with the charging unit in the effectively contacted load periodically through the charging contacts to read the real-time power of the effectively contacted load until the real-time power of the effectively contacted load reaches the charging condition, at which point the effectively contacted load is charged through the charging contacts. In this embodiment, the determination of whether the effectively contacted load needs charging can be made using any of the following or other methods: determining whether the current load power of the effectively contacted load is 100%; determining whether the current load power of the effectively contacted load is lower than a set power threshold.
[0105] In one feasible implementation, step S33 may include steps C11 to C13:
[0106] Step C11: If the current load power is not the preset power, obtain the current external connection status of the charging unit.
[0107] It should be noted that the preset power level is set to 100% in this embodiment. When the load is in an effective connection state and the current load power level of the effectively connected load is read, if the current load power level is not the preset power level, it means that the effectively connected load needs to be charged. At this time, the current external connection status of the charging unit is further obtained. The current external connection status is used to indicate whether there is an external power supply for the charging control device. If there is an external power supply, the charging unit of the charging control device is powered by the external power supply.
[0108] Step C12: When the current external power supply is not available, obtain the current device power of the charging unit.
[0109] Step C13: When the current device power level is greater than a preset power threshold, control the charging unit to charge the effective contact load through the charging contacts.
[0110] It should be noted that when there is no external power supply in the current external state, the current device power of the charging unit in the charging control device is obtained. If the current device power is greater than the preset power threshold, it indicates that the charging control device still has remaining power to charge the effective contact load. At this time, the charging unit of the charging control device is controlled to charge the effective contact load through the charging contacts. In this embodiment, the preset power threshold can be set according to requirements. In this embodiment, the preset power threshold can be set to 10% of the total power of the charging control device.
[0111] Understandably, when the current device's battery level is not greater than the preset battery threshold, it means that the charging control device has no remaining battery power to effectively contact the load for charging. At this time, a battery alarm message is issued to remind the user to charge the charging control device.
[0112] In specific implementation, when an external power source is available in the current external state, one can choose to use the charging unit in the charging control device to charge the effective contact load through the charging contacts, or one can directly charge the effective contact load through the charging contacts using an external power source. This embodiment does not restrict the charging method.
[0113] It should be noted that during the charging process, the charging detection circuit will continuously monitor the load contact status of the charging contacts of the charging control device according to a preset detection cycle. The charging unit in the charging control device will also communicate with the effectively contacting load through the charging contacts based on the load contact status. This determines whether a load is continuously present and whether the load responds to the information sent by the charging unit, thereby deciding whether to continue charging the contacting load.
[0114] In one feasible implementation, step S33 may further include steps D11 to D13:
[0115] Step D11: When the current load power is a preset power, control the charging unit to send power reading information to the effectively contacting load through the charging contacts at preset time intervals.
[0116] Step D12: When the charging unit receives the load power information sent by the effective contact load through the charging contact, it determines the updated load power of the effective contact load based on the load power information.
[0117] Step D13: When the updated load power is less than or equal to the load power threshold, the effectively contacting load is charged through the charging contacts.
[0118] It should be noted that when the load is in a valid connection state and the current load power of the validly connected load is read, if the current load power is the preset power, it means that the validly connected load does not need to be charged. At this time, the control charging unit sends power reading information to the validly connected load through the charging contacts at preset time intervals.
[0119] Understandably, each time a charging unit effectively contacts the load and receives power reading information, it will feed back the load power information. Based on this information, the updated load power after a certain time interval can be read. In this way, the charging unit in the charging control device communicates periodically with the charging unit effectively contacting the load via charging contacts, reading the real-time power of the effectively contacted load until the real-time power of the effectively contacted load reaches the charging condition. At this point, the charging control device executes the charging action.
[0120] In this embodiment, the charging condition can be set to the updated load power of the effectively contacted load being less than or equal to a load power threshold, such as 95%. When the updated load power of the effectively contacted load is less than or equal to 95%, it means that the power of the effectively contacted load has decreased by 5% of the total power. At this time, a charging action is performed, that is, the effectively contacted load is charged through the charging contacts. Other charging conditions can also be used, and this embodiment does not limit them.
[0121] This embodiment provides a charging control method. The method involves controlling the charging unit to send load charging information to the effectively contacted load via the charging contacts. When the charging unit receives load reception information sent by the effectively contacted load through the charging contacts, it determines the current load capacity of the effectively contacted load based on the load reception information. Then, it controls the charging of the effectively contacted load via the charging contacts based on the current load capacity. Through this method, the charging unit of the charging control device further verifies the effectively contacted load. If the verification is successful, charging control is performed on the effectively contacted load based on the current load capacity, ensuring both charging safety and the rational use of resources.
[0122] For example, to help understand the implementation flow of the charging control method obtained by combining Embodiment 1 and Embodiment 2 above, please refer to... Figure 5 , Figure 5A simplified flowchart of a charging control method is provided, specifically using AR glasses as the wearable device and the AR glasses case as the charging control device. 1. If a load is detected on the contacts of the glasses case, whether it is touching a human body / other object or the AR glasses themselves, the detection module (i.e., the charging detection circuit) transmits this information to the microprocessor. When the microprocessor receives contact information from the contacts and other loads, the microprocessor communicates with the power management module (i.e., the charging unit) of the glasses case. At this time, the power management module of the glasses case communicates with the power management module of the AR glasses themselves through the contacts.
[0123] If the contact load at this time is the matching AR glasses, due to the same protocol, the power management module of the AR glasses can recognize the information from the power management module of the glasses case and send feedback information to the power management module of the glasses case according to the protocol through the contacts. After the power management module of the glasses case receives the correct feedback information, it will read the current battery level of the AR glasses. If it is below 100%, it will start the normal charging process. During the charging process, the detection module and the power management module will continuously monitor whether there is a continuous load and whether the load responds to information, in order to decide whether to continue charging.
[0124] If the load at this time is not the matching AR glasses themselves, the power management module of the glasses case will not receive correct feedback information after a period of time and will not perform the charging action. Only when the detection module detects that another load is in contact with the contacts of the glasses case will the power management module of the glasses case begin the next round of detection steps, that is, the step of communicating with the power management module of the AR glasses themselves.
[0125] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the charging control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0126] This application also provides a charging control device, please refer to... Figure 6 The charging control device includes:
[0127] The detection module 10 is used to perform load contact detection on the charging contacts through the charging detection circuit to determine the contact load information at the charging contacts.
[0128] Processing module 20 is used to determine the load contact state at the charging contact based on the contact load information.
[0129] Control module 30 is used to control the charging of the effectively contacted load through the charging contacts when the load contact state is an effective connection state. The effectively contacted load is electrically connected to the charging control device through the charging contacts.
[0130] Optionally, the detection module 10 is further configured to:
[0131] The charging detection circuit is controlled to perform load contact detection on the charging contacts according to a preset detection cycle to obtain the circuit voltage division corresponding to the charging detection circuit within the preset detection cycle; the contact load corresponding to the circuit voltage division is found in the voltage division object mapping relationship, which is used to characterize the mapping relationship between each circuit voltage division and each contact load; the contact load information at the charging contact is determined according to the contact load corresponding to the circuit voltage division.
[0132] Optionally, the detection module 10 is further configured to:
[0133] Within a preset detection period, the charging detection circuit is turned on based on a high-level signal; when the charging detection circuit is turned on, the voltage of the charging detection circuit is sampled by the sampling amplification unit to determine the circuit voltage division corresponding to the charging detection circuit.
[0134] Optionally, the processing module 20 is further configured to:
[0135] When the contact load information indicates that there is a contact load and the contact load is a valid contact load, the load contact state at the charging contact is determined to be a valid connection state; when the contact load information indicates that there is a contact load and the contact load is an invalid contact load, the load contact state at the charging contact is determined to be an invalid connection state; when the contact load information indicates that there is no contact load, the load contact state at the charging contact is determined to be a no-load connection state.
[0136] Optionally, the control module 30 is further configured to:
[0137] The charging unit is controlled to send load charging information to the effective contact load through the charging contacts; when the charging unit receives load receiving information sent by the effective contact load through the charging contacts, the current load power of the effective contact load is determined according to the load receiving information; and the effective contact load is charged through the charging contacts according to the current load power.
[0138] Optionally, the control module 30 is further configured to:
[0139] If the current load power is not a preset power level, the current external connection status of the charging unit is obtained; if the current external connection status is that there is no external power source, the current device power of the charging unit is obtained; if the current device power is greater than a preset power threshold, the charging unit is controlled to charge the effective contact load through the charging contacts.
[0140] Optionally, the control module 30 is further configured to:
[0141] When the current load power is a preset power, the charging unit is controlled to send power reading information to the effective contact load through the charging contacts at preset time intervals; when the charging unit receives the load power information sent by the effective contact load through the charging contacts, the updated load power of the effective contact load is determined according to the load power information; when the updated load power is less than or equal to the load power threshold, the effective contact load is charged through the charging contacts.
[0142] The charging control device provided in this application, employing the charging control method described in the above embodiments, can solve the technical problem of how to accurately detect liquid residue and accidental contact at the charging contacts of wearable devices at a low cost, thereby charging wearable devices while ensuring safety. Compared with the prior art, the beneficial effects of the charging control device provided in this application are the same as those of the charging control method provided in the above embodiments, and other technical features in the charging control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0143] This application provides a charging control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the charging control method in the above embodiment 1.
[0144] The following is for reference. Figure 7 The diagram illustrates a structural schematic suitable for implementing the charging control device in the embodiments of this application. The charging control device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The charging control device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0145] like Figure 7As shown, the charging control device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the charging control device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the charging control device to communicate wirelessly or wiredly with other devices to exchange data. Although the figures show charging control devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0146] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0147] The charging control device provided in this application, employing the charging control method described in the above embodiments, solves the technical problem of how to accurately detect liquid residue and accidental contact at the charging contacts of wearable devices at a lower cost, thereby ensuring safe charging of wearable devices. Compared with the prior art, the beneficial effects of the charging control device provided in this application are the same as those of the charging control method provided in the above embodiments, and other technical features of this charging control device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0148] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0149] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0150] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the charging control method in the above embodiments.
[0151] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0152] The aforementioned computer-readable storage medium may be included in the charging control device; or it may exist independently and not assembled into the charging control device.
[0153] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a charging control device, cause the charging control device to: perform load contact detection on the charging contacts through the charging detection circuit to determine contact load information at the charging contacts; determine the load contact state at the charging contacts based on the contact load information; and, if the load contact state is a valid connection state, perform charging control on the valid contact load through the charging contacts, wherein the valid contact load is electrically connected to the charging control device through the charging contacts.
[0154] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0155] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0156] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0157] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described charging control method. This solves the technical problem of how to accurately detect liquid residue and accidental contact at the charging contacts of wearable devices at a low cost, thereby ensuring safe charging of wearable devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the charging control method provided in the above embodiments, and will not be repeated here.
[0158] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the charging control method described above.
[0159] The computer program product provided in this application solves the technical problem of how to accurately detect liquid residue and accidental contact at the charging contacts of wearable devices at a low cost, thereby ensuring safe charging of wearable devices. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the charging control method provided in the above embodiments, and will not be repeated here.
[0160] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A charging control method, characterized in that, The charging control method is applied to a charging control device, the charging control device including a charging detection circuit and charging contacts, and the method includes: The charging detection circuit performs load contact detection on the charging contacts to determine the contact load information at the charging contacts. The load contact state at the charging contact is determined based on the contact load information. When the load is in a valid connection state, the validly contacted load is charged via the charging contacts, and the validly contacted load is electrically connected to the charging control device via the charging contacts.
2. The method as described in claim 1, characterized in that, The step of performing load contact detection on the charging contacts through the charging detection circuit to determine the contact load information at the charging contacts includes: The charging detection circuit is controlled to perform load contact detection on the charging contacts according to a preset detection cycle, and the circuit voltage division corresponding to the charging detection circuit within the preset detection cycle is obtained. Find the contact load corresponding to the voltage division of the circuit in the voltage divider object mapping relationship. The voltage divider object mapping relationship is used to characterize the mapping relationship between each circuit voltage division and each contact load. The contact load information at the charging contact is determined based on the contact load corresponding to the voltage division of the circuit.
3. The method as described in claim 2, characterized in that, The charging detection circuit includes a sampling amplification unit; The step of controlling the charging detection circuit to perform load contact detection on the charging contacts according to a preset detection cycle, and obtaining the circuit voltage divider corresponding to the charging detection circuit within the preset detection cycle, includes: The charging detection circuit is activated based on a high-level signal within a preset detection period; When the charging detection circuit is turned on, the voltage of the charging detection circuit is sampled by the sampling amplification unit to determine the circuit voltage division corresponding to the charging detection circuit.
4. The method as described in claim 1, characterized in that, The step of determining the load contact state at the charging contact based on the contact load information includes: When the contact load information indicates that there is a contact load and the contact load is a valid contact load, the load contact state at the charging contact is determined to be a valid connection state. When the contact load information indicates that there is a contact load but the contact load is invalid, the load contact state at the charging contact is determined to be an invalid connection state. When the contact load information indicates that there is no contact load, the load contact state at the charging contact is determined to be a no-load connection state.
5. The method as described in claim 1, characterized in that, The charging control device also includes a charging unit; The step of controlling the charging of the effectively contacting load through the charging contacts includes: The charging unit is controlled to send load charging information to the effectively contacting load through the charging contacts; When the charging unit receives load reception information sent by the effective contact load through the charging contact, it determines the current load power of the effective contact load based on the load reception information. Based on the current load power, the charging control is performed on the effectively contacting load through the charging contacts.
6. The method as described in claim 5, characterized in that, The step of controlling the charging of the effectively contacting load through the charging contacts based on the current load power includes: If the current load power is not the preset power, obtain the current external connection status of the charging unit; When the current external power supply is absent, the current device power of the charging unit is obtained; When the current device power level is greater than a preset power threshold, the charging unit is controlled to charge the effective contact load through the charging contacts.
7. The method as described in claim 5, characterized in that, The step of controlling the charging of the effectively contacting load through the charging contacts based on the current load power includes: When the current load power is a preset power, the charging unit is controlled to send power reading information to the effectively contacting load through the charging contacts at preset time intervals; When the charging unit receives the load power information sent by the effective contact load through the charging contact, it determines the updated load power of the effective contact load based on the load power information. When the updated load power is less than or equal to the load power threshold, the effectively contacting load is charged through the charging contacts.
8. A charging control device, characterized in that, The charging control device includes: The detection module is used to perform load contact detection on the charging contacts through the charging detection circuit to determine the contact load information at the charging contacts; The processing module is used to determine the load contact state at the charging contact based on the contact load information. The control module is used to control the charging of the effectively contacted load through the charging contacts when the load contact state is an effective connection state. The effectively contacted load is electrically connected to the charging control device through the charging contacts.
9. A charging control device, characterized in that, The device includes: a memory, a processor, and a charging control program stored in the memory and executable on the processor, the charging control program being configured to implement the steps of the charging control method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores a charging control program, which, when executed by a processor, implements the steps of the charging control method as described in any one of claims 1 to 7.