Earmuff identification method and device and earphone
By setting up infrared emission and reflection devices between the earmuffs and the headphone body, combined with Hall sensor detection, the problem of inaccurate earmuff category recognition is solved, and automatic adjustment of earmuff configuration and improved user experience is achieved.
Patent Information
- Application Number
- CN202510334733.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-07-11
AI Technical Summary
The prior art is difficult to accurately identify different types of earmuffs, resulting in improper adjustment of the headphone configuration and affecting the user experience.
By setting up infrared emission and reflection devices between the earmuffs and the headphone body, the earmuff categories are identified by the difference in reflection angles of infrared light, and combined with Hall sensors to detect the existence of earmuffs, automatic, timely and accurate earmuff identification is achieved.
It realizes automatic, timely and accurate identification of earmuff categories, and can adjust audio signal parameters or display earmuff color information according to the recognition results to improve user experience.
Smart Images

Figure CN120302205A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to earcup recognition technology, and more particularly, to an earcup recognition method, apparatus, and earphone. Background Art
[0002] Headphones with earcups have the advantages of good noise reduction effect, excellent sound quality, high wearing comfort, etc., and are favored by many consumers. In order to adapt to the ear sizes of different consumer groups, earcups of different sizes need to be designed. In addition, in order to meet users' pursuit of beauty, the colors of the earcups are designed to be different. Then, how to identify different types of earcups, adjust the headphone configuration, and enable users to have a better experience has become an urgent problem to be solved. Summary of the Invention
[0003] An object of the present invention is to provide a new technical solution for an earcup recognition method.
[0004] According to a first aspect of the present invention, there is provided an earcup recognition method, including:
[0005] When it is recognized that an earcup is set on a headphone body, controlling an infrared emission device set on the earcup to emit infrared light, so that the emitted infrared light is reflected by an infrared reflection device set on the earcup and received by one of a plurality of infrared receiving devices set on the headphone body, wherein the earcup is detachably connected to the headphone body;
[0006] Obtaining the corresponding relationship between the pre-stored infrared receiving devices and the earcup categories;
[0007] According to the infrared receiving device that receives the infrared light and the pre-stored corresponding relationship between the infrared receiving devices and the earcup categories, identifying the category of the earcup set on the headphone body.
[0008] Optionally, the emission angles of the infrared light emitted by the infrared emission devices set on different types of earcups are the same, and the reflection angles of the infrared reflection devices set on different types of earcups are different.
[0009] Optionally, the number of the infrared reflection devices is determined based on the number of information types included in the earcup category.
[0010] Optionally, the number of the infrared reflection devices is equal to the number of the infrared receiving devices that receive the infrared light.
[0011] Optionally, the information types included in the earcup category are at least one of the size of the earcup and the color of the earcup.
[0012] Optionally, the earcups are arranged on the earphone body through a magnetic attraction device, and a Hall sensor is arranged on the earphone body. Wherein, the method further includes:
[0013] Detect whether there is an earcup adsorbed on the earphone body according to the Hall sensor;
[0014] Only when it is detected that there is an earcup adsorbed on the earphone body, perform the operation of controlling the infrared emission device arranged on the earcup to emit infrared light.
[0015] Optionally, the earcups include a left earcup and a right earcup, wherein,
[0016] The infrared emission device and the infrared reflection device are arranged on the left earcup, or the infrared emission device and the infrared reflection device are arranged on the right earcup.
[0017] According to a second aspect of the present invention, there is provided an earcup identification device, including:
[0018] A control module, configured to control an infrared emission device arranged on the earcup to emit infrared light when it is recognized that the earcup is arranged on the earphone body, so that the emitted infrared light is reflected by an infrared reflection device arranged on the earcup and received by an infrared receiving device among a plurality of infrared receiving devices arranged on the earphone body, wherein the earcup is detachably connected to the earphone body;
[0019] An acquisition module, configured to acquire the corresponding relationship between the pre-stored infrared receiving device and the earcup category;
[0020] An earcup category identification module, configured to identify the category of the earcup arranged on the earphone body according to the infrared receiving device that receives the infrared light and the pre-stored corresponding relationship between the infrared receiving device and the earcup category.
[0021] According to a third aspect of the present invention, there is provided an earcup identification device, including a memory and a processor, the memory stores a computer program, and the computer program is used to control the processor to operate to execute the method according to any one of the first aspects.
[0022] According to a fourth aspect of the present invention, there is provided an earphone, including an earphone body and earcups, wherein the earphone body is provided with a plurality of infrared receiving devices and the earcup identification device according to the second aspect or the third aspect, and the earcups are provided with an infrared emission device and an infrared reflection device.
[0023] The earcup identification method provided by the embodiments of the present invention can automatically, timely and accurately identify the earcup category when the earcup is arranged on the earphone body, and then subsequent operations can be performed according to the identified earcup category.
[0024] The features and advantages of the embodiments of the present specification will become clear through the following detailed description of the exemplary embodiments of the present specification with reference to the accompanying drawings. Description of the Drawings
[0025] The accompanying drawings incorporated in and forming a part of this specification illustrate embodiments of the present specification and, together with the description, are used to explain the principles of the embodiments of the present specification.
[0026] Figure 1 is a schematic flowchart of a method for earcup recognition according to an embodiment of the present invention.
[0027] Figure 2 is a schematic diagram of the propagation path of infrared light according to an embodiment of the present invention.
[0028] Figure 3 is a schematic diagram of the propagation path of infrared light according to an embodiment of the present invention.
[0029] Figure 4 is a schematic block diagram of the principle of an earcup recognition device according to an embodiment of the present invention.
[0030] Figure 5 is a structural block diagram of an earcup recognition device according to an embodiment of the present invention.
[0031] Figure 6 is a structural block diagram of a headset according to an embodiment of the present invention. Detailed Embodiments
[0032] Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.
[0033] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments of the present specification or their application or use.
[0034] It should be noted that like reference numerals and letters denote like items in the following drawings, and thus, once an item is defined in one drawing, it need not be further discussed in subsequent drawings.
[0035] In an embodiment of the present invention, a method for earcup recognition is provided. According to Figure 1 as shown, the method for earcup recognition in this embodiment includes the following steps S110 to S130.
[0036] Step S110, when it is recognized that the earcup is set on the headphone body, control the infrared emission device set on the earcup to emit infrared light, so that the emitted infrared light is reflected by the infrared reflection device set on the earcup and received by one of the multiple infrared receiving devices set on the headphone body, wherein the earcup is detachably connected to the headphone body.
[0037] When the earcup is set on the headphone body, the earcup recognition device set on the headphone body establishes a connection with the infrared emission device set on the earcup, that is, the earcup recognition device can send a signal to the infrared emission device through this connection. When the infrared emission device receives this signal, it emits infrared light outward. Correspondingly, when the earcup is not set on the headphone body, the connection between the earcup recognition device set on the headphone body and the infrared emission device set on the earcup is disconnected.
[0038] The headphone body is provided with a first connection circuit, and the first connection circuit is electrically connected to the earcup recognition device. The earcup is provided with a second connection circuit, and the second connection circuit is electrically connected to the infrared emission device. When the earcup is set on the headphone body, the first connection circuit and the second connection circuit establish an electrical connection, so that the earcup recognition device set on the headphone body establishes a connection with the infrared emission device set on the earcup.
[0039] Step S120, obtain the corresponding relationship between the infrared receiving device and the earcup category stored in advance.
[0040] The pre-stored corresponding relationship between the infrared receiving device and the earcup category is a one-to-one correspondence between the identification information of the infrared receiving device and the earcup category. The identification information of the infrared receiving device represents the identity information of the infrared receiving device, so that the earcup recognition device can identify the identity of the infrared receiving device that receives the infrared light from multiple infrared receiving devices.
[0041] Step S130, based on the infrared receiving device that receives the infrared light and the pre-stored corresponding relationship between the infrared receiving device and the earcup category, identify the category of the earcup set on the headphone body.
[0042] Specifically, obtain the identification information of the infrared receiving device that receives the infrared light, and based on the identification information of the infrared receiving device that receives the infrared light, find the category of the earcup set on the headphone body from the one-to-one correspondence between the identification information of the infrared receiving device and the earcup category.
[0043] The earcup recognition method provided by the embodiments of the present invention can automatically, timely and accurately identify the earcup category when the earcup is set on the headphone body, and then subsequent operations can be performed according to the identified earcup category.
[0044] The emission angles of the infrared light emitted by the infrared emission devices provided on earmuffs of different categories are the same, and the reflection angles of the infrared reflection devices provided on earmuffs of different categories are different. In this way, based on the infrared light emitted by the infrared emission devices with the same emission angle, after being reflected by the infrared reflection devices with different reflection angles, the infrared receiving devices that receive the infrared light are different, so that the distinction of earmuff categories can be achieved.
[0045] In some embodiments, the number of infrared reflection devices is determined based on the number of types of information included in the category of the earmuff, that is, the number of infrared reflection devices is equal to the number of types of information included in the category of the earmuff. When the number of types of information included in the category of the earmuff is one, the infrared reflection device provided on the earmuff is one. When the number of types of information included in the category of the earmuff is multiple, the infrared reflection devices provided on the earmuff are multiple.
[0046] The types of information included in the category of the earmuff include at least one of the size of the earmuff and the color of the earmuff. When the type of information included in the category of the earmuff is only the size of the earmuff or only the color of the earmuff, the infrared reflection device provided on the earmuff is one. When the types of information included in the category of the earmuff include the size of the earmuff and the color of the earmuff, the infrared reflection devices provided on the earmuff are two.
[0047] The number of infrared reflection devices is equal to the number of infrared receiving devices that receive the infrared light. When the earmuff is provided with one infrared reflection device, there is a corresponding infrared receiving device among the multiple infrared receiving devices to receive the infrared light reflected by this infrared reflection device. When the earmuff is provided with multiple infrared reflection devices, based on each infrared reflection device, there is a unique corresponding infrared receiving device, and the infrared receiving devices corresponding to each infrared reflection device are different.
[0048] The number of infrared receiving devices provided on the headphone body needs to satisfy that the correspondence between the infrared receiving devices and the earmuff categories is a one-to-one correspondence. For example, the number of infrared receiving devices is equal to the number of all results corresponding to each type of information included in the earmuff category. When the type of information included in the category of the earmuff is only the size of the earmuff, the number of infrared receiving devices is the same as the number of all results of the earmuff size. For example, if the earmuff includes four sizes, then the number of infrared receiving devices is set to four. The types of information included in the category of the earmuff are the size of the earmuff and the color of the earmuff. The number of infrared receiving devices is equal to the sum of the number of all results of the earmuff size and the number of all results of the earmuff color. For example, if the earmuff includes four sizes and two colors, then the number of infrared receiving devices is set to six.
[0049] In some embodiments, the ear cups are provided on the headphone body through a magnetic attraction device. The headphone body is provided with a Hall sensor. Before performing step S110, the method further includes: detecting, according to the Hall sensor, whether there is an ear cup adsorbed on the headphone body; and performing an operation of controlling an infrared emission device provided on the ear cup to emit infrared light only when it is detected that there is an ear cup adsorbed on the headphone body.
[0050] The ear cups are provided with magnetic attraction devices. The material of the area of the headphone body that adsorbs to the ear cups is set to a material that can be adsorbed by the magnetic attraction devices. Specifically, the ear cups include a left ear cup and a right ear cup. The left ear cup is provided with a magnetic attraction device. The right ear cup is provided with a magnetic attraction device. The material of the area of the headphone body that adsorbs to the left ear cup is set to a material that can be adsorbed by the magnetic attraction devices. The material of the area of the headphone body that adsorbs to the right ear cup is set to a material that can be adsorbed by the magnetic attraction devices.
[0051] The Hall sensor is used to detect whether there is a magnetic attraction device within its sensing range. When the ear cup is provided on the headphone body through a magnetic attraction device and the magnetic attraction device enters the sensing range of the Hall sensor, the Hall sensor generates a Hall effect, and the Hall sensor sends the result of its sensing to the ear cup identification device. After receiving the sensing result sent by the Hall sensor, the ear cup identification device controls the infrared emission device provided on the ear cup to emit infrared light. When the ear cup identification device does not receive the sensing result sent by the Hall sensor, it does not perform the operation of controlling the infrared emission device provided on the ear cup to emit infrared light.
[0052] In the embodiments of the present invention, on the one hand, it can timely and accurately detect whether there is an ear cup adsorbed on the headphone body, and on the other hand, when it is detected that there is an ear cup adsorbed on the headphone body, the operation of controlling the infrared emission device provided on the ear cup to emit infrared light is performed, so that the infrared emission device has an accurate emission timing for emitting infrared light, reducing the energy consumption of the infrared emission device.
[0053] In some embodiments, the ear cups include a left ear cup and a right ear cup. The infrared emission device and the infrared reflection device are provided on the left ear cup, or the infrared emission device and the infrared reflection device are provided on the right ear cup.
[0054] When the infrared emission device and the infrared reflection device are provided on the left ear cup, a plurality of infrared receiving devices are provided on the headphone body at a position close to the left ear cup. When the infrared emission device and the infrared reflection device are provided on the right ear cup, a plurality of infrared receiving devices are provided on the headphone body at a position close to the right ear cup. Such a structural layout can facilitate the timely and accurate reception of infrared light by the plurality of infrared receiving devices provided on the body.
[0055] In some embodiments, when the category of the earcup is recognized, the method further includes: when the category of the earcup includes the size of the earcup, adjusting the parameters of the audio signal so that the audio signal is adapted to the size of the earcup. In this way, the parameters of the audio signal can be adjusted in a timely manner according to different earcup sizes, improving the user's listening experience.
[0056] In some embodiments, when the category of the earcup is recognized, the method further includes: when the category of the earcup includes the color of the earcup, sending a message for displaying the earcup color information to the electronic device that has established a communication connection with the headset. After receiving the message, the electronic device displays the earcup color information on the display interface, improving the user experience.
[0057] The following uses two specific embodiments to specifically illustrate the earcup recognition method provided by the present invention.
[0058] In one embodiment, the types of information included in the category of the earcup are the sizes of the earcup. The earcup includes four sizes, namely size a, size b, size c, and size d. This type of earcup is provided with an infrared reflection device. The corresponding headset body is provided with four infrared receiving devices, namely infrared receiving device 1, infrared receiving device 2, infrared receiving device 3, and infrared receiving device 4.
[0059] According to Figure 2 As shown, the emission angles of the infrared light emitted by the infrared emission devices provided on the four different-sized earcups are the same, and the reflection angles of the infrared reflection devices provided on the four different-sized earcups are different.
[0060] According to Figure 2 As shown, when the earcup of size a is set on the headset body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the corresponding infrared reflection device, infrared receiving device 1 receives the infrared light. When the earcup of size b is set on the headset body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the corresponding infrared reflection device, infrared receiving device 2 receives the infrared light. When the earcup of size c is set on the headset body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the corresponding infrared reflection device, infrared receiving device 3 receives the infrared light. When the earcup of size d is set on the headset body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the corresponding infrared reflection device, infrared receiving device 4 receives the infrared light.
[0061] The pre-stored correspondence between the infrared receiving devices and the earcups includes that infrared receiving device 1 corresponds to size a, infrared receiving device 2 corresponds to size b, infrared receiving device 3 corresponds to size c, and infrared receiving device 3 corresponds to size d.
[0062] When the earcup recognition device determines that the infrared light receiving device currently receiving infrared light is the infrared receiving device 1, the earcup recognition device looks up in the pre-stored correspondence between infrared receiving devices and earcups and finds that the earcup category is size a. When the earcup recognition device determines that the infrared light receiving device currently receiving infrared light is the infrared receiving device 2, the earcup recognition device looks up in the pre-stored correspondence between infrared receiving devices and earcups and finds that the earcup category is size b. When the earcup recognition device determines that the infrared light receiving device currently receiving infrared light is the infrared receiving device 3, the earcup recognition device looks up in the pre-stored correspondence between infrared receiving devices and earcups and finds that the earcup category is size c. When the earcup recognition device determines that the infrared light receiving device currently receiving infrared light is the infrared receiving device 4, the earcup recognition device looks up in the pre-stored correspondence between infrared receiving devices and earcups and finds that the earcup category is size d.
[0063] In another embodiment, the information types included in the earcup category are the size of the earcup and the color of the earcup. The earcup has four sizes, namely size a, size b, size c, and size d. The earcup has two colors, namely white and gray. Two infrared reflection devices are provided on this type of earcup. The corresponding headphone body is provided with six infrared receiving devices, namely infrared receiving device 1, infrared receiving device 2, infrared receiving device 3, infrared receiving device 4, infrared receiving device 5, and infrared receiving device 6.
[0064] According to Figure 3 As shown, the emission angles of the infrared light emitted by the infrared emission devices provided on different types of earcups are the same.
[0065] According to Figure 3 As shown, when the earcup with size a and color white is set on the headphone body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the two infrared reflection devices, the infrared receiving device 1 and the infrared receiving device 5 receive the infrared light. When the earcup with size a and color gray is set on the headphone body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the two infrared reflection devices, the infrared receiving device 1 and the infrared receiving device 6 receive the infrared light.
[0066] When the earcup with size b and color white is set on the headphone body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the two infrared reflection devices, the infrared receiving device 2 and the infrared receiving device 5 receive the infrared light. When the earcup with size b and color gray is set on the headphone body, the earcup recognition device controls the infrared emission device to emit infrared light. After being reflected by the two infrared reflection devices, the infrared receiving device 2 and the infrared receiving device 6 receive the infrared light.
[0067] When the earmuff with size c and white color is set on the headphone body, the earmuff recognition device controls the infrared emission device to emit infrared light. After being reflected by two infrared reflection devices, the infrared receiving device 3 and the infrared receiving device 5 receive the infrared light. When the earmuff with size c and gray color is set on the headphone body, the earmuff recognition device controls the infrared emission device to emit infrared light. After being reflected by two infrared reflection devices, the infrared receiving device 3 and the infrared receiving device 6 receive the infrared light.
[0068] When the earmuff with size d and white color is set on the headphone body, the earmuff recognition device controls the infrared emission device to emit infrared light. After being reflected by two infrared reflection devices, the infrared receiving device 4 and the infrared receiving device 5 receive the infrared light. When the earmuff with size d and gray color is set on the headphone body, the earmuff recognition device controls the infrared emission device to emit infrared light. After being reflected by two infrared reflection devices, the infrared receiving device 4 and the infrared receiving device 6 receive the infrared light.
[0069] The pre - stored corresponding relationship between the infrared receiving devices and the earmuffs includes that the infrared receiving devices 1 and 5 correspond to size a and white color, the infrared receiving devices 1 and 6 correspond to size a and gray color, the infrared receiving devices 2 and 5 correspond to size a and white color, the infrared receiving devices 2 and 6 correspond to size a and gray color, the infrared receiving devices 3 and 5 correspond to size a and white color, the infrared receiving devices 3 and 6 correspond to size a and gray color, the infrared receiving devices 4 and 5 correspond to size a and white color, and the infrared receiving devices 4 and 6 correspond to size a and gray color.
[0070] The earmuff recognition device looks up the category of the earmuff from the pre - stored corresponding relationship between the infrared receiving devices and the earmuffs according to the recognition device that currently receives the infrared light.
[0071] An embodiment of the present invention also provides an earmuff recognition device. According to Figure 4 As shown, the earmuff recognition device includes a control module 410, an acquisition module 420, and an earmuff category recognition module 430.
[0072] The control module 410 is used to control the infrared emission device arranged on the earmuff to emit infrared light when it is recognized that the earmuff is set on the headphone body, so that the emitted infrared light is reflected by the infrared reflection device arranged on the earmuff and received by one of the multiple infrared receiving devices arranged on the headphone body, wherein the earmuff is detachably connected to the headphone body.
[0073] The acquisition module 420 is used to acquire the pre - stored corresponding relationship between the infrared receiving devices and the earmuff categories.
[0074] The earcup category recognition module 430 is configured to recognize the category of the earcups provided on the headphone body according to the infrared receiving device that receives infrared light and the corresponding relationship between the pre-stored infrared receiving device and the earcup category.
[0075] In some embodiments, the emission angles of the infrared light emitted by the infrared emitting devices provided on different categories of earcups are the same, and the reflection angles of the infrared reflecting devices provided on different categories of earcups are different.
[0076] In some embodiments, the number of infrared reflecting devices is determined based on the number of types of information included in the earcup category.
[0077] In some embodiments, the number of infrared reflecting devices is equal to the number of infrared receiving devices that receive infrared light.
[0078] In some embodiments, the types of information included in the earcup category are at least one of the size of the earcup and the color of the earcup.
[0079] In some embodiments, the earcups are provided on the headphone body through a magnetic attraction device, and the headphone body is provided with a Hall sensor. The device further includes an earcup recognition module. The earcup recognition module is configured to detect whether there is an earcup adsorbed on the headphone body according to the Hall sensor; and only when it is detected that there is an earcup adsorbed on the headphone body, the operation of controlling the infrared emitting device provided on the earcup to emit infrared light is performed.
[0080] In some embodiments, the earcups include a left earcup and a right earcup. Among them, the infrared emitting device and the infrared reflecting device are provided on the left earcup, or the infrared emitting device and the infrared reflecting device are provided on the right earcup.
[0081] An embodiment of the present invention further provides an earcup recognition device, as Figure 5 shown. The earcup recognition device 500 includes a memory 520 and a processor 510. The memory 520 stores a computer program, and the computer program is configured to control the processor 510 to operate to execute the earcup recognition method provided in any of the above embodiments.
[0082] An embodiment of the present invention further provides a headphone, as Figure 6 shown. The headphone includes a headphone body and earcups. The headphone body is provided with a plurality of infrared receiving devices and the earcup recognition device provided in any of the above embodiments. The earcups are provided with an infrared emitting device and an infrared reflecting device.
[0083] Figure 6 The solid line with an arrow shown indicates signal transmission, Figure 6 The dashed line shown indicates the infrared propagation path.
[0084] When the earcup is set on the earphone body, the earcup recognition device set on the earphone body establishes a connection with the infrared emission device set on the earcup. That is, the earcup recognition device can send a signal to the infrared emission device through this connection. When the infrared emission device receives this signal, it emits infrared light outward. Correspondingly, when the earcup is not set on the earphone body, the connection between the earcup recognition device set on the earphone body and the infrared emission device set on the earcup is disconnected.
[0085] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments.
[0086] The specific embodiments of this specification have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be executed in a different order from that in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0087] The embodiments of this specification can be a system, a method, and / or a computer program product. The computer program product can include a computer-readable storage medium having computer instructions thereon for causing a processor to implement various aspects of the embodiments of this specification.
[0088] The computer-readable storage medium can be a tangible device that can hold and store computer instructions used by a computer instruction execution device. The computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punched card or raised structures in grooves storing computer instructions, and any suitable combination of the above. The computer-readable storage medium used herein is not construed as an instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through an optical fiber cable), or electrical signals transmitted through wires.
[0089] The computer instructions described herein can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter or network interface in each computing / processing device receives the computer instructions from the network and forwards the computer instructions for storage in a computer-readable storage medium in each computing / processing device.
[0090] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present specification. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of computer instructions, which contains one or more executable computer instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur in an order different from that noted in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
[0091] The embodiments of the present specification have been described above. The above description is exemplary and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, their practical applications, or improvements to the technology in the market, or to enable other ordinary skilled persons in the art to understand the embodiments disclosed herein.
Claims
1. An earcup recognition method, characterized in that, Including: When it is recognized that the earcup is set on the headphone body, controlling an infrared emission device set on the earcup to emit infrared light, so that the emitted infrared light is reflected by an infrared reflection device set on the earcup and received by one of a plurality of infrared receiving devices set on the headphone body, wherein the earcup is detachably connected to the headphone body; Obtaining the pre-stored correspondence between the infrared receiving device and the earcup category; Based on the infrared receiving device that receives the infrared light and the pre-stored correspondence between the infrared receiving device and the earcup category, identifying the category of the earcup set on the headphone body.
2. The method according to claim 1, characterized in that, The emission angles of the infrared light emitted by the infrared emission devices set on earcups of different categories are the same, and the reflection angles of the infrared reflection devices set on earcups of different categories are different.
3. The method according to claim 1, characterized in that, The number of the infrared reflection devices is determined based on the number of information types included in the earcup category.
4. The method according to claim 1, wherein The number of the infrared reflection devices is equal to the number of the infrared receiving devices that receive the infrared light.
5. The method according to claim 1, wherein The information types included in the earcup category are at least one of the size of the earcup and the color of the earcup.
6. According to the method described in any one of claims 1-5, characterized in that, The earcup is set on the headphone body through a magnetic attraction device, and the headphone body is provided with a Hall sensor, wherein the method further includes: Detecting whether there is an earcup adsorbed on the headphone body according to the Hall sensor; Only when it is detected that there is an earcup adsorbed on the headphone body, performing the operation of controlling the infrared emission device set on the earcup to emit infrared light.
7. According to the method described in any one of claims 1-5, characterized in that, The earcup includes a left earcup and a right earcup, wherein, The infrared emission device and the infrared reflection device are set on the left earcup, or the infrared emission device and the infrared reflection device are set on the right earcup.
8. An earphone recognition device, characterized in that, Including: A control module, configured to control an infrared emission device set on the earcup to emit infrared light when it is recognized that the earcup is set on the headphone body, so that the emitted infrared light is reflected by an infrared reflection device set on the earcup and received by one of a plurality of infrared receiving devices set on the headphone body, wherein the earcup is detachably connected to the headphone body; An obtaining module, configured to obtain the pre-stored correspondence between the infrared receiving device and the earcup category; An earcup category identification module, configured to identify the category of the earcup set on the headphone body based on the infrared receiving device that receives the infrared light and the pre-stored correspondence between the infrared receiving device and the earcup category.
9. An earcup recognition device, characterized in that, Including a memory and a processor, the memory stores a computer program, and the computer program is used to control the processor to operate to execute the method according to any one of claims 1 to 7.
10. A headset, characterized in that, Including a headphone body and an earcup, wherein, The headphone body is provided with a plurality of infrared receiving devices and an earcup identification device according to claim 8 or 9, and the earcup is provided with an infrared emission device and an infrared reflection device.