CN113141029A - Communication method, earphone charging box and storage medium - Google Patents

Communication method, earphone charging box and storage medium Download PDF

Info

Publication number
CN113141029A
CN113141029A CN202010054660.3A CN202010054660A CN113141029A CN 113141029 A CN113141029 A CN 113141029A CN 202010054660 A CN202010054660 A CN 202010054660A CN 113141029 A CN113141029 A CN 113141029A
Authority
CN
China
Prior art keywords
earphone
charging
charging current
transmission information
box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010054660.3A
Other languages
Chinese (zh)
Inventor
刘佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010054660.3A priority Critical patent/CN113141029A/en
Publication of CN113141029A publication Critical patent/CN113141029A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging

Abstract

The embodiment of the application discloses a communication method, an earphone charging box and a storage medium, which are applied to the earphone, wherein the method comprises the following steps: acquiring transmission information of the earphone; based on the acquired transmission information, the charging current of the earphone is adjusted by using a preset strategy, so that the transmission information is analyzed by the earphone charging box according to the detected charging current and the preset strategy.

Description

Communication method, earphone charging box and storage medium
Technical Field
The present application relates to the field of charging technologies, and in particular, to a communication method, an earphone charging box, and a storage medium.
Background
With the continuous development of science and technology, the earphone has obtained extensive application owing to its convenient characteristics of use, and the volume is littleer and littleer. For a headset, such as a sports bluetooth headset, a True Wireless Stereo (TWS) headset, etc., in order to achieve longer endurance, a charging box having a storing and charging function is generally required to be specially equipped. In order to enable the charging box to better control the charging of the wireless headset, communication between the headset and the charging box is required.
At present, the communication mode between the TWS headset and the charging box mainly includes two types: one is communication using a charging voltage (denoted Vbus), and the other is communication using a serial port (including a three-wire serial port and a two-wire serial port). However, both of the current two communication methods have defects, so that the TWS headset cannot actively initiate communication to the charging box, and the real-time performance of communication between the TWS headset and the charging box is reduced.
Disclosure of Invention
The embodiment of the application provides a communication method, an earphone charging box and a storage medium, which can realize that the earphone actively transmits information to the earphone charging box, thereby improving the real-time performance of communication between the earphone and the earphone charging box.
The technical scheme of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a communication method, which is applied to an earphone, and the method includes:
acquiring transmission information of the earphone;
based on the acquired transmission information, the charging current of the earphone is adjusted by using a preset strategy, so that the transmission information is analyzed by the earphone charging box according to the detected charging current and the preset strategy.
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:
starting a charging current detection instruction;
and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy.
In a third aspect, an embodiment of the present application provides an earphone, including an obtaining unit and an adjusting unit; wherein the content of the first and second substances,
an acquisition unit configured to acquire transmission information of the earphone;
the adjusting unit is configured to adjust the charging current of the earphone by using a preset strategy based on the acquired transmission information, so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy.
In a fourth aspect, embodiments of the present application provide a headset, which includes a first memory and a first processor; wherein the content of the first and second substances,
a first memory for storing a computer program operable on the first processor;
a first processor for performing the method according to the first aspect when running the computer program.
In a fifth aspect, an embodiment of the present application provides an earphone charging box, which includes an opening unit and an analysis unit; wherein the content of the first and second substances,
the starting unit is configured to start 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 analyze transmission information corresponding to the charging current according to a preset strategy.
In a sixth aspect, embodiments of the present application provide an earphone charging box, which includes a second memory and a second processor; wherein the content of the first and second substances,
a second memory for storing a computer program operable on the second processor;
a second processor for performing the method according to the second aspect when running the computer program.
In a seventh aspect, the present application provides a computer storage medium storing a communication program, where the communication program implements the method according to the first aspect when executed by a first processor or implements the method according to the second aspect when executed by a second processor.
The communication method, the earphone charging box and the storage medium provided by the embodiment of the application are applied to the earphone, and the transmission information of the earphone is acquired; based on the acquired transmission information, adjusting the charging current of the earphone by using a preset strategy so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy; the charging current detection instruction is applied to the earphone charging box and is started; detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy; therefore, the earphone can adjust the charging current according to the transmission information, then the charging current is detected by the earphone charging box, and the transmission information sent by the earphone is analyzed; therefore, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is to say, the technical scheme of this application can realize that the earphone initiatively charges the box transmission information to the earphone to the real-time of communication between earphone and the earphone box of charging has been improved.
Drawings
Fig. 1 is a schematic view of an application scenario of a charging system according to an embodiment of the present disclosure;
fig. 2A is a schematic structural diagram of a communication method provided in the related art;
fig. 2B is a schematic structural diagram of another communication method provided in the related art;
fig. 3 is a flowchart illustrating a communication method according to an embodiment of the present application;
fig. 4 is a detailed flowchart of a communication method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another communication method according to an embodiment of the present application;
fig. 6 is a detailed flowchart of another communication method provided in the embodiment of the present application;
fig. 7 is a schematic communication structure diagram of a charging system according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an earphone according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a specific hardware structure of an earphone according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram illustrating a charging box of an earphone according to an embodiment of the present disclosure;
fig. 11 is a schematic diagram of a specific hardware structure of an earphone charging box according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
Referring to fig. 1, a schematic view of an application scenario of a charging system provided in an embodiment of the present application is shown. As shown in fig. 1, in this application scenario, an earphone 11 and an earphone charging box 12 are included, and the earphone charging box 12 may accommodate the earphone 11. Wherein, a battery can be integrated in the earphone 11, and a mobile power supply can be integrated in the earphone charging box 12; thus, after the earphone 11 is placed in the earphone charging box 12, if the earphone 11 enters the charging mode, the battery in the earphone 11 can be charged by the portable power source in the earphone charging box 12.
It should be noted that the earphone 11 may be implemented in various forms, for example, the earphone 11 may include a bluetooth earphone, a TWS earphone, a neck-hanging earphone, a wireless-by-wire earphone, a wireless headset, a bluetooth speaker, etc.; the earphone charging box 12 may be a charging box matched with the earphone 11, or may be a testing fixture matched with the earphone 11, and the like, and the embodiment of the present application is not particularly limited. Illustratively, in fig. 1, the headset 11 is a TWS headset and the headset charging box 12 is a charging box that is configured for the TWS headset.
The following description will be made of the related art by taking the case where the headset 11 is a TWS headset and the headset charging box 12 is a charging box that is matched with the TWS headset as an example.
For TWS headsets, the charging box is an integral part that serves to protect the headset, to charge the headset for life, and to interact with the headset for communication. The charging box and the TWS earphone are electrically connected in pairs mainly through POGO PINs (POGO PIN) and metal contacts. Two POGO PIN and metal contact pairs and three POGO PIN and metal contact pairs are common, and the positions of the POGO PIN and metal contact pairs are respectively positioned at the corresponding positions of the charging box and the TWS earphone; like this, when the TWS earphone is placed in the box that charges, the metal contact on the TWS earphone and the POGO PIN on the box that charges can just contact and switch on to the box that charges and communicates for the TWS earphone. Here, in order to make the structural design more convenient and to have a more beautiful appearance, it is generally better that the number of POGO PIN and metal contact pairs is smaller, but since a voltage difference is required for charging and communication, the number of POGO PIN and metal contact pairs is currently at least 2 pairs.
Before the TWS headset is used, the cover of the charging box matched with the TWS is firstly opened, and then the TWS headset is taken out. That is to say, the charging box needs to sense the opening of the cover of the user and then transmit the opening of the cover to the TWS headset in a communication manner, so that the TWS headset can generate actions such as broadcasting and reconnection, and the subsequent use of the user is facilitated. In addition, when the charging box charges the TWS headset, the current electric quantity of the TWS headset needs to be detected, wherein the common detection mode is to inquire the electric quantity of the TWS headset by using a communication mode, and commands such as pairing, clearing pairing, resetting and the like are also transmitted to the TWS headset by using the communication mode; therefore, communication between the charging box and the TWS headset is very important.
In practical applications, the communication between the charging box and the TWS headset mainly includes the following two ways:
one is to use Vbus communication. The charging PIN of the charging box is used for outputting high and low levels to a charging interface of the TWS earphone according to a communication protocol and a certain time regularity, the TWS earphone can detect the high and low levels transmitted by the charging PIN by using a charging detection PIN of a Bluetooth main chip or an externally-hung chip, and then the high and low levels are analyzed according to the communication protocol, so that the communication of the charging box for the TWS earphone is completed. As shown in fig. 2A, the charging system includes a charging box 201 and a TWS headset 202; the Vbus communication is adopted between the charging box 201 and the TWS headset 202, and since only the charging box 201 can control the high and low levels of Vbus and the TWS headset 202 cannot control the Vbus, the Vbus communication is unidirectional communication, and only the charging box 201 can send information to the TWS headset 202.
The other is a serial port communication mode. Common serial ports on the TWS headset side include a three-wire serial port (i.e., a three-wire communication mode) and a two-wire serial port (i.e., a two-wire communication mode). The three-wire communication mode needs to be provided with three POGO PIN for charging and communication, so that the difficulty of structural design is increased, the appearance of the TWS earphone is influenced, and the two-wire communication mode is a better scheme compared with the three-wire communication mode. Here, the essence of the two-wire communication mode is that a power line, a serial port Transmission (TX) wire and a serial port Reception (RX) wire are connected to one wire through an isolation circuit, and then time division multiplexing is performed; the other wire is always the ground wire. As shown in fig. 2B, the charging system still includes a charging box 201 and a TWS headset 202; two-wire serial port communication is adopted between the charging box 201 and the TWS earphone 202, although two-way communication is realized between the charging box 201 and the TWS earphone 202, the serial ports cannot normally communicate at this time when high-level charging is provided through a power line; whether the power line is charged or not is controlled by the charging box 201, that is, the serial port communication can only be initiated by the charging box 201, and then the TWS headset 202 passively replies.
It can be seen that, the two current communication modes have some defects, for example, Vbus communication is one-way communication, and only information can be sent to the TWS headset by the charging box, and the TWS headset cannot send information to the charging box; in addition, the three-wire communication mode increases the difficulty of structural design and influences the appearance of the TWS earphone; the two-wire communication mode realizes bidirectional communication, but can be initiated only by the charging box, and then the TWS earphone passively replies; that is, none of the TWS headsets can actively initiate communication to the charging box.
The embodiment of the application provides a communication method, which is applied to an earphone and comprises the steps of firstly acquiring transmission information of the earphone; then based on the acquired transmission information, adjusting the charging current of the earphone by using a preset strategy, so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy; therefore, the earphone can adjust the charging current according to the transmission information, and then the charging current is detected by the earphone charging box to analyze the transmission information, so that the earphone can transmit the information to the earphone charging box by regularly controlling the charging current; that is to say, this application can realize that the earphone initiatively initiates the communication for the earphone box that charges, and the earphone can initiatively transmit information to the earphone box that charges promptly to the real-time of communication between earphone and the earphone box that charges has been improved.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, referring to fig. 3, a flowchart of a communication method provided in an embodiment of the present application is shown. As shown in fig. 3, the method may include:
s301: acquiring transmission information of the earphone;
note that the communication method is applied to a headset. Wherein a headset (such as a TWS headset) may be built into a headset charging box (such as a charging box configured for a TWS headset) and then the headset is charged by the headset charging box.
It should also be noted that, during the process of charging the earphone by the earphone charging box, the earphone charging box and the earphone can perform interactive communication. In one aspect, the headset charging box may send information to the headset; on the other hand, the headset may also send information to the headset charging box. Here, the conventional communication modes such as Vbus communication or serial port communication can be adopted to realize that the earphone charging box actively sends information to the earphone; therefore, in order to improve the real-time performance of communication between the earphone and the earphone charging box, the communication method provided by the embodiment of the application is mainly used for enabling the earphone to actively send information to the earphone charging box.
Thus, before the earphone actively sends information to the earphone charging box, the earphone needs to acquire transmission information of the earphone. Wherein, the transmission information at least comprises: the headset charging box comprises a charging module, a charging module and a charging module, wherein the charging module is used for charging the headset charging box, and the charging module is used for charging the headset charging box. In addition, in the process, if the earphone is likely to need to be taken out of the box (for example, when the cover is opened), the earphone can actively feed back the relevant information of the earphone as transmission information to the earphone charging box at the moment.
S302: based on the acquired transmission information, the charging current of the earphone is adjusted by using a preset strategy, so that the transmission information is analyzed by the earphone charging box according to the detected charging current and the preset strategy.
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, the earphone charging box can provide charging voltage and charging current for the earphone at the in-process that the earphone charging box charges for the earphone, and the earphone can also control charging current this time, specifically speaking, can control the adjustment according to transmission information to charging current to make the charging current sign of adjustment have transmission information.
It should be further noted that the preset strategy may include a corresponding relationship between the charging current and/or the charging current variation state and the transmission information.
Here, the preset strategy represents a preset charging current adjustment strategy related to the transmission information; for example, the transmission information may be represented by a certain charging current value, may be represented by a charging current change state, and may be represented by a combination of the charging current value and the charging current change state, and the embodiment of the present application is not particularly limited.
In addition, the preset strategy may also be a preset communication protocol, and at this time, the transmission information may be represented by controlling the charging current (such as the charging current value and/or the charging current variation state) by using the preset communication protocol. In this way, after the transmission information is obtained, the charging current may be adjusted by using a preset strategy (e.g., a preset communication protocol), so as to obtain an adjusted charging current. That is to say, adjust charging current through the earphone, and carry out charging current detection by the earphone box that charges to utilize and predetermine communication protocol and analyze out the transmission information that the earphone sent, thereby accomplished the communication that the earphone initiatively sent information and give the earphone box that charges.
The embodiment provides a communication method, which is applied to a headset and is used for acquiring transmission information of the headset; based on the acquired transmission information, adjusting the charging current of the earphone by using a preset strategy so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy; therefore, the earphone can adjust the charging current according to the transmission information, and then the charging current detection is carried out by the earphone charging box to analyze the transmission information sent by the earphone, so that the earphone can realize the transmission of the information to the earphone charging box by regularly controlling the charging current; that is to say, this embodiment can realize that the earphone initiatively initiates the communication for the earphone box that charges, and the earphone can initiatively transmit information to the earphone box that charges promptly to the real-time of communication between earphone and the earphone box that charges has been improved.
Further, before acquiring the transmission information of the headset, the headset charging box needs to provide charging voltage for the headset; however, 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). Therefore, in some embodiments, refer to fig. 4, which illustrates a detailed flow diagram of a communication method provided by an embodiment of the present application. As shown in fig. 4, the method may include:
s401: judging whether the earphone is connected with the earphone charging box;
s402: when the judgment result is yes, judging whether the earphone receives the charging voltage provided by the earphone charging box;
it should be noted that, it is first necessary to determine whether the earphone is connected to the earphone charging box, for example, 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, and at this time, the earphone charging box may provide a charging voltage to the earphone, and the step S402 needs to be continuously performed; whether the earphone receives the charging voltage provided by the earphone charging box or not is judged to determine whether the earphone charging box provides the charging current for the earphone or not, and the follow-up earphone is convenient to control the charging current according to the transmission information.
It should be noted that, when the earphone is not placed inside the earphone charging box, that is, the judgment result is no, which indicates that the earphone is not connected to the earphone charging box, at this time, the earphone does not perform relevant processing, and at this time, the process may be ended.
S403: when the earphone receives the charging voltage provided by the earphone charging box, acquiring the transmission information of the earphone;
s404: when the earphone does not receive the charging voltage provided by the earphone charging box, the process is ended;
it should be noted that, by determining 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 provides the charging current to the earphone at this time, step S403 may be executed, that is, the earphone may obtain the transmission information, so as to control the charging current according to the transmission information in the following step.
It should 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 the charging current to the earphone at this time, for example, when the earphone is in a full-charge state and enters a sleep mode, the earphone will not receive the charging voltage provided by the earphone charging box at this time; or, when the earphone charging box is in a low-power state or even a 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 at this time, and then 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, and the process is ended.
S405: and based on the acquired transmission information, adjusting the charging current of the earphone by using a preset strategy so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy.
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, at the in-process that earphone charging box charges for the earphone, earphone charging box can provide charging voltage and charging current for the earphone, and the earphone can also control charging current this time, specifically speaking, can control the adjustment to charging current according to transmission information for the charging current sign of adjustment has transmission information, so that earphone charging box can resolve transmission information according to the charging current that detects and predetermine the strategy.
Optionally, in some embodiments, for S405, the adjusting the charging current of the headset by using a preset policy based on the acquired transmission information may include:
generating a control instruction based on the transmission information, and adjusting the charging current according to the control instruction; the control instruction is used for representing enabling control over a charging management chip so that the charging current changes.
It should be noted that the control instruction may be used to implement enable control of a Charge Integrated Circuit (Charge IC) or a Charge management chip in the headset. Specifically, according to the transmission information, the enabling pin of the charging management chip in the earphone can be controlled to be switched on or off, so that the charging current can be actively controlled.
That is, for transmitting information, the headset may generate control instructions; then, the charging current is adjusted according to the control instruction, and the representation of the adjusted charging current has transmission information; therefore, when the charging current is detected, the transmission information sent by the earphone can be determined, and the communication that the earphone actively sends the information to the earphone charging box is completed.
Optionally, in some embodiments, for S405, the adjusting the charging current of the headset by using a preset policy based on the acquired transmission information may include:
determining a preset current value and/or a preset current change state corresponding to transmission information based on a corresponding relation between the preset transmission information and charging current;
and adjusting the charging current according to the preset current value and/or the preset current change state.
It should be noted that, in the earphone, the corresponding relationship between the transmission information and the charging current is stored in advance; that is, the charging current values and/or the charging current variation states corresponding to different transmission information are different. Thus, according to the acquired transmission information, a preset current value corresponding to the transmission information can be determined from the corresponding relation 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, a preset current change state corresponding to the transmission information can be determined from the corresponding relationship 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, a preset current value and a preset current change state corresponding to the transmission information can be determined from the corresponding relationship 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; therefore, when the charging current is detected, the transmission information sent by the earphone can be determined, and the communication that the earphone actively sends the information to the earphone charging box is completed.
Optionally, in some embodiments, for S405, the adjusting the charging current of the headset by using a preset policy based on the acquired transmission information may include:
and adjusting the charging current by utilizing a preset communication protocol based on the transmission information.
It should be noted that the preset communication protocol may be a set of communication protocols preset in the headset and the headset charging box. Due to different transmission information, the control of the charging current by utilizing a preset communication protocol is different; therefore, the charging current can be controlled on the earphone side according to the preset communication protocol, and then the transmission information sent by the earphone is analyzed on the earphone charging box side according to the preset communication protocol.
Therefore, after the transmission information is obtained, the earphone 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 the charging current is detected at the earphone charging box side, and the charging current is analyzed according to the preset communication protocol, so that the transmission information sent by the earphone can be determined, and the communication that the earphone actively sends the information to the earphone charging box is completed.
The present embodiment provides a communication method, which is applied to a headset. The specific implementation of the foregoing embodiment is elaborated in detail through this embodiment, and it can be seen that, since the earphone can adjust the charging current according to the transmission information, and then the charging current detection is performed by the earphone charging box to analyze the transmission information sent by the earphone, the earphone can realize the transmission of information to the earphone charging box by regularly controlling the charging current; that is to say, this embodiment can realize that the earphone initiatively initiates the communication for the earphone box that charges, and the earphone can initiatively transmit information to the earphone box that charges promptly to the real-time of communication between earphone and the earphone box that charges has been improved.
In another embodiment of the present application, referring to fig. 5, a flowchart of another communication method provided in the embodiment of the present application is shown. As shown in fig. 5, the method may include:
s501: starting a charging current detection instruction;
note that the communication method is applied to the headphone charging box. Wherein a headset (such as a TWS headset) may be built into a headset charging box (such as a charging box configured for a TWS headset) and then the headset is charged by the headset charging box.
It should also be noted that, during the process of charging the earphone by the earphone charging box, the earphone charging box and the earphone can perform interactive communication. When the earphone charging box provides charging voltage and charging current for the earphone, the earphone can adjust the charging current according to the transmission information of the earphone, and then the earphone charging box detects the charging current.
That is to say, be provided with detection module in the earphone charging box, can be used for after opening charging current detection instruction, can detect or sample according to this detection module and obtain charging current. The detection module may be an Analog-to-Digital Converter (ADC), or may be a current transformer, a sampling resistor, and the like, which is not limited in this embodiment of the present application.
S502: and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy.
It should be noted that, at the earphone side, the charging current of the earphone is adjusted by using a preset strategy; therefore, on the side of the earphone charging box, the transmission information can be analyzed according to the detected charging current and the preset strategy. Here, the transmission information includes at least: the earphone charging box comprises an earphone charging box body, and is used for charging the earphone charging box body, wherein the earphone charging box body comprises a charging box body, a charging information storage unit and a charging information storage unit. In addition, in the process, if the earphone is likely to need to be taken out of the box (for example, when the cover is opened), the earphone can actively feed back the relevant information of the earphone as transmission information to the earphone charging box at the moment.
It should be further noted that the preset strategy may include a corresponding relationship between the charging current and/or the charging current variation state and the transmission information.
Here, the preset strategy represents a preset charging current adjustment strategy related to the transmission information; for example, the transmission information may be represented by a certain charging current value, may be represented by a charging current change state, and may be represented by a combination of the charging current value and the charging current change state, and the embodiment of the present application is not particularly limited.
Therefore, after the charging current detection instruction is started, the detection module in the earphone charging box can detect the charging current so as to acquire detection information (such as an ADC (analog to digital converter) sampling value) corresponding to the charging current, and meanwhile, transmission information corresponding to the charging current can be analyzed by combining with a preset strategy so as to complete communication of the earphone actively sending information to the earphone charging box.
That is to say, after the charging current of the earphone is detected, the charging current may be analyzed in combination with a preset policy, for example, after the enabling control information of the charging management chip in the earphone is analyzed, the enabling control information of the charging management chip in the earphone may be used to determine the transmission information sent by the earphone; or after the preset current value is analyzed, the transmission information sent by the earphone can be determined by using the corresponding relation between the preset transmission information and the charging current; or after the preset current change state is analyzed, the transmission information sent by the earphone is determined by using the corresponding relation between the preset transmission information and the charging current; or even the transmission information sent by the earphone can be analyzed by using a preset communication protocol, so that the communication that the earphone actively sends the information to the earphone charging box is completed.
The embodiment provides a communication method, which is applied to an earphone charging box and detects a command by turning on a charging current; and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy. Therefore, the charging current of the earphone is obtained by adjusting the charging current according to the transmission information and the preset strategy by the earphone, and the transmission information sent by the earphone can be analyzed by detecting the charging current of the earphone at the moment; therefore, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is to say, this embodiment can realize that the earphone initiatively initiates the communication for the earphone box that charges, and the earphone can initiatively transmit information to the earphone box that charges promptly to the real-time of communication between earphone and the earphone box that charges has been improved.
Further, before the charging current detection instruction is started, the earphone charging box needs to provide charging voltage for the earphone; the earphone needs to be connected with the earphone charging box before the earphone charging box provides charging voltage for the earphone. Therefore, in some embodiments, refer to fig. 6, which illustrates a detailed flow diagram of another communication method provided by the embodiments of the present application. As shown in fig. 6, the method may include:
s601: judging whether the earphone charging box is connected with the earphone or not;
s602: if the judgment result is yes, judging whether the charging voltage is provided for the earphone by the earphone charging box;
it should be noted that, it is first necessary to determine whether the earphone is connected to the earphone charging box, for example, 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, and at this time, the earphone charging box may provide a charging voltage to the earphone, and step S602 needs to be performed; namely, whether the earphone charging box provides charging voltage for the earphone is judged so as to determine whether the earphone charging box provides charging current for the earphone, so that the subsequent earphone charging box can detect the charging current.
It should be noted that, when the earphone is not placed inside the earphone charging box, that is, the judgment result is no, which indicates that the earphone is not connected to the earphone charging box, at this time, the earphone charging box does not perform relevant processing, and at this time, the process may be ended.
S603: when the earphone charging box provides charging voltage for the earphone, starting a charging current detection instruction;
s604: when the earphone charging box does not provide charging voltage for the earphone, the process is ended;
it should be noted that, by determining whether the charging voltage is provided to the earphone by the earphone charging box, when the charging voltage is provided to the charging port of the earphone charging box, the earphone charging box may provide the charging current to the earphone at this time, and then step S603 is executed, that is, the charging current detection instruction is turned on to perform the charging current detection.
It should be noted that, when the charging box of the earphone does not provide the charging voltage to the earphone, the charging box of the earphone does not provide the charging current to the earphone at this time, for example, when the earphone is in a full-charge state and enters a sleep mode, the charging box of the earphone does not provide the charging voltage to the earphone at this time; or, when the earphone charging box is in a low-power state or even a no-power state, and the earphone charging box cannot charge the earphone, the earphone charging box cannot provide charging voltage for the earphone at this time, and the earphone cannot obtain charging current, and the charging current cannot be controlled according to the transmission information, and at this time, step S604 may be executed, and the process is ended.
Further, whether the earphone charging box is opened or not is judged, when the judgment result is yes, the charging port of the earphone charging box provides charging voltage, at this time, the earphone charging box can provide charging current for the earphone, and then step S604 is executed, namely, a charging current detection instruction is started to detect the charging current.
Here, no matter whether judging whether the earphone charging box is uncapped or whether judging the earphone charging box is connected with the earphone, the judgment can be carried out through modes such as infrared sensor, contact switch, hall device, etc., and the embodiment of the application is not particularly limited.
S605: and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing the transmission information corresponding to the charging current according to a preset strategy.
It should be noted that, after the charging current detection instruction is started, the detection module in the earphone charging box can detect the charging current so as to obtain the charging current of the earphone, and the transmission information sent by the earphone is conveniently analyzed by combining with a preset strategy, so that the communication that the earphone actively sends information to the earphone charging box is completed.
It should be further noted that after the charging current of the earphone is detected, the charging current may be analyzed by combining a preset policy, for example, after the enabling control information of the charging management chip in the earphone is analyzed, the enabling control information of the charging management chip in the earphone may be used to determine the transmission information sent by the earphone; or after the preset current value is analyzed, the transmission information sent by the earphone can be determined by using the corresponding relation between the preset transmission information and the charging current; or after the preset current change state is analyzed, the transmission information sent by the earphone is determined by using the corresponding relation between the preset transmission information and the charging current; or even the transmission information sent by the earphone can be analyzed by using a preset communication protocol, so that the communication that the earphone actively sends the information to the earphone charging box is completed.
Optionally, in some embodiments, for S605, the parsing out the transmission information corresponding to the charging current according to a preset policy may include:
analyzing and processing the detected charging current to obtain enabling control information of a charging management chip in the earphone;
and determining the transmission information sent by the earphone according to the enabling control information of the charging management chip in the earphone.
It should be noted that, if the adjustment of the charging current is performed on the earphone side based on the enable control of the charging management chip in the earphone, the detected charging current may be analyzed and processed through a preset policy on the earphone charging box side to obtain the enable control information of the charging management circuit or the charging management chip in the earphone; and then, according to the obtained enabling control information of the charging management chip in the earphone, the transmission information sent by the earphone is analyzed.
Optionally, in some embodiments, for S605, the parsing out the transmission information corresponding to the charging current according to a preset policy may include:
determining a charging current value and/or a charging current change state corresponding to the charging current;
and determining the transmission information based on the corresponding relation between preset transmission information and the charging current value and/or the charging current change state so as to obtain the transmission information sent by the earphone.
Note that, the correspondence between the transmission information and the charging current is also stored in advance in the earphone charging box. Thus, if the charging current is adjusted on the basis of the corresponding relationship between the preset transmission information and the charging current on the earphone side, the detected charging current can be analyzed and processed through a preset strategy on the earphone charging box side, and a preset current value and/or a preset current change state corresponding to the detection information are/is determined; and then, according to the corresponding relation between the preset transmission information and the charging current, the transmission information corresponding to the preset current value and/or the preset current change state is analyzed.
Optionally, in some embodiments, for S605, the parsing out the transmission information corresponding to the charging current according to a preset policy may include:
and analyzing and processing the detected charging current based on a preset communication protocol, and determining transmission information sent by the earphone.
It should be noted that the preset communication protocol may be a set of communication protocols preset in the headset and the headset charging box. Therefore, if the charging current is adjusted based on the preset communication protocol on the earphone side, the detected charging current can be analyzed and processed by using the preset communication protocol on the earphone charging box side so as to analyze the transmission information sent by the earphone, thereby completing the communication that the earphone actively sends the information to the earphone charging box.
The embodiment provides a communication method which is applied to an earphone charging box. The specific implementation of the foregoing embodiment is elaborated in detail by this embodiment, and it can be seen that, since the charging current of the earphone is obtained by adjusting the charging current by the earphone according to the transmission information and the preset policy, the transmission information sent by the earphone can be analyzed by detecting the charging current of the earphone; therefore, the earphone can transmit information to the earphone charging box by regularly controlling the charging current; that is to say, this embodiment can realize that the earphone initiatively initiates the communication for the earphone box that charges, and the earphone can initiatively transmit information to the earphone box that charges promptly to the real-time of communication between earphone and the earphone box that charges has been improved.
In another embodiment of the present application, refer to fig. 7, which shows a communication structure diagram of a charging system provided in an embodiment of the present application. In fig. 7, the charging system may include a headset 701 and a headset charging box 702; the headset 701 may be adapted to the communication method described in the previous embodiment, and the headset charging box 702 may be adapted to the communication method described in the previous another embodiment; that is, in the charging system shown in fig. 7, the headset 701 can actively initiate communication with the headset charging box 702 by actively controlling the charging current.
In fig. 7, first, the headset 701 needs to be placed inside the headset charging box 702 to realize that the headset charging box 702 can charge the headset 701; in addition, the earphone charging box 702 can provide a charging voltage to the earphone 701 except in the case where the earphone 701 is fully charged and enters a sleep mode or the earphone charging box 702 is in a low or no power state, so that the earphone charging box 702 cannot charge the earphone 701. Secondly, the earphone charging box also needs to open a detection module (such as an ADC) to start detecting the charging current of the earphone 701, so that on one hand, transmission information of the earphone 701 can be obtained by detecting the charging current, and information such as the charging condition of the earphone, whether the earphone is still in a charging state, whether the electric quantity is close to a full electric quantity, and the like can be obtained according to the transmission information; on the other hand, information about the movement of the earphone 701 into and out of the box can 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 starts a charging current detection instruction, since the earphone 701 can actively control the charging current in the earphone side by enabling and closing a Charge IC, or adjusting different charging currents or presetting a communication protocol, etc., the detection information (such as an ADC sampling value) of the charging current at the earphone charging box side can be controlled; thus, on the side of the charging box, the charging box 702 analyzes the detected charging current, and can analyze the transmission information sent by the headset 701, thereby completing the communication that the headset actively sends to the charging box.
In the current solution, either the one-way communication from the earphone charging box to the earphone or the two-way communication, but the one-way communication can be initiated only by the earphone charging box actively and the earphone can only reply passively; at this time, in the communication between the earphone charging box and the earphone, some information, such as interaction between the earphone and the earphone charging box, whether the earphone is in a charging state, and the like, is actively initiated by the earphone to the earphone charging box more timely than the earphone charging box actively inquires and replies by the earphone. So, in this application embodiment, the earphone can come information transfer to the earphone box of charging through the control charging current of initiative regularity to can reach the earphone and initiatively send out the purpose of information for the earphone box of charging.
The embodiment provides a charging system, and the specific implementation of the foregoing embodiment is explained in detail through this embodiment, from which it can be seen that, at the earphone side, the charging current of the earphone can be adjusted according to the transmission information; on the side of the earphone charging box, the charging current of the earphone can be detected to obtain the transmission information sent by the earphone; therefore, the earphone actively initiates communication for the earphone charging box, and the real-time performance of communication between the earphone and the earphone charging box is improved.
Based on the same inventive concept of the foregoing embodiment, refer to fig. 8, which shows a schematic structural diagram of a headset 80 according to an embodiment of the present application. As shown in fig. 8, the earphone 80 may include: an acquisition unit 801 and an adjustment unit 802; wherein the content of the first and second substances,
an acquisition unit 801 configured to acquire transmission information of the headset;
an adjusting unit 802 configured to adjust the charging current of the earphone by using a preset policy based on the acquired transmission information, so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset policy.
In the above scheme, the preset strategy includes a correspondence between a charging current value and/or a charging current change state and the transmission information.
In the above solution, as shown in fig. 8, the earphone 80 may further include a first judging unit 803 configured to judge whether the earphone is connected to the earphone charging box; and when the judgment result is yes, receiving the charging voltage provided by the earphone charging box, and executing the step of acquiring the transmission information of the earphone.
In the above solution, the adjusting unit 802 is specifically configured to determine a preset current value and/or a preset current change state corresponding to the transmission information based on a corresponding relationship between preset transmission information and a charging current; and adjusting the charging current according to the preset current value and/or the preset current change state.
In the above scheme, the transmission information at least includes one of the following items: electric quantity information, pairing information, dormancy information and charging information.
It is understood that in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module, or may also be non-modular. Moreover, each component in the embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Accordingly, the present embodiment provides a computer storage medium, applied to the headset 80, which stores a communication program that, when executed by the first processor, implements the method of any of the preceding embodiments.
Based on the above-mentioned composition of the headset 80 and the computer storage medium, referring to fig. 9, it shows a 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; the various components are coupled together by a first bus system 904. It is understood that the first bus system 904 is used to enable communications among the components. The first bus system 904 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as first bus system 904 in fig. 9. Wherein the content of the first and second substances,
a first communication interface 901, configured to receive and transmit signals during information transmission and reception with the earphone charging box;
a first memory 902 for storing a computer program capable of running on the first processor 903;
a first processor 903 for performing, when running the computer program, the following:
acquiring transmission information of the earphone;
based on the acquired transmission information, the charging current of the earphone is adjusted by using a preset strategy, so that the transmission information is analyzed by the earphone charging box according to the detected charging current and the preset strategy.
It is to be appreciated that the first memory 902 in the subject embodiment can be either volatile memory or nonvolatile memory, or both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The first memory 902 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The first processor 903 may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the first processor 903. The first Processor 903 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The method disclosed in connection with the foregoing embodiments may be directly implemented by a hardware decoding processor, or may be implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the first memory 902, and the first processor 903 reads information in the first memory 902, and completes the steps of the method in combination with hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof. For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the first processor 903 is further configured to execute the method in any one of the foregoing embodiments when the computer program is executed.
The present embodiment provides a headset that may include a first acquisition unit and an adjustment unit. Because the earphone adjusts the charging current according to the transmission information, the earphone charging box can analyze the transmission information according to the detected charging current and a preset strategy, so that the earphone can realize the transmission of the information to the earphone charging box by regularly controlling the charging current, the earphone can actively initiate the communication for the earphone charging box, and the real-time performance of the communication between the earphone and the earphone charging box is also improved.
Based on the same inventive concept of the foregoing embodiment, refer to fig. 10, which shows a schematic structural diagram of a charging box 100 for an earphone according to an embodiment of the present application. As shown in fig. 10, the earphone charging box 100 may include: a starting unit 1001 and an analyzing unit 1002; wherein the content of the first and second substances,
a turn-on unit 1001 configured to turn on a charging current detection instruction;
the analyzing unit 1002 is configured to detect the charging current of the earphone according to the charging current detection instruction, and analyze transmission information corresponding to the charging current according to a preset strategy.
In the above scheme, the preset strategy includes a correspondence between a charging current value and/or a charging current change state and the transmission information.
In the above scheme, referring to fig. 10, the earphone charging box 100 may further include a second determination unit 1003 configured to determine whether the earphone charging box is opened or connected to the earphone; and if the judgment result is yes, the charging port of the earphone charging box provides charging voltage, and the step of starting the charging current detection instruction is executed.
In the above solution, the analyzing unit 1002 is specifically configured to determine a charging current value and/or a charging current variation state corresponding to the charging current; and determining the transmission information based on the corresponding relation between preset transmission information and the charging current value and/or the charging current change state so as to obtain the transmission information sent by the earphone.
In the above scheme, the transmission information at least includes one of the following items: electric quantity information, pairing information, dormancy information and charging information.
It is understood that in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module, or may also be non-modular. Moreover, each component in the embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
The integrated unit, if implemented in the form of a software functional module and not sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present embodiment provides another computer storage medium applied to the earphone charging box 100, which stores a communication program that implements the method of any one of the foregoing embodiments when executed by the second processor.
Based on the above-mentioned composition of the earphone charging box 100 and the computer storage medium, referring to fig. 11, a specific hardware structure of the earphone charging box 100 provided by the embodiment of the present application is shown, which may include: a second communication interface 1101, a second memory 1102 and a second processor 1103; the various components are coupled together by a second bus system 1104. It will be appreciated that the second bus system 1104 is used to enable communications for connections between these components. The second bus system 1104 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as the second bus system 1104 in FIG. 11. Wherein the content of the first and second substances,
a second communication interface 1101 for receiving and transmitting signals during information transmission and reception with the headset;
a second memory 1102 for storing a computer program operable on the second processor 1103;
a second processor 1103, configured to, when running the computer program, perform:
starting a charging current detection instruction;
and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy.
Optionally, as another embodiment, the second processor 1103 is further configured to, when running the computer program, perform the method of any of the preceding embodiments.
It is to be understood that the second memory 1102 is similar in hardware functionality to the first memory 902, and the second processor 1103 is similar in hardware functionality to the first processor 903; and will not be described in detail herein.
The present embodiment provides an earphone charging box, which may include an opening unit and an analyzing unit. The charging current of the earphone is obtained by adjusting the charging current according to the transmission information by the earphone, so that the transmission information sent by the earphone can be analyzed by detecting the charging current of the earphone; therefore, the earphone actively initiates communication for the earphone charging box, namely, the earphone can actively transmit information to the earphone charging box, and the real-time performance of communication between the earphone and the earphone charging box is improved.
It should be noted that, in the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A communication method, applied to a headset, the method comprising:
acquiring transmission information of the earphone;
based on the acquired transmission information, the charging current of the earphone is adjusted by using a preset strategy, so that the transmission information is analyzed by the earphone charging box according to the detected charging current and the preset strategy.
2. The method according to claim 1, wherein the preset strategy comprises a correspondence relationship between a charging current value and/or a charging current change state and the transmission information.
3. The method of claim 1, wherein prior to said obtaining the transmission information of the headset, the method further comprises:
judging whether the earphone is connected with the earphone charging box;
and when the judgment result is yes, receiving the charging voltage provided by the earphone charging box, and executing the step of acquiring the transmission information of the earphone.
4. The method of claim 1, wherein the adjusting the charging current of the headset based on the obtained transmission information using a preset strategy comprises:
determining a preset current value and/or a preset current change state corresponding to transmission information based on a corresponding relation between the preset transmission information and charging current;
and adjusting the charging current according to the preset current value and/or the preset current change state.
5. The method according to any of claims 1 to 4, wherein the transmission information comprises at least one of: electric quantity information, pairing information, dormancy information and charging information.
6. A communication method applied to a headset charging box, the method comprising:
starting a charging current detection instruction;
and detecting the charging current of the earphone according to the charging current detection instruction, and analyzing transmission information corresponding to the charging current according to a preset strategy.
7. The method according to claim 6, wherein the preset strategy comprises a corresponding relationship between a charging current value and/or a charging current change state and the transmission information.
8. The method of claim 6, wherein prior to the turn-on charge current detection command, the method further comprises:
judging whether the earphone charging box is opened or not or whether the earphone charging box is connected with the earphone or not;
and if so, providing a charging voltage by a charging port of the earphone charging box, and executing the step of starting the charging current detection instruction.
9. The method according to claim 6, wherein the parsing out the transmission information corresponding to the charging current according to a preset policy includes:
determining a charging current value and/or a charging current change state corresponding to the charging current;
and determining the transmission information based on the corresponding relation between preset transmission information and the charging current value and/or the charging current change state so as to obtain the transmission information sent by the earphone.
10. The method according to any of claims 6 to 9, wherein the transmission information comprises at least one of: electric quantity information, pairing information, dormancy information and charging information.
11. An earphone, characterized in that the earphone comprises an acquisition unit and an adjustment unit; wherein the content of the first and second substances,
the acquisition unit is configured to acquire transmission information of the earphone;
the adjusting unit is configured to adjust the charging current of the earphone by using a preset strategy based on the acquired transmission information, so that the earphone charging box analyzes the transmission information according to the detected charging current and the preset strategy.
12. An earphone, characterized in that the earphone comprises a first memory and a first processor; wherein the content of the first and second substances,
the first memory for storing a computer program operable on the first processor;
the first processor, when executing the computer program, is configured to perform the method of any of claims 1 to 5.
13. An earphone charging box, characterized in that the earphone charging box comprises a starting unit and an analyzing unit; wherein the content of the first and second substances,
the starting unit is configured to start 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 analyze transmission information corresponding to the charging current according to a preset strategy.
14. A headset charging box, comprising a second memory and a second processor; wherein the content of the first and second substances,
the second memory for storing a computer program operable on the second processor;
the second processor, when executing the computer program, is configured to perform the method of any of claims 6 to 10.
15. A computer storage medium, characterized in that it stores a communication program that, when executed by a first processor, implements the method of any one of claims 1 to 5, or when executed by a second processor, implements the method of any one of claims 6 to 10.
CN202010054660.3A 2020-01-17 2020-01-17 Communication method, earphone charging box and storage medium Pending CN113141029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010054660.3A CN113141029A (en) 2020-01-17 2020-01-17 Communication method, earphone charging box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010054660.3A CN113141029A (en) 2020-01-17 2020-01-17 Communication method, earphone charging box and storage medium

Publications (1)

Publication Number Publication Date
CN113141029A true CN113141029A (en) 2021-07-20

Family

ID=76808571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010054660.3A Pending CN113141029A (en) 2020-01-17 2020-01-17 Communication method, earphone charging box and storage medium

Country Status (1)

Country Link
CN (1) CN113141029A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784251A (en) * 2021-10-25 2021-12-10 展讯通信(上海)有限公司 TWS earphone, charging box, charging method and charging system
CN117526589A (en) * 2024-01-03 2024-02-06 宁波赛宝信息产业技术研究院有限公司 Wireless charging communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199582A (en) * 2013-03-27 2013-07-10 广东欧珀移动通信有限公司 Charging current adjustment method and charging current adjustment device
CN108494030A (en) * 2018-03-13 2018-09-04 维沃移动通信有限公司 A kind of wireless charging method, terminal and transmitting end equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199582A (en) * 2013-03-27 2013-07-10 广东欧珀移动通信有限公司 Charging current adjustment method and charging current adjustment device
CN108494030A (en) * 2018-03-13 2018-09-04 维沃移动通信有限公司 A kind of wireless charging method, terminal and transmitting end equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784251A (en) * 2021-10-25 2021-12-10 展讯通信(上海)有限公司 TWS earphone, charging box, charging method and charging system
CN117526589A (en) * 2024-01-03 2024-02-06 宁波赛宝信息产业技术研究院有限公司 Wireless charging communication method
CN117526589B (en) * 2024-01-03 2024-05-03 宁波赛宝信息产业技术研究院有限公司 Wireless charging communication method

Similar Documents

Publication Publication Date Title
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
US20110077056A1 (en) Method and apparatus for controlling of bluetooth headset
US10045135B2 (en) Method and device for recognition and arbitration of an input connection
KR100871842B1 (en) Apparatus and Method for controlling Human Body Contact of Ground Electrode, and Human Body Communication System using it
CN113141029A (en) Communication method, earphone charging box and storage medium
US10735054B2 (en) Wireless communication device and method for transferring communication rights between electronic devices
US20180234133A1 (en) Systems and methods for passive radio enabled power gating for a body mountable device
WO2021031296A1 (en) Communication control method, apparatus and system, charging case and wireless earphone
EP2632177A1 (en) Electronic device, accessory, and method for detecting an accessory
EP3202127B1 (en) Electronics interface for device headset jack
CN116684514A (en) Sound masking method and device and terminal equipment
CN109450009B (en) Charging control method and device and computer storage medium
US7406339B2 (en) On-chip detection circuit off-chip mechanical switch's open and close actions
US10271126B2 (en) Earphone noise reduction method and apparatus
US20210084406A1 (en) Portable smart speaker power control
CN103917157A (en) Headphones measuring heart-rate
US20140254818A1 (en) System and method for automatically switching operational modes in a bluetooth earphone
CN113015049A (en) Switch detection method, wireless earphone, earphone box and storage medium
KR20130007696A (en) System and method for debugging in portable terminal
CN107247506B (en) Method and system for managing power in a portable electronic device
US20080113620A1 (en) Radio communication apparatus and power control method of radio communication apparatus
CN114422912A (en) Control method and device of wireless audio equipment and earphone cabin
CN112511153B (en) SWP main interface circuit and terminal
US20220103937A1 (en) Mic switching apparatus and method for vehicle
US6624776B2 (en) Method and system for adjusting the dynamic range of an analog-to-digital converter in a wireless communications device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination