A communication method, earphone, earphone charging box and storage medium
By adjusting the charging current and analyzing the transmission information, the earphones can actively transmit information to the charging box, which solves the problem in the existing technology that the earphones cannot actively initiate communication, and improves the real-time communication between the earphones and the charging box.
Patent Information
- Application Number
- CN202010054660.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-17
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-01-17
AI Technical Summary
The existing communication method between the TWS earphones and the charging box is unidirectional or structurally complex, resulting in the earphones being unable to actively initiate communication to the charging box, which reduces the real-time nature of the communication.
By obtaining the transmission information of the earphones and using the preset strategy to adjust the charging current, the earphone charging box can parse the transmission information, thereby enabling the earphones to actively transmit information to the charging box and improving the real-time nature of communication.
This enables the earphones to actively transmit information to the charging box, improves the real-time communication between the earphones and the charging box, and solves the problem in the existing technology that the earphones cannot actively initiate communication.
Smart Images

Figure CN113141029B
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging technology, and in particular to a communication method, an earphone, an earphone charging box, and a storage medium. Background Art
[0002] With the continuous development of science and technology, earphones have been widely used due to their convenience and smaller size. For earphones, such as sports Bluetooth earphones, True Wireless Stereo (TWS) earphones, etc., in order to achieve longer battery life, they usually need to be equipped with a charging box with storage and charging functions. In order for the charging box to better control the charging of wireless earphones, communication between the earphones and the charging box is required.
[0003] At present, there are two main communication methods between TWS earphones and charging boxes: one is to use charging voltage (represented by Vbus) for communication, and the other is to use serial port (including three-wire serial port and two-wire serial port) for communication. However, both of these two communication methods have defects, which makes TWS earphones unable to actively initiate communication with the charging box, reducing the real-time performance of communication between TWS earphones and the charging box. Summary of the invention
[0004] The embodiments of the present application propose a communication method, earphones, an earphone charging box, and a storage medium, which can enable the earphones to actively transmit information to the earphone charging box, thereby improving the real-time performance of communication between the earphones and the earphone charging box.
[0005] The technical solution of this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a communication method, applied to a headset, the method comprising:
[0007] Obtaining transmission information of the headset;
[0008] Based on the acquired transmission information, the charging current of the earphone is adjusted using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0009] In a second aspect, an embodiment of the present application provides a communication method, which is applied to an earphone charging box, and the method includes:
[0010] Start the charging current detection command;
[0011] According to the charging current detection instruction, the charging current of the earphone is detected, and the transmission information corresponding to the charging current is parsed according to a preset strategy.
[0012] In a third aspect, an embodiment of the present application provides a headset, the headset comprising an acquisition unit and an adjustment unit; wherein:
[0013] an acquiring unit, configured to acquire transmission information of the earphone;
[0014] The adjustment unit is configured to adjust the charging current of the earphone based on the acquired transmission information using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0015] In a fourth aspect, an embodiment of the present application provides a headset, the headset comprising a first memory and a first processor; wherein:
[0016] A first memory, used to store a computer program that can be run on the first processor;
[0017] The first processor is configured to execute the method according to the first aspect when running the computer program.
[0018] In a fifth aspect, an embodiment of the present application provides an earphone charging box, which includes an opening unit and a parsing unit; wherein:
[0019] The activation unit is configured to activate a charging current detection instruction;
[0020] The analysis unit is configured to detect the charging current of the earphone according to the charging current detection instruction, and analyze the transmission information corresponding to the charging current according to a preset strategy.
[0021] In a sixth aspect, an embodiment of the present application provides an earphone charging box, the earphone charging box comprising a second memory and a second processor; wherein:
[0022] A second memory, used for storing a computer program that can be run on the second processor;
[0023] The second processor is used to execute the method described in the second aspect when running the computer program.
[0024] In a seventh aspect, an embodiment of the present application provides a computer storage medium storing a communication program, which implements the method described in the first aspect when executed by a first processor, or implements the method described in the second aspect when executed by a second processor.
[0025] A communication method, earphones, earphone charging box and storage medium provided in the embodiments of the present application are applied to the earphones, by acquiring transmission information of the earphones; based on the acquired transmission information, adjusting the charging current of the earphones by using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy; applied to the earphone charging box, by turning on a charging current detection instruction; according to the charging current detection instruction, detecting the charging current of the earphones, and parsing the transmission information corresponding to the charging current according to the preset strategy; in this way, since the earphones can adjust the charging current according to the transmission information, and then the earphone charging box performs charging current detection and parses the transmission information sent by the earphones; in this way, the earphones can transmit information to the earphone charging box by regularly controlling the charging current; that is, the technical solution of the present application can realize that the earphones actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphones and the earphone charging box. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of an application scenario of a charging system provided in an embodiment of the present application;
[0027] Figure 2A A structural diagram of a communication method provided for a related technical solution;
[0028] Figure 2B A structural diagram of another communication method provided for the related technical solution;
[0029] Figure 3 A flow chart of a communication method provided in an embodiment of the present application;
[0030] Figure 4 A detailed flow chart of a communication method provided in an embodiment of the present application;
[0031] Figure 5 A flowchart of another communication method provided in an embodiment of the present application;
[0032] Figure 6 A detailed flowchart of another communication method provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of a communication structure of a charging system provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of the structure of an earphone provided in an embodiment of the present application;
[0035] Fig. 9 A schematic diagram of a specific hardware structure of a headset provided in an embodiment of the present application;
[0036] Fig.10 A schematic diagram of the structure of an earphone charging box provided in an embodiment of the present application;
[0037] Fig.11 A schematic diagram of the specific hardware structure of an earphone charging box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for the convenience of description, only the parts related to the related applications are shown in the accompanying drawings.
[0039] See also Figure 1 , which shows a schematic diagram of an application scenario of a charging system provided by an embodiment of the present application. Figure 1 As shown, in this application scenario, the headset 11 and the headset charging box 12 are included, and the headset charging box 12 can accommodate the headset 11. The headset 11 can be integrated with a battery, and the headset charging box 12 can be integrated with a mobile power supply; in this way, after the headset 11 is placed in the headset charging box 12, if the headset 11 enters the charging mode, the battery in the headset 11 can be charged by the mobile power supply in the headset charging box 12.
[0040] It should be noted that the earphone 11 can be implemented in various forms. For example, the earphone 11 can include a Bluetooth earphone, a TWS earphone, a neck-hanging earphone, a wired wireless earphone, a head-mounted wireless earphone, a Bluetooth speaker, etc.; the earphone charging box 12 can be a charging box matched with the earphone 11, or a test fixture matched with the earphone 11, etc., which is not specifically limited in the embodiments of the present application. For example, in Figure 1 In the figure, the earphone 11 is a TWS earphone, and the earphone charging box 12 is a charging box matching the TWS earphone.
[0041] The following will describe the relevant technical solutions by taking the earphone 11 as a TWS earphone and the earphone charging box 12 as a charging box matching the TWS earphone as an example.
[0042] For TWS earphones, the charging box is an indispensable part, which plays the role of protecting the earphones, charging the earphones for battery life, and communicating and interacting with the earphones. Among them, the charging box and the TWS earphones are mainly electrically connected in pairs through spring pins (POGO PIN) and metal contacts. There are two POGO PIN and metal contact pairs and three POGO PIN and metal contact pairs, which are located at the corresponding positions of the charging box and the TWS earphones respectively; in this way, when the TWS earphones are placed in the charging box, the metal contacts on the TWS earphones and the POGO PIN on the charging box will just touch and conduct, so that the charging box can charge and communicate with the TWS earphones. Here, in order to facilitate the structural design and have a more beautiful appearance, the fewer the number of POGO PIN and metal contact pairs, the better. However, due to the voltage difference required for charging and communication, the number of POGO PIN and metal contact pairs can only be at least 2 pairs at present.
[0043] Before using the TWS earphones, you first need to open the lid of the charging box that comes with the TWS, and then take out the TWS earphones. In other words, the charging box needs to sense the user's opening action, and then use communication to pass it to the TWS earphones, so that the TWS earphones can generate broadcasts, reconnections and other actions, which is convenient for the user's subsequent use. In addition, when charging the TWS earphones, the charging box also needs to detect the current power of the TWS earphones. Here, the commonly used detection method is to use communication to query the power of the TWS earphones, and pairing, clear pairing, reset and other instructions are also transmitted to the TWS earphones by communication; therefore, the communication between the charging box and the TWS earphones is very important.
[0044] In actual applications, the communication between the charging box and the TWS headset mainly includes the following two methods:
[0045] One is to use Vbus communication. The charging PIN of the charging box outputs high and low levels to the charging interface of the TWS headset according to the communication protocol at a regular interval of time. The TWS headset can use the charging detection pin of the Bluetooth main chip or an external chip to detect the high and low levels transmitted by the charging PIN pin, and then parse it according to the communication protocol to complete the communication between the charging box and the TWS headset. Figure 2A As shown, the charging system includes a charging box 201 and a TWS headset 202; wherein, Vbus communication is adopted between the charging box 201 and the TWS headset 202. Since only the charging box 201 can control the high and low levels of Vbus, the TWS headset 202 cannot control it, so the Vbus communication is one-way communication, and only the charging box 201 can send information to the TWS headset 202.
[0046] The other is to use serial communication. Common serial ports on the TWS headset side include three-wire serial ports (ie three-wire communication method) and two-wire serial ports (ie two-wire communication method). Among them, the three-wire communication method requires three POGO PINs for charging and communication, which increases the difficulty of structural design and affects the appearance of the TWS headset. Therefore, compared with the three-wire communication method, the two-wire communication method is a better solution. Here, the essence of the two-wire communication method is to connect the power line, serial port send (TX) line, and serial port receive (RX) line to one line through an isolation circuit, and then time-division multiplexing; the other line is always the ground line. Such as Figure 2B As shown, the charging system still includes a charging box 201 and a TWS headset 202; wherein, a two-wire serial communication is adopted between the charging box 201 and the TWS headset 202. Although the two realize two-way communication, when a high-level charging is provided through the power line, the serial port cannot communicate normally at this time; and whether the power line is charged is controlled by the charging box 201, that is, the serial communication can only be initiated by the charging box 201, and then the TWS headset 202 passively replies.
[0047] It can be seen that both of the current communication methods have some defects. For example, Vbus communication is one-way communication, and only the charging box can send information to the TWS headset, but the TWS headset cannot send information to the charging box. In addition, the three-wire communication method increases the difficulty of structural design and affects the appearance of the TWS headset. Although the two-wire communication method realizes two-way communication, it can only be initiated by the charging box, and then the TWS headset passively replies. In other words, the TWS headset cannot actively initiate communication with the charging box.
[0048] An embodiment of the present application provides a communication method, which is applied to an earphone, first obtaining the transmission information of the earphone; then, based on the obtained transmission information, adjusting the charging current of the earphone using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy; in this way, since the earphone can adjust the charging current according to the transmission information, and then the earphone charging box performs charging current detection to parse the transmission information, the earphone can transmit the information to the earphone charging box by regularly controlling the charging current; that is, the present application can realize the earphone actively initiating communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0049] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0050] In one embodiment of the present application, see Figure 3 , which shows a flow chart of a communication method provided by an embodiment of the present application. Figure 3As shown, the method may include:
[0051] S301: Acquire transmission information of the headset;
[0052] It should be noted that the communication method is applied to earphones. Among them, the earphones (such as TWS earphones) can be built into an earphone charging box (such as a charging box configured for TWS earphones), and then the earphone charging box charges the earphones.
[0053] It should also be noted that in the process of charging the earphones by the earphone charging box, interactive communication can be carried out between the earphone charging box and the earphones. On the one hand, the earphone charging box can send information to the earphones; on the other hand, the earphones can also send information to the earphone charging box. Here, since conventional communication methods such as Vbus communication or serial communication can be used to realize that the earphone charging box actively sends information to the earphones; thus, in order to improve the real-time communication between the earphones and the earphone charging box, the communication method of the embodiment of the present application is mainly used to realize that the earphones actively send information to the earphone charging box.
[0054] In this way, before the earphone actively sends information to the earphone charging box, the earphone first needs to obtain its own transmission information. Among them, the transmission information at least includes: power information, pairing information, sleep information and charging information, etc., which is used for the earphone to actively feedback its own charging status to the earphone charging box, such as whether it is in sleep mode, whether it is still in charging state, and whether the power is close to full power. In addition, during this process, if the earphone may need to be taken out of the box (for example, when opening the lid), the earphone can also actively feedback the relevant information of the earphone to the earphone charging box as transmission information.
[0055] S302: Based on the acquired transmission information, the charging current of the earphone is adjusted using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0056] It should be noted that the charging current represents the current information provided by the earphone charging box when charging the earphone. That is to say, when the earphone charging box is charging the earphone, the earphone charging box will provide the earphone with a charging voltage and a charging current. At this time, the earphone can also control the charging current. Specifically, the charging current can be controlled and adjusted according to the transmission information so that the adjusted charging current represents the transmission information.
[0057] It should also be noted that the preset strategy may include a corresponding relationship between the charging current and / or the charging current change state and the transmission information.
[0058] Here, the preset strategy represents a pre-set charging current adjustment strategy related to the transmission information; for example, the transmission information can be represented by a charging current value, or by a charging current change state, or even by a combination of the charging current value and the charging current change state, which is not specifically limited in the embodiments of the present application.
[0059] In addition, the preset strategy can also be a preset communication protocol. In this case, the transmission information can be expressed by controlling the charging current (such as the charging current value and / or the charging current change state) using the preset communication protocol. In this way, after obtaining the transmission information, the charging current can be adjusted using the preset strategy (such as the preset communication protocol) to obtain the adjusted charging current. In other words, the charging current is adjusted by the earphone, and the charging current is detected by the earphone charging box, and the transmission information sent by the earphone is analyzed using the preset communication protocol, thereby completing the communication in which the earphone actively sends information to the earphone charging box.
[0060] The present embodiment provides a communication method, which is applied to an earphone, by acquiring transmission information of the earphone; based on the acquired transmission information, adjusting the charging current of the earphone using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy; in this way, since the earphone can adjust the charging current according to the transmission information, and then the earphone charging box performs charging current detection to parse the transmission information sent by the earphone, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is, the present embodiment can realize that the earphone actively initiates communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0061] Furthermore, before obtaining the transmission information of the earphone, the earphone charging box needs to provide a charging voltage for the earphone; and before the earphone charging box provides the charging voltage for the earphone, the earphone and the earphone charging box need to be connected (for example, the earphone is placed inside the earphone charging box). Figure 4 , which shows a detailed flow chart of a communication method provided in an embodiment of the present application. Figure 4 As shown, the method may include:
[0062] S401: Determine whether the earphone is connected to the earphone charging box;
[0063] S402: When the judgment result is yes, determine whether the earphone receives the charging voltage provided by the earphone charging box;
[0064] It should be noted that it is first necessary to determine whether the earphone is connected to the earphone charging box, for example, to determine whether the earphone is placed inside the earphone charging box. When the earphone is placed inside the earphone charging box, it indicates that the earphone is connected to the earphone charging box. At this time, the earphone charging box may provide a charging voltage to the earphone, and it is necessary to continue to perform step S402; that is, by determining whether the earphone receives the charging voltage provided by the earphone charging box, it is determined whether the earphone charging box provides a charging current to the earphone, so that the earphone can subsequently control the charging current according to the transmission information.
[0065] It should also be noted that when the earphone is not placed inside the earphone charging box, the judgment result is no, indicating that the earphone is not connected to the earphone charging box. At this time, the earphone does not perform any relevant processing and the process can be ended.
[0066] S403: When the earphone receives the charging voltage provided by the earphone charging box, acquiring transmission information of the earphone;
[0067] S404: When the earphone does not receive the charging voltage provided by the earphone charging box, the process ends;
[0068] It should be noted that by judging whether the earphone receives the charging voltage provided by the earphone charging box, when the earphone receives the charging voltage provided by the earphone charging box, the earphone charging box will provide the charging current to the earphone, and step S403 can be executed, that is, the earphone can obtain the transmission information so as to control the charging current according to the transmission information later.
[0069] It should also be noted that when the earphone does not receive the charging voltage provided by the earphone charging box, the earphone charging box will not provide a charging current to the earphone. For example, when the earphone is fully charged and enters sleep mode, the earphone will not receive the charging voltage provided by the earphone charging box; or, when the earphone charging box is in a low-power or even no-power state and the earphone charging box cannot charge the earphone, the earphone will not receive the charging voltage provided by the earphone charging box, and the earphone cannot obtain the charging current, and the charging current cannot be controlled according to the transmission information. At this time, step S404 can be executed to end the process.
[0070] S405: Based on the acquired transmission information, the charging current of the earphone is adjusted using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0071] It should be noted that the charging current represents the current information provided by the earphone charging box when charging the earphone. That is to say, when the earphone charging box is charging the earphone, the earphone charging box will provide the earphone with a charging voltage and a charging current. At this time, the earphone can also control the charging current. Specifically, the charging current can be controlled and adjusted according to the transmission information, so that the adjusted charging current represents the transmission information, so that the earphone charging box can parse the transmission information according to the detected charging current and the preset strategy.
[0072] Optionally, in some embodiments, for S405, adjusting the charging current of the headset by using a preset strategy based on the acquired transmission information may include:
[0073] Based on the transmission information, a control instruction is generated, and the charging current is adjusted according to the control instruction; wherein the control instruction is used to represent the enabling control of the charging management chip so that the charging current changes.
[0074] It should be noted that the control instruction can be used to enable the charge management circuit (Charge Integrated Circuit, Charge IC) or the charge management chip in the headset. Specifically, according to the transmission information, the enable pin of the charge management chip in the headset can be controlled to be turned on or off, so as to actively control the charging current.
[0075] That is to say, the earphones can generate control instructions for the transmission information; then the charging current is adjusted according to the control instructions, and the adjusted charging current represents the transmission information; in this way, subsequently on the earphone charging box side, when the charging current is detected, the transmission information sent by the earphones can be determined, thereby completing the communication of the earphones actively sending information to the earphone charging box.
[0076] Optionally, in some embodiments, for S405, adjusting the charging current of the headset by using a preset strategy based on the acquired transmission information may include:
[0077] Based on the correspondence between the preset transmission information and the charging current, determining a preset current value and / or a preset current change state corresponding to the transmission information;
[0078] The charging current is adjusted according to the preset current value and / or the preset current change state.
[0079] It should be noted that the correspondence between the transmission information and the charging current is pre-stored in the earphone; that is, the charging current value and / or the charging current change state corresponding to different transmission information are different. In this way, according to the acquired transmission information, the preset current value corresponding to the transmission information can be determined from the correspondence between the transmission information and the charging current, and then the charging current is adjusted according to the preset current value; or, according to the acquired transmission information, the preset current change state corresponding to the transmission information can be determined from the correspondence between the transmission information and the charging current, and then the charging current is adjusted according to the preset current change state; or, according to the acquired transmission information, the preset current value and the preset current change state corresponding to the transmission information can be determined from the correspondence between the transmission information and the charging current, and then the charging current is adjusted according to the preset current value and the preset current change state; in this way, later on the earphone charging box side, when the charging current is detected, the transmission information sent by the earphone can be determined, and the communication of the earphone actively sending information to the earphone charging box is completed.
[0080] Optionally, in some embodiments, for S405, adjusting the charging current of the headset by using a preset strategy based on the acquired transmission information may include:
[0081] Based on the transmission information, the charging current is adjusted using a preset communication protocol.
[0082] It should be noted that the preset communication protocol may be a set of communication protocols pre-set in the earphone and the earphone charging box. Due to different transmission information, the control of the charging current using the preset communication protocol is different; thus, the earphone side can control the charging current according to the preset communication protocol, and then the earphone charging box side can parse the transmission information sent by the earphone according to the preset communication protocol.
[0083] In this way, after obtaining the transmission information, the earphones can actively control the charging current (such as the charging current value and / or the charging current change state) according to the preset communication protocol, so that on the earphone charging box side, when the charging current is detected later, it is parsed according to the preset communication protocol, and the transmission information sent by the earphones can be determined, thereby completing the communication of the earphones actively sending information to the earphone charging box.
[0084] This embodiment provides a communication method, which is applied to earphones. This embodiment describes the specific implementation of the above-mentioned embodiment in detail, from which it can be seen that since the earphone can adjust the charging current according to the transmission information, and then the earphone charging box detects the charging current to parse the transmission information sent by the earphone, the earphone can transmit the information to the earphone charging box by regularly controlling the charging current; that is, this embodiment can realize that the earphone actively initiates communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0085] In another embodiment of the present application, see Figure 5 , which shows a flow chart of another communication method provided by an embodiment of the present application. Figure 5 As shown, the method may include:
[0086] S501: Start charging current detection instruction;
[0087] It should be noted that the communication method is applied to an earphone charging box, wherein the earphone (such as a TWS earphone) can be built into an earphone charging box (such as a charging box configured for a TWS earphone), and then the earphone charging box charges the earphone.
[0088] It should also be noted that during the process of the headphone charging box charging the headphone, the headphone charging box and the headphone can communicate with each other. When the headphone charging box provides the charging voltage and charging current to the headphone, the headphone can adjust the charging current according to its own transmission information, and then the headphone charging box performs charging current detection.
[0089] That is to say, a detection module is provided in the earphone charging box, which can be used to detect or sample the charging current after the charging current detection instruction is turned on. The detection module can be an analog to digital converter (ADC), or a current transformer, a sampling resistor, etc., which is not specifically limited in the embodiment of the present application.
[0090] S502: Detect the charging current of the headset according to the charging current detection instruction, and parse out transmission information corresponding to the charging current according to a preset strategy.
[0091] It should be noted that, on the earphone side, the charging current of the earphone is adjusted using a preset strategy; so on the earphone charging box side, the transmission information can be parsed according to the detected charging current and the preset strategy. Here, the transmission information includes at least: power information, pairing information, sleep information, and charging information, etc., which are used for the earphone to actively feedback its own charging status to the earphone charging box. In addition, during this process, if the earphone may need to be taken out of the box (for example, when the lid is opened), the earphone can also actively feedback the relevant information of the earphone to the earphone charging box as transmission information.
[0092] It should also be noted that the preset strategy may include a corresponding relationship between the charging current and / or the charging current change state and the transmission information.
[0093] Here, the preset strategy represents a pre-set charging current adjustment strategy related to the transmission information; for example, the transmission information can be represented by a charging current value, or by a charging current change state, or even by a combination of the charging current value and the charging current change state, which is not specifically limited in the embodiments of the present application.
[0094] In this way, after the charging current detection instruction is turned on, the detection module in the headphone charging box can detect the charging current to obtain the detection information corresponding to the charging current (such as ADC sampling value). At the same time, combined with the preset strategy, the transmission information corresponding to the charging current can be parsed to complete the communication of the earphone actively sending information to the headphone charging box.
[0095] That is to say, after detecting the charging current of the earphone, it can be analyzed and processed in combination with the preset strategy. For example, after analyzing the enable control information of the charging management chip in the earphone, the enable control information of the charging management chip in the earphone can be used to determine the transmission information sent by the earphone; or, after analyzing the preset current value, the corresponding relationship between the preset transmission information and the charging current can be used to determine the transmission information sent by the earphone; or, after analyzing the preset current change state, the corresponding relationship between the preset transmission information and the charging current can be used to determine the transmission information sent by the earphone; or, even the preset communication protocol can be used to parse the transmission information sent by the earphone, thereby completing the communication of the earphone actively sending information to the earphone charging box.
[0096] This embodiment provides a communication method, which is applied to an earphone charging box, by starting a charging current detection instruction; according to the charging current detection instruction, the charging current of the earphone is detected, and the transmission information corresponding to the charging current is parsed according to a preset strategy. In this way, since the charging current of the earphone is obtained by adjusting the charging current of the earphone according to the transmission information and the preset strategy, the transmission information sent by the earphone can be parsed by detecting the charging current of the earphone; in this way, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is, this embodiment can realize that the earphone actively initiates communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0097] Furthermore, before the charging current detection instruction is turned on, the earphone charging box needs to provide a charging voltage for the earphone; and before the earphone charging box provides a charging voltage for the earphone, the earphone needs to be connected to the earphone charging box. Figure 6 , which shows a detailed flow chart of another communication method provided by an embodiment of the present application. Figure 6 As shown, the method may include:
[0098] S601: Determine whether the earphone charging box is connected to the earphone;
[0099] S602: If the judgment result is yes, determine whether the earphone charging box provides charging voltage to the earphone;
[0100] It should be noted that it is first necessary to determine whether the earphone is connected to the earphone charging box, for example, to determine whether the earphone is placed inside the earphone charging box. When the earphone is placed inside the earphone charging box, it indicates that the earphone is connected to the earphone charging box. At this time, the earphone charging box may provide a charging voltage to the earphone, and step S602 needs to be executed; that is, by determining whether the earphone charging box provides a charging voltage to the earphone, it is determined whether the earphone charging box provides a charging current to the earphone, so that the earphone charging box can perform a charging current detection later.
[0101] It should also be noted that when the earphone is not placed inside the earphone charging box, the judgment result is no, indicating that the earphone is not connected to the earphone charging box. At this time, the earphone charging box does not perform any relevant processing and the process can be ended.
[0102] S603: When the earphone charging box provides charging voltage to the earphone, start the charging current detection instruction;
[0103] S604: When the earphone charging box does not provide a charging voltage to the earphone, the process ends;
[0104] It should be noted that by judging whether the earphone charging box provides a charging voltage to the earphone, when the charging port of the earphone charging box provides a charging voltage, the earphone charging box can provide a charging current to the earphone, and then execute step S603, that is, start the charging current detection instruction to perform charging current detection.
[0105] It should also be noted that when the earphone charging box does not provide a charging voltage to the earphone, the earphone charging box will not provide a charging current to the earphone. For example, when the earphone is fully charged and enters sleep mode, the earphone charging box will not provide a charging voltage to the earphone; or, when the earphone charging box is in a low-power or even no-power state and the earphone charging box cannot charge the earphone, the earphone charging box will not provide a charging voltage to the earphone, and the earphone cannot obtain a charging current, and the charging current cannot be controlled according to the transmission information. At this time, step S604 can be executed to end the process.
[0106] Further, it is determined whether the headphone charging box is opened. When the judgment result is yes, the charging port of the headphone charging box provides a charging voltage. At this time, the headphone charging box can provide a charging current to the headphone, and then step S604 is executed, that is, the charging current detection instruction is turned on to perform charging current detection.
[0107] Here, whether it is judging whether the headphone charging box is opened or whether the headphone charging box is connected to the headphone, it can be judged by infrared sensors, contact switches, Hall devices, etc., and the embodiments of the present application do not make specific limitations.
[0108] S605: Detect the charging current of the earphone according to the charging current detection instruction, and parse the transmission information corresponding to the charging current according to a preset strategy.
[0109] It should be noted that after the charging current detection instruction is turned on, the detection module in the headphone charging box can detect the charging current to obtain the charging current of the headphone, so as to combine the preset strategy to parse the transmission information sent by the headphone, thereby completing the communication of the headphone actively sending information to the headphone charging box.
[0110] It should also be noted that after detecting the charging current of the earphone, it can be analyzed and processed in combination with a preset strategy. For example, after analyzing the enable control information of the charging management chip in the earphone, the enable control information of the charging management chip in the earphone can be used to determine the transmission information sent by the earphone; or, after analyzing the preset current value, the corresponding relationship between the preset transmission information and the charging current can be used to determine the transmission information sent by the earphone; or, after analyzing the preset current change state, the corresponding relationship between the preset transmission information and the charging current can be used to determine the transmission information sent by the earphone; or, even the preset communication protocol can be used to parse the transmission information sent by the earphone, thereby completing the communication of the earphone actively sending information to the earphone charging box.
[0111] Optionally, in some embodiments, for S605, parsing the transmission information corresponding to the charging current according to a preset strategy may include:
[0112] Analyzing and processing the detected charging current to obtain enabling control information of the charging management chip in the headset;
[0113] The transmission information sent by the headset is determined according to the enabling control information of the charging management chip in the headset.
[0114] It should be noted that if on the earphone side, the charging current is adjusted based on the enable control of the charging management chip in the earphone, then on the earphone charging box side, the detected charging current can be analyzed and processed through a preset strategy to obtain the enable control information of the charging management circuit or the charging management chip in the earphone; then, based on the obtained enable control information of the charging management chip in the earphone, the transmission information sent by the earphone can be parsed.
[0115] Optionally, in some embodiments, for S605, parsing the transmission information corresponding to the charging current according to a preset strategy may include:
[0116] Determining a charging current value and / or a charging current change state corresponding to the charging current;
[0117] Based on the corresponding relationship between the preset transmission information and the charging current value and / or the charging current change state, the transmission information is determined to obtain the transmission information sent by the headset.
[0118] It should be noted that the correspondence between the transmission information and the charging current is also pre-stored in the earphone charging box. In this way, if the charging current is adjusted on the earphone side based on the correspondence between the preset transmission information and the charging current, then on the earphone charging box side, the detected charging current can be analyzed and processed by a preset strategy to determine the preset current value and / or preset current change state corresponding to the detection information; then, according to the correspondence between the preset transmission information and the charging current, the transmission information corresponding to the preset current value and / or preset current change state can be parsed.
[0119] Optionally, in some embodiments, for S605, parsing the transmission information corresponding to the charging current according to a preset strategy may include:
[0120] The detected charging current is analyzed and processed based on a preset communication protocol to determine the transmission information sent by the headset.
[0121] It should be noted that the preset communication protocol can be a set of communication protocols pre-set in the earphone and the earphone charging box. In this way, if the earphone side adjusts the charging current based on the preset communication protocol, then the earphone charging box side can use the preset communication protocol to analyze and process the detected charging current to parse out the transmission information sent by the earphone, thereby completing the communication of the earphone actively sending information to the earphone charging box.
[0122] This embodiment provides a communication method, which is applied to an earphone charging box. This embodiment describes the specific implementation of the above embodiment in detail, from which it can be seen that since the charging current of the earphone is obtained by adjusting the charging current according to the transmission information and the preset strategy, the transmission information sent by the earphone can be parsed by detecting the charging current of the earphone; in this way, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is, this embodiment can realize that the earphone actively initiates communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0123] In another embodiment of the present application, see Figure 7 , which shows a communication structure diagram of a charging system provided by an embodiment of the present application. Figure 7 In the embodiment, the charging system may include an earphone 701 and an earphone charging box 702; wherein the earphone 701 may be applicable to the communication method described in the aforementioned embodiment, and the earphone charging box 702 may be applicable to the communication method described in the aforementioned another embodiment; that is, in Figure 7 In the charging system shown, the earphone 701 can actively initiate communication with the earphone charging box 702 by actively controlling the charging current.
[0124] exist Figure 7 In the embodiment, first, the earphone 701 needs to be placed inside the earphone charging box 702 so that the earphone charging box 702 can charge the earphone 701; in addition, except for the case where the earphone 701 is fully charged and enters the sleep mode or the earphone charging box 702 is in a low power or even no power state, which causes the earphone charging box 702 to be unable to charge the earphone 701, the earphone charging box 702 can provide a charging voltage to the earphone 701. Secondly, the earphone charging box also needs to turn on the detection module (such as ADC) to start the detection of the charging current of the earphone 701. On the one hand, the transmission information of the earphone 701 can be obtained by detecting the charging current, and according to the transmission information, the charging status of the earphone, whether it is still in the charging state, and whether the power is close to full power and other information can be obtained; on the other hand, the relevant information of the earphone 701 entering and leaving the box can also be obtained by detecting the charging current. Finally, when the earphone charging box 702 provides a charging voltage to the earphone 701 and the earphone charging box 702 also turns on the charging current detection instruction, since on the earphone side, the earphone 701 can actively control the charging current by, for example, enabling and disabling the Charge IC, or adjusting different charging currents or preset communication protocols, etc., it is possible to control the detection information of the charging current on the earphone charging box side (such as ADC sampling value); in this way, on the earphone charging box side, the earphone charging box 702 analyzes and processes the detected charging current, and can parse out the transmission information sent by the earphone 701, thereby completing the communication that the earphone actively sends to the earphone charging box.
[0125] In the current solutions, there is either one-way communication from the headphone charging box to the headphone, or although it is two-way communication, it can only be initiated by the headphone charging box and the headphone can only passively reply; at this time, in the communication between the headphone charging box and the headphone, some information such as the interaction between the headphone and the headphone charging box, whether the headphone is in a charging state, etc., is initiated by the headphone to the headphone charging box in a more real-time manner than the headphone charging box actively inquiring and then replying by the headphone. In this way, in the embodiment of the present application, the headphone can transmit information to the headphone charging box by actively and regularly controlling the charging current, so as to achieve the purpose of the headphone actively sending information to the headphone charging box.
[0126] The present embodiment provides a charging system, and the specific implementation of the aforementioned embodiment is elaborated in detail through the present embodiment. It can be seen that on the earphone side, the charging current of the earphone can be adjusted according to the transmission information; on the earphone charging box side, the charging current of the earphone can be detected to obtain the transmission information sent by the earphone; in this way, the earphone actively initiates communication with the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0127] Based on the same inventive concept as the above embodiments, see Figure 8 , which shows a schematic diagram of the structure of an earphone 80 provided in an embodiment of the present application. Figure 8 As shown, the headset 80 may include: an acquisition unit 801 and an adjustment unit 802; wherein,
[0128] An acquisition unit 801 is configured to acquire transmission information of the headset;
[0129] The adjustment unit 802 is configured to adjust the charging current of the earphone based on the acquired transmission information using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0130] In the above solution, the preset strategy includes a corresponding relationship between a charging current value and / or a charging current change state and the transmission information.
[0131] In the above scheme, if Figure 8 As shown, the earphone 80 may further include a first judgment unit 803, configured to judge whether the earphone is connected to the earphone charging box; and when the judgment result is yes, receive the charging voltage provided by the earphone charging box, and execute the step of obtaining the transmission information of the earphone.
[0132] In the above scheme, the adjustment unit 802 is specifically configured to determine the preset current value and / or preset current change state corresponding to the transmission information based on the correspondence between the preset transmission information and the charging current; and adjust the charging current according to the preset current value and / or preset current change state.
[0133] In the above solution, the transmission information includes at least one of the following: power information, pairing information, sleep information and charging information.
[0134] It can be understood that in this embodiment, a "unit" can be a part of a circuit, a part of a processor, a part of a program or software, etc., and of course it can also be a module, or it can be non-modular. Moreover, the components in this embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional module.
[0135] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0136] Therefore, this embodiment provides a computer storage medium, which is applied to the headset 80, and the computer storage medium stores a communication program. When the communication program is executed by the first processor, the method described in any one of the above embodiments is implemented.
[0137] Based on the above-mentioned components of the earphone 80 and the computer storage medium, see Fig. 9 , which shows the specific hardware structure of the headset 80 provided in the embodiment of the present application, which may include: a first communication interface 901, a first memory 902 and a first processor 903; each component is coupled together through a first bus system 904. It can be understood that the first bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the first bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Fig. 9 In the figure, various buses are marked as the first bus system 904.
[0138] The first communication interface 901 is used to receive and send signals during the process of sending and receiving information with the earphone charging box;
[0139] A first memory 902, used to store a computer program that can be run on the first processor 903;
[0140] The first processor 903 is configured to execute, when running the computer program:
[0141] Get the transmission information of the headset;
[0142] Based on the acquired transmission information, the charging current of the earphone is adjusted using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy.
[0143] It can be understood that the first memory 902 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or both a volatile and a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The first memory 902 of the systems and methods described in the present application is intended to include, but is not limited to, these and any other suitable types of memory.
[0144] The first processor 903 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 903. The above-mentioned first processor 903 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The method disclosed in conjunction with the above-mentioned embodiment can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the first memory 902, and the first processor 903 reads the information in the first memory 902 and completes the steps of the above method in combination with its hardware.
[0145] It is to be understood that these embodiments described in the present application can be implemented with hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units or combinations thereof for performing functions described in the present application. For software implementation, the technology described in the present application can be implemented by a module (such as a process, function, etc.) that performs functions described in the present application. The software code can be stored in a memory and executed by a processor. The memory can be implemented in a processor or outside a processor.
[0146] Optionally, as another embodiment, the first processor 903 is further configured to execute the method described in any one of the aforementioned embodiments when running the computer program.
[0147] This embodiment provides an earphone, which may include a first acquisition unit and an adjustment unit. Since the earphone adjusts the charging current according to the transmission information, the earphone charging box can parse the transmission information according to the detected charging current and the preset strategy, so that the earphone can transmit the information to the earphone charging box by regularly controlling the charging current, so that the earphone can actively initiate communication with the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0148] Based on the same inventive concept as the above embodiments, see Fig.10 , which shows a schematic diagram of the composition structure of an earphone charging box 100 provided in an embodiment of the present application. Fig.10 As shown, the earphone charging box 100 may include: an opening unit 1001 and a parsing unit 1002; wherein,
[0149] An enabling unit 1001 is configured to enable a charging current detection instruction;
[0150] The parsing unit 1002 is configured to detect the charging current of the headset according to the charging current detection instruction, and parse the transmission information corresponding to the charging current according to a preset strategy.
[0151] In the above solution, the preset strategy includes a corresponding relationship between a charging current value and / or a charging current change state and the transmission information.
[0152] In the above scheme, see Fig.10 The earphone charging box 100 may further include a second judgment unit 1003, configured to judge whether the earphone charging box is opened or whether the earphone charging box is connected to the earphone; and if the judgment result is yes, the charging port of the earphone charging box provides a charging voltage and executes the step of starting the charging current detection instruction.
[0153] In the above scheme, the analysis unit 1002 is specifically configured to determine the charging current value and / or the charging current change state corresponding to the charging current; and determine the transmission information based on the correspondence between the preset transmission information and the charging current value and / or the charging current change state to obtain the transmission information sent by the headset.
[0154] In the above solution, the transmission information includes at least one of the following: power information, pairing information, sleep information and charging information.
[0155] It can be understood that in this embodiment, a "unit" can be a part of a circuit, a part of a processor, a part of a program or software, etc., and of course it can also be a module, or it can be non-modular. Moreover, the components in this embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional module.
[0156] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, this embodiment provides another computer storage medium, which is applied to the earphone charging box 100. The computer storage medium stores a communication program, and when the communication program is executed by the second processor, the method described in any one of the above embodiments is implemented.
[0157] Based on the above-mentioned composition of the earphone charging box 100 and the computer storage medium, see Fig.11 , which shows the specific hardware structure of the earphone charging box 100 provided in the embodiment of the present application, which may include: a second communication interface 1101, a second memory 1102, and a second processor 1103; each component is coupled together through a second bus system 1104. It can be understood that the second bus system 1104 is used to realize the connection and communication between these components. In addition to the data bus, the second bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in Fig.11 In the figure, various buses are marked as the second bus system 1104.
[0158] The second communication interface 1101 is used for receiving and sending signals during the process of sending and receiving information with the headset;
[0159] The second memory 1102 is used to store a computer program that can be run on the second processor 1103;
[0160] The second processor 1103 is configured to execute, when running the computer program:
[0161] Start the charging current detection command;
[0162] According to the charging current detection instruction, the charging current of the earphone is detected, and the transmission information corresponding to the charging current is parsed according to a preset strategy.
[0163] Optionally, as another embodiment, the second processor 1103 is further configured to execute any one of the methods described in the foregoing embodiments when running the computer program.
[0164] It can be understood that the hardware functions of the second memory 1102 and the first memory 902 are similar, and the hardware functions of the second processor 1103 and the first processor 903 are similar; they will not be described in detail here.
[0165] This embodiment provides an earphone charging box, which may include an opening unit and a parsing unit. Since the charging current of the earphone is obtained by adjusting the charging current of the earphone according to the transmission information, the transmission information sent by the earphone can be parsed by detecting the charging current of the earphone; thereby realizing that the earphone actively initiates communication with the earphone charging box, that is, the earphone can actively transmit information to the earphone charging box, thereby improving the real-time communication between the earphone and the earphone charging box.
[0166] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0167] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0168] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0169] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0170] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0171] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication method, characterized in that: Applied to headphones, the method comprises: Acquire transmission information of the headset itself; Based on the acquired transmission information, the charging current of the earphone is adjusted using a preset strategy, so that the earphone charging box can parse the transmission information according to the detected charging current and the preset strategy; wherein the preset strategy includes the corresponding relationship between the charging current value and / or the charging current change state and the transmission information, and the transmission information is used by the earphone to actively feedback its own relevant information to the earphone charging box.
2. The method according to claim 1, characterized in that Before acquiring the transmission information of the headset, the method further includes: Determining whether the earphone is connected to the earphone charging box; When the judgment result is yes, the charging voltage provided by the earphone charging box is received, and the step of obtaining the transmission information of the earphone is performed.
3. The method according to claim 1, characterized in that The adjusting the charging current of the headset by using a preset strategy based on the acquired transmission information includes: Based on the correspondence between the preset transmission information and the charging current, determining a preset current value and / or a preset current change state corresponding to the transmission information; The charging current is adjusted according to the preset current value and / or the preset current change state.
4. The method according to any one of claims 1 to 3, characterized in that: The transmission information includes at least one of the following: power information, pairing information, sleep information and charging information.
5. A communication method, characterized in that: Applied to an earphone charging box, the method comprises: Start the charging current detection command; According to the charging current detection instruction, the charging current of the earphone is detected, and the transmission information corresponding to the charging current is parsed according to the preset strategy; wherein the preset strategy includes the corresponding relationship between the charging current value and / or the charging current change state and the transmission information, and the transmission information is used by the earphone to actively feedback its own relevant information to the earphone charging box.
6. The method according to claim 5, characterized in that Before the charging current detection instruction is started, the method further includes: Determine whether the headset charging box is opened or whether the headset charging box is connected to the headset; If the judgment result is yes, the charging port of the earphone charging box provides a charging voltage and executes the step of starting the charging current detection instruction.
7. The method according to claim 5, characterized in that The step of parsing the transmission information corresponding to the charging current according to a preset strategy includes: Determining a charging current value and / or a charging current change state corresponding to the charging current; Based on the corresponding relationship between the preset transmission information and the charging current value and / or the charging current change state, the transmission information is determined to obtain the transmission information sent by the headset.
8. The method according to any one of claims 5 to 7, characterized in that: The transmission information includes at least one of the following: power information, pairing information, sleep information and charging information.
9. A headset, characterized in that: The earphone comprises an acquisition unit and an adjustment unit; wherein, The acquisition unit is configured to acquire the transmission information of the headset itself; The adjustment unit is configured to adjust the charging current of the earphone based on the acquired transmission information and using a preset strategy, so that the earphone charging box parses the transmission information according to the detected charging current and the preset strategy; wherein the preset strategy includes the corresponding relationship between the charging current value and / or the charging current change state and the transmission information, and the transmission information is used by the earphone to actively feedback its own relevant information to the earphone charging box.
10. A headset, characterized in that: The headset includes a first memory and a first processor; wherein, The first memory is used to store a computer program that can be run on the first processor; The first processor is configured to execute the method according to any one of claims 1 to 4 when running the computer program.
11. An earphone charging box, characterized in that: The earphone charging box includes an opening unit and a parsing unit; wherein, The activation unit is configured to activate a charging current detection instruction; The analysis unit is configured to detect the charging current of the earphone according to the charging current detection instruction, and parse the transmission information corresponding to the charging current according to a preset strategy; wherein the preset strategy includes the corresponding relationship between the charging current value and / or the charging current change state and the transmission information, and the transmission information is used by the earphone to actively feedback its own relevant information to the earphone charging box.
12. An earphone charging box, characterized in that: The earphone charging box includes a second memory and a second processor; wherein, The second memory is used to store a computer program that can be run on the second processor; The second processor is configured to execute the method according to any one of claims 5 to 8 when running the computer program.
13. A computer storage medium, characterized in that: The computer storage medium stores a communication program, which implements the method according to any one of claims 1 to 4 when executed by a first processor, or implements the method according to any one of claims 5 to 8 when executed by a second processor.
