CN110958525A - Communication method and device of earphone and charging box, wireless earphone and storage medium - Google Patents

Communication method and device of earphone and charging box, wireless earphone and storage medium Download PDF

Info

Publication number
CN110958525A
CN110958525A CN201911225612.XA CN201911225612A CN110958525A CN 110958525 A CN110958525 A CN 110958525A CN 201911225612 A CN201911225612 A CN 201911225612A CN 110958525 A CN110958525 A CN 110958525A
Authority
CN
China
Prior art keywords
earphone
charging box
communication
headset
charging
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
CN201911225612.XA
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.)
Qingdao Goertek Intelligent Sensor Co Ltd
Original Assignee
Qingdao Goertek Intelligent Sensor Co 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 Qingdao Goertek Intelligent Sensor Co Ltd filed Critical Qingdao Goertek Intelligent Sensor Co Ltd
Priority to CN201911225612.XA priority Critical patent/CN110958525A/en
Publication of CN110958525A publication Critical patent/CN110958525A/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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • G08C19/02Electric signal transmission systems in which the signal transmitted is magnitude of current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0044Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction specially adapted for holding portable devices containing batteries
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Acoustics & Sound (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a communication method and a communication device of an earphone and a charging box, a wireless earphone and a storage medium, wherein the earphone and the charging box are connected through a charging terminal to realize that the charging box charges the earphone, and the communication method comprises the following steps: converting communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value; passing the peak variable electrical signal through the charging terminal to the headset; the peak variable electrical signal is received and converted to data that the headset can recognize. The invention can reduce the installation space of the charging box occupied by the terminal and improve the tidiness of the overall appearance of the charging box.

Description

Communication method and device of earphone and charging box, wireless earphone and storage medium
Technical Field
The invention relates to the technical field of wireless earphone connection, in particular to a communication method and device of an earphone and a charging box, a wireless earphone and a storage medium.
Background
The TWS (true Wireless Stereo) headset has a dual-headset Wireless connection and is popular with consumers, and the current TWS headsets are equipped with a headset and a charging box, wherein the headset is usually placed in the charging box, the charging box is used for charging the headset, and meanwhile, the charging box also transmits some data to the headset, such as information of pairing connection and the like.
Among the present TWS earphone, the earphone with charge the box on the basis of two positive and negative terminals that charge, establish a communication terminal in addition, realize through the communication terminal that the box that charges transmits data to the earphone, but owing to be provided with three terminal altogether, occupy the installation space of the box that charges, and three terminal exposes externally, the box that charges whole outward appearance is untidy.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
Based on this, to the problem that the existing earphone and the charging box are connected through three terminals, the three terminals occupy the installation space of the charging box, and the overall appearance of the charging box is not neat, it is necessary to provide a communication method and device of the earphone and the charging box, a wireless earphone and a storage medium, which can reduce the installation space occupied by the terminals of the charging box, and improve the tidiness of the overall appearance of the charging box.
In order to achieve the above object, the present invention provides a communication method between an earphone and a charging box, in which the earphone and the charging box are connected through a charging terminal to charge the earphone by the charging box, and the communication method includes:
converting communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value;
passing the peak variable electrical signal through the charging terminal to the headset;
the peak variable electrical signal is received and converted to data that the headset can recognize.
Optionally, the peak variable electrical signal comprises a peak variable voltage, and the step of converting communication data transmitted from the charging box to the earphone into the peak variable electrical signal comprises:
converting communication data transmitted from the charging box to the earphone into voltage with variable peak value;
the step of delivering the peak variable electrical signal to the headset through the charging terminal comprises:
delivering the peak variable voltage to the headset through the charging terminal.
Optionally, the normal voltage when the charging box charges the earphone is defined as VThe lowest point of the voltage with variable peak value is V1Highest point is V2,V≤V1<V2The step of converting the communication data transmitted from the charging box to the earphone into a peak variable voltage comprises:
converting communication data transmitted from the charging box to the earphone into voltage with a low voltage point V1High point of voltage is V2Square wave of (a).
Optionally, the communication data is a binary code, and the step of converting the communication data transmitted from the charging box to the earphone into a peak variable voltage includes:
converting the 0 value in the communication data into a voltage low point V1Converting the 1 value in the communication data into a high voltage point V2
Optionally, a near field communication module is disposed in the headset, and the charging box is provided with a reading module, and the communication method further includes:
and controlling the reading module to read the data sent by the near field communication module so that the earphone transmits communication data to the charging box.
Optionally, the step of setting an interval reading time of the reading module, and controlling the reading module to read the data sent by the near field communication module, so that the headset transmits communication data to the charging box includes:
and controlling the reading module to be started according to the set interval reading time so as to read the data sent by the near field communication module, so that the earphone transmits communication data to the charging box.
In order to achieve the above object, the present invention provides a communication device including an earphone and a charging box, the earphone and the charging box being connected by a charging terminal to charge the earphone with the charging box, the communication device including:
the micro-control processing module is used for converting communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value;
the first communication module is used for transmitting the electric signal with the variable peak value to the earphone through the charging terminal;
the first communication module is further configured to receive the electrical signal with the variable peak value and convert the electrical signal into data that can be recognized by the earphone.
Optionally, a near field communication module is arranged in the headset, the charging box is provided with a reading module, and the communication device further includes:
and the second communication module is used for controlling the reading module to read the data sent by the near field communication module so that the earphone transmits communication data to the charging box.
Further, in order to achieve the above object, the present invention also provides a wireless headset including: the earphone charging device comprises a memory, a processor and a communication program of the earphone and the charging box, wherein the communication program is stored on the memory and can run on the processor; the communication program of the headset and the charging box is executed by the processor to realize the steps of the communication method of the headset and the charging box.
In addition, in order to achieve the above object, the present invention further provides a storage medium having a communication program of the headset and the charging box stored thereon, wherein the communication program of the headset and the charging box is executed by a processor to implement the steps of the communication method of the headset and the charging box as described above.
According to the technical scheme, the communication data transmitted to the earphone by the charging box is converted into the electric signal with the variable peak value, the variable peak value of the electric signal with the variable peak value is used for representing the content of the communication data, the communication data can be transmitted while the earphone is charged by the charging box, the electric signal with the variable peak value received by the earphone is converted into the data capable of being identified, and the communication data is transmitted to the earphone by the charging box.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a first embodiment of a communication method between a headset and a charging box according to the present invention;
fig. 2 is a schematic flow chart illustrating a communication method between the headset and the charging box according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a communication method between the headset and the charging box according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a fourth embodiment of a communication method between a headset and a charging box according to the present invention;
fig. 5 is a schematic flow chart illustrating a fifth embodiment of a communication method between a headset and a charging box according to the present invention;
FIG. 6 is a schematic diagram illustrating the communication between the earphone and the charging box according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a communication method between a headset and a charging box according to the present invention;
fig. 8 is a schematic view of a communication device of the headset and the charging box according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
10 Micro-control processing module 30 Second communication module
20 First communication module
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, in a first embodiment of the present invention, a communication method between an earphone and a charging box, where the earphone and the charging box are connected through a charging terminal, a TWS earphone generally includes two earphones, a left earphone and a right earphone, and when the charging box charges the earphone, a positive charging terminal and a negative charging terminal are required, that is, two charging terminals are required at a storage position of the charging box corresponding to each earphone, so as to charge the earphone by the charging box, includes:
and step S10, converting the communication data transmitted by the charging box to the earphone into an electric signal with a variable peak value.
Specifically, the earphones are usually stored inside the charging box, and the left and right earphones often need to update or clear pairing information or transmit other communication data. The communication data is generally a computer language and comprises binary numerical values and the like. The TWS headset is internally provided with a micro-control processor, and the communication data is converted into an electric signal with a variable peak value by the micro-control processor, for example, a high point and a low point of the electric signal with the variable peak value represent different values. And in the process of charging the earphone by the charging box, the communication data is transmitted.
Step S20, the peak-variable electrical signal is delivered to the headset through the charging terminal.
The charging terminal is usually used to charge the earphone, and the charging terminal is usually a conductive metal sheet or a conductive metal pillar. For example, in the case where the charging box charges the earphone through the charging terminal, the communication data is transmitted according to a change in current or voltage thereof.
In step S30, the peak-variable electrical signal is received and converted into data that can be recognized by the headset.
The peak value variable electric signal received by the earphone end is an analog signal with a certain pattern shape, and the earphone needs to receive a specific action instruction, so that the analog signal needs to be converted into a digital signal, and the earphone can accurately execute the action instruction contained in the communication data.
Among this embodiment technical scheme, through the communication data conversion that charges the box to the earphone transmission the changeable signal of telecommunication of peak value, the changeable peak value that utilizes the changeable signal of telecommunication of peak value represents communication data content, just can accomplish communication data's transmission when charging the box to the earphone, the changeable signal of telecommunication of peak value received with the earphone converts the data that can discern, it transmits communication data to the earphone to accomplish to charge the box, because charge the box and be accomplished through two positive and negative charging terminals when charging the earphone, from this can know when transmission communication data, also rely on two charging terminals to accomplish, avoid establishing communication terminal in addition, reduce the installation space that the terminal occupied the box that charges, guarantee the clean and tidy nature of the whole outward appearance of box that charges.
Referring to fig. 2, in accordance with the first embodiment of the present invention, a second embodiment of the present invention is provided, in which the peak variable electric signal includes a peak variable voltage, and the step S10 of converting the communication data transmitted from the charging box to the earphone into the peak variable electric signal includes:
and step S110, converting the communication data transmitted from the charging box to the earphone into voltage with variable peak value.
Generally, the voltage charged to the earphone by the charging box is stable, and it can be understood that the voltage value is basically unchanged. The voltage value is adjusted to generate fluctuation of the value, new value meanings are given to the maximum point and the minimum point of the voltage fluctuation, namely, communication data can be converted into voltage with variable peak values, and the charging box is used for transmitting the data to the earphone by utilizing the peak value height conversion of the voltage value.
The step S20 of delivering the peak variable electrical signal to the headset through the charging terminal includes:
step S210, the voltage with the variable peak value is transmitted to the earphone through the charging terminal.
The charging terminals are typically used to charge the headset, and are typically conductive metal sheets or conductive metal posts. The earphone corresponds the charging terminal and is provided with corresponding contact site, contact site and charging terminal butt, and the earphone is inside still to be provided with the battery, realizes charging to the inside battery of earphone through the butt of charging terminal and contact site. Also, a peak variable voltage may be delivered to the headset depending on the charging terminal. That is, in the normal charging process, the peak value of the voltage is adjusted, and in the charging process, the communication data can be transmitted.
Referring to fig. 3, a third embodiment of the present invention is proposed based on the second embodiment of the present invention, and the normal voltage when the charging box charges the earphone is defined as V0The lowest point of the voltage with variable peak value is V1Highest point is V2,V0≤V1<V2E.g. voltage V for normal charging of the earphone0At 4.5V, the lowest point of the voltage with variable peak value is V14.5 volts or 4.75 volts with a peak at V2At 5.0 volts. Wherein, the lowest point of the voltage with variable peak value is more than or equal to the normal voltage, so that the normal charging can be effectively ensuredAnd in the process, the charging is prevented from being abnormal in the data communication process. The step S110 of converting the communication data transmitted from the charging box to the earphone into a peak variable voltage includes:
step S110a, converting the communication data transmitted from the charging box to the earphone into voltage with a low voltage point V1High point of voltage is V2Square wave of (a).
Analyzing the meaning represented by the communication data by acquiring the graph change of the square wave, wherein the voltage low point is V1Representing a data meaning with a voltage high point of V2Represents another meaning. For example, the sequence and the number of the received 4.75 volt and the received 5.0 volt are arranged to form a section of data arranged in size, and the section of data is analyzed to obtain corresponding communication data.
Referring to fig. 4, based on the third embodiment of the present invention, a fourth embodiment of the present invention is provided, in which the communication data is binary codes, and the step S110 of converting the communication data transmitted from the charging box to the earphone into the peak variable voltage includes:
step S110b, converting the 0 value in the communication data into a voltage low point V1Converting 1 value in communication data into high voltage point V2
Specifically, referring to fig. 5, the communication data is binary code, that is, the communication data is a segment of data consisting of 0 and 1, if the voltage is lower than the voltage threshold V1Is 4.75V if the voltage is high2At 5.0 volts, for example, if the communication data includes a code of 010010, the transition delivers a voltage value of 4.75 volts, 5.0 volts, 4.75 volts, 5.0 volts, 4.75 volts. In addition, the voltage is maintained at a low point and a high point for a period of time according to a certain time, so that the high voltage and the low voltage can be accurately identified. Similarly, when the communication data is received, the voltage value within a certain time range can be intercepted, and the voltage value within a certain time range represents a single code in the communication data, for example, the received voltage values are 4.75 volts, 5.0 volts, 4.75 volts, 5.0 volts and 4.75 volts, then the communication data comprises 010010, thereby completing the communication data transmission.
Referring to fig. 6, on the basis of the first to fourth embodiments provided by the present invention, a fifth embodiment of the present invention is provided, in which a near field Communication module is disposed in the headset, the charging box is provided with a reading module, the near field Communication module (near field Communication) is abbreviated as an NFC module, the reading module is configured to read data information sent by the NFC module, and the NFC module and the reading module perform data transmission when they are close to each other, and the Communication method further includes:
and step S40, controlling the reading module to read the data sent by the near field communication module so that the earphone can transmit the communication data to the charging box.
Wherein, the earphone is small usually, and the NFC module utilizes its less advantage of volume to install in the earphone, and reading module need read the NFC module, consequently reads the module and is provided with various electronic components that are used for reading the signal, consequently reads the module volume great, reads the module and installs on the box that charges usually, so can make full use of earphone and the installation space of box that charges, guarantees that the earphone transmits data to the box that charges smoothly.
Referring to fig. 7, based on the fifth embodiment of the present invention, a sixth embodiment of the present invention is proposed, in which the step S40 of setting the interval reading time of the reading module and controlling the reading module to read the data sent by the near field communication module so that the headset transmits the communication data to the charging box includes:
and step S41, controlling the reading module to start according to the set interval reading time so as to read the data sent by the near field communication module, so that the earphone transmits the communication data to the charging box.
The reading module can be prevented from being in a working state for a long time by setting the interval reading time of the reading module, for example, the set interval time is 1 second or 5 seconds, and the reading module can be prevented from being in the working state for a long time and can save power.
Referring to fig. 8, the present invention further provides a communication device between an earphone and a charging box, where the earphone and the charging box are connected through a charging terminal, a TWS earphone generally includes two earphones, a left earphone and a right earphone, and generally, when the charging box charges the earphones, a positive charging terminal and a negative charging terminal are both required, that is, two charging terminals are provided at a storage position of the charging box corresponding to each earphone, so as to enable the charging box to charge the earphones, the communication device includes: a micro-control processing module 10 and a first communication module 20.
The micro-control processing module 10 is used for converting the communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value; specifically, the earphones are usually stored inside the charging box, and the left and right earphones often need to update or clear pairing information or transmit other communication data. The communication data is generally a computer language and comprises binary numerical values and the like. The TWS headset is internally provided with a micro-control processor, and the communication data is converted into an electric signal with a variable peak value by the micro-control processor, for example, a high point and a low point of the electric signal with the variable peak value represent different values. Namely, in the process that the charging box charges the earphone, the micro-control processor controls the power module to output different peak values so as to complete the transmission of communication data.
A first communication module 20 for transmitting the peak-variable electrical signal to the earphone through the charging terminal; the charging terminal is usually used to charge the earphone, and the charging terminal is usually a conductive metal sheet or a conductive metal pillar. For example, in the case where the charging box charges the earphone through the charging terminal, the communication data is transmitted according to a change in current or voltage thereof. The earphone end is provided with a charging module which is used for receiving the transmitted electric power and transmitting the electric power to the battery. The earphone end is also provided with an ADC (analog-to-digital conversion) module which is used for converting the electric signal with the variable peak value into a digital signal and transmitting the digital signal to the earphone Bluetooth module, and the earphone can be connected with communication equipment, such as a mobile phone terminal, through the earphone Bluetooth module, so that data interaction between the earphone and the communication terminal can be realized.
The first communication module 10 is further configured to receive the peak value-variable electrical signal and convert the peak value-variable electrical signal into data that can be recognized by the headset. The peak value variable electric signal received by the earphone end is an analog signal with a certain pattern shape, and the earphone needs to receive a specific action instruction, so that the analog signal needs to be converted into a digital signal, and the earphone can accurately execute the action instruction contained in the communication data.
Among this embodiment technical scheme, through the communication data conversion that charges the box to the earphone transmission the changeable signal of telecommunication of peak value, the changeable peak value that utilizes the changeable signal of telecommunication of peak value represents communication data content, just can accomplish communication data's transmission when charging the box to the earphone, the changeable signal of telecommunication of peak value received with the earphone converts the data that can discern, it transmits communication data to the earphone to accomplish to charge the box, because charge the box and be accomplished through two positive and negative charging terminals when charging the earphone, from this can know when transmission communication data, also rely on two charging terminals to accomplish, avoid establishing communication terminal in addition, reduce the installation space that the terminal occupied the box that charges, guarantee the clean and tidy nature of the whole outward appearance of box that charges.
Further, the peak-variable electrical signal includes a peak-variable voltage, and the micro-control processing module 10 is further configured to convert the communication data transmitted from the charging box to the earphone into the peak-variable voltage.
Generally, the voltage charged to the earphone by the charging box is stable, and it can be understood that the voltage value is basically unchanged. The voltage value is adjusted to generate fluctuation of the value, new value meanings are given to the maximum point and the minimum point of the voltage fluctuation, namely, communication data can be converted into voltage with variable peak values, and the charging box is used for transmitting the data to the earphone by utilizing the peak value height conversion of the voltage value.
The first communication module 20 is used to deliver a peak variable voltage to the headset via the charging terminals.
The charging terminals are typically used to charge the headset, and are typically conductive metal sheets or conductive metal posts. The earphone corresponds the charging terminal and is provided with corresponding contact site, contact site and charging terminal butt, and the earphone is inside still to be provided with the battery, realizes charging to the inside battery of earphone through the butt of charging terminal and contact site. Also, a peak variable voltage may be delivered to the headset depending on the charging terminal. That is, in the normal charging process, the peak value of the voltage is adjusted, and in the charging process, the communication data can be transmitted.
Further, the normal voltage when the charging box charges the earphone is defined as V0The lowest point of the voltage with variable peak value is V1Highest point is V2,V0≤V1<V2E.g. voltage V for normal charging of the earphone0At 4.5V, the lowest point of the voltage with variable peak value is V14.5 volts or 4.75 volts with a peak at V2At 5.0 volts. The lowest point of the voltage with the variable peak value is greater than or equal to the normal voltage, so that the normal charging process can be effectively ensured, and the charging abnormality in the data communication process is avoided. The micro-control processing module 10 is also used for converting the communication data transmitted from the charging box to the earphone into voltage with a low voltage point V1High point of voltage is V2Square wave of (a).
Analyzing the meaning represented by the communication data by acquiring the graph change of the square wave, wherein the voltage low point is V1Representing a data meaning with a voltage high point of V2Represents another meaning. For example, the sequence and the number of the received 4.75 volt and the received 5.0 volt are arranged to form a section of data arranged in size, and the section of data is analyzed to obtain corresponding communication data.
Further, the communication data is binary code, and 0 value in the communication data is converted into voltage low point V1Converting 1 value in communication data into high voltage point V2
Specifically, the communication data is binary code, that is, the communication data is a segment of data consisting of 0 and 1, and if the voltage is lower than the voltage threshold V1Is 4.75V if the voltage is high2At 5.0 volts, for example, if the communication data includes a code of 010010, the transition delivers a voltage value of 4.75 volts, 5.0 volts, 4.75 volts, 5.0 volts, 4.75 volts. In addition, the voltage is maintained at a low point and a high point for a period of time according to a certain time, so that the high voltage and the low voltage can be accurately identified. Also, when receiving the communication data, the voltage value within a certain time range can be intercepted, and the voltage value within a certain time represents a single code in the communication data, such asIf the received voltage values are 4.75 volts, 5.0 volts, 4.75 volts, 5.0 volts and 4.75 volts, the communication data includes 010010, thereby completing the communication of the communication data.
Further, set up near field communication module in the earphone, the box that charges is provided with and reads the module, and the earphone sends information through earphone bluetooth module and writes in near field communication module, near field communication module is called NFC module for short, reads the data message that the module is used for reading the NFC module and sends, and NFC module and reading module carry out data transfer under the condition that is close to each other, and reading module transmits the data communication of receiving for micro-control processing module, communication device still includes:
and the second communication module 30 is configured to control the reading module to read the data sent by the near field communication module, so that the earphone transmits communication data to the charging box. Wherein, the earphone is small usually, and the NFC module utilizes its less advantage of volume to install in the earphone, and reading module need read the NFC module, consequently reads the module and is provided with various electronic components that are used for reading the signal, consequently reads the module volume great, reads the module and installs on the box that charges usually, so can make full use of earphone and the installation space of box that charges, guarantees that the earphone transmits data to the box that charges smoothly.
Further, the interval reading time of the reading module is set, and the second communication module 30 is configured to control the reading module to be turned on according to the set interval reading time to read the data sent by the near field communication module, so that the headset transmits the communication data to the charging box.
The reading module can be prevented from being in a working state for a long time by setting the interval reading time of the reading module, for example, the set interval time is 1 second or 5 seconds, and the reading module can be prevented from being in the working state for a long time and can save power.
The present invention also provides a wireless headset, comprising: the earphone charging device comprises a memory, a processor and a communication program of the earphone and the charging box, wherein the communication program is stored on the memory and can run on the processor; the communication program of the headset and the charging box is executed by the processor to realize the steps of the communication method of the headset and the charging box.
The wireless headset according to the present invention may refer to the embodiments of the communication method between the headset and the charging box, and will not be described herein again.
The present invention also provides a storage medium, which stores a communication program between an earphone and a charging box, and when the communication program is executed by a processor, the steps of the communication method between the earphone and the charging box as described above are realized.
The specific implementation of the storage medium of the present invention may refer to the above embodiments of the communication method between the earphone and the charging box, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A communication method of an earphone and a charging box is characterized in that the earphone and the charging box are connected through a charging terminal so as to enable the charging box to charge the earphone, and the communication method comprises the following steps:
converting communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value;
passing the peak variable electrical signal through the charging terminal to the headset;
the peak variable electrical signal is received and converted to data that the headset can recognize.
2. The method of claim 1, wherein the peak-variable electrical signal comprises a peak-variable voltage, and wherein converting communication data communicated by the charging box to the headset into the peak-variable electrical signal comprises:
converting communication data transmitted from the charging box to the earphone into voltage with variable peak value;
the step of delivering the peak variable electrical signal to the headset through the charging terminal comprises:
delivering the peak variable voltage to the headset through the charging terminal.
3. The communication method between the earphone and the charging box according to claim 2, wherein the normal voltage when the charging box charges the earphone is defined as V0The lowest point of the voltage with variable peak value is V1Highest point is V2,V0≤V1<V2The step of converting the communication data transmitted from the charging box to the earphone into a peak variable voltage comprises:
converting communication data transmitted from the charging box to the earphone into voltage with a low voltage point V1High point of voltage is V2Square wave of (a).
4. The method of claim 3, wherein the communication data is a binary code, and the step of converting the communication data transmitted from the charging box to the headset into a peak variable voltage comprises:
converting the 0 value in the communication data into a voltage low point V1Converting the 1 value in the communication data into a high voltage point V2
5. The method of any one of claims 1 to 4, wherein a near field communication module is provided in the headset, and a reading module is provided in the charging box, the method further comprising:
and controlling the reading module to read the data sent by the near field communication module so that the earphone transmits communication data to the charging box.
6. The method for communicating between a headset and a charging box according to claim 5, wherein the step of setting an interval reading time of the reading module, and the step of controlling the reading module to read the data sent by the near field communication module so that the headset transmits the communication data to the charging box comprises:
and controlling the reading module to be started according to the set interval reading time so as to read the data sent by the near field communication module, so that the earphone transmits communication data to the charging box.
7. A communication device of an earphone and a charging box, wherein the earphone and the charging box are connected through a charging terminal to realize that the charging box charges the earphone, the communication device comprises:
the micro-control processing module is used for converting communication data transmitted from the charging box to the earphone into an electric signal with a variable peak value;
the first communication module is used for transmitting the electric signal with the variable peak value to the earphone through the charging terminal;
the first communication module is further configured to receive the electrical signal with the variable peak value and convert the electrical signal into data that can be recognized by the earphone.
8. The headset and charging box communication device of claim 7, wherein a near field communication module is provided in the headset, and a reading module is provided in the charging box, the communication device further comprising:
and the second communication module is used for controlling the reading module to read the data sent by the near field communication module so that the earphone transmits communication data to the charging box.
9. A wireless headset, comprising: the earphone charging device comprises a memory, a processor and a communication program of the earphone and the charging box, wherein the communication program is stored on the memory and can run on the processor; the communication program of the headset and the charging box, when executed by the processor, implements the steps of the communication method of the headset and the charging box according to any one of claims 1 to 6.
10. A storage medium, wherein the storage medium stores a communication program of a headset and a charging box, and the communication program of the headset and the charging box is executed by a processor to realize the steps of the communication method of the headset and the charging box according to any one of claims 1 to 6.
CN201911225612.XA 2019-12-03 2019-12-03 Communication method and device of earphone and charging box, wireless earphone and storage medium Pending CN110958525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911225612.XA CN110958525A (en) 2019-12-03 2019-12-03 Communication method and device of earphone and charging box, wireless earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911225612.XA CN110958525A (en) 2019-12-03 2019-12-03 Communication method and device of earphone and charging box, wireless earphone and storage medium

Publications (1)

Publication Number Publication Date
CN110958525A true CN110958525A (en) 2020-04-03

Family

ID=69979718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911225612.XA Pending CN110958525A (en) 2019-12-03 2019-12-03 Communication method and device of earphone and charging box, wireless earphone and storage medium

Country Status (1)

Country Link
CN (1) CN110958525A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757206A (en) * 2020-07-06 2020-10-09 歌尔科技有限公司 Communication method between charging box and earphone, charging box, earphone and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948799A (en) * 2017-12-19 2018-04-20 歌尔股份有限公司 Wireless headset and charging box
CN108494058A (en) * 2018-05-02 2018-09-04 歌尔股份有限公司 Charging box circuit, wireless headset and the earphone charging communication device of wireless headset
CN108767926A (en) * 2018-06-22 2018-11-06 广东思派康电子科技有限公司 The method that charging box, earphone, computer storage media and earphone in earphone charging system upload electricity
CN208094292U (en) * 2018-04-26 2018-11-13 深圳市百泰实业股份有限公司 Wireless headset charging unit, wireless headset and charging system
CN109361977A (en) * 2018-10-17 2019-02-19 成都必盛科技有限公司 Wireless headset and charging unit
CN109547884A (en) * 2018-09-29 2019-03-29 恒玄科技(上海)有限公司 Charging bluetooth earphone box system and bluetooth headset test macro
CN109739792A (en) * 2018-10-12 2019-05-10 成都必盛科技有限公司 Serial ports charging communication multiplexing method
CN109769166A (en) * 2018-12-14 2019-05-17 珠海市杰理科技股份有限公司 The telecommunication circuit that charges and switching circuit, equipment, system, method
CN110166871A (en) * 2019-05-31 2019-08-23 歌尔科技有限公司 Earphone charging box, TWS earphone, work state switching method and storage medium
US20190289381A1 (en) * 2015-09-30 2019-09-19 Apple Inc. Earbud case with pairing button
CN209627625U (en) * 2019-02-28 2019-11-12 倬韵科技(深圳)有限公司 A kind of charging bluetooth earphone box, bluetooth headset and its data transmission system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190289381A1 (en) * 2015-09-30 2019-09-19 Apple Inc. Earbud case with pairing button
CN107948799A (en) * 2017-12-19 2018-04-20 歌尔股份有限公司 Wireless headset and charging box
CN208094292U (en) * 2018-04-26 2018-11-13 深圳市百泰实业股份有限公司 Wireless headset charging unit, wireless headset and charging system
CN108494058A (en) * 2018-05-02 2018-09-04 歌尔股份有限公司 Charging box circuit, wireless headset and the earphone charging communication device of wireless headset
CN108767926A (en) * 2018-06-22 2018-11-06 广东思派康电子科技有限公司 The method that charging box, earphone, computer storage media and earphone in earphone charging system upload electricity
CN109547884A (en) * 2018-09-29 2019-03-29 恒玄科技(上海)有限公司 Charging bluetooth earphone box system and bluetooth headset test macro
CN109739792A (en) * 2018-10-12 2019-05-10 成都必盛科技有限公司 Serial ports charging communication multiplexing method
CN109361977A (en) * 2018-10-17 2019-02-19 成都必盛科技有限公司 Wireless headset and charging unit
CN109769166A (en) * 2018-12-14 2019-05-17 珠海市杰理科技股份有限公司 The telecommunication circuit that charges and switching circuit, equipment, system, method
CN209627625U (en) * 2019-02-28 2019-11-12 倬韵科技(深圳)有限公司 A kind of charging bluetooth earphone box, bluetooth headset and its data transmission system
CN110166871A (en) * 2019-05-31 2019-08-23 歌尔科技有限公司 Earphone charging box, TWS earphone, work state switching method and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757206A (en) * 2020-07-06 2020-10-09 歌尔科技有限公司 Communication method between charging box and earphone, charging box, earphone and storage medium
CN111757206B (en) * 2020-07-06 2022-06-21 歌尔科技有限公司 Communication method between charging box and earphone, charging box, earphone and storage medium

Similar Documents

Publication Publication Date Title
EP3609049B1 (en) Wireless charging device and wireless charging method
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
CN100369350C (en) Universal serial bus (USB) charger for a mobile device
CN108667094B (en) Communication method, power adapter and terminal
CN111225320B (en) Earphone wearing state detection method, earphone and readable storage medium
CN113489830A (en) Information processing apparatus
CN111491235B (en) Charging method and system, charging box and Bluetooth headset
CN111817097A (en) Charging control method and data line
CN105682008A (en) Method and device for controlling terminal through earphone
CN111246328A (en) Charging box, electric quantity display method and system thereof, and computer readable storage medium
CN114859258A (en) Electricity meter and electronic equipment applied to multiple batteries
CN110958525A (en) Communication method and device of earphone and charging box, wireless earphone and storage medium
US9252607B2 (en) Communication terminal, charge control program and charge control method
JP6316728B2 (en) Electronic device, earphone, and electronic device system
CN112448832B (en) Household appliance network distribution method, device and equipment
CN111987763A (en) Intelligent charging method and device, intelligent equipment and storage medium
CN111314895A (en) Bluetooth-based wireless upgrading method and device, server and electronic equipment
CN108052305A (en) Volume adjusting method, device, electronic equipment and computer readable storage medium
CN113291192A (en) Battery replacement method, device and storage medium
JP2020149239A (en) Photovoltaic power generation system, photovoltaic power generation processing apparatus, and control method and program for photovoltaic power generation processing apparatus
CN107276180B (en) Charging control method, device and system and user equipment
CN110971762B (en) Communication frequency setting method, earphone, base and cordless communication device
CN115219930B (en) Vehicle storage battery aging early warning method and device, electronic equipment and storage medium
CN111009933A (en) Mobile terminal and charging control method
CN109587340B (en) Method for realizing hearing aid based on mobile terminal, mobile terminal and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200403

RJ01 Rejection of invention patent application after publication