CN116367035A - Audio playing method and playing system for earphone box, earphone box and storage medium - Google Patents

Audio playing method and playing system for earphone box, earphone box and storage medium Download PDF

Info

Publication number
CN116367035A
CN116367035A CN202310287115.2A CN202310287115A CN116367035A CN 116367035 A CN116367035 A CN 116367035A CN 202310287115 A CN202310287115 A CN 202310287115A CN 116367035 A CN116367035 A CN 116367035A
Authority
CN
China
Prior art keywords
earphone
box
earphone box
module
mutual inductance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310287115.2A
Other languages
Chinese (zh)
Inventor
卢玉禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ruier Electronic Co ltd
Original Assignee
Shenzhen Ruier Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ruier Electronic Co ltd filed Critical Shenzhen Ruier Electronic Co ltd
Priority to CN202310287115.2A priority Critical patent/CN116367035A/en
Publication of CN116367035A publication Critical patent/CN116367035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an audio playing method based on an earphone box, an earphone box playing system, an earphone box and a computer readable storage medium. The audio playing method comprises the following steps: when receiving the play signal, detecting whether the earphone box is in a mutual inductance mode; if yes, detecting whether an earphone is placed in the earphone box; if yes, controlling the earphone box to play the audio in the earphone. The audio playing method is applied to the earphone box, when the earphone box receives an audio playing signal, whether the earphone box is in a mutual inductance mode or not is detected, if yes, whether the earphone is placed in the earphone box is detected, if yes, the earphone and the earphone box transmit audio data in a current mutual inductance mode, and then the audio data are played through the earphone box, so that the audio playing function is achieved. Because the earphone box is not required to be in communication connection with an external terminal, the use convenience is improved.

Description

Audio playing method and playing system for earphone box, earphone box and storage medium
Technical Field
The invention relates to the technical field of Bluetooth headphones, in particular to an audio playing method and system for a headphone box, the headphone box and a storage medium.
Background
With the development of science and technology, the functions of the mobile terminal are increasing, for example, browsing news, watching video, listening to music, etc. through the mobile terminal. For the audio playing function of the mobile terminal, users tend to be realized through bluetooth wireless headphones.
In order to meet the diversified use demands of users, an earphone box with an audio playing function appears on the market. That is, the user can play out the audio of the mobile terminal through the earphone box. For example, patent publication No. CN211047185U, entitled "a bluetooth headset system with an external playing function" discloses that a speaker and a second bluetooth module are disposed on a headset box, and the second bluetooth module is connected with a mobile terminal, and after connection is established, audio of the mobile terminal is played through the speaker.
However, when the existing earphone box is switched to the audio play mode, the earphone box and the mobile terminal need to be additionally connected in a pairing manner, namely, the earphone box is connected with the Bluetooth module of the mobile terminal through the second Bluetooth module, so that the existing earphone box has the defects of complex operation and inconvenient use.
Disclosure of Invention
The invention mainly aims to provide an audio playing method based on an earphone box, and aims to solve the technical problems that the existing earphone box is complex in operation and inconvenient to use when being switched to an audio playing mode.
In order to achieve the above object, the present invention provides an audio playback method based on an earphone box, including:
when receiving the play signal, detecting whether the earphone box is in a mutual inductance mode;
if yes, detecting whether an earphone is placed in the earphone box or not;
if yes, controlling the earphone box to play the audio in the earphone.
In some embodiments, the step of detecting whether the earphone box is in a mutual inductance mode comprises:
judging whether the earphone box is in a box opening state or not;
and if the earphone box is in the box opening state, the earphone box is in a mutual inductance mode.
In some embodiments, the step of determining whether the earphone box is in an open state comprises:
acquiring a first magnetic field intensity value detected by a first Hall sensor preset in the earphone box;
judging whether the first magnetic field intensity value falls into a preset first judging section or not;
if not, the earphone box is in the open box state.
In some embodiments, the step of detecting whether headphones are placed within the headphone case comprises:
acquiring a second magnetic field intensity value detected by a second Hall sensor preset in the earphone box;
judging whether the second magnetic field intensity value falls into a preset second judging section or not;
if yes, the earphone is placed in the earphone box.
In some embodiments, after the step of detecting that the earphone is placed in the earphone box, the method further comprises:
acquiring a communication connection state of the earphone and an external terminal;
and if the earphone is in a communication connection state with the external terminal, controlling the earphone box to play the audio in the earphone.
In some embodiments, the step of controlling the earphone box to play audio within the earphone comprises:
acquiring induction current generated by induction of magnetic field change by an induction module preset in the earphone box, wherein the magnetic field change is generated when the earphone plays audio;
and conducting the induced current to an external-amplifying module which is pre-arranged in the earphone box, and externally amplifying the induced current based on the external-amplifying module.
In some embodiments, the step of detecting whether headphones are placed within the headphone case comprises:
if the earphone is detected to be placed in the earphone box, a preset induction module and a preset play-out module in the earphone box are conducted.
In some embodiments, the earphone-box-based audio playback method further comprises:
when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone;
judging whether the residual electric quantity of the earphone is larger than a preset first comparison electric quantity or not;
if not, the earphone box is controlled to exit the mutual inductance mode.
In some embodiments, the earphone-box-based audio playback method further comprises:
when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone box;
judging whether the residual electric quantity of the earphone box is larger than a preset second comparison electric quantity or not;
if not, the earphone box is controlled to exit the mutual inductance mode.
In some embodiments, the earphone-box-based audio playback method further comprises:
when the earphone box is in a mutual inductance mode, detecting the opening and closing state of the earphone box;
and if the earphone box is in a closed state, controlling the earphone box to exit the mutual inductance mode.
In some embodiments, the step of detecting whether headphones are placed within the headphone case comprises:
starting timing;
and if the earphone is not detected in the earphone box when the timing time length reaches a preset first time length, controlling the earphone box to exit the mutual inductance mode.
In order to achieve the above object, the present invention further provides an earphone box playback system, comprising:
a first detection module for detecting the open and close state of the earphone box,
the second detection module is used for detecting whether the earphone is placed in the earphone box or not;
the control module is used for switching the earphone box to a mutual inductance mode;
the induction module is used for inducing the magnetic field change generated when the earphone plays the audio and converting the magnetic field change into corresponding induction current;
and the external playing module is used for receiving the induction current so as to play the audio in the earphone.
In some embodiments, the earphone box play-out system further comprises a conduction module for conducting a magnetic field change generated by the earphone to the induction module.
In some embodiments, the earphone box playback system further comprises an input module for inputting a playback signal.
In some embodiments, the earphone box pay-out system further comprises a timing module for the second detection module to detect timing when the earphone is placed in the earphone box.
To achieve the above object, the present invention further provides an earphone box comprising:
a memory storing a computer program;
and a processor for executing the computer program to implement the audio playback method based on the earphone box described in the foregoing embodiments.
In order to achieve the above object, the present invention further provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the audio playback method based on the earphone box described in the foregoing embodiments.
The audio playing method is applied to the earphone box, when the earphone box receives an audio playing signal (namely, audio is played through the earphone box), whether the earphone box is in a mutual inductance mode or not is detected, if yes, whether the earphone is placed in the earphone box is detected, if yes, audio data are transmitted between the earphone and the earphone box in a current mutual inductance mode, and accordingly the audio playing function is achieved through the earphone box. Because the earphone box is not required to be in communication connection with an external terminal, the use convenience of the earphone box is improved.
Drawings
Fig. 1 is a flowchart of an audio playback method based on an earphone box according to a first embodiment of the present invention;
fig. 2 is a flow chart of an audio playback method based on an earphone box according to a second embodiment of the present invention;
fig. 3 is a flowchart of an audio playback method based on an earphone box according to a third embodiment of the present invention;
fig. 4 is a flowchart of an audio playback method based on an earphone box according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of an audio playback method based on an earphone box according to a fifth embodiment of the present invention;
fig. 6 is a flowchart of an audio playback method based on an earphone box according to a sixth embodiment of the present invention;
fig. 7 is a flowchart of an audio playback method based on an earphone box according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural view of an embodiment of the earphone case of the present invention;
fig. 9 is a schematic diagram of functional modules of the earphone box playback system of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made more clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
It will also be understood that when an element is referred to as being "mounted" or "disposed" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present.
Furthermore, the description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
The earphone box disclosed by the embodiment of the invention is matched with the Bluetooth earphone for use, so that the Bluetooth earphone can be stored and charged, and the audio in the Bluetooth earphone can be mutually transformed and externally placed, so that the functions of the earphone box are more diversified. The Bluetooth earphone is an intermediate medium for realizing the audio frequency playing function of the earphone box, the Bluetooth earphone is connected with an external terminal in a pairing mode, audio data transmission is realized, then the loudspeaker inside the Bluetooth earphone vibrates and generates a magnetic field, after the Bluetooth earphone is placed in the earphone box switched to a mutual inductance mode, the magnetic field generated by the Bluetooth earphone is changed to be sensed by an induction coil in the earphone box, the magnetic field is converted into corresponding current signals, and the audio frequency in the Bluetooth earphone is played outside a loudspeaker on the earphone box through a power amplifier IC (integrated circuit) driving the earphone box, so that the audio frequency playing function of the earphone box is realized.
In some embodiments, please refer to fig. 1, the present invention proposes an audio playback method based on a headphone case, the audio playback method comprising:
step S10, detecting whether the earphone box is in a mutual inductance mode or not when receiving an externally-placed signal;
step S20, if yes, detecting whether an earphone is placed in the earphone box;
and step S30, if yes, controlling the earphone box to play the audio in the earphone.
In this embodiment, the earphone box may be provided with a function key, where the function key may be used for a user to operate to enable the earphone to enter a pairing state, and establish a communication connection with the mobile terminal, and the function key may also be used for a user to operate to receive an play signal of the user. For example, when the user needs to play audio outside by using the earphone box, the user may press the function key for a long time or short time to receive a control instruction of the user, that is, a control instruction of audio play input by the user through the function key. Optionally, a plurality of function keys may be provided on the earphone box, or a function key may be provided, where when a function key is provided, corresponding control instructions may be generated by long pressing and short pressing respectively. For example, when the earphone is reset for a long time, the earphone is put into a pairing state, and when the earphone is short-pressed, a control instruction of audio play is generated to the earphone box.
Optionally, the earphone box comprises a charging mode, a sleep mode and a mutual inductance mode. When receiving the play signal, detecting whether the earphone box is in a mutual inductance mode, if the earphone box is not in the mutual inductance mode, the magnetic field change generated when the earphone plays the audio cannot be sensed, and the audio play instruction cannot be executed.
Optionally, the earphone generates a changing magnetic field when playing audio, when the earphone box is in a mutual inductance mode, the earphone box senses the magnetic field change generated when playing audio, converts the magnetic field change into a corresponding induction current, and finally drives the earphone box to play audio through the changed induction current. When the earphone box is used for executing the audio playing function, if the earphone is not placed in the earphone box, even if the earphone box is in a mutual inductance mode, the earphone box cannot generate corresponding induction current to drive the earphone box to play audio because the earphone box cannot sense the magnetic field change generated when the earphone plays audio.
That is, when it is detected that the earphone is in the mutual inductance mode, it is necessary to detect whether the earphone is placed in the earphone box again, so as to ensure that the earphone box can execute the instruction of audio playback. When the earphone box is detected to be in a mutual inductance mode and the earphone is placed in the earphone box, the earphone box can sense the magnetic field change generated when the earphone plays the audio, and the magnetic field change is converted into corresponding induction current, so that the earphone box is driven to play the audio, and the function of playing the audio outside the earphone box is realized.
In some embodiments, referring to fig. 2, the step of detecting whether the earphone box is in the mutual inductance mode includes:
step S11, judging whether the earphone box is in a box opening state or not;
step S12, if the earphone box is in the box opening state, the earphone box is in a mutual inductance mode.
In this embodiment, the earphone is an intermediate medium for implementing the play function of the earphone box, and in order to implement the play function of the earphone box, it is necessary to ensure that a communication connection is established between the earphone and the external terminal. When the earphone is placed in the earphone box and the earphone box is closed, the earphone and the external terminal are disconnected, and then audio data cannot be transmitted, so that whether the earphone box is in an open box state or not needs to be detected. When the earphone box receives the play signal and determines that the earphone box is in the box opening state, a mutual inductance mode of the earphone box is triggered. That is, the earphone box will automatically switch to the mutual inductance mode when the earphone box receives the play signal and is in the open state. Or, when the earphone box receives the play signal in the open box state, the earphone box is automatically switched to the mutual inductance mode.
In some embodiments, referring to fig. 3, the step of determining whether the earphone box is in the open state includes:
step S111, a first magnetic field intensity value detected by a first Hall sensor preset in the earphone box is obtained;
step S112, judging whether the first magnetic field intensity value falls into a preset first judging section;
step S113, if not, the earphone box is in an open box state.
In this embodiment, a first hall sensor is disposed in a case body of the earphone case, and a first magnetic element is disposed on a flip cover of the earphone case, so as to detect the strength of a magnetic field generated by the first magnetic element through the first hall sensor, thereby determining whether the earphone case is in an open case state.
It should be noted that, since the first magnetic element is disposed on the flip, the first magnetic element will also follow the flip when it is flipped. When the flip cover is in an open state, the first magnetic element is in a first position, and when the flip cover is in a closed state, the first magnetic element is in a second position. When the first magnetic element is at the first position and the second position, the first magnetic field intensity value detected by the first Hall sensor has a magnitude difference, and when the first magnetic element is at the second position, the first judgment section is a fluctuation section of the first magnetic field intensity value detected by the first Hall sensor, namely, when the earphone box is closed, the first magnetic field intensity value detected by the first Hall sensor falls in the first judgment section. Therefore, whether the earphone box is in the box opening state can be determined by judging whether the first magnetic field intensity falls into a preset first judging section.
In some embodiments, referring to fig. 4, the step of detecting whether the earphone is placed in the earphone box includes:
step S21, obtaining a second magnetic field intensity value detected by a second Hall sensor preset in the earphone box;
step S22, judging whether the second intensity magnetic field value falls into a preset second judging section;
step S23, if yes, an earphone is placed in the earphone box.
In this embodiment, a second hall sensor is disposed in the earphone box, and a second magnetic element is disposed on the earphone, so as to detect the strength of the magnetic field generated by the second magnetic element through the second hall sensor, thereby determining whether the earphone is placed in the earphone box.
Optionally, when the earphone is placed in the earphone box, the second magnetic element is close to the second hall sensor and generates a corresponding magnetic field therearound. When the earphone is placed in the earphone box, the second Hall sensor is used for determining whether the earphone is placed in the earphone box or not by determining whether the detected second magnetic field intensity value falls into a second preset determination section.
In some embodiments, after the step of detecting that the earphone is placed in the earphone box, the method further comprises:
acquiring a communication connection state of the earphone and an external terminal;
and if the earphone is in a communication connection state with the external terminal, controlling the earphone box to play the audio in the earphone.
In this embodiment, since the earphone is an intermediate medium for implementing the audio play function of the earphone box, when the audio play function is used, it is required to ensure that the earphone and the external terminal are in communication connection, so that audio data can be transmitted between the earphone and the external terminal. That is, one of the preconditions for the earphone box to realize the audio playback function is that a pairing connection is established between the earphone and the external terminal.
When the audio playing function of the earphone box is executed, the communication connection state between the earphone and an external terminal (such as a mobile phone) is required to be acquired, if no communication connection is established between the earphone and the external terminal, the earphone cannot receive audio signals transmitted by the external terminal, the earphone cannot generate a changed magnetic field, and corresponding induction current cannot be generated to drive the earphone box to play audio.
In some embodiments, referring to fig. 5, the step of controlling the earphone box to play the audio in the earphone includes:
step S31, obtaining induction current generated by induction of magnetic field change by an induction module preset in the earphone box, wherein the magnetic field change is generated when the earphone plays audio;
and S32, conducting the induced current to an external-amplifying module pre-arranged in the earphone box, and carrying out external amplification based on the external-amplifying module.
In this embodiment, be provided with the sensing module in the earphone box and put the module outward, the sensing module is put the module outward and is connected between the electricity. The induction module is used for inducing a magnetic field generated when the earphone plays the audio and converting the magnetic field into corresponding induction current, and then conducting the induction current to the external module so as to play the audio in the earphone through the external module.
Optionally, the induction module may include an induction coil for receiving a magnetic field inside the earphone, and a transformer for converting the magnetic field into a corresponding induction current for driving the external module to play audio inside the earphone. The external amplification module may include a power amplification IC and a speaker (loudspeaker), where the power amplification IC is used to drive the speaker to play audio.
In this embodiment, the step of detecting whether the earphone is placed in the earphone box includes:
if the earphone is detected to be placed in the earphone box, the induction module and the outward-playing module are conducted.
In this embodiment, when the earphone box is in the mutual inductance mode, in order to prevent that earphone is not placed in the earphone box, the induction module induces other magnetic field changes and sends out noise, when earphone is not placed in the earphone box, the induction module is in a disconnected state with the external amplifier module. Therefore, even if the induction module induces other magnetic field changes, the induction current generated by the induction module cannot be conducted to the outward-discharging module, so that noise can be avoided. When the earphone box is in the mutual inductance mode and the earphone is placed in the earphone box, the induction module and the outward-placed module are conducted, so that induction current induced by the induction module is conducted to the outward-placed module, and audio in the earphone is played.
In some embodiments, referring to fig. 6, the audio playback method based on the earphone box further includes:
step S40, when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone;
step S50, judging whether the residual electric quantity of the earphone is larger than a preset first comparison electric quantity or not;
step S60, if not, controlling the earphone box to exit the mutual inductance mode.
In this embodiment, when the earphone box uses the audio play function, the earphone needs to maintain a communication connection state with the external terminal, and when the remaining power of the earphone is insufficient, the communication connection state with the external terminal cannot be maintained, so that the audio cannot be played through the earphone box. Therefore, after the earphone box is switched to the mutual inductance mode, the current remaining power of the earphone needs to be detected to determine whether it can maintain the wireless communication connection state with the external terminal. Specifically, detecting the current residual electric quantity value of the earphone, comparing the current residual electric quantity value with the first comparison electric quantity, and if the current electric quantity value is larger than the first comparison electric quantity, continuing to execute the audio frequency playing instruction; and if the current electric quantity value is smaller than the first comparison electric quantity, controlling the earphone box to exit the mutual inductance mode.
Optionally, in the process that the earphone box uses the audio play function, the remaining capacity of earphone is detected in real time. And if the residual electric quantity of the earphone is detected to be smaller than the preset electric quantity at a certain moment, controlling the earphone box to exit the mutual inductance mode. Otherwise, if the remaining power of the earphone is always larger than the preset power, the earphone box continues to discharge the audio in the earphone.
In some embodiments, referring to fig. 7, the audio playback method based on the earphone box further includes:
step S70, when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone box;
step S80, judging whether the residual electric quantity of the earphone box is larger than a preset second comparison electric quantity or not;
step S90, if not, controlling the earphone box to exit the mutual inductance mode.
In this embodiment, the remaining power of the earphone box may also be used as a condition for determining whether the earphone box exits the mutual inductance mode. Specifically, when the earphone box is in the mutual inductance mode, the residual electric quantity of the earphone box is detected in real time and compared with a preset electric quantity value, wherein the preset electric quantity value can be the electric quantity required by single full charge of the earphone, and can also be set according to actual design requirements. If the residual electric quantity of the earphone box is smaller than the second comparison electric quantity, controlling the earphone box to exit the mutual inductance mode; otherwise, if the remaining capacity of the earphone box is larger than the second comparison capacity, the earphone box is controlled to continue to play the audio in the earphone.
In some embodiments, the audio playback method of the earphone box further comprises:
when the earphone box is in a mutual inductance mode, detecting the opening and closing state of the earphone box;
and if the earphone box is in a closed state, controlling the earphone box to exit the mutual inductance mode.
In this embodiment, when the earphone box is in the mutual inductance mode, if the earphone box is detected to be in the closed state, the earphone box is controlled to exit from the mutual inductance mode. The open-close state of the flip cover is determined by the Hall sensor according to the detected magnetic field intensity value.
It should be noted that, when the earphone is placed in the earphone box and the earphone box is in a closed state, the earphone will be disconnected from the external terminal, so that the audio data of the external terminal cannot be transmitted into the earphone, the earphone will not generate a changing magnetic field, and will not generate a corresponding induced current to drive the earphone box to play audio.
In some embodiments, the step of detecting whether headphones are placed within the headphone case comprises:
starting timing;
and if the earphone is not detected in the earphone box when the timing time length reaches a preset first time length, controlling the earphone box to exit the mutual inductance mode.
In this embodiment, when detecting whether an earphone is placed in the earphone box, a timing module preset in the earphone box is started to time the duration of earphone detection. If the time length reaches the first preset time length, the earphone is not detected in the earphone box, the earphone box is controlled to exit the mutual inductance mode, otherwise, if the earphone is detected before the time length reaches the first preset time length, the earphone box is controlled to start the audio play function. Therefore, after the earphone box is switched to the mutual inductance mode, electric quantity loss caused by long-time non-triggering of the audio frequency playing function can be effectively avoided, and the cruising ability of the earphone box is improved.
For example, when detecting whether the earphone is placed in the earphone box, a timing module preset in the earphone box is started, and the countdown time is 15 seconds. That is, before the countdown is zeroed, if the earphone is not detected to be placed in the earphone box, the earphone box is controlled to exit the mutual inductance mode, and the countdown program is reset. If the earphone is detected to be placed in the earphone box, resetting the countdown program and stopping timing.
In some embodiments, the aforementioned control manners of exiting the mutual inductance mode may exist in the method steps of the present application independently, or may coexist in the method steps of the present application, where the coexistence may be triggered by any one of the multiple control manners, and when the multiple control manners are triggered simultaneously, one of the multiple control manners with the highest priority is processed according to the priority. For example, the open/close state of the earphone box has the highest priority, the remaining power of the earphone is the second highest, and the timing procedure has the lowest priority. For example, when the remaining power of the earphone meets the requirement, but the earphone box is in a closed state, the earphone box still exits the mutual inductance mode.
Referring to fig. 8 and 9, based on the aforementioned audio playback method based on the earphone box, the present invention further provides an earphone box playback system, which includes:
a first detection module 1 for detecting the open and close state of the earphone box,
a second detecting module 2 for detecting whether an earphone is placed in the earphone box;
a control module 3 for switching the earphone box to a mutual inductance mode;
the induction module 4 is used for inducing the magnetic field change generated when the earphone plays the audio and converting the magnetic field change into corresponding induction current;
and the external playing module 5 is used for receiving the induction current so as to play the audio in the earphone.
In this embodiment, the earphone box includes a box body 10 and a flip cover 30, the interior of the box body 10 is hollow, an earphone seat for placing an earphone is disposed in the interior, and the accommodating cavity 20 is an earphone cavity configured on the earphone seat. In the space between the case 10 and the earphone seat, components such as a circuit board, an induction module 4, an exterior module 5, and the like are provided. The induction module 4 may include an induction coil for inducing a magnetic field change generated inside the earphone, and a transformer for converting the changed magnetic field into a corresponding induction current to drive the speaker to play audio in the earphone through the induction current, and the external module 5 may include a speaker.
Optionally, when the earphone box receives the play signal, the first detection module 1 detects the open/close state of the earphone box to determine whether the earphone box is in the open state. When the earphone box is determined to be in the box opening state, the control module 3 controls the earphone box to be switched to the mutual inductance mode. When switching to the mutual inductance mode, the second detection module 2 detects whether an earphone is placed in the earphone box, if the earphone is placed in the earphone box, the magnetic field change generated when the earphone plays audio is sensed by the sensing module 4, the sensing module 4 senses the changed magnetic field and converts the changed magnetic field into corresponding sensing current so as to drive the outer playing module 5 to play audio in the earphone, and accordingly outer playing of the audio is achieved.
It should be noted that, when the earphone box of the present invention uses the audio playing function, when the earphone which is connected with the external terminal in a pairing manner is placed in the accommodating cavity 20, the magnetic field generated by the speaker inside the earphone will be induced by the induction module 4 inside the box body 10 and will be converted into a corresponding induction current, and finally the audio in the earphone is played outside the speaker through the induction current. That is, when the audio play function of the earphone box is used, the user only needs to put the earphone, which is connected in pair with the external terminal, into the accommodating cavity 20 of the earphone box, which is switched to the mutual inductance mode, and the operation is simple and convenient.
Optionally, in the case that the earphone box is in the mutual inductance mode, in order to prevent that no earphone is placed in the earphone box, the induction module 4 induces other magnetic field changes to generate noise, and in the case that no earphone is placed in the earphone box, the induction module 4 and the external placement module 5 are in a disconnected state. Thus, even if the sensing module 4 senses other magnetic field changes, the generated induced current cannot be conducted to the discharging module 5, so that noise can be avoided. When the earphone box is in the mutual inductance mode and the earphone is placed in the earphone box, the induction module 4 and the outward-discharging module 5 are conducted, so that induction current induced by the induction module 4 is conducted to the outward-discharging module 5, and the outward-discharging module 5 is driven to play audio in the earphone.
Alternatively, when the audio play function is started in cooperation with the earphone box, the earphone may be always placed in the accommodating cavity 20, or may be taken out of the accommodating cavity 20 first and then placed in the accommodating cavity 20. Specifically, the flip cover 30 of the earphone box is opened first, so that the earphone is connected with the external terminal in a pairing manner; and then an external signal is inputted, and whether the earphone in the accommodating cavity 20 is taken out or not is detected, and if the earphone is not taken out, the audio external function of the earphone box is started. After the earphone is put back, the induction module 4 in the box body 10 receives the magnetic field generated by the inside of the earphone and converts the magnetic field into corresponding induction current, and finally the induction current drives the loudspeaker to externally put the audio in the earphone.
In some embodiments, referring to fig. 9, in order to optimize the spatial layout inside the case 10, a conductive module 6 is provided inside the case 10, and the conductive module 6 is used to conduct the magnetic field variation generated by the earphone to the sensing module 4. That is, by the arrangement of the conductive module 6, the sensing module 4 can be installed at an arbitrary position inside the case 10 without being disposed close to the accommodating chamber 20, so that the layout of other components inside the case 10 can be adjusted accordingly.
In some embodiments, the conductive module 6 according to the present invention may be a magnetic conductive member or a magnetic conductive coil.
Alternatively, the magnetic conductive member may be rod-shaped or plate-shaped, for example, a magnetic conductive rod or a magnetic conductive plate. One end of the magnetic conduction piece is close to the accommodating cavity 20, the other end of the magnetic conduction piece is close to the sensing module 4, when the earphone is placed in the accommodating cavity 20, a magnetic field generated by a loudspeaker inside the earphone is transmitted to the other end through one end of the magnetic conduction piece and then received through the sensing module 4, and therefore conduction of the magnetic field is achieved. Optionally, the two magnetic conductive members include one or two sensing modules 4, and the two magnetic conductive members are respectively disposed corresponding to the two accommodating cavities 20, so as to respectively conduct the magnetic fields generated by the two headphones to the sensing modules 4. When the number of the sensing modules 4 is two, the corresponding two sensing modules 4 can be activated respectively, so that the electric quantity consumed by the audio playing outside the earphone box is saved to a certain extent, and the service time of the earphone box is prolonged.
Optionally, the two ends of the magnetic conductive coil are respectively provided with a contact, the two contacts are respectively located in the two accommodating cavities 20, when the earphone is connected with an external terminal and placed in the accommodating cavities 20, the earphone is conducted with the contacts, and a magnetic field generated inside the earphone is conducted to the sensing module 4 through the magnetic conductive coil, so that the conduction of the magnetic field is realized.
In some embodiments, referring to fig. 9, the earphone box playback system according to the present invention further includes an input module 7 for inputting a playback signal.
In this embodiment, whether to switch the earphone box to the mutual inductance mode is determined according to specific use requirements of the user. That is, it is determined whether the user needs to use the audio play-out function of the earphone box. Alternatively, the input module 7 may include a function key 40, and the switching signal of the mutual inductance mode is triggered by the function key 40, that is, the user may trigger the switching signal of the mutual inductance mode by operating the function key 40, so that the control module 3 controls the earphone box to switch to the mutual inductance mode. For example, the user may activate the audio play function of the earphone box by pressing the function key 40 for a long time, which may be designed according to the actual situation.
That is, when the earphone box starts the audio play function, it is required to determine whether the earphone box is switched to the mutual inductance mode, specifically, whether the earphone box is switched to the mutual inductance mode can be determined by detecting the input of the switching signal and the open/close state of the flip cover 30.
In some embodiments, referring to fig. 9, the earphone box external playing system further includes a timing module 8, where the timing module 8 is configured to detect, by the second detection module 2, timing when the earphone is placed in the earphone box.
In this embodiment, when the second detection module 2 detects whether the earphone is placed in the earphone box, the timing module 8 is started to time the duration of earphone detection. If the time length reaches the preset first time length, the earphone is not detected in the earphone box, the earphone box is controlled to exit the mutual inductance mode, otherwise, if the earphone is detected, the earphone box is controlled to start the audio play function. Therefore, after the earphone box is switched to the mutual inductance mode, electric quantity loss caused by long-time non-triggering of the audio frequency playing function can be effectively avoided, and the cruising ability of the earphone box is improved.
For example, when the second detection module 2 detects whether or not the earphone is placed in the earphone box, the timer module 8 is started, and the countdown time period is 15 seconds. That is, before the countdown is zeroed, if the second detection module 2 does not detect that the earphone is placed in the earphone box, the earphone box is controlled to exit the mutual inductance mode, and the countdown program is reset. If the second detection module 2 detects that the earphone is placed in the earphone box before the countdown is zeroed, the countdown program is reset and the timing is stopped.
In some embodiments, the first detection module 1 proposed by the present invention comprises:
a first magnetic element (not shown) provided on the flip cover 30 for generating a magnetic field;
a first hall sensor (not shown) is disposed in the case 10, and is configured to detect a change of the magnetic field, so as to determine an opening/closing state of the flip cover 30 according to a strength value of the magnetic field.
In this embodiment, the first magnetic element is disposed on the flip cover 30 and can rotate along with the flip cover 30. When the flip cover 30 is rotated to the open and closed positions, the magnetic field strength value generated by the first magnetic element detected by the first hall sensor is different. That is, the strength of the magnetic field detected by the first hall sensor changes during the rotation of the flip cover 30, and the open/close state of the flip cover 30 can be detected according to the strength change. For example, when the lid 30 is rotated from the closed state to the open state, the magnetic field intensity detected by the first hall sensor gradually becomes smaller, whereas when the lid is rotated from the open state to the closed state, the magnetic field intensity detected by the first hall sensor gradually becomes larger.
Optionally, when the first magnetic element is in the closed position of the earphone box, the first magnetic field intensity value detected by the first hall sensor should be within a preset first determination interval. Therefore, whether the flip cover is in an open state can be determined by judging whether the detected first magnetic field intensity value falls into a preset first judging section.
In some embodiments, the second detection module 2 proposed by the present invention comprises:
a second hall sensor (not shown) is located in the accommodating cavity 20, and is configured to detect a strength value of a magnetic field generated by the second magnetic element in the earphone, so as to determine whether the earphone is placed in the accommodating cavity 20 according to the strength value of the magnetic field.
In this embodiment, the detection of whether the earphone is located in the accommodating cavity 20 is also implemented by using a hall sensor, specifically, a second hall sensor is disposed in the accommodating cavity 20 of the earphone box, and a second magnetic element is correspondingly disposed in the earphone, so as to determine whether the earphone is placed in the accommodating cavity 20 according to the magnetic field strength change detected by the second hall sensor.
Optionally, when the earphone is placed in the accommodating chamber 20, the second magnetic field strength value detected by the second hall sensor should be within a preset second determination interval. Therefore, whether the earphone is placed in the earphone box can be determined by judging whether the detected second magnetic field intensity value falls into a preset second judging section.
In some embodiments, the second hall sensor includes a left hall sensor and a right hall sensor respectively located in the two accommodating cavities 20, and the sensing module 4 includes a left sensing module 4 and a right sensing module 4 that are independent from each other; the control module 3 controls the left sensing module 4 to be opened and closed according to the detection result of the left Hall sensor, and controls the right sensing module 4 to be opened and closed according to the detection result of the right Hall sensor.
In this embodiment, the second hall sensor includes a left hall sensor and a right hall sensor, and the induction coil also correspondingly includes a left induction coil and a right induction coil, and the corresponding left induction coil and right induction coil are detected and activated by the left hall sensor and the right hall sensor respectively. Therefore, the power consumption of the earphone box when the audio is played can be saved to a certain extent, and the service time of the earphone box is prolonged.
Based on the audio playing method based on the earphone box provided by the foregoing embodiments, the present invention further provides an earphone box, including:
a memory storing a computer program;
and a processor for executing the computer program to implement the audio playback method based on the earphone box described in the foregoing embodiments.
Based on the audio playback method based on the earphone box provided by the foregoing embodiments, the present invention further provides a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement the audio playback method based on the earphone box described in the foregoing embodiments.
Those skilled in the art may combine and combine the features of the different embodiments or examples described in this specification and of the different embodiments or examples without contradiction.
The above description of the preferred embodiments of the present invention should not be taken as limiting the scope of the invention, but rather should be understood to cover all modifications, variations and adaptations of the present invention using its general principles and the following detailed description and the accompanying drawings, or the direct/indirect application of the present invention to other relevant arts and technologies.

Claims (17)

1. An audio playback method based on a headset case, comprising:
when receiving the play signal, detecting whether the earphone box is in a mutual inductance mode;
if yes, detecting whether an earphone is placed in the earphone box or not;
if yes, controlling the earphone box to play the audio in the earphone.
2. The headphone-box-based audio playback method as claimed in claim 1, wherein the step of detecting whether the headphone box is in a mutual inductance mode comprises:
judging whether the earphone box is in a box opening state or not;
and if the earphone box is in the box opening state, the earphone box is in a mutual inductance mode.
3. The headphone-box-based audio playback method as claimed in claim 2, wherein the step of determining whether the headphone box is in an open state comprises:
acquiring a first magnetic field intensity value detected by a first Hall sensor preset in the earphone box;
judging whether the first magnetic field intensity value falls into a preset first judging section or not;
if not, the earphone box is in the open box state.
4. The headphone-box-based audio playback method as claimed in claim 1, wherein the step of detecting whether headphones are placed in the headphone box comprises:
acquiring a second magnetic field intensity value detected by a second Hall sensor preset in the earphone box;
judging whether the second magnetic field intensity value falls into a preset second judging section or not;
if yes, the earphone is placed in the earphone box.
5. The headphone-box-based audio playback method as recited in claim 1, further comprising, after the step of detecting that headphones are placed in the headphone box:
acquiring a communication connection state of the earphone and an external terminal;
and if the earphone is in a communication connection state with the external terminal, controlling the earphone box to play the audio in the earphone.
6. The headphone-box-based audio playback method as claimed in claim 1, wherein the step of controlling the headphone box to play audio within the headphones comprises:
acquiring induction current generated by induction of magnetic field change by an induction module preset in the earphone box, wherein the magnetic field change is generated when the earphone plays audio;
and conducting the induced current to an external-amplifying module which is pre-arranged in the earphone box, and externally amplifying the induced current based on the external-amplifying module.
7. The headphone-box-based audio playback method as claimed in claim 6, wherein the step of detecting whether headphones are placed in the headphone box comprises:
if the earphone is detected to be placed in the earphone box, a preset induction module and a preset play-out module in the earphone box are conducted.
8. The headphone-box-based audio playback method as claimed in claim 1, further comprising:
when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone;
judging whether the residual electric quantity of the earphone is larger than a preset first comparison electric quantity or not;
if not, the earphone box is controlled to exit the mutual inductance mode.
9. The headphone-box-based audio playback method as claimed in claim 1, further comprising:
when the earphone box is in a mutual inductance mode, acquiring the residual electric quantity of the earphone box;
judging whether the residual electric quantity of the earphone box is larger than a preset second comparison electric quantity or not;
if not, the earphone box is controlled to exit the mutual inductance mode.
10. The headphone-box-based audio playback method as claimed in claim 1, further comprising:
when the earphone box is in a mutual inductance mode, detecting the opening and closing state of the earphone box;
and if the earphone box is in a closed state, controlling the earphone box to exit the mutual inductance mode.
11. The headphone-box-based audio playback method as claimed in claim 1, wherein the step of detecting whether headphones are placed in the headphone box comprises:
starting timing;
and if the earphone is not detected in the earphone box when the timing time length reaches a preset first time length, controlling the earphone box to exit the mutual inductance mode.
12. A headphone case play-out system, comprising:
a first detection module for detecting the open and close state of the earphone box,
the second detection module is used for detecting whether the earphone is placed in the earphone box or not;
the control module is used for switching the earphone box to a mutual inductance mode;
the induction module is used for inducing the magnetic field change generated when the earphone plays the audio and converting the magnetic field change into corresponding induction current;
and the external playing module is used for receiving the induction current so as to play the audio in the earphone.
13. The earphone pod play system of claim 12, further comprising a conduction module for conducting a magnetic field change generated by the earphone to the induction module.
14. The earphone-case playback system of claim 12, further comprising an input module for inputting a playback signal.
15. The earphone-case pay-out system of claim 12, further comprising a timing module for the second detection module to detect timing when an earphone is placed in the earphone case.
16. An earphone box, characterized by comprising:
a memory storing a computer program;
a processor for executing the computer program to implement the earphone-box based audio playback method as claimed in any one of claims 1 to 11.
17. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor, implements the earphone-box based audio playback method of any one of claims 1 to 11.
CN202310287115.2A 2023-03-15 2023-03-15 Audio playing method and playing system for earphone box, earphone box and storage medium Pending CN116367035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310287115.2A CN116367035A (en) 2023-03-15 2023-03-15 Audio playing method and playing system for earphone box, earphone box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310287115.2A CN116367035A (en) 2023-03-15 2023-03-15 Audio playing method and playing system for earphone box, earphone box and storage medium

Publications (1)

Publication Number Publication Date
CN116367035A true CN116367035A (en) 2023-06-30

Family

ID=86913666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310287115.2A Pending CN116367035A (en) 2023-03-15 2023-03-15 Audio playing method and playing system for earphone box, earphone box and storage medium

Country Status (1)

Country Link
CN (1) CN116367035A (en)

Similar Documents

Publication Publication Date Title
JP2017123653A (en) Wireless communication device
US7945297B2 (en) Headsets and headset power management
EP3188502A1 (en) Wireless earphone and controlling method of same
CN110691294B (en) Audio control method, charging box and wireless earphone device
US20060233413A1 (en) Automatic control earphone system using capacitance sensor
EP2632177B1 (en) Electronic device, accessory, and method for detecting an accessory
CN110602584A (en) Wireless earphone and wireless earphone system
CN212137899U (en) Wireless earphone and earphone charging system
US20070123296A1 (en) Telecommunication system
KR101188892B1 (en) Attachalbe bluetooth headset on a portable terminal and managing method of it
CN101014207A (en) Headsets and headset power management
CN116367035A (en) Audio playing method and playing system for earphone box, earphone box and storage medium
US8655417B2 (en) Video/audio playing apparatus with wireless signal transmission function and wireless video/audio transmission module thereof
WO2023020322A1 (en) Wireless earphone, earphone case and wireless earphone system
JP4297061B2 (en) Mobile device
WO2018149088A1 (en) Bluetooth sound box
TWI781580B (en) Earphone charging box and opening and closing control method thereof
JP2021016292A (en) Electronic apparatus and charging system of the same
CN219802568U (en) Earphone box external-placing system and earphone assembly
CN217135669U (en) Earphone box and matched earphone
KR101023308B1 (en) Apparatus for bluetooth headset capable of wire/wireless communication and control method thereof
KR101277673B1 (en) Apparatus and method for converting into hand free mode automatically in mobile communication terminal
CN220342467U (en) Audio playing equipment
CN220457570U (en) Earphone box and earphone assembly
CN215912208U (en) Bluetooth earphone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination