Communication system, earphone system, earphone, earphone box and communication method

By using optical signal communication between the headphones and the headphone box, and switching the transmission and reflective states of the transmissive and reflective components, the problem of easy and unreliable connection between the headphones and the headphone box is solved, and more stable communication and charging are achieved.

CN115361610BActive Publication Date: 2025-08-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110535214.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-17
Publication Date
2025-08-12
Estimated Expiration
2041-05-17

AI Technical Summary

Technical Problem

In the prior art, the connection between the headphones and the headphone box is easily damaged and unreliable, resulting in unstable charging and communication and affecting the user experience.

Method used

Optical signal communication is used instead of the traditional spring thimble connection, and optical communication is carried out by setting up optical modules on the headset and headset box, and the transmission of optical signals is achieved by switching between the transmissive and reflective states using the transmissive and reflective components.

Benefits of technology

Improves the reliability and stability of the connection between the headphones and the headphone box, reduces the risk of equipment damage, and improves user experience and communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361610B_ABST
    Figure CN115361610B_ABST
Patent Text Reader

Abstract

The present application discloses a communication system, an earphone system, an earphone, an earphone box, and a communication method, relating to the field of communication technology. The communication system includes a first device and a second device; the first device is provided with a first optical module, the second device is provided with a second optical module, the second optical module includes a transflective component, and the first optical module includes a first optical receiver and an optical transmitter; the operating state of the transflective component includes a transmission state and a reflection state, the transmission-reflection ratio of the transflective component in the transmission state is greater than the transmission-reflection ratio of the transflective component in the reflection state, and the transflective component is used to reflect the optical signal emitted by the optical transmitter in the reflection state and receive it by the first optical receiver. Therefore, the first device and the second device can communicate via optical signals, thereby avoiding the use of spring pins to achieve communication circuit connection, thereby reducing costs and improving the reliability of the connection between the two.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio playback equipment, and more specifically, to a communication system, an earphone system, an earphone, an earphone box, and a communication method. Background Art

[0002] Currently, the connection between two devices often uses spring pins to achieve communication circuit connection. This method may lead to defects such as the spring pins being easily damaged and the connection between devices being unreliable. Summary of the Invention

[0003] The present application proposes a communication system, an earphone system, an earphone, an earphone box and a communication method to improve the above-mentioned defects.

[0004] In a first aspect, an embodiment of the present application provides a communication system, comprising a first device and a second device; the first device is provided with a first optical module, the second device is provided with a second optical module, the second optical module includes a transflective component, and the first optical module includes a first optical receiver and an optical transmitter; the working state of the transflective component includes a transmission state and a reflection state, the transmission-reflection ratio of the transflective component in the transmission state is greater than the transmission-reflection ratio of the transflective component in the reflection state, and the transflective component is used to reflect the optical signal emitted by the optical transmitter in the reflection state and receive it by the first optical receiver.

[0005] In a second aspect, an embodiment of the present application provides an earphone system, comprising an earphone and an earphone box, wherein one of the earphone and the earphone box is a first device in the above-mentioned communication system, and the other of the earphone and the earphone box is a second device in the above-mentioned communication system.

[0006] In a third aspect, an embodiment of the present application further provides an earphone, which is applied to the above-mentioned earphone system, and the earphone is used to communicate with the earphone box through the optical signal transmitted between the first optical module and the second optical module.

[0007] In a fourth aspect, an embodiment of the present application further provides an earphone box, which is applied to the above-mentioned earphone system, and the earphone box is used to communicate with the earphone through the optical signal transmitted between the first optical module and the second optical module.

[0008] In a fifth aspect, an embodiment of the present application further provides a communication method, which is applied to the above-mentioned headphone system, and the method includes: the headphone and the headphone box establish an optical communication channel through the first optical module and the second optical module; the headphone and the headphone box exchange data through the optical communication channel.

[0009] In a sixth aspect, an embodiment of the present application further provides a computer-readable medium, wherein the computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.

[0010] The present application provides a communication system, an earphone system, an earphone, an earphone box, and a communication method. The communication system includes a first device and a second device. The first device is provided with a first optical module, the second device is provided with a second optical module, the second optical module includes a transflective component, and the first optical module includes a first optical receiver and an optical transmitter. The working state of the transflective component includes a transmission state and a reflection state. The transmission-reflection ratio of the transflective component in the transmission state is greater than the transmission-reflection ratio of the transflective component in the reflection state. Therefore, the transflective component can reflect the optical signal emitted by the optical transmitter in the reflection state and receive it by the first optical receiver, thereby realizing optical communication. Therefore, the first device and the second device can communicate through optical signals, thereby avoiding the use of spring pins to realize communication circuit connection, thereby reducing costs and improving the reliability of the connection between the two.

[0011] Other features and advantages of the embodiments of the present application will be described in the following description and, in part, will become apparent from the description or be understood by practicing the embodiments of the present application. The objectives and other advantages of the embodiments of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A schematic diagram of a communication system provided by a first embodiment of the present application is shown;

[0014] Figure 2 A schematic diagram of an earphone system provided by a first embodiment of the present application is shown;

[0015] Figure 3 A schematic diagram of carrier communication provided by an embodiment of the present application is shown;

[0016] Figure 4 A schematic diagram of an earphone system provided in a second embodiment of the present application is shown;

[0017] Figure 5 A schematic diagram of a spring ejector provided in an embodiment of the present application is shown;

[0018] Figure 6 A schematic diagram of an earphone system provided in a third embodiment of the present application is shown;

[0019] Figure 7 A schematic diagram illustrating encoding of an optical signal provided by an embodiment of the present application is shown;

[0020] Figure 8 A schematic diagram of an earphone system provided in a fourth embodiment of the present application is shown;

[0021] Figure 9 A schematic diagram of an earphone system provided in a fifth embodiment of the present application is shown;

[0022] Figure 10 A schematic diagram of a wearable detector provided in an embodiment of the present application is shown;

[0023] Figure 11 A schematic diagram of a communication system provided by a second embodiment of the present application is shown;

[0024] Figure 12 A schematic diagram of a communication system provided by a third embodiment of the present application is shown;

[0025] Figure 13 A schematic diagram of an earphone system provided in a sixth embodiment of the present application is shown;

[0026] Figure 14 FIG2 shows a schematic diagram of an earphone system provided by a seventh embodiment of the present application;

[0027] Figure 15 A schematic diagram of a signal processor provided in an embodiment of the present application is shown;

[0028] Figure 16 A schematic diagram showing Manchester-encoded data provided in an embodiment of the present application is shown;

[0029] Figure 17 A flow chart of a communication method provided by an embodiment of the present application is shown;

[0030] Figure 18 A storage unit for storing or carrying program codes for implementing a communication method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of the present application.

[0032] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0033] When a first device and a second device in a communication system communicate, they must first establish a communication connection between them. Currently, this connection can be established through a physical connection. This physical connection can include a data cable, a patch connection, or a pogo pin connection. However, this physical connection can result in a weak communication connection between the first and second devices.

[0034] In an embodiment of the present application, the physical connection may be via a spring pin connection, whereby one of the first device and the second device may be a headset, and the other of the first device and the second device may be a headset case. Specifically, the first device may be a headset and the second device may be a headset case, or the first device may be a headset case and the second device may be a headset.

[0035] like Figure 1 As shown, the communication system 1 includes a first device 11 and a second device 12. The first device 11 is provided with a first optical module 120, and the second device 12 is provided with a second optical module 220. Optical communication is achieved between the first device 11 and the second device 12 via the first optical module 120 and the second optical module 220. As an embodiment, one-way communication or two-way communication can be achieved between the first optical module 120 and the second optical module 220. In the embodiment of the present application, the embodiment of optical communication between the first device and the second device is described by taking the embodiment of optical communication between the earphone and the earphone box as an example.

[0036] Specifically, before describing an embodiment of optical communication between the earphones and the earphone box, the physical connection between the earphones and the earphone box is first introduced.

[0037] Current wireless earphones are paired with earphone boxes, which are used to hold the wireless earphones. Figure 2 As shown, the earphone system 10 includes an earphone 100 and an earphone box 200. The earphone box 200 can accommodate the earphone 100. Specifically, the inner wall of the housing of the earphone box 200 forms an accommodating cavity, and the earphone 100 can be accommodated in the accommodating cavity of the earphone box 200.

[0038] In addition, the earphone box 200 not only provides a storage cavity for the earphones 100, but also can communicate with the earphones 100, thereby obtaining information such as the battery level, name, or network parameters of the earphones 100, so that the user terminal can successfully pair with the earphones 100 through the earphone box 200 and establish a communication connection. As an embodiment, the earphone box 200 is also used to charge the earphones 100.

[0039] Currently, the earphone box 200 and the earphones 100 typically communicate using methods such as 5V carrier communication, serial port communication, and proprietary protocol communication. This is because the amount of information communicated between the earphone box 200 and the earphones 100 is relatively small. For example, the information communicated between the two includes basic information such as battery level and Bluetooth address, which rarely exceeds 10 bytes. Furthermore, the main function of the earphone box 200 is to charge the earphones 100. Using 5V carrier communication does not significantly affect the efficiency of the earphone box 200 in charging the earphones 100.

[0040] The basic principle of 5V carrier communication is that the earphone box 200 outputs 5V to charge the earphone 100. When communication is needed, the information used for communication is modulated on the output 5V waveform. Considering that the communication distance is very short and the chip computing power used by the earphone box 200 is not high, 5V carrier communication generally adopts amplitude modulation. In order to reduce the bit error rate, simple and common codecs are generally used. Figure 3 As shown, when communication is not required, the earphone box 200 maintains a stable 5V output to charge the earphones. When communication is required, the earphone box 200 can send a carrier wave to the earphones 100, with 5V representing a bit "1" and 0V representing a bit "0". The earphones 100 read the current voltage level at a fixed clock frequency using a pre-agreed sampling rate to achieve data communication.

[0041] Regardless of whether it is a serial communication or a 5V carrier communication method, the earphone box 200 needs to be equipped with a spring thimble, which contacts the exposed pins of the earphone 100 to achieve circuit connection. Figure 4As shown, the earphone case 200 is provided with a spring pin 210. As an embodiment, the spring pin 210 is disposed in the receiving cavity of the earphone case 200. The earphone 100 is provided with a pin 110. When the earphone 100 is placed in the receiving cavity of the earphone case 200, the pin 110 contacts the spring pin 210, thereby achieving an electrical connection between the earphone 100 and the earphone case 200. Specifically, a portion of the spring pin 210 protrudes from the surface of the receiving cavity of the earphone case 200. The pin 110 of the earphone 100 can be a groove formed in the surface of the housing of the earphone 100. The portion of the spring pin 210 protruding from the surface of the receiving cavity of the earphone case 200 just matches the groove, so that the pin 110 contacts the spring pin 210.

[0042] The inventors found in their research that the above-mentioned connection method between the pin 110 and the spring ejector pin 210 means that the spring ejector pin 210 must be exposed. Figure 5 As shown, the spring pin 210 is a movable part, which means that the assembly tolerance problem needs to be taken into account in the structural design. Therefore, it is destined to lack sealing performance, and it is relatively difficult to make it waterproof and dustproof. Although the lack of waterproof performance in the structure can be compensated by nano-coating, waterproof glue, etc., it will increase the cost. At the same time, the nano-waterproof coating itself has a limited lifespan, and the waterproof performance gradually decreases with use. The deterioration of waterproof performance means that once the earphone box 200 is immersed in liquid, the liquid can easily penetrate into the electronic components inside the earphone box 200 through the spring pin 210, corroding the circuit board or causing a short circuit, causing irreversible damage to the earphone box 200. If the spring pin 210 of the earphone box 200 is stained with conductive liquids such as sweat during daily use, after the earphone 100 is placed in the earphone box 200, it will cause the pin 110 to short-circuit with the spring pin 210, which will also cause damage to the earphone 100. Meanwhile, the pins 110 and the spring pins 210 are generally plated with an inert metal to prevent oxidation. However, as time goes by, the plating will inevitably fall off. After the plating falls off, the pins 110 and the spring pins 210 will be oxidized, resulting in poor charging and contact.

[0043] In terms of electronic stability, since the pin 110 of the earphone 100 is exposed on the surface of the shell of the earphone 100, static electricity can more easily damage the internal circuit of the earphone 100 through the pin 110, or cause circuit instability, resulting in the earphone 100 crashing or software running away, bringing uncontrollable consequences, which will be very unfriendly to the daily use experience.

[0044] In terms of charging and communication reliability, since the spring pin 210 contains a spring component, the earphone 100 shaking inside the earphone case 200 can cause poor contact, resulting in intermittent charging and communication failure between the earphone 100 and the earphone case 200, causing functional abnormalities. Due to shaking, the earphone 100 and the earphone case 200 frequently interrupt charging. For the 5V carrier communication solution, frequent 5V interruptions interfere with 5V carrier communication and may even falsely trigger some functions, such as the lid opening function, which has a significant impact on the user experience. In terms of appearance design, the exposed spring pin 210 is very abrupt, from the opening to the color, and it undermines the integrity of the earphone design.

[0045] In order to overcome the defects, the embodiments of the present application provide an earphone, an earphone box and an earphone system, so that the earphone and the earphone box can communicate through optical signals.

[0046] In an embodiment of the present application, the headset may be a wireless headset and may include a first wireless headset and a second wireless headset. The first wireless headset and the second wireless headset constitute a True Wireless Stereo (TWS) headset, wherein the left and right earphones of the TWS headset are independent of each other and do not need to be connected by a cable, thereby achieving wireless separation of the left and right channels.

[0047] In the embodiment of the present application, the earphone box 200 is taken as the first device 11 and the earphone 100 is taken as the second device 12 to illustrate the optical communication method between the first device 11 and the second device 12. Of course, the earphone 100 can also be the first device 11 and the earphone box 200 can be the second device 12, which is not limited here.

[0048] like Figure 6 As shown, the communication system of the embodiment of the present application can be an earphone system 10, the earphone 100 is provided with a first optical module 120, and the earphone box 200 is provided with a second optical module 220, and the first optical module 120 and the second optical module 220 communicate through optical signals. As an embodiment, unidirectional communication or bidirectional communication can be achieved between the first optical module 120 and the second optical module 220. Specifically, the unidirectional communication between the first optical module 120 and the second optical module 220 can be that the first optical module 120 can receive the optical signal transmitted by the second optical module 220, or the second optical module 220 can receive the optical signal transmitted by the first optical module 120. The bidirectional communication between the first optical module 120 and the second optical module 220 can be that the first optical module 120 can receive the optical signal transmitted by the second optical module 220, and can also transmit an optical signal to the second optical module 220.

[0049] Since the light intensity of the light beam emitted by one of the first optical module 120 and the second optical module 220 is different, the light intensity value of the light beam received by the other optical module is also different. If the earphone 100 and the earphone box 200 pre-agree that different light intensities correspond to different bit values, different bit values correspond to different binary data, thereby enabling the decoding of the received optical signal and obtaining the content carried by the optical signal.

[0050] As an embodiment, assume that an optical signal includes a light beam of a first light intensity and a light beam of a second light intensity, where the first light intensity is greater than the second light intensity. Specifically, the first light intensity represents a strong light beam, while the second light intensity represents a weak light beam. Therefore, by emitting light beams of the first and second light intensities at varying intervals, a receiving end receiving the light beams can decipher the data carried by the optical signal.

[0051] In the embodiment of the present application, the values of the first light intensity and the second light intensity can be pre-set according to the light intensities of the light beams that can be emitted by the first light module 120 and the second light module 220. Taking the transmission of an optical signal from the first light module 120 to the second light module 220 as an example, assuming that the first light module 120 emits a light beam normally, the light intensity value of the light beam received by the second light module 220 is recorded as the first light intensity. When the first light module 120 stops emitting a light beam, the light intensity value of the light beam received by the second light module 220 is recorded as the second light intensity. The first light module 120 emits or stops emitting a light beam at intervals, such as Figure 6 As shown, "strong" refers to a beam of a first light intensity, and "weak" refers to a beam of a second light intensity. Assuming the bit value corresponding to the beam of the first light intensity, i.e., binary data, is 1, and the bit value corresponding to the beam of the second light intensity, i.e., binary data, is 0, the first optical module 120 sequentially transmits a beam, stops transmitting, transmits a beam, stops transmitting, stops transmitting, transmits a beam, transmits a beam, transmits a beam, stops transmitting, stops transmitting, and transmits a beam. The intensity values of the optical signals received by the second optical module 220 are "strong, weak, strong, weak, weak, strong, strong, strong, weak, weak, strong," in sequence. The decoded binary data is 10100111001. This enables communication between the first optical module 120 and the second optical module 220.

[0052] As an implementation method, the headset 100 or the headset box 200 can modulate the information to be transmitted to the other party into an optical signal, and then control the first optical module 120 or the second optical module 220 to transmit the optical signal. Specifically, taking the example of the headset 100 sending specified content to the headset box 200, the headset 100 encodes the specified content into first data. The first data can be binary data consisting of a first bit value and a second bit value, where the first bit value is 1 and the second bit value is 0. For example, the first data after the designated content is encoded is 10100111001, and the first optical module 120 outputs a light beam of "strong, weak, strong, weak, weak, strong, strong, strong, weak, weak, strong" in sequence according to the first data. The second optical module 220 receives the optical signal and reads that the light intensity of the received light beam is "strong, weak, strong, weak, weak, strong, strong, strong, weak, weak, strong" in sequence. According to the strategy that "strong" corresponds to the first bit value and "weak" corresponds to the second bit value, the received optical signal is compiled into 10100111001, that is, the second data, and then the second data is decoded using the decoding method corresponding to the encoding to obtain the designated content, thereby enabling the earphone 100 to send the designated content to the earphone box 200.

[0053] Therefore, since the optical signal between the first optical module 120 and the second optical module 220 is used to realize the communication between the earphone and the earphone box, as shown in FIG. Figure 7 As shown, compared Figure 3 In the illustrated headphone system, the headphones communicate with the headphone case via pins and pogo pins. The headphone system provided by the embodiment of the present application can avoid the use of pins and pogo pins. Furthermore, the headphone case 200 is provided with a power module for charging the headphones. The power module is a wireless charging module (not shown), which is used to charge the headphones. This allows the headphone case 200 to charge the headphones 100 without the use of pins and pogo pins.

[0054] As an embodiment, the shell of the earphone box 200 is provided with a accommodating cavity for accommodating the earphone 100, and the inner wall of the accommodating cavity is provided with a second optical module 220. When the earphone 100 is located in the accommodating cavity, the positions of the first optical module 120 and the second optical module 220 correspond, so that the first optical module 120 and the second optical module 220 communicate through optical signals.

[0055] As an embodiment, if the earphone 100 and the earphone box 200 can communicate bidirectionally, the first optical module 120 and the second optical module 220 both include an optical transmitter and an optical receiver. Figure 8As shown, the first optical module 120 includes a first optical receiver 121 and a first optical transmitter 122, and the second optical module 220 includes a second optical receiver 221 and a second optical transmitter 222. The first optical receiver 121 can receive the optical signal emitted by the second optical transmitter 222, so that the earphone 100 receives the information emitted by the earphone box 200, and the second optical receiver 221 can receive the optical signal emitted by the first optical transmitter 122, so that the earphone box 200 receives the information emitted by the earphone 100.

[0056] Specifically, when the headset 100 is in the information transmission state, that is, when the headset 100 sends communication data to the headset box 200, the second light transmitter 222 of the headset box 200 is in the off state, that is, it stops emitting light beams, and the second light receiver 221 is in operation. The first light transmitter 122 of the headset 100 transmits a light beam to the headset box 200, which is received by the second light receiver 221 of the headset box 200. The first light receiver 121 of the headset 100 can be in the off state or in the working state. In the embodiment of the present application, the first light receiver 121 of the headset 100 can be in the off state.

[0057] When the earphone box 200 is in the state of sending information, that is, when the earphone box 200 sends communication data to the earphone 100, the earphone 100 is in the state of receiving optical signals, the second optical transmitter 222 of the earphone box 200 is in the working state, the first optical transmitter 122 of the earphone 100 is in the off state, and the first optical receiver 121 is in the working state.

[0058] It should be noted that when the optical receiver is in the off state, the optical receiver can still receive the light beam, but it will not be read, that is, the channel that can read the intensity value of the light beam received by the optical receiver is closed, or the module that reads the light receiver stops the reading operation. For example, when the first optical receiver 121 of the headset 100 is in the off state, the reading module of the headset 100 stops reading the data output by the first optical receiver 121, which can be the intensity value of the light signal received by the first optical receiver 121. Therefore, although the first optical receiver 121 can receive the light beam, the intensity value of its light beam will not be read by the headset 100, so as to avoid the headset 100 mistakenly identifying the light beam as information sent by the earphone box 200.

[0059] As an embodiment, when a light beam with a specified intensity change is detected in the optical signal, it can be determined that the communication is over, thereby enabling interaction between the earphone box 200 and the earphone 100, that is, after the operation of sending information by one party is completed, the other party sends information again. The light beam with a specified intensity change can be multiple light beams, and the intensity change of the multiple light beams is a specified intensity change. Specifically, the specified intensity change can be set in advance according to actual needs, and can be an intensity change agreed upon by the earphone and the earphone box. For example, the light beam with a specified intensity change can be N consecutive light beams with an intensity of the first light intensity. If it corresponds to a bit value, it can be N bits 1. The multiple bit values corresponding to the light beam with a specified intensity change can be used as end information, that is, the end information can be N 1s, where N is a natural number greater than 1. For example, N can be 3, and there is no specific limitation.

[0060] When the earphone 100 is in the information sending state, the earphone box 200 is in the receiving state. When the earphone box 200 receives the end information sent by the earphone 100, the earphone box 200 determines that the operation of sending information by the earphone 100 is completed, and the earphone box 200 can switch to the information sending state, that is, send information to the earphone 100.

[0061] As an embodiment, the first optical module 120 provided in the headset 100 may be a wearing detector of the headset 100, such as Figure 10 As shown, a wearing detector 131 is provided on the shell of the earphone 100, and the wearing detector 131 is provided on a designated surface of the shell of the earphone 100. The designated surface is the surface where the earphone head contacts the concha of the human ear when the earphone 100 is worn. Specifically, a black circular hole can be opened on the designated surface, and a wearing detector 131 is assembled in the circular hole. The wearing detector 131 can be a light sensor, which includes a light-emitting unit and a light-sensitive unit. The light-emitting unit can be an LED lamp. The LED lamp emits infrared light, which passes through the prism on the circular hole and radiates out of the earphone. If there is an opaque object blocking the front, most of the light will be reflected back. The light-sensitive unit determines whether there is an object blocking the light based on the intensity of the reflected light to infer whether it is in a wearing state.

[0062] In the embodiment of the present application, the first optical module 120 may be the aforementioned wearing detector 131 , that is, the light emitting unit is the first light emitter 122 , and the light sensing unit is the first light receiver 121 .

[0063] In one embodiment, only one of the first and second optical modules is provided with an optical transmitter, and the other optical module transmits and receives signals through transmission and reflection. In another embodiment, the second optical module may include a transflective component. The transflective component has a transmission state and a reflection state. In the transmission state, the transflective component has a greater transmission-to-reflection ratio than in the reflection state. In the reflection state, the transflective component is configured to reflect the optical signal emitted by the first optical transmitter, which is received by the first optical receiver.

[0064] As an implementation method, Figure 11 As shown, assuming that there is one-way communication between the first device and the second device, that is, the first device unidirectionally receives the optical signal transmitted by the second device, the first optical module is provided with an optical transmitter and a first optical receiver 121, and the second optical module may not be provided with a second optical receiver, and only a transflective component 223 is provided.

[0065] As another embodiment, Figure 12 As shown, if there is bidirectional communication between the first device and the second device, that is, the second device and the first device can send and receive optical signals to each other, the first optical module is provided with an optical transmitter and a first optical receiver 121, and the second optical module needs to be provided with a second optical receiver 221 and a transflective component 223, so that the second optical module can receive the light beam emitted by the first optical transmitter of the first optical module.

[0066] In the embodiment of the present application, assuming bidirectional communication between the first optical module and the second optical module, the second optical module further includes a second optical receiver 221, and a transflective component 223 disposed on a receiving optical path of the second optical receiver 221. Therefore, even if the second optical module is not provided with an optical transmitter, the optical signal transmitted by the first optical transmitter can be reflected by the reflective state of the transflective component, and received by the first optical receiver.

[0067] As an embodiment, the transflective component is arranged in the earphone, such as Figure 13 As shown, the first device is an earphone box 200, and the second device is an earphone 100. As an embodiment, the transflective component is arranged in the earphone box, such as Figure 14 As shown, the transflective component 223 is set on the earphone box 200. Specifically, whether the transflective component 223 is set in the earphone box 200 or in the earphone 100 can be set according to actual use and is not limited to the embodiments of the present application. The transflective component 223 can be set on the earphone 100, that is, the second optical module is set in the earphone 100, thereby reducing the excessive power consumption of the earphone 100 due to the need to actively emit a light beam.

[0068] As an embodiment, the transflective component 223 includes a transmission state and a reflection state. In the transmission state, the transflective ratio of the transflective component is greater than the transflective ratio of the transflective component in the reflection state. The transflective ratio is used to represent the ratio of the reflected portion to the transmitted portion of the light beam when passing through the transflective component. The higher the transflective ratio, the higher the transmitted portion and the lower the reflected portion of the light beam when passing through the transflective component. For example, if the transflective ratio is 100%, the light beam can be completely transmitted through the transflective component when passing through the transflective component. If the transflective ratio is 0%, the light beam can be completely reflected when passing through the transflective component.

[0069] In the embodiment of the present application, when the transflective component is in the transmission state, if the transmittance ratio is greater than a first value, when the transflective component is in the reflection state, the transmittance ratio is less than a second value, wherein the first value is greater than the second value. Specifically, the settings of the first value and the second value can be set according to actual use.

[0070] As an embodiment, the transflective component 223 includes a first lens and a second lens arranged in a stacked manner, wherein the first lens is a reflector and the second lens is a lens. At least one of the first lens and the second lens is arranged on a sliding component, and the sliding component can be controlled by headphones to achieve a change in the overlapping area between the first lens and the second lens. The larger the overlapping area between the two, the lower the transflective ratio, thereby controlling the transflective component to switch between the transmission state and the reflection state.

[0071] In another embodiment, the transflective component is electrochromic glass. Electrochromic glass is made of electrochromic materials. Electrochromic materials refer to materials whose optical properties (reflectivity, transmittance, absorptivity, etc.) undergo a stable and reversible color change under the influence of an applied electric field, which manifests itself as a reversible change in color and transparency. Materials with electrochromic properties are called electrochromic materials. Electrochromic glass has adjustable light absorption and transmission under the influence of an electric field, meaning its transmittance-to-reflection ratio can be altered.

[0072] Electrochromic glass can include: glass or a transparent substrate material, a transparent conductive layer, an electrochromic layer, an electrolyte layer, an ion storage layer, a transparent conductive layer, and glass or a transparent substrate material. When a voltage is applied between the two transparent conductive layers, the electrochromic layer material undergoes an oxidation-reduction reaction, causing a color change. The electrolyte layer is composed of a special conductive material, such as a solution or solid electrolyte material containing lithium perchlorate or sodium perchlorate. The ion storage layer stores corresponding counterions during the electrochromic material's redox reaction, maintaining charge balance across the system. The ion storage layer can also be an electrochromic material with color-changing properties opposite to those of the preceding electrochromic material, thereby achieving a superimposed or complementary color effect. For example, if the electrochromic layer is an anodic oxidation material, the ion storage layer can be a cathodic reduction material. The transmittance of electrochromic glass is related to its color depth: darker colors have lower transmittance, while lighter colors have higher transmittance.

[0073] As an implementation method, Figure 15 As shown, the headset 100 is provided with a signal processor 130. This signal processor 130 is connected to the transflective component 223 and is capable of changing the transflective-reflective ratio of the transflective component 223, that is, controlling the transflective component 223 to switch between a transmissive state and a reflective state. In one embodiment, if the transflective component 223 is electrochromic glass, the signal processor 130 is electrically connected to the conductive layer of the transflective component 223. In one embodiment, the signal processor 130 inputs an electrical signal to the transflective component 223. This electrical signal is used to control the color of the transflective component 223 to darken, thereby reducing its transmittance, or to lighten, thereby increasing its transmittance. A decrease in transmittance results in an increase in reflectance, that is, a decrease in the transflective-reflective ratio. When the transflective-reflective ratio is less than a second value, the transflective component is in a reflective state. Similarly, an increase in transmittance results in a decrease in reflectance, that is, an increase in the transflective-reflective ratio. When the transflective-reflective ratio is greater than a first value, the transflective component is in a transmissive state.

[0074] As an implementation method, Figure 13 To illustrate the communication process of the headphone system, when the second optical module is in receiving mode, that is, when the headphone 100 is in receiving mode, the headphone box 200 is in transmitting mode, that is, when the first optical module is in transmitting mode, the second optical module is used to receive the first optical signal emitted by the second optical transmitter 22 of the first optical module in the receiving mode. That is, when the headphone 100 is in receiving mode, the headphone box 200 transmits communication data to the headphone 100. When the second optical module is in receiving mode, the headphone is used to control the transflective component to be in a transmissive state.

[0075] As an embodiment, when the transflective component receives the first signal input from the earphone 100, the transflective component is in a transmissive state, and when receiving the second signal, the transflective component 223 is in a reflective state. When the second optical module is in receive mode, the earphone 100 continuously inputs the first signal to the transflective component, causing the transflective component 223 to remain in the transmissive state. The first light signal emitted by the first light transmitter 122 of the earphone box 200 passes through the transflective component 223 and is received by the second light receiver 221. Since the transflective component 223 is in the transmissive state, most of the light energy of the first light signal passes through the transflective component 223.

[0076] As an embodiment, assuming that the earphone box 200 needs to send first data to the earphone 100, the earphone box 200 generates light control parameters based on the first data, and the light control parameters include a first parameter and a second parameter. The earphone box 200 controls the light intensity of the light beam emitted by the first light emitter 122 to be greater than a first specified threshold based on the first parameter, and controls the light intensity of the light beam emitted by the second light emitter to be less than a second specified threshold based on the second parameter. The light intensity being greater than the first specified threshold value can be understood as the aforementioned first light intensity, and the light intensity being less than the second specified threshold value can be understood as the aforementioned second light intensity, wherein the first specified threshold value is greater than the second specified threshold value. In the embodiment of the present application, assuming that the maximum light intensity of the light beam that can be emitted by the first light emitter 122 is A, the first specified threshold value can be set to a*A, and the second specified threshold value can be b*A, wherein a can be a value between 0.85 and 1, for example, a can be 0.9, and b can be a value between 0 and 0.11, for example, b can be 0. That is, the specific implementation of controlling the light intensity of the light beam emitted by the first light emitter 122 to be less than the second specified threshold value based on the second parameter is to control the first light emitter 122 to be turned off based on the second parameter, that is, the LED light of the second light emitter is turned off, that is, the light beam is stopped. In the embodiment of the present application, the implementation of controlling the light intensity of the light beam emitted by the first light emitter 122 to be greater than the first specified threshold value is to control the first light emitter 122 to be turned on, that is, the LED light of the first light emitter 122 is turned on.

[0077] As an embodiment, the first data includes at least one first bit value and at least one second bit value. Each first bit value in the first data is set to a corresponding first parameter, and each second bit value is set to a corresponding second parameter. Assuming that the binary code value obtained after the first data undergoes a specified encoding operation is "10110001010111", "1" is set to the first parameter, and "0" is set to the second parameter. Assuming that the first parameter is c1 and the second parameter is c2, the light control parameters corresponding to the first data are "c1, c2, c1, c1, c2, c2, c2, c1, c2, c1, c2, c1, c1, c1". Based on the light control parameters, the first light emitter 122 is controlled to turn on, off, on, on, off, off, off, on, off, on, off, on, on, on, on, so that the light intensity of the light beam received by the second light receiver 221 of the headset 100 is strong, weak, strong, strong, weak, weak, weak, strong, weak, strong, weak, strong, strong, strong. The earphone 100 then interprets the received first optical signal according to a preset rule agreed upon with the earphone box 200. The preset rule may be that "strong" corresponds to a first bit value of 1, and "weak" corresponds to a second bit value of 0. Thus, the earphone 100 interprets the first optical signal and obtains binary data of "10110001010111". Then, the first data can be obtained by using a decoding method corresponding to the specified code.

[0078] As an implementation method, the last three 1s of the binary data, namely "111", can be used as end information. Therefore, the first data includes first content and end information, wherein the first content is the information that the earphone box 200 needs to inform the earphone 100, and the end information is used to indicate the end of this communication. When the earphone 100 obtains the end information, it can enter the transmission mode, that is, send the second data to the earphone box 200.

[0079] When the headset 100 is in the transmitting mode, the headset 100 needs to send the second data to the headset box 200, and the headset 100 will control the transflective component to switch between the transmission state and the reflection state according to the second data. The transflective component forms a second optical signal based on the reflected light beam in the transmission state and the reflection state and sends it to the first optical receiver 121, wherein the reflected light beam is a light beam formed by the transflective component reflecting the specified light beam emitted by the light transmitter of the second optical module. Specifically, the headset 100 can reflect the light beam incident on the transflective component to the headset box 200 in the reflection state, and receive it by the first light receiver 121 of the headset box 200. In the transmission state, the light beam incident on the transflective component will pass through the transflective component, so that the light beam reflected by the transflective component is less, that is, the light intensity of the light beam reflected by the transflective component received by the first light receiver 121 of the headset box 200 is relatively low. Therefore, when the transflective component is in the transmission state and the reflection state, the intensity of the light beam received by the first light receiver 121 will be different. Through this difference, different light intensities can correspond to different bit values, thereby enabling the earphone 100 to send data to the earphone box 200.

[0080] As an embodiment, when the headset 100 is in transmit mode, the light emitter of the first optical module continuously emits a light beam having a light intensity greater than a third specified threshold value. That is, the first light emitter 122 of the headset box 200 continuously emits a light beam having a light intensity greater than the third specified threshold value. In this embodiment of the present application, the first specified threshold value may match the aforementioned third specified threshold value, and the fourth specified threshold value may match the aforementioned second specified threshold value. The matching of the two specified threshold values may mean that the difference between the two values is less than the specified difference value, and the two values may be considered to be approximately the same.

[0081] In the implementation of this application, the first specified threshold can be set to be the same as the aforementioned third specified threshold, and the fourth specified threshold can be the same as the aforementioned second specified threshold. Therefore, the second light emitter of the earphone box 200 continuously emits a light beam with a light intensity greater than the third specified threshold. It can be regarded as that the first light emitter 122 of the earphone box 200 continuously outputs a light beam with a first light intensity, that is, the first light emitter 122 is continuously in the on state, and the earphone 100 generates an instruction set based on the second data, which includes a first instruction and a second instruction. The earphone 100 controls the transflective component to be in a reflective state based on the first instruction, and controls the transflective component to be in a transmissive state based on the second instruction. Specifically, the signal processor 130 of the earphone 100 responds to the first instruction, sends a second signal to the transflective component 123, controls the transflective component 123 to be in a reflective state, so that the light beam of the first light intensity emitted by the first light emitter 122 of the earphone box 200 is reflected by the transflective component 123 and can be received by the first light receiver of the earphone box 200. The signal processor 130 of the earphone 100 responds to the second instruction, sends a first signal to the transflective component 123, controls the transflective component 123 to be in a transmissive state, so that the light beam of the first light intensity emitted by the first light emitter 122 of the earphone box 200 is transmitted by the transflective component 123 and is not reflected back to the earphone box 200, or the light intensity of the light beam returning to the earphone box 200 is very small, that is, it can be the above-mentioned second light intensity.

[0082] In one embodiment, the headset 100 sequentially sets each first code value to correspond to a first instruction and each second code value to correspond to a second instruction based on the order of the first code value and the second code value in the second data, thereby obtaining the instruction set. The encoding process encodes the data into binary data, and the first code value can be the aforementioned first bit value, and the second code value can be the aforementioned second bit value.

[0083] Similar to how the earphone 100 receives the first data sent by the earphone box 200, the earphone 100 encodes the second data into binary data. For example, the binary data corresponding to the second data is "010101100111". In the binary data corresponding to the second data, the first bit value corresponds to the first instruction, and the second bit value corresponds to the second instruction. The instruction set corresponding to "010101100111" is "z2, z1, z2, z1, z2, z1, z1, z2, z2, z1, z1, z1", where z1 represents the first instruction and z2 represents the second instruction. The signal processor 130 then sends the first signal, the second signal, the first signal, the second signal, the first signal, the second signal, the second signal, the first signal, the first signal, the second signal, the second signal, the second signal, the second signal, the second signal, and the second signal in sequence according to the instruction set. The transflective component 123 then changes to the following states: transmissive state, reflective state, transmissive state, reflective state, transmissive state, reflective state, reflective state, transmissive state, transmissive state, reflective state, reflective state, and reflective state.

[0084] The light intensities received by the first optical receiver of the earphone box 200 are, in order, the second light intensity, the first light intensity, the second light intensity, the first light intensity, the second light intensity, the first light intensity, the first light intensity, the second light intensity, the second light intensity, the first light intensity, the first light intensity, and the first light intensity. The second light intensity corresponds to the second bit value 0, and the first light intensity corresponds to the first bit value 1. Therefore, after the earphone box 200 demodulates the light intensity of the received optical signal, the resulting binary data is "010101100111". By performing the decoding operation corresponding to the aforementioned encoding, the second data can be obtained.

[0085] As an embodiment, optical noise is inevitably present in the optical channel between the earphone box 200 and the earphone 100. That is, when the first light transmitter of the earphone box 200 is turned off, the light intensity of the light beam received by the second light receiver of the earphone 100 may not be the second light intensity, but may be higher than the second light intensity, or even a higher value. Therefore, a noise floor value can be pre-set. When the earphone 100 receives the light beam sent by the earphone box 200, the earphone 100 subtracts the noise floor value from the light intensity value of the read light beam to obtain the true light intensity value. Then, if the true light intensity is greater than or equal to the first light intensity, it is encoded as a first bit value; if the true light intensity is less than or equal to the second light intensity, it is encoded as a second bit value.

[0086] The noise floor value can be written into the storage of the earphone 100, i.e., the flash, through a calibration operation before the earphone 100 leaves the factory. Specifically, the earphones are placed in a box. Due to process assembly, earphone shape, and other reasons, the earphones and the box are not completely fitted together, so there will be an impact of ambient light. Even after the LED in the box is turned off, there is still a value. The calibration method is to place the earphones in a box under natural light, turn off the LED in the box, and read the earphone light intensity value as the noise floor value. Similarly, the earphone box 200 can also set a noise floor value, and calibrate the light intensity value of the received light information based on the noise floor value. For details, please refer to the implementation method of the noise floor value of the aforementioned earphones, which will not be repeated here.

[0087] As an implementation, given the presence of optical noise in the optical channel between the earphone box 200 and the earphones 100, sources of this noise include ambient light, reflection of light emitted by the earphone box 200 by the earphone's photochromic glass, and reflection and refraction by the prisms of the optical receivers in the earphone box 200 and the earphones 100, direct optical communication may result in bit errors. Therefore, to overcome these errors, a specific encoding method can be used to encode the data.

[0088] Specifically, assuming the earphones 100 need to send first data to the earphone box 200, the first data can be first encoded into binary data, and then the binary data can be encoded using a specified encoding method to obtain the encoded first data. The earphones 100 then generate light control parameters based on the encoded first data. After the earphone box 200 receives the optical signal, it also needs to use the specified decoding method corresponding to the specified encoding method to decode the first data. Similarly, the second data sent by the earphone box 200 to the earphones 100 can also be encoded using the above-mentioned specified encoding method, which will not be further described here.

[0089] As an implementation method, the designated encoding method may be a third-order high-density bipolar (HDB3) encoding. The HDB3 encoding can retain the self-clock information of the encoding, eliminate the DC component, and the polarity of the data 1 pulse is alternating. Therefore, even if a bit error occurs, it can be identified and corrected. However, considering that bipolar encoding is not easy to implement for optical communications that rely on light sensing, in this embodiment of the present application, the designated encoding method is differential Manchester encoding. Differential Manchester encoding is a synchronous clock encoding technology. The encoding rule is: a level jump from low to high in a signal bit represents 1, and a level jump from high to low in a signal bit represents 0. The signal will not exceed the length of one bit. This jump can keep the clock of the receiving device consistent with the clock of the transmitting device.

[0090] Please refer to Table 1, which shows the differential Manchester encoding rules.

[0091] Table 1

[0092]

[0093] like Figure 16 As shown in the figure, assuming that the original data is "10100111001", the data after differential Manchester encoding is "011001101001010101101001". It can be seen that the data after differential Manchester encoding can ensure the clock synchronization between the sending end and the receiving end, and no separate clock line is required to transmit the synchronous clock signal.

[0094] Successful communication between the earphones and the headphone box requires that their communication clocks remain synchronized. Otherwise, if the clock deviates when the receiver samples the data, discrepancies will occur. Manchester encoding extracts the clock signal, eliminating the need for separate clock transmission, thus improving stability. Due to the characteristics of differential Manchester encoding, the waveform generated by this encoding will never experience a high or low level that lasts for more than one clock cycle. If a bit error occurs, there is a high probability that a high or low level will last for more than one clock cycle. In this case, an error is detected and, in conjunction with the upper-layer communication protocol, an attempt is made to correct the error. If correction is not possible, a retransmission is requested.

[0095] At the same time, according to the coding characteristics of Manchester, the signal remains no longer than one bit. Therefore, the embodiment of the present application uses 3 bits of 1 to represent the end flag, and there is no need to worry about confusion with communication data. At the same time, if it is found during data analysis that the signal remains longer than one bit, the error code can be discovered in time and error correction can be attempted to improve the success rate of communication.

[0096] See also Figure 17 , Figure 17 A communication method provided in an embodiment of the present application is shown, which is applied to the above-mentioned earphone system. The method includes: S1401 and S1402.

[0097] S1401: The earphone and the earphone box establish an optical communication channel through the first optical module and the second optical module.

[0098] Specifically, the earphone box and the earphones pre-agree on the rules for encoding and decoding, and the rules for modulation and demodulation of the optical signal. For example, the first light intensity corresponds to the first bit value, and the second light intensity corresponds to the second bit value. Therefore, according to the rules for encoding and decoding and the rules for modulation and demodulation, the optical path between the first optical module and the second optical module is ensured to be connected, and an optical communication channel between the two can be established.

[0099] S1402: The earphone and the earphone box exchange data through the optical communication channel.

[0100] Specifically, the specific implementation of communication between the earphone and the earphone box through the first optical module and the second optical module can refer to the above embodiment, which will not be repeated here.

[0101] Please refer to Figure 18 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1500 stores program code, which can be called by a processor to execute the method described in the above method embodiment.

[0102] Computer-readable storage medium 1500 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, a hard disk, or ROM. Alternatively, computer-readable storage medium 1500 may comprise a non-transitory computer-readable storage medium. Computer-readable storage medium 1500 has storage space for program code 1510 for executing any of the method steps described above. This program code can be read from or written to one or more computer program products. Program code 1510 may be compressed, for example, in a suitable format.

[0103] In summary, the present application provides a communication system, an earphone system, an earphone, an earphone case, and a communication method. The earphone is provided with a first optical module, and the earphone case is provided with a second optical module. The first optical module and the second optical module communicate via optical signals, thereby enabling communication between the earphone and the earphone case. Therefore, the earphone and the earphone case can communicate via optical signals, thereby avoiding the use of spring pins to achieve communication circuit connection, thereby reducing costs and improving the reliability of the connection between the earphone and the charging case.

[0104] Compared with traditional electrical communication, whether it is serial communication or 5V carrier communication, the communication between the earphones and the earphone box is achieved through optical communication between the first optical module of the earphones and the second optical module of the earphone box, and the spring pins of the earphone box and the external pins of the earphones can be removed. In addition, the earphone box uses a wireless charging module to charge the earphones, so that the charging and communication between the earphones and the earphone box can be freed from the constraints and restrictions of the spring pins and the external pins of the earphones. Therefore, the embodiment of the present application can realize the integrated design of the earphones and the earphone box, remove the spring pins, and the waterproof and dustproof of the earphone box can be achieved to a higher level, and the service life is also improved. Thus, it can avoid the high cost of the earphone box caused by the spring pins. In particular, in order to increase the service life of the spring pins, the spring pins and the external pins of the earphones are often required to be plated with rhodium. This inert metal is very expensive, and the embodiment of the present application can greatly reduce costs.

[0105] Secondly, by removing the spring pin, users do not have to worry about the earphones and the earphone box getting wet, causing communication failure after being placed in the earphone box, or even causing a short circuit and damaging the earphones and the earphone box.

[0106] In this embodiment, the first optical receiver in the first optical module of the headset can use the light sensor in the headset's wear detector, further reducing the cost of the headset. The headset box removes the high-cost and short-life spring pins and replaces them with an LED plus light sensor solution, namely the second optical module, which is very cost-effective and can achieve more stable communication. The removal of external pins in the headset improves sealing and anti-static capabilities.

[0107] At the same time, the embodiment of the present application removes the external pins of the earphones, reshapes the appearance design of the earphones, and makes the appearance more integrated. Under the trend of convergence of earphone designs, the integrated design is more likely to stand out and gain the favor of consumers.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A communication system, characterized in that: comprising a first device and a second device; The first device is provided with a first optical module, the second device is provided with a second optical module, the second optical module includes a transflective component, and the first optical module includes a first optical receiver and an optical transmitter; The transflective component has a working state including a transmission state and a reflection state. In the transmission state, the transmission-reflection ratio of the transflective component is greater than that in the reflection state. The transflective component is configured to reflect the optical signal emitted by the optical transmitter in the reflection state, and receive the optical signal by the first optical receiver. When the second device transmits communication data to the first device, the second device is used to control the transflective component to switch between the transmission state and the reflection state based on the first data to be sent to the first device; The transflective component is used to form a first optical signal based on a reflected light beam in a transmission state and a reflection state and is received by the first optical receiver, wherein the reflected light beam is a light beam formed by the transflective component reflecting a specified light beam emitted by the light transmitter of the first optical module.

2. The communication system according to claim 1, wherein: The second device is configured to generate an instruction set based on the first data, the instruction set including a first instruction and a second instruction, and control the transflective component to be in a reflective state based on the first instruction and to control the transflective component to be in a transmissive state based on the second instruction; In the reflective state, the light intensity of the reflected light beam of the transflective component is greater than a first specified threshold; In the transmission state, the light intensity of the reflected light beam of the transflective component is less than a second specified threshold, wherein the reflected light beam with a light intensity greater than the first specified threshold and the reflected light beam with a light intensity less than the second specified threshold form a first light signal, and the first specified threshold is greater than the second specified threshold.

3. The communication system according to claim 2, wherein: The first data includes a plurality of consecutive code values, and the code values include a first code value and a second code value; The second device is further configured to sequentially set each first coding value to correspond to a first instruction and each second coding value to correspond to a second instruction based on the order of the first coding value and the second coding value in the first data, so as to obtain the instruction set.

4. The communication system according to claim 2, wherein: When the second device transmits communication data to the first device, the light transmitter of the first optical module continuously emits a light beam with a light intensity greater than a first specified threshold.

5. The communication system according to claim 1, wherein: The second optical module also includes: a second optical receiver, the transflective component is arranged on a receiving optical path set by the second optical receiver, and when the first device transmits communication data to the second device, the second optical receiver is used to receive a second optical signal that passes through the transflective component when the transflective component is in a transmissive state, and the second optical signal is emitted by the optical transmitter.

6. The communication system according to any one of claims 1 to 5, characterized in that: The transflective component is electrochromic glass.

7. A headphone system, characterized in that: It comprises an earphone and an earphone box, one of the earphone and the earphone box is the first device in the communication system described in any one of claims 1 to 6, and the other of the earphone and the earphone box is the second device in the communication system described in any one of claims 1 to 6.

8. The earphone system according to claim 7, wherein: The second device is a headset, and the first device is a headset box.

9. The earphone system according to claim 8, wherein The earphone box is provided with a wireless charging module, and the wireless charging module is used to charge the earphone.

10. The earphone system according to claim 7, wherein: The housing of the earphone box is provided with an accommodating cavity for accommodating the earphone, and the inner wall of the accommodating cavity is provided with a second optical module; When the earphone is located in the accommodating cavity, the first optical module and the second optical module communicate through optical signals.

11. A headset, characterized in that: Applicable to the earphone system according to any one of claims 7 to 10, the earphone is configured to communicate with the earphone box via an optical signal transmitted between the first optical module and the second optical module.

12. An earphone box, characterized in that: Applicable to the earphone system according to any one of claims 7 to 10, the earphone box is configured to communicate with the earphone via an optical signal transmitted between the first optical module and the second optical module.

13. A communication method, characterized in that: Applied to the communication system according to any one of claims 1 to 6, the method comprising: The first device and the second device establish an optical communication channel through the first optical module and the second optical module; The first device and the second device exchange data through the optical communication channel.

14. A computer-readable medium, characterized in that The computer-readable medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor is caused to perform the method according to claim 13 .

Citation Information

Patent Citations

  • Single-light-source full-duplex retro-modulating wireless optical communication device and method

    CN105071854A

  • Wireless earphone detection method and device

    CN110650397A