CN111490806A - Communication method, earphone and earphone communication system - Google Patents

Communication method, earphone and earphone communication system Download PDF

Info

Publication number
CN111490806A
CN111490806A CN202010315014.8A CN202010315014A CN111490806A CN 111490806 A CN111490806 A CN 111490806A CN 202010315014 A CN202010315014 A CN 202010315014A CN 111490806 A CN111490806 A CN 111490806A
Authority
CN
China
Prior art keywords
earphone
charging box
response signal
communication
signal
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
CN202010315014.8A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010315014.8A priority Critical patent/CN111490806A/en
Publication of CN111490806A publication Critical patent/CN111490806A/en
Priority to PCT/CN2020/124791 priority patent/WO2021212797A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/59Responders; Transponders
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • 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

Abstract

The invention discloses a communication method, an earphone and an earphone communication system, wherein the communication method is used for the earphone, the earphone is charged by using a charging box, and the communication method comprises the following steps: the earphone sends a first knock signal to the charging box; the earphone receives a first response signal fed back by the charging box and switches to a data sending state according to the first response signal; the charging box generates a first response signal according to the first knock signal and is switched to a data receiving state; the headset transmits communication data to the charging box. The technical scheme of the invention can realize the timely transmission and communication of the earphone to the charging box, avoid the condition that the earphone needs to wait when transmitting information to the charging box, ensure the timely intercommunication of the information and effectively improve the information transmission efficiency.

Description

Communication method, earphone and earphone communication system
Technical Field
The present invention relates to the field of headset communication technologies, and in particular, to a communication method, a headset, and a headset communication system.
Background
TWS (True Wireless Stereo) headsets, which typically include a charging box for charging the headset and the headset, typically a charging box. The earphone is placed in the charging box for storage at ordinary times. The headset and the charging box often require a communication connection, and in the related art, it is common that the charging box actively transmits information to the headset and the headset passively receives information. When the earphone needs to transmit information to the charging box, the earphone needs to wait for the charging box to send information to the charging box, and when the earphone feeds back information to the charging box, the earphone adds the information to be transmitted into the feedback information to complete transmission. Therefore, the earphone unilaterally waits for the charging box to be connected, information is difficult to transmit to the charging box in time, and then the information transmission efficiency is low.
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 earphone unilaterally waits for the connection of the charging box, and is difficult to transmit information to the charging box in time, and then the information transmission efficiency is low, a communication method, the earphone and an earphone communication system are provided, aiming at avoiding the earphone waiting for the connection of the charging box, ensuring that the earphone transmits information to the charging box in time, and improving the information transmission efficiency.
In order to achieve the above object, the present invention provides a communication method for an earphone, the earphone being charged by a charging box, the communication method including:
the earphone sends a first knock signal to the charging box;
the earphone receives a first response signal fed back by the charging box and switches to a data sending state according to the first response signal; the charging box generates a first response signal according to the first knock signal and is switched to a data receiving state;
the headset transmits communication data to the charging box.
Optionally, the communication method further includes:
the earphone receives a second knock signal sent by the charging box;
the earphone generates a second response signal according to the second knock signal and switches to a data receiving state according to the second response signal; the charging box is switched to a data sending state according to a second response signal fed back by the earphone;
and the earphone receives the communication data transmitted by the charging box.
Optionally, the communication method further includes:
setting the interval time of the generation of the first knock signal as a first time;
setting the interval time of the generation of the second knock signal as a second time; wherein the first time and the second time are different.
Optionally, the communication method further includes:
and setting window time for transmitting communication, and if the transmission communication time between the earphone and the charging box exceeds the window time, ending the transmission communication.
Optionally, the first knock signal and the first response signal include high and low level formed square wave signals.
Further, in order to achieve the above object, the present invention also provides a communication method for a charging box that charges an earphone, the communication method including:
the charging box sends a second knock signal to the earphone;
the charging box receives a second response signal fed back by the earphone and switches to a data sending state according to the second response signal; the earphone generates a second response signal according to the second knock signal and switches to a data receiving state;
the charging box transmits communication data to the headset.
In order to achieve the above object, the present invention also provides a communication method for an earphone that charges with a charging box, the communication method including:
the earphone sends a first knock signal to the charging box, the charging box receives the first knock signal, the charging box generates a first response signal according to the first knock signal, and the charging box is switched to a data receiving state according to the first response signal;
the earphone receives a first response signal fed back by the charging box and switches to a data sending state according to the first response signal;
the earphone transmits communication data to the charging box;
the charging box sends a second door knocking signal to the earphone, the earphone receives the second door knocking signal, the earphone generates a second response signal according to the second door knocking signal, and the earphone is switched to a data receiving state according to the second response signal;
the charging box receives a second response signal fed back by the earphone and switches to a data sending state according to the second response signal;
the charging box transmits communication data to the headset.
Further, in order to achieve the above object, the present invention also provides a headphone, comprising: a memory, a processor, and a communication program stored on the memory and executable on the processor; the communication program when executed by the processor implements the steps of the communication method as described above.
Optionally, the earphone comprises a first single-pole-three-throw switch and a first external contact, the first single-pole-three-throw switch comprising a first general pin, a first transmit pin, and a first receive pin;
the earphone is charged by using a charging box, the charging box comprises a second single-pole three-throw switch and a second external contact, and the second single-pole three-throw switch comprises a second universal pin, a second sending pin and a second receiving pin;
the data sending state of the earphone comprises that the first sending pin is connected with the first external contact, and the data receiving state of the charging box comprises that the second receiving pin is connected with the second external contact;
the data receiving state of the earphone comprises that the first receiving pin is connected with the first external contact, and the data sending state of the charging box comprises that the second sending pin is connected with the second external contact.
Further, in order to achieve the above object, the present invention also provides an earphone communication system including an earphone and a charging box that charges the earphone:
the earphone is used for sending a first knock signal to the charging box, receiving a first response signal fed back by the charging box, switching to a data sending state according to the first response signal and transmitting communication data to the charging box;
the charging box is used for receiving a first knock signal sent by the earphone, generating a first response signal according to the first knock signal, switching the charging box to a data receiving state according to the first response signal, feeding the first response signal back to the earphone by the charging box, and receiving communication data transmitted by the earphone;
the earphone is also used for receiving a second knock signal sent by the charging box, generating a second response signal by the earphone according to the second knock signal, switching the earphone to a data receiving state according to the second response signal, feeding the second response signal back to the charging box by the earphone, and receiving communication data transmitted by the charging box;
the charging box is further used for sending a second knock signal to the earphone, receiving a second response signal fed back by the earphone, switching to a data sending state according to the second response signal and transmitting communication data to the earphone.
According to the technical scheme provided by the invention, when the earphone needs to transmit information to the charging box, the earphone sends a first knock signal to the charging box, the charging box generates a first response signal after receiving the first knock signal, the charging box is switched to a data receiving state after generating the first response signal, and the earphone is switched to a data transmitting state after receiving the fed back first response signal, so that the earphone can smoothly transmit communication to the charging box. Therefore, the earphone can transmit communication to the charging box in time, the condition that the earphone needs to wait when transmitting information to the charging box is avoided, the information can be ensured to be communicated in time, and the information transmission efficiency is effectively improved.
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 flowchart illustrating a first embodiment of a communication method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a communication method according to the present invention;
FIG. 3 is a flowchart illustrating a third embodiment of a communication method according to the present invention;
fig. 4 is a flowchart illustrating a fourth embodiment of the communication method of the present invention;
FIG. 5 is a flow chart illustrating a communication method according to another embodiment of the present invention;
fig. 6 is a schematic diagram of the headset of the present invention transmitting communications to the charging box;
fig. 7 is a schematic diagram of the charging box of the present invention transmitting communication to the headset.
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, a first embodiment of the present invention provides a communication method for a headset including a TWS (True Wireless Stereo) headset that is charged using a charging case, and the headset is normally placed in the charging case for charging in a case where the headset is not used. The communication method comprises the following steps:
in step S10, the headset sends a first knock signal to the charging box. Specifically, a chip processor is arranged in the earphone, and communication transmission between the earphone and the charging box is controlled through the chip processor. In the process of transmitting communication to the charging box by the earphone, the earphone generally needs to send a first knock signal to determine whether a communication transmission channel between the earphone and the charging box is unblocked. After the charging box receives the first knock signal, if the charging box can receive communication, the charging box is controlled to generate a first response signal according to the first knock signal, the first response signal is transmitted and fed back to the earphone, and after the earphone receives the first response signal, the earphone determines that the charging box can transmit signals, and then the earphone starts to transmit communication to the charging box. When the earphone sends a first knock signal to the charging box, the earphone is in an initial state, the charging box generates a first response signal, and the charging box is also in the initial state at the moment. In addition to this, the headset has a data transmission state and a data reception state. Likewise, the charging box also has a data transmission state and a data reception state. It is further noted that usually a charging box is used for charging the headset, the initial state of the charging box and the headset comprising the charging state.
Step S20, the earphone receives the first response signal fed back by the charging box and switches to a data sending state according to the first response signal; the charging box generates a first response signal according to the first knock signal and switches to a data receiving state; specifically, after the earphone receives the first response signal, it is determined that the charging box can receive data, and the earphone starts to transmit data to the charging box. The earphone is switched from the initial state to the data sending state, and the charging box is switched from the initial state to the data receiving state.
In step S30, the headset transmits communication data to the charging box. Generally speaking, the headset is used for connecting an external communication device, the duration of the headset needs system upgrade, and the headset is used for transmitting an upgrade program package to the charging box. The way in which the headset connects to the external communication device includes a bluetooth connection.
In the technical scheme provided by this embodiment, when the earphone needs to transmit information to the charging box, the earphone sends a first knock signal to the charging box, the charging box generates a first response signal after receiving the first knock signal, the charging box is switched to a data receiving state after generating the first response signal, and the earphone is switched to a data transmitting state after receiving the fed back first response signal, so that the earphone can smoothly transmit communication to the charging box. Therefore, the earphone can transmit communication to the charging box in time, the condition that the earphone needs to wait when transmitting information to the charging box is avoided, the information can be ensured to be communicated in time, and the information transmission efficiency is effectively improved.
Referring to fig. 2, based on the first embodiment of the present invention, a second embodiment of the present invention is provided, and the communication method further includes:
step S40, the earphone receives a second knock signal sent by the charging box; similarly, a chip processor is also arranged in the charging box, and the charging box is controlled by the chip processor to generate a second knock signal. In the process that the earphone receives the transmission communication of the charging box, the charging box generally needs to send a second knock signal first to determine whether a communication transmission channel between the earphone and the charging box is unblocked. After the earphone receives the second knock signal, if the earphone can receive communication, the earphone generates a second response signal according to the second knock signal and feeds the second response signal back to the charging box in a transmission mode, and after the charging box receives the second response signal, the charging box determines that the earphone can transmit signals, and then the charging box starts to transmit communication data to the earphone. When the charging box sends a second knock signal to the earphone, the charging box is in an initial state, the earphone generates a second response signal, and the earphone is also in the initial state at the moment.
Step S50, the earphone generates a second answer signal according to the second knock signal, and switches to a data receiving state according to the second answer signal; the charging box is switched to a data sending state according to a second response signal fed back by the earphone; and after the charging box receives a second response signal fed back by the earphone, the charging box determines that the earphone can transmit signals, the charging box is switched to a data sending state, and the charging box starts to transmit communication data to the earphone. Namely, the charging box is switched from the initial state to the data transmitting state, and the earphone is switched from the initial state to the data receiving state.
In step S60, the headset receives the charging box transmission communication data. The communication content transmitted by the charging box to the earphone comprises the residual capacity of the charging box and can also comprise a control signal transmitted by the charging box to the earphone, such as controlling the volume. As can be seen from the above, the transmission channel used by the headset to transmit the first knock signal is different from the channel used by the headset to transmit the communication data.
The charging box can transmit communication to the headset through the step S40, the step S50, and the step S60. That is to say, among this application technical scheme the earphone can be to the box transmission communication that charges, and the box that charges also can be to earphone transmission communication, can realize the mode of two-way communication through this kind of earphone and the box that charges, has further improved the efficiency of transmission communication.
Referring to fig. 3, based on the second embodiment of the present invention, a third embodiment of the present invention is provided, and the communication method further includes:
step S70, setting the interval time of the generation of the first knock signal as a first time;
step S80, setting the interval time of the generation of the second knock signal as a second time; wherein the first time and the second time are different.
In particular, to avoid confusion of the communication transmission signal, the communication between the headset and the charging box is unidirectional. It is the headset that transmits communications to the charging box or the charging box that transmits communications to the headset. Sometimes, the earphone and the charging box need to transmit communication to each other, so that a situation that the earphone and the charging box start to transmit the knock signal at the same time may occur, which results in a blocked communication transmission channel, or the first knock signal and the second knock signal are superposed with each other to generate a non-standard knock signal, and the non-standard knock signal cannot be identified by the charging box and the earphone, so that the communication cannot be transmitted between the charging box and the earphone. Therefore, a retry mechanism is set, and in case of unsuccessful communication, the retry mechanism is started to let the charging box or the earphone restart the step of transmitting the communication. In order to avoid that the knock signal is transmitted again simultaneously between the headset and the charging box, the first knock signal and the second knock signal are generated at different times, i.e. the first time interval and the second time interval are different. For example, the first time interval is 250ms and the second time interval is 300ms, with a time difference between them, whereby the moments of initiating the transmission communication of the charging box and the headset can be well separated.
In addition, the first time interval may be greater than the second time interval, and the first time interval may also be less than the second time interval.
Referring to fig. 4, according to a fourth embodiment of the present invention, the communication method further includes:
in step S90, a window time for transmission communication is set, and if the transmission communication time between the headset and the charging box exceeds the window time, the transmission communication is terminated.
Specifically, an abnormality may occur during the communication transmission process, which may cause the communication transmission to not proceed efficiently. For example, the charging box sends a first knock signal to the headset, but the headset fails to recognize the first knock signal when receiving and recognizing the first knock signal, so that the communication flow is interrupted and cannot continue. In order to avoid a long-term interruption of communication due to an abnormality, a communication off time, i.e., a window time, is set. If the transmission communication time exceeds the window time, the communication step is actively ended. Of course, in order not to affect the transmission of large-capacity communication data, the window time is greater than the transmission time of communication data, for example, the window time is 100ms, while the transmission time of general communication data is only a few milliseconds or a dozen milliseconds.
Further, a fifth embodiment of the present invention is proposed on the basis of the fourth embodiment of the present invention. After the step of the headset transmitting communication data to the charging box, the method comprises the following steps:
the earphone and the charging box are reset to an initial state, wherein the initial state is a general connection state, and the general connection state is used for sending or receiving a knock signal. Specifically, the signal type of the knock signal is different from the transmission communication signal type, and therefore, it is necessary to transmit or receive the knock signal in a general connection state, so that the earphone and the charging box can transmit or receive the knock signal in one connection state. Meanwhile, the earphone and the charging box are reset to the universal connection state, the next communication transmission can be started, and a channel for transmitting the knock signal is smooth.
Further, the first knock signal and the first response signal each include a square wave signal formed by high and low levels. Specifically, the high and low levels form a square wave signal, such as a high level of 5v (volt) and a low level of 0 (volt), so that the high and low levels form a square wave signal. The high-low level signal forms a first knock signal and a first response signal which can be transmitted in a general connection state. The general connection state is the charging state between the charging box and the headset. Thereby avoiding the need for an additional knock signal transmission channel. Furthermore, the second knock signal and the second answer signal may also include square wave signals formed by high and low levels. The first knock signal, the first response signal, the second knock signal and the second response signal may be set to be square wave signals with the same waveform, or may be set to be square wave signals with different waveforms, such as changing the magnitude of the high and low levels, or changing the duration of the high and low levels.
Referring to fig. 5, the present invention also provides a communication method for a charging box that charges an earphone, the communication method including:
step S01, the charging box sends a second knock signal to the earphone; the charging box is also provided with a chip processor, and the communication transmission between the charging box and the earphone is controlled through the chip processor. The charging box transmits communication to the earphone, and in the process of transmitting communication to the earphone, the charging box generally needs to send a second knock signal to determine whether a communication transmission channel between the earphone and the charging box is unblocked. After the earphone receives the second knock signal, if the earphone can receive the communication, the earphone is controlled to generate a second response signal according to the second knock signal, the second response signal is transmitted and fed back to the charging box, and after the charging box receives the second response signal, the charging box determines that the earphone can transmit the signal, and then the charging box starts to transmit the communication to the earphone. When the charging box sends a second knock signal to the earphone, the charging box is in an initial state, the earphone generates a second response signal, and the earphone is also in the initial state at the moment.
Step S02, the charging box receives a second response signal fed back by the earphone and switches to a data sending state according to the second response signal; the earphone generates a second response signal according to the second knock signal and switches to a data receiving state; specifically, after receiving the second answer signal, the charging box determines that the headset can perform signal transmission, and then the charging box starts to transmit communication to the headset. Namely, the charging box is switched from the initial state to the data transmitting state, and the earphone is switched from the initial state to the data receiving state.
Step S03, the charging box transmits communication data to the headset. The communication content transmitted by the charging box to the earphone comprises the residual capacity of the charging box and can also comprise a control signal transmitted by the charging box to the earphone, such as controlling the volume.
It follows that the charging box can also transmit communications to the headset. That is to say, among this application technical scheme the earphone can be to the box transmission communication that charges, and the box that charges also can be to earphone transmission communication, can realize the mode of two-way communication through this kind of earphone and the box that charges, has further improved the efficiency of transmission communication.
The present invention also provides an earphone, including: a memory, a processor, and a communication program stored on the memory and executable on the processor; the communication program when executed by the processor implements the steps of the communication method as above.
The communication embodiment of the headset of the present invention may refer to the embodiments of the communication method, and is not described herein again.
Further, referring to fig. 6 and 7, a first single-pole-three-throw switch and a first external contact are disposed in the earphone, and the first single-pole-three-throw switch includes a first general pin, a first transmitting pin, and a first receiving pin;
the earphone is charged by using a charging box, the charging box comprises a second single-pole three-throw switch and a second external contact, and the second single-pole three-throw switch comprises a second universal pin, a second sending pin and a second receiving pin; where solid lines represent connections and dashed lines represent disconnections. The first external contact is located at one end of the earphone facing the charging box, and the second external contact is located at one end of the charging box facing the earphone. The first and second external contacts are understood to be the metal sheets with which the charging box and the headset are in contact.
The data sending state of the earphone comprises a first sending pin connected with a first external contact, and the data receiving state of the charging box comprises a second receiving pin connected with a second external contact;
the data receiving state of the earphone includes the first receiving pin being connected to the first external contact, and the data transmitting state of the charging box includes the second transmitting pin being connected to the second external contact. The General purpose pin is a GPIO (General-purpose input/output) pin. And in the application, the receiving pin and the sending pin are separately arranged, so that the situation that the receiving pin and the sending pin are arranged together to cause chaotic errors of communication contents during communication transmission is avoided.
Specifically, when the earphone and the charging box are in the initial state, a first general pin in a first single-pole three-throw switch of the earphone is connected with a first external contact, and a second general pin in a second single-pole three-throw switch of the charging box is connected with a second external contact. The earphone and the charging box are in an initial state, namely a universal connection state, before mutual transmission and communication. The earphone transmits communication to the charging box, generates a first knock signal, and the first knock signal sequentially passes through the first universal pin, the first external contact, the second external contact and the second universal pin. After the charging box receives the first knock signal, the charging box generates a first response signal according to the first knock signal. The charging box is switched to a data receiving state from an initial state according to the first response signal, namely, the initial state that the second universal pin is connected with the second external contact is switched to a data receiving state that the second receiving pin is connected with the second external contact, and at the moment, the earphone can transmit communication to the charging box. The charging box transmits communication to the earphone, the charging box generates a second knock signal, and the second knock signal sequentially passes through the second universal pin, the second external contact, the first external contact and the first universal pin. After the earphone receives the second knock signal, the earphone generates a second response signal according to the second knock signal. The earphone is switched to a data receiving state from the initial state according to the second response signal, namely the initial state that the first universal pin is connected with the first external contact is switched to the data receiving state that the first receiving pin is connected with the first external contact, and at the moment, the charging box can transmit communication to the earphone.
The invention also provides an earphone communication system which comprises an earphone and a charging box for charging the earphone.
The earphone is used for sending a first knock signal to the charging box, receiving a first response signal fed back by the charging box, switching to a data sending state according to the first response signal and transmitting communication data to the charging box;
the charging box is used for receiving a first knock signal sent by the earphone, generating a first response signal according to the first knock signal, switching the charging box to a data receiving state according to the first response signal, feeding the first response signal back to the earphone by the charging box, and receiving communication data transmitted by the earphone;
the earphone is also used for receiving a second knock signal sent by the charging box, generating a second response signal by the earphone according to the second knock signal, switching the earphone to a data receiving state according to the second response signal, feeding the second response signal back to the charging box by the earphone, and receiving communication data transmitted by the charging box;
the charging box is further used for sending a second knock signal to the earphone, receiving a second response signal fed back by the earphone, switching to a data sending state according to the second response signal and transmitting communication data to the earphone.
For a specific implementation of a communication process between the headset and the charging box of the headset communication system in this embodiment, reference may be made to each embodiment of the communication method, which is not 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 for a headset that is charged using a charging box, the communication method comprising:
the earphone sends a first knock signal to the charging box;
the earphone receives a first response signal fed back by the charging box and switches to a data sending state according to the first response signal; the charging box generates a first response signal according to the first knock signal and is switched to a data receiving state;
the headset transmits communication data to the charging box.
2. The communication method of claim 1, wherein the communication method further comprises:
the earphone receives a second knock signal sent by the charging box;
the earphone generates a second response signal according to the second knock signal and switches to a data receiving state according to the second response signal; the charging box is switched to a data sending state according to a second response signal fed back by the earphone;
and the earphone receives the communication data transmitted by the charging box.
3. The communication method of claim 2, wherein the communication method further comprises:
setting the interval time of the generation of the first knock signal as a first time;
setting the interval time of the generation of the second knock signal as a second time; wherein the first time and the second time are different.
4. The communication method according to any one of claims 1 to 3, characterized in that the communication method further comprises:
and setting window time for transmitting communication, and if the transmission communication time between the earphone and the charging box exceeds the window time, ending the transmission communication.
5. The communication method of claim 4, wherein said first knock signal and said first reply signal comprise high and low level formed square wave signals.
6. A communication method for a charging box that charges an earphone, the communication method comprising:
the charging box sends a second knock signal to the earphone;
the charging box receives a second response signal fed back by the earphone and switches to a data sending state according to the second response signal; the earphone generates a second response signal according to the second knock signal and switches to a data receiving state;
the charging box transmits communication data to the headset.
7. A communication method for a headset that is charged using a charging box, the communication method comprising:
the earphone sends a first knock signal to the charging box, the charging box receives the first knock signal, the charging box generates a first response signal according to the first knock signal, and the charging box is switched to a data receiving state according to the first response signal;
the earphone receives a first response signal fed back by the charging box and switches to a data sending state according to the first response signal;
the earphone transmits communication data to the charging box;
the charging box sends a second door knocking signal to the earphone, the earphone receives the second door knocking signal, the earphone generates a second response signal according to the second door knocking signal, and the earphone is switched to a data receiving state according to the second response signal;
the charging box receives a second response signal fed back by the earphone and switches to a data sending state according to the second response signal;
the charging box transmits communication data to the headset.
8. An earphone, characterized in that the earphone comprises: a memory, a processor, and a communication program stored on the memory and executable on the processor; the communication program when executed by the processor implements the steps of the communication method of any one of claims 1 to 5.
9. The headset of claim 8, wherein the headset comprises a first single pole, three throw switch comprising a first general pin, a first transmit pin, and a first receive pin, and a first external contact;
the earphone is charged by using a charging box, the charging box comprises a second single-pole three-throw switch and a second external contact, and the second single-pole three-throw switch comprises a second universal pin, a second sending pin and a second receiving pin;
the data sending state of the earphone comprises that the first sending pin is connected with the first external contact, and the data receiving state of the charging box comprises that the second receiving pin is connected with the second external contact;
the data receiving state of the earphone comprises that the first receiving pin is connected with the first external contact, and the data sending state of the charging box comprises that the second sending pin is connected with the second external contact.
10. A headset communication system, comprising a headset and a charging box for charging the headset:
the earphone is used for sending a first knock signal to the charging box, receiving a first response signal fed back by the charging box, switching to a data sending state according to the first response signal and transmitting communication data to the charging box;
the charging box is used for receiving a first knock signal sent by the earphone, generating a first response signal according to the first knock signal, switching the charging box to a data receiving state according to the first response signal, feeding the first response signal back to the earphone by the charging box, and receiving communication data transmitted by the earphone;
the earphone is also used for receiving a second knock signal sent by the charging box, generating a second response signal by the earphone according to the second knock signal, switching the earphone to a data receiving state according to the second response signal, feeding the second response signal back to the charging box by the earphone, and receiving communication data transmitted by the charging box;
the charging box is further used for sending a second knock signal to the earphone, receiving a second response signal fed back by the earphone, switching to a data sending state according to the second response signal and transmitting communication data to the earphone.
CN202010315014.8A 2020-04-20 2020-04-20 Communication method, earphone and earphone communication system Pending CN111490806A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010315014.8A CN111490806A (en) 2020-04-20 2020-04-20 Communication method, earphone and earphone communication system
PCT/CN2020/124791 WO2021212797A1 (en) 2020-04-20 2020-10-29 Communication method, earphone and earphone communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010315014.8A CN111490806A (en) 2020-04-20 2020-04-20 Communication method, earphone and earphone communication system

Publications (1)

Publication Number Publication Date
CN111490806A true CN111490806A (en) 2020-08-04

Family

ID=71812930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010315014.8A Pending CN111490806A (en) 2020-04-20 2020-04-20 Communication method, earphone and earphone communication system

Country Status (2)

Country Link
CN (1) CN111490806A (en)
WO (1) WO2021212797A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127401A (en) * 2021-03-10 2021-07-16 歌尔科技有限公司 Earphone box and earphone communication method and system
WO2021212797A1 (en) * 2020-04-20 2021-10-28 歌尔股份有限公司 Communication method, earphone and earphone communication system
CN114339508A (en) * 2020-09-29 2022-04-12 无锡中感微电子股份有限公司 Wireless earphone and circuit thereof, charging box and circuit thereof, and charging box upgrading method
WO2022142983A1 (en) * 2020-12-29 2022-07-07 Oppo广东移动通信有限公司 Detection method, detection apparatus, storage medium, and bearer device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000001303U (en) * 1998-06-24 2000-01-25 박노길 Agricultural Vinyl Hose
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
CN110611856A (en) * 2019-08-16 2019-12-24 歌尔股份有限公司 Communication control method, device and system, charging box and wireless earphone
CN110994718A (en) * 2019-11-28 2020-04-10 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN111030231A (en) * 2019-12-20 2020-04-17 歌尔股份有限公司 Reverse charging method, device, equipment and computer storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696946A (en) * 2017-02-24 2018-10-23 北京小鸟听听科技有限公司 A kind of data processing method, charging unit and mobile terminal
CN110224459A (en) * 2019-06-06 2019-09-10 深圳市思远半导体有限公司 Charging bluetooth earphone communication means, relevant device and system
CN110519672B (en) * 2019-08-29 2020-11-27 深圳市安特信技术有限公司 Communication system and method based on Bluetooth headset and base
CN110474403A (en) * 2019-09-23 2019-11-19 深圳市安特信技术有限公司 A kind of charging base and implementation method for being communicated with bluetooth headset
CN111490806A (en) * 2020-04-20 2020-08-04 歌尔科技有限公司 Communication method, earphone and earphone communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000001303U (en) * 1998-06-24 2000-01-25 박노길 Agricultural Vinyl Hose
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
CN110611856A (en) * 2019-08-16 2019-12-24 歌尔股份有限公司 Communication control method, device and system, charging box and wireless earphone
CN110994718A (en) * 2019-11-28 2020-04-10 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN111030231A (en) * 2019-12-20 2020-04-17 歌尔股份有限公司 Reverse charging method, device, equipment and computer storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212797A1 (en) * 2020-04-20 2021-10-28 歌尔股份有限公司 Communication method, earphone and earphone communication system
CN114339508A (en) * 2020-09-29 2022-04-12 无锡中感微电子股份有限公司 Wireless earphone and circuit thereof, charging box and circuit thereof, and charging box upgrading method
WO2022142983A1 (en) * 2020-12-29 2022-07-07 Oppo广东移动通信有限公司 Detection method, detection apparatus, storage medium, and bearer device
CN113127401A (en) * 2021-03-10 2021-07-16 歌尔科技有限公司 Earphone box and earphone communication method and system
CN113127401B (en) * 2021-03-10 2023-03-28 歌尔科技有限公司 Earphone box and earphone communication method and system

Also Published As

Publication number Publication date
WO2021212797A1 (en) 2021-10-28

Similar Documents

Publication Publication Date Title
CN111490806A (en) Communication method, earphone and earphone communication system
US20150201440A1 (en) BLUETOOTH Device Connection Method and Device
US20220329928A1 (en) Earphone control method, earphone box, earphone and storage medium
CN107340988B (en) Hands-free device with continuous keyword recognition
US11368777B2 (en) Method and system for upgrading program of TWS headset, and TWS headset
CN111757206B (en) Communication method between charging box and earphone, charging box, earphone and storage medium
US11889255B2 (en) Communication method between earphones and charging box, charging box, earphones and readable storage medium
CN112203179B (en) TWS earphone, automatic reconnection method and device thereof, and computer storage medium
CN110769343A (en) Method for communication between wireless headset and charging box, TWS headset and system
JP5867319B2 (en) Communication device
CN105530355A (en) Hands-free apparatus for vehicle and method of controlling the same
CN111601290A (en) Bluetooth sound box, earphone, Bluetooth audio playing device, Bluetooth audio playing system and switching method
CN113473291A (en) Communication method, earphone cabin and WIFI earphone
CN109672772B (en) Hands-free system for vehicle
KR20210051749A (en) Method for performing emergency call and electronic device therefor
CN110971762B (en) Communication frequency setting method, earphone, base and cordless communication device
CN111614384B (en) Device with storage function, Bluetooth device and control method and system thereof
KR20220039514A (en) Electronic device for receiving or transmitting a rich communicatoin service data and method for the same
CN114980044A (en) Bluetooth connection method, storage medium and related equipment
KR20210150919A (en) Communication method between multi devices in bluetooth communication environment and electronic device therefor
CN115085800B (en) Ground satellite equipment, satellite transit monitoring method and storage medium
WO2022061551A1 (en) Address transmission method, bluetooth chip, bluetooth headset, and electronic device
US20230336904A1 (en) Electronic device for processing audio data and operation method therefor
CN112104943B (en) Address transmission method, Bluetooth chip, Bluetooth headset and electronic equipment
CN115315026A (en) Wireless input device and method, system and storage medium for switching connection thereof

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

Application publication date: 20200804