CN109150294B - Communication method, wireless earphone and charging box - Google Patents

Communication method, wireless earphone and charging box Download PDF

Info

Publication number
CN109150294B
CN109150294B CN201810922461.2A CN201810922461A CN109150294B CN 109150294 B CN109150294 B CN 109150294B CN 201810922461 A CN201810922461 A CN 201810922461A CN 109150294 B CN109150294 B CN 109150294B
Authority
CN
China
Prior art keywords
charging box
charging
wireless earphone
instruction
wireless
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.)
Active
Application number
CN201810922461.2A
Other languages
Chinese (zh)
Other versions
CN109150294A (en
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 CN201810922461.2A priority Critical patent/CN109150294B/en
Publication of CN109150294A publication Critical patent/CN109150294A/en
Application granted granted Critical
Publication of CN109150294B publication Critical patent/CN109150294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • 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/1041Mechanical or electronic switches, or control elements
    • 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

Abstract

The invention discloses a communication method, relates to the technical field of portable listening equipment, and aims to solve the problem that the connection risk between a wireless earphone and a charging box is increased by times by adopting a communication mode of increasing a contact point between the wireless earphone and the charging box. The method is applied to the wireless headset and comprises the following steps: receiving an infrared signal sent by a charging box; demodulating the infrared signal to obtain demodulation information; decoding the demodulation information to obtain decoded data; the invention realizes the wireless communication between the wireless earphone and the charging box by utilizing the infrared technology, avoids the problem that the connection risk between the wireless earphone and the charging box is increased by times by increasing the communication mode of the contact point, improves the reliability of the communication, and has lower cost compared with Bluetooth and other wireless communication modes. In addition, the invention also discloses a communication method applied to the charging box, a wireless earphone and the charging box, and the wireless earphone and the charging box also have the beneficial effects.

Description

Communication method, wireless earphone and charging box
Technical Field
The invention relates to the technical field of portable listening equipment, in particular to a communication method, a wireless earphone and a charging box.
Background
With the development of modern society science and technology, the wireless earphone has obtained extensive application owing to its convenient characteristics of use, and the volume is littleer and littleer. In wireless headsets, such as neck-line wireless headsets of sports bluetooth headsets, and binaural wireless headsets such as true wireless interconnection stereo bluetooth headsets (TWS headsets), a charging box with a function of containing and charging is generally required to be specially equipped for longer endurance. In order to enable the charging box to better control the charging of the wireless earphone, communication between the wireless earphone and the charging box is required.
In the prior art, a mode of increasing a contact point between the wireless earphone and the charging box is often adopted, a special communication interface is reserved, and the charging box is physically connected with a communication unit of the wireless earphone to realize communication. However, this way of increasing the contact point doubles the risk of connection between the wireless headset and the charging box, and is not highly reliable.
Therefore, how to realize the wireless communication between the wireless earphone and the charging box and improve the reliability of the communication is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide a communication method, a wireless earphone and a charging box, so that the communication between the wireless earphone and the charging box is realized by utilizing an infrared technology, the reliability of the communication is improved, and the cost is lower.
In order to solve the above technical problem, the present invention provides a communication method applied to a wireless headset, including:
receiving an infrared signal sent by a charging box;
demodulating the infrared signal to obtain demodulation information;
and decoding the demodulation information to obtain decoded data.
Optionally, after the decoding the demodulation information and acquiring the decoded data, the method further includes:
judging whether the decoded data is a wireless earphone control instruction or not; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction;
and if so, executing corresponding operation according to the wireless earphone control instruction corresponding to the decoded data.
Optionally, the method further includes:
acquiring a charging box control instruction; the control instruction of the charging box comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction;
coding the charging box control instruction to obtain coded data;
modulating the coded information to obtain modulated information;
and sending the infrared signal corresponding to the modulation information to the charging box.
Optionally, before the wireless headset receives the infrared signal sent by the charging box, the method further includes:
judging whether the charging box is connected with a charging contact of the charging box;
and if so, executing the step that the wireless earphone receives the infrared signal sent by the charging box.
The present invention also provides a wireless headset, comprising:
the infrared receiving device is used for receiving the infrared signal sent by the charging box;
the demodulation device is used for demodulating the infrared signal to obtain demodulation information;
and the processor is used for decoding the demodulation information to obtain decoded data.
The invention also provides a communication method applied to the charging box, which comprises the following steps:
acquiring a wireless earphone control instruction; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction;
coding the wireless earphone control instruction to obtain coded data;
modulating the coded information to obtain modulated information;
and sending the infrared signal corresponding to the modulation information to a wireless earphone.
Optionally, the method further includes:
receiving an infrared signal sent by the wireless earphone;
demodulating an infrared signal sent by the wireless earphone to acquire demodulation information;
and decoding the demodulation information to obtain decoded data.
Optionally, after the decoding the demodulation information and acquiring the decoded data, the method further includes:
judging whether the decoded data is a charging box control instruction or not; the control instruction of the charging box comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction;
and if so, executing corresponding operation according to the charging box control instruction corresponding to the decoding data.
Optionally, before the obtaining the wireless headset control instruction, the method further includes:
judging whether the wireless earphone is connected with a charging contact of the wireless earphone;
and if so, executing the step of acquiring the control instruction of the wireless earphone.
In addition, the present invention also provides a charging box comprising:
the single chip microcomputer is used for acquiring a wireless earphone control instruction; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction; coding the wireless earphone control instruction to obtain coded data;
the modulation device is used for modulating the coded information to obtain modulation information;
and the infrared transmitting device is used for transmitting the infrared signal corresponding to the modulation information to the wireless earphone.
The invention provides a communication method applied to a wireless earphone, which comprises the following steps: receiving an infrared signal sent by a charging box; demodulating the infrared signal to obtain demodulation information; decoding the demodulation information to obtain decoded data;
therefore, the wireless communication between the wireless earphone and the charging box is realized by utilizing the infrared technology, the problem that the connection risk between the wireless earphone and the charging box is increased by times due to the communication mode of increasing the contact point is avoided, the communication reliability is improved, and the cost is lower compared with Bluetooth and other wireless communication modes. In addition, the invention also provides a communication method applied to the charging box, the wireless earphone and the charging box, and the wireless earphone and the charging box also have the beneficial effects.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present invention;
fig. 2 is a flowchart of another communication method according to an embodiment of the present invention;
fig. 3 is a block diagram of a wireless headset according to an embodiment of the present invention;
fig. 4 is a flowchart of another communication method according to an embodiment of the present invention;
fig. 5 is a flowchart of another communication method according to an embodiment of the present invention;
fig. 6 is a block diagram of a charging box according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Referring to fig. 1, fig. 1 is a flowchart of a communication method according to an embodiment of the present invention. The method is applied to the wireless headset and can comprise the following steps:
step 101: and receiving an infrared signal sent by the charging box.
In this step, the wireless earphone may receive the infrared signal sent by the charging box by using an infrared receiving device provided in the wireless earphone. Correspondingly, an infrared ray emitting device may be provided in the charging box to transmit an infrared ray signal.
Specifically, the specific structure and type of the infrared receiving device used by the wireless headset to receive the infrared signal sent by the charging box in this step may be set by a designer according to a practical scene and a user requirement, as long as the wireless headset receives the infrared signal sent by the charging box by using the infrared receiving device, which is not limited in this embodiment.
It can be understood that, since the transmission of infrared rays is affected by the angle, in order to ensure that the wireless headset can perform infrared communication with the charging box during the charging process, that is, when the wireless headset is in the charging box, the infrared receiving device in the wireless headset can receive the infrared signal sent by the infrared transmitting device in the charging box. That is, in this step, the position of the infrared receiving device used by the wireless headset to receive the infrared signal transmitted from the charging box corresponds to the position of the infrared transmitting device in the charging box when the charging contact of the wireless headset is connected to the charging contact of the charging box.
Correspondingly, the step of judging whether the wireless earphone is connected with the charging contact of the charging box or not can be further included before the step, so as to determine whether the infrared signal sent by the charging box can be accurately received or not. If the wireless earphone is connected with the charging contact of the charging box, the step can be carried out, and an infrared receiving device arranged on the wireless earphone is used for receiving an infrared signal sent by the charging box; if the wireless earphone is not connected with the charging contact of the charging box, whether the infrared signal sent by the charging box can be received or not can not be determined, and the infrared signal can be received without an infrared receiving device arranged on the wireless earphone, so that the interference of other infrared signals and the electric quantity loss of the wireless earphone are avoided.
Step 102: and demodulating the infrared signal to acquire demodulation information.
It can be understood that, in this step, the wireless headset demodulates the infrared signal by using a demodulation device such as a single chip microcomputer, which is provided by the wireless headset, to obtain demodulation information. The specific manner of demodulating the infrared signal by the wireless headset using the demodulation device in this step to obtain the demodulated information may be implemented by the same or similar manner as that in the prior art, and this embodiment does not limit this.
Specifically, the specific device setting of the demodulation device, such as the model selection of the single chip as the demodulation device, may be set by a designer according to a practical scenario and a user requirement, and this embodiment is not limited thereto.
Step 103: and decoding the demodulation information to obtain decoded data.
In this step, the processor such as a single chip in the wireless headset may decode the demodulation information to obtain the decoded data. The specific manner of decoding the demodulated information and acquiring the decoded data by the processor of the wireless headset in this step may be implemented in the same or similar manner as that in the prior art, and this embodiment does not limit this.
It can be understood that the decoded data obtained in this step may be data sent by the charging box by using infrared communication, and the specific data type of the decoded data, that is, the data type sent by the charging box to the wireless headset, may be set by a designer according to a practical scene and a user requirement, for example, when the charging box only needs to send a wireless headset control instruction to the wireless headset, the decoded data may only include the wireless headset control instruction; when the charging box further needs to send other data such as the information of the electric quantity of the charging box to the wireless headset, the decoded data may further include corresponding data information, which is not limited in this embodiment.
Correspondingly, the step can also include the step of judging whether the decoded data is a wireless earphone control instruction; when the decoded data are used as the wireless earphone control instruction, corresponding operation is executed according to the wireless earphone control instruction corresponding to the decoded data, and the charging box controls the wireless earphone through infrared communication. The specific type of the wireless earphone control instruction can be set by a designer according to a practical scene and user requirements, if the charging box needs to control the wireless earphone to keep a dormant state in the charging process, the wireless earphone control instruction can comprise a dormant instruction, and the charging box can control the wireless earphone to enter the dormant state by sending the dormant instruction; after charging is finished or when the charging box cover is opened, if the charging box needs to control the wireless earphone to perform Bluetooth pairing, the wireless earphone control instruction can comprise a Bluetooth pairing instruction, so that the wireless earphone performs Bluetooth pairing operation according to the Bluetooth pairing instruction; in the charging process, if the charging box needs to acquire the battery power information of the wireless earphone, the wireless earphone control instruction can comprise a power report instruction, so that the wireless earphone sends the battery power information of the wireless earphone to the charging box through infrared communication according to the power report instruction; the wireless headset control instruction may further include other control instructions such as an upgrade file sending instruction and a ble broadcast start instruction, as long as the wireless headset may execute a corresponding operation according to the wireless headset control instruction corresponding to the decoded data, which is not limited in this embodiment.
In the embodiment of the invention, the wireless communication between the wireless earphone and the charging box is realized by utilizing the infrared technology, the problem that the connection risk between the wireless earphone and the charging box is increased by times due to the communication mode of increasing the contact point is avoided, the communication reliability is improved, and the cost is lower compared with Bluetooth and other wireless communication modes.
Referring to fig. 2 based on the above embodiments, fig. 2 is a flowchart of another communication method according to an embodiment of the present invention. The method is applied to the wireless headset and can comprise the following steps:
step 201: acquiring a charging box control instruction; wherein, the control instruction of the charging box comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction.
It can be understood that, in this step, the specific manner in which the processor, such as the single chip microcomputer, in the wireless headset acquires the charging box control instruction can be set by the designer according to the practical scene and the user's requirements. The processor in the wireless earphone can acquire a corresponding charging box control instruction according to an instruction sent by the paired connected terminal, and if a user needs to display the electric quantity information of the earphone through an indicator lamp of the charging box, a corresponding signal can be sent to the paired connected wireless earphone through the terminal, so that the processor in the wireless earphone can acquire the electric quantity display instruction of the earphone; the processor in the wireless headset can also obtain a charging box control instruction according to logic judgment, and if the processor determines that the battery capacity of the wireless headset is lower than a threshold value, a charging start instruction can be obtained. The present embodiment does not limit this to any way as long as the processor in the wireless headset can obtain the charging box control instruction.
It should be noted that, for the specific type setting of the charging box control instruction obtained in this step, the setting may be set by a designer according to a practical scene and a user requirement, and if the wireless headset needs to control the charging box to start and end charging the wireless headset, the charging box control instruction may include a charging start instruction and a charging stop instruction; when the wireless earphone needs to control the charging box to display the battery power of the wireless earphone, the charging box control instruction can comprise an earphone power display instruction; the charging box control instruction may further include other control instructions such as a charging box electric quantity display instruction, as long as the charging box can execute corresponding operations according to the charging box control instruction received through infrared communication, and this embodiment does not limit this.
Correspondingly, the step of judging whether to be connected with the charging contact of the charging box by the wireless earphone can also be included before the step, so as to determine whether the acquired control instruction of the charging box can be accurately sent to the charging box through infrared communication. If the wireless earphone is connected with the charging contact of the charging box, the step can be carried out to obtain a control instruction of the charging box, and the control instruction of the charging box is sent to the charging box through infrared communication; if the wireless earphone is not connected with the charging contact of the charging box, whether the acquired charging box control instruction can be accurately sent to the charging box through infrared communication cannot be determined, and the charging box control instruction cannot be acquired, so that the electric quantity loss of the wireless earphone is reduced.
Step 202: and coding the charging box control instruction to obtain coded data.
The step can be that a processor such as a single chip microcomputer in the wireless earphone encodes the charging box control instruction to obtain encoded data. The specific manner of encoding the charging box control instruction by the processor of the wireless headset in this step and acquiring the encoded data may be implemented in the same or similar manner as that in the prior art, and this embodiment does not limit this.
Step 203: and modulating the coded information to obtain modulated information.
It can be understood that, in this step, the wireless headset may modulate the encoded information by using a modulation device such as a single chip microcomputer provided in the wireless headset itself, so as to obtain the modulated information. The specific manner in which the wireless headset modulates the encoded information by using the modulation device in this step to obtain the modulated information may be implemented by using the same or similar manner as that in the prior art, which is not limited in this embodiment.
Specifically, for the specific device setting of the modulation device, if the model of the single chip microcomputer as the modulation device is selected, the setting can be automatically set by a designer according to a practical scene and user requirements, and if the single chip microcomputer which is the same as the demodulation device can be adopted, the single chip microcomputer not only can demodulate an infrared signal, but also can modulate coded information. The present embodiment does not set any limit to this.
Step 204: and transmitting the infrared signal corresponding to the modulation information to the charging box.
The step can be realized by sending an infrared signal to the charging box by the wireless earphone through an infrared transmitting device arranged on the wireless earphone. Correspondingly, an infrared receiving device can be arranged in the charging box to receive the infrared signal.
Specifically, for the specific sending mode of the wireless headset sending the infrared signal corresponding to the modulation information to the charging box by using the infrared emitting device and the specific structure and type of the infrared emitting device in this step, the wireless headset can be set by a designer according to a practical scene and a user requirement, and this embodiment is not limited to this.
In this embodiment, the wireless headset in the embodiment of the present invention sends the charging box control instruction to the charging box through infrared communication, so that the charging box can execute corresponding operations, and by using the infrared communication between the wireless headset and the charging box, the control of the charging box by the wireless headset during the charging process is implemented, thereby further improving user experience.
Referring to fig. 3, fig. 3 is a block diagram of a wireless headset according to an embodiment of the present invention. The wireless headset may include:
an infrared receiving device 100 for receiving an infrared signal transmitted from the charging box;
a demodulation device 200, configured to demodulate the infrared signal to obtain demodulation information;
and a processor 300, configured to demodulate the information and decode the information, so as to obtain decoded data.
Optionally, the processor 300 may be further configured to determine whether the decoded data is a wireless headset control instruction; the wireless earphone control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and an electric quantity report instruction; and if so, executing corresponding operation according to the wireless earphone control instruction corresponding to the decoded data.
Optionally, the processor 300 may be further configured to obtain a charging box control instruction; the charging box control instruction comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction; coding the charging box control instruction to obtain coded data;
wherein, this wireless earphone can also include:
the modulation device is used for modulating the coded information to obtain modulation information;
and the infrared transmitting device is used for transmitting the infrared signal corresponding to the modulation information to the charging box.
Optionally, the processor 300 may be further configured to determine whether to connect to a charging contact of the charging box; if yes, the infrared receiver 100 is controlled to start.
Specifically, the demodulation device 200 and the modulation device in this embodiment may be two different circuits or single-chip microcomputers, or may be a single-chip microcomputer that not only demodulates the infrared signal, but also modulates the encoded information.
In the embodiment of the invention, the wireless communication between the wireless earphone and the charging box is realized by utilizing the infrared technology, the problem that the connection risk between the wireless earphone and the charging box is increased by times due to the communication mode of increasing the contact point is avoided, the communication reliability is improved, and the cost is lower compared with Bluetooth and other wireless communication modes.
Referring to fig. 4, fig. 4 is a flowchart of another communication method according to an embodiment of the present invention. The method is applied to a charging box and can comprise the following steps:
step 301: acquiring a wireless earphone control instruction; the wireless earphone control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power reporting instruction.
It can be understood that, the specific manner in which the processor in the charging box obtains the control command of the wireless headset in this step can be set by the designer according to the practical scenario and the user's requirements. The processor in the charging box can acquire a corresponding wireless earphone control instruction according to a human-computer interaction key or a screen generation instruction set by the processor, and if a user needs the wireless earphone to perform Bluetooth pairing operation, a corresponding signal can be sent to the processor of the charging box by pressing a corresponding button on the charging box, so that the processor in the charging box can acquire the Bluetooth pairing instruction; the processor in the charging box can also obtain the wireless earphone control instruction according to the logic judgment, for example, the processor can obtain the electric quantity report instruction according to the preset time interval. The present embodiment does not limit the wireless headset control command as long as the processor in the charging box can obtain the wireless headset control command.
Correspondingly, the step of judging whether to be connected with the charging contact of the wireless earphone by the charging box can be included before the step, so as to determine whether the acquired control instruction of the wireless earphone can be accurately sent to the wireless earphone through infrared communication. If the charging box is connected with a charging contact of the wireless earphone, the step can be carried out to obtain a wireless earphone control instruction, and the wireless earphone control instruction is sent to the wireless earphone through infrared communication; if the charging box is not connected with the charging contact of the wireless earphone, whether the acquired wireless earphone control instruction can be accurately sent to the wireless earphone through infrared communication cannot be determined, the wireless earphone control instruction cannot be acquired, and the electric quantity loss of the charging box is reduced.
Step 302: and coding the wireless earphone control command to obtain coded data.
Step 303: and modulating the coded information to obtain modulated information.
Step 304: and sending the infrared signal corresponding to the modulation information to the wireless earphone.
It is understood that the embodiments of the charging box sending the wireless headset control command to the wireless headset in steps 302 to 304 by using infrared communication are similar to the embodiments of the wireless headset sending the charging box control command to the charging box in steps 202 to 204 by using infrared communication, and are not described herein again.
In the embodiment of the invention, the wireless communication between the wireless earphone and the charging box is realized by utilizing the infrared technology, the problem that the connection risk between the wireless earphone and the charging box is increased by times due to the communication mode of increasing the contact point is avoided, the communication reliability is improved, and the cost is lower compared with Bluetooth and other wireless communication modes.
Referring to fig. 5, fig. 5 is a flowchart of another communication method according to an embodiment of the present invention. The method is applied to a charging box and can comprise the following steps:
step 401: and receiving the infrared signal sent by the wireless earphone.
Step 402: and demodulating the infrared signal sent by the wireless earphone to obtain demodulation information.
Step 403: and decoding the demodulation information to obtain decoded data.
Optionally, after step 403, the method may further include:
judging whether the decoded data is a charging box control instruction or not; the charging box control instruction comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction; and if so, executing corresponding operation according to the charging box control instruction corresponding to the decoding data.
It is understood that the communication method applied to the charging box provided in this embodiment is similar to the communication method applied to the wireless headset provided in fig. 1, and is not described herein again.
In this embodiment, the charging box in the embodiment of the present invention receives the decoded data sent by the wireless headset through infrared communication, and the wireless headset can control the charging box in the charging process by using the infrared communication between the charging box and the wireless headset, so as to further improve user experience.
Referring to fig. 6, fig. 6 is a block diagram of a charging box according to an embodiment of the present invention. The charging box may include:
a processor 400 for obtaining a wireless headset control instruction; the wireless earphone control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and an electric quantity report instruction; coding the wireless earphone control instruction to obtain coded data;
a modulation device 500, configured to modulate the encoded information to obtain modulated information;
and an infrared transmitting device 600 for transmitting the infrared signal corresponding to the modulation information to the wireless headset.
Optionally, the charging box may further include:
the infrared receiving device is used for receiving an infrared signal sent by the wireless earphone;
the demodulation device is used for demodulating the infrared signal sent by the wireless earphone to obtain demodulation information;
the processor 400 may be further configured to decode the demodulation information to obtain decoded data.
Optionally, the processor 400 may be further configured to determine whether the decoded data is a charging box control instruction; the charging box control instruction comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction; and if so, executing corresponding operation according to the charging box control instruction corresponding to the decoding data.
Specifically, the demodulating apparatus and the modulating apparatus 500 in this embodiment may be two different circuits or single-chip microcomputers, or may be a single-chip microcomputer that not only demodulates the infrared signal, but also modulates the encoded information.
In the embodiment of the invention, the wireless communication between the wireless earphone and the charging box is realized by utilizing the infrared technology, the problem that the connection risk between the wireless earphone and the charging box is increased by times due to the communication mode of increasing the contact point is avoided, the communication reliability is improved, and the cost is lower compared with Bluetooth and other wireless communication modes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The method for applying to a charging box, the wireless headset and the charging box disclosed by the embodiment correspond to the method for applying to the wireless headset disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The communication method, the wireless headset and the charging box provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A communication method applied to a wireless headset comprises the following steps:
judging whether the charging box is connected with a charging contact of the charging box;
if so, receiving an infrared signal sent by the charging box;
demodulating the infrared signal to obtain demodulation information;
decoding the demodulation information to obtain decoded data;
when a charging contact of the wireless earphone is connected with the charging contact of the charging box, the position of an infrared receiving device in the wireless earphone corresponds to the position of an infrared transmitting device in the charging box.
2. The method of claim 1, wherein after decoding the demodulation information to obtain the decoded data, the method further comprises:
judging whether the decoded data is a wireless earphone control instruction or not; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction;
and if so, executing corresponding operation according to the wireless earphone control instruction corresponding to the decoded data.
3. The communication method according to claim 1, further comprising:
acquiring a charging box control instruction; the control instruction of the charging box comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction;
coding the charging box control instruction to obtain coded data;
modulating the coded data to obtain modulation information;
and sending the infrared signal corresponding to the modulation information to the charging box.
4. A wireless headset, comprising:
the infrared receiving device is used for receiving the infrared signal sent by the charging box;
the demodulation device is used for demodulating the infrared signal to obtain demodulation information;
the processor is used for decoding the demodulation information to obtain decoding data; the charging box is also used for judging whether to be connected with a charging contact of the charging box; if the infrared receiving device is connected with the charging contact of the charging box, the infrared receiving device is controlled to be started;
wherein, when a charging contact of the wireless headset is connected with the charging contact of the charging box, a position of the infrared ray receiving device in the wireless headset corresponds to a position of the infrared ray transmitting device in the charging box.
5. A communication method is applied to a charging box and comprises the following steps:
judging whether the wireless earphone is connected with a charging contact of the wireless earphone;
if yes, acquiring the wireless earphone control instruction; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction;
coding the wireless earphone control instruction to obtain coded data;
modulating the coded data to obtain modulation information;
sending the infrared signal corresponding to the modulation information to a wireless earphone;
when the charging contact of the wireless earphone is connected with the charging electric shock of the charging box, the position of the infrared receiving device in the wireless earphone corresponds to the position of the infrared transmitting device in the charging box.
6. The communication method according to claim 5, further comprising:
receiving an infrared signal sent by the wireless earphone;
demodulating an infrared signal sent by the wireless earphone to acquire demodulation information;
and decoding the demodulation information to obtain decoded data.
7. The method according to claim 6, wherein after decoding the demodulation information to obtain the decoded data, further comprising:
judging whether the decoded data is a charging box control instruction or not; the control instruction of the charging box comprises at least one of a charging start instruction, a charging stop instruction and an earphone electric quantity display instruction;
and if so, executing corresponding operation according to the charging box control instruction corresponding to the decoding data.
8. A charging box, comprising:
the processor is used for judging whether the wireless earphone is connected with a charging contact of the wireless earphone or not; if yes, acquiring the wireless earphone control instruction; the wireless headset control instruction comprises at least one of a sleep instruction, a Bluetooth pairing instruction and a power report instruction; coding the wireless earphone control instruction to obtain coded data;
the modulation device is used for modulating the coded data to obtain modulation information;
the infrared transmitting device is used for transmitting the infrared signal corresponding to the modulation information to the wireless earphone;
when the charging contact of the wireless earphone is connected with the charging contact of the charging box, the position of the infrared receiving device in the wireless earphone corresponds to the position of the infrared transmitting device in the charging box.
CN201810922461.2A 2018-08-14 2018-08-14 Communication method, wireless earphone and charging box Active CN109150294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810922461.2A CN109150294B (en) 2018-08-14 2018-08-14 Communication method, wireless earphone and charging box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810922461.2A CN109150294B (en) 2018-08-14 2018-08-14 Communication method, wireless earphone and charging box

Publications (2)

Publication Number Publication Date
CN109150294A CN109150294A (en) 2019-01-04
CN109150294B true CN109150294B (en) 2021-02-23

Family

ID=64793365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810922461.2A Active CN109150294B (en) 2018-08-14 2018-08-14 Communication method, wireless earphone and charging box

Country Status (1)

Country Link
CN (1) CN109150294B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109768596B (en) * 2019-01-11 2021-04-09 维沃移动通信有限公司 Electric quantity display method, earphone charging device and earphone
CN110224465A (en) * 2019-06-24 2019-09-10 上海来远电子科技有限公司 A kind of mobile charging storehouse electric quantity display method and its device
CN110430502B (en) * 2019-08-02 2020-10-16 深圳市安特信技术有限公司 Bluetooth headset pairing method and charging base
CN110611856B (en) * 2019-08-16 2021-04-23 歌尔股份有限公司 Communication control method, device and system, charging box and wireless earphone
CN111225320B (en) * 2019-12-31 2021-07-13 歌尔股份有限公司 Earphone wearing state detection method, earphone and readable storage medium
CN115225992A (en) * 2021-04-16 2022-10-21 Oppo广东移动通信有限公司 Earphone external device and wireless earphone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206790670U (en) * 2017-04-10 2017-12-22 深圳市星汇尚品科技有限公司 Wireless headset and charging box
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN107895854A (en) * 2016-10-04 2018-04-10 恩智浦有限公司 Optical communication interface
CN108174457A (en) * 2018-01-12 2018-06-15 恒玄科技(上海)有限公司 Charging box, the communication system of bluetooth headset and communication means

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9961431B2 (en) * 2015-09-30 2018-05-01 Apple Inc. Earbud case with wireless radio shutdown feature
CN206302532U (en) * 2016-11-28 2017-07-04 北京小鸟听听科技有限公司 Wearable Headphone accessory, wireless headset and earphone products

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895854A (en) * 2016-10-04 2018-04-10 恩智浦有限公司 Optical communication interface
CN206790670U (en) * 2017-04-10 2017-12-22 深圳市星汇尚品科技有限公司 Wireless headset and charging box
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN108174457A (en) * 2018-01-12 2018-06-15 恒玄科技(上海)有限公司 Charging box, the communication system of bluetooth headset and communication means

Also Published As

Publication number Publication date
CN109150294A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109150294B (en) Communication method, wireless earphone and charging box
CN109218889B (en) Communication method and system, wireless earphone and charging box
CN108769856B (en) Method and device for establishing single-wire connection, wireless earphone and charging box
EP2423806B1 (en) Method and device for transmitting universal serial bus audio data through a wireless data terminal
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN103200263B (en) Intelligent terminal and Bluetooth audio frequency playback equipment and exchange method, system
CN104702437B (en) A kind of device for using Quick Response Code to carry out network configuration for equipment
EP3301876B1 (en) Signal reception method and apparatus
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
CN104427471A (en) Method for automatically establishing connection of mobile network and terminal
CN111065013A (en) Communication method and system, wireless earphone and charging box
EP1894432A1 (en) Performing diagnostics in a wireless system
CN104702373B (en) A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment
CN111276135B (en) Network voice recognition method, network service interaction method and intelligent earphone
CN112968752A (en) Baud rate switching method and device for UART communication and initiator terminal
CN115842785A (en) Outbound data transmission method and system in Beidou communication system and related devices
CN113099342A (en) Wireless earphone uncovering and reconnection method and related equipment
CN210225011U (en) AI vehicle intelligent charger
CN113314133A (en) Audio transmission method and electronic equipment
CN104951344A (en) Method and device for upgrading firmware by utilizing acoustical signal
CN109286634A (en) A kind of data transmission method, device, electronic equipment and readable storage medium storing program for executing
CN111885412B (en) HDMI signal screen transmission method and wireless screen transmission device
CN108134622A (en) A kind of method and smart machine that control instruction is sent using Bluetooth audio frequency
EP2869663B1 (en) Apparatus and method for improving communication quality of radio
CN110189511B (en) Signal receiving device, wireless transmission system and signal switching method

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
GR01 Patent grant
GR01 Patent grant