CN111343541A - Control method and device of wireless earphone, mobile terminal and storage medium - Google Patents

Control method and device of wireless earphone, mobile terminal and storage medium Download PDF

Info

Publication number
CN111343541A
CN111343541A CN202010294423.4A CN202010294423A CN111343541A CN 111343541 A CN111343541 A CN 111343541A CN 202010294423 A CN202010294423 A CN 202010294423A CN 111343541 A CN111343541 A CN 111343541A
Authority
CN
China
Prior art keywords
wireless
electric quantity
wireless earphone
earphone
wireless headset
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
CN202010294423.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010294423.4A priority Critical patent/CN111343541A/en
Publication of CN111343541A publication Critical patent/CN111343541A/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
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/0277Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof according to available power supply, e.g. switching off when a low battery condition is detected
    • 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

Abstract

The application relates to a wireless earphone control method, a device, a mobile terminal and a storage medium, wherein the wireless earphone comprises a first wireless earphone and a second wireless earphone, and the method comprises the following steps: acquiring a first residual electric quantity of a first wireless earphone, a second residual electric quantity of a second wireless earphone and an application program corresponding to a currently played audio of the wireless earphone; determining the working logic of the wireless earphones according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balance principle, wherein the working logic is used for controlling the balance of the residual electric quantities of the two wireless earphones; and controlling the first wireless earphone and the second wireless earphone according to the working logic. The method can effectively keep the residual electric quantity of the two wireless earphones in a balanced state, thereby improving the cruising ability of the wireless earphones when a user uses the double earphones.

Description

Control method and device of wireless earphone, mobile terminal and storage medium
Technical Field
The invention belongs to the technical field of wireless earphones, and particularly relates to a wireless earphone control method, a wireless earphone control device, a mobile terminal and a storage medium.
Background
The wireless earphone applies the wireless technology to the earphone of the intelligent equipment, and the earphone is in wireless connection with the intelligent equipment, so that a user of the intelligent equipment is free from stumbling of an earphone wire. The wireless earphone is released, so that the use experience and the communication efficiency of intelligent equipment users are greatly improved.
At present, wireless earphones on the market are sold in pairs, and in the using process, the wireless earphones can be wirelessly connected with intelligent equipment, and the paired earphones can also be matched. In order to meet higher hearing experience of users and enable the users to have more sense of presence, most of the current sound sources are made of dual-channel or stereo surround sound. Therefore, the self power consumptions of the two matched earphones are inconsistent, and the electric quantity of the two earphones is unbalanced after the earphones are used for a period of time.
Disclosure of Invention
The application provides a wireless headset control method, a wireless headset control device, a mobile terminal and a storage medium, which are used for solving the technical problem of unbalanced residual electric quantity of two paired wireless headsets.
A first aspect of the present application provides a method for controlling a wireless headset, the wireless headset including a first wireless headset and a second wireless headset, the method comprising:
acquiring a first residual electric quantity of the first wireless earphone, a second residual electric quantity of the second wireless earphone and an application program corresponding to a currently played audio of the wireless earphone;
determining the working logic of the wireless earphone according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balance principle;
and controlling the first wireless earphone and the second wireless earphone according to the working logic of the wireless earphones.
A second aspect of the present application provides a wireless headset control device, the wireless headset including a first wireless headset and a second wireless headset, the device comprising:
the acquisition module is used for acquiring the first residual electric quantity of the first wireless earphone, the second residual electric quantity of the second wireless earphone and acquiring an application program corresponding to the currently played audio of the wireless earphone;
the working logic determining module is used for determining the working logic of the wireless headset according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balancing principle;
and the control module is used for controlling the first wireless earphone and the second wireless earphone according to the working logic.
A third aspect of the present application provides a wireless headset having a long-range radio transmission module, the long-range radio transmission module comprising:
the wireless transceiver unit is used for receiving and sending wireless data by adopting a long-distance wireless transmission technology;
a processing unit for processing the radio data; and the number of the first and second groups,
and the control unit is used for controlling the radio transceiving unit to receive and send radio data.
A fourth aspect of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor executes the computer program to implement the steps in the wireless headset control method provided in the first aspect.
A fifth aspect of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the wireless headset control method provided by the first aspect.
As can be seen from the foregoing embodiments of the present application, the wireless headset control method provided in the present application includes a first wireless headset and a second wireless headset, and the control method includes: acquiring the remaining first electric quantity of the first wireless earphone, the remaining second electric quantity of the second wireless earphone and an application scene of the wireless earphone; determining the working logic of the wireless earphone according to the first electric quantity, the second electric quantity and the application scene of the wireless earphone; and controlling the working states of the first wireless earphone and the second wireless earphone according to the working logic. According to the method, the working states of the two earphones are adjusted in real time according to the use scene of the wireless earphones and the electric quantity of the two earphones, so that the electric quantity of the two wireless earphones can be kept balanced, and the duration of the wireless earphones is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a communication network architecture diagram of a mobile terminal and a wireless headset;
fig. 2 is a block diagram of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a wireless headset control method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a LoRa module of the wireless headset;
fig. 5 is a schematic structural diagram of a wireless headset control device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal.
Detailed Description
In order to make the objects, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a diagram illustrating a communication network architecture of a mobile terminal and a wireless headset, in which data transmission is directly implemented between the mobile terminal 10 and the wireless headset 20 and between the mobile terminal and the wireless headset 30 through a wireless network without relaying through a wireless network base station. Data transmission between the mobile terminal 10 and the wireless headset 20 and the wireless headset 30 may be performed via a bluetooth protocol, or via long-range radio.
The mobile terminal 10 is loaded with an audio playing application, and when playing audio using a wireless headset, a processor in the mobile terminal 10 converts data to be played in the audio playing application into a digital signal capable of being wirelessly transmitted, and transmits the data to the wireless headset 20 and the wireless headset 30 through a communication component of the mobile terminal 10. After the communication components of the wireless headset 20 and the wireless headset 30 receive the data transmitted by the mobile terminal 10, the chip of the wireless headset performs digital-to-analog conversion on the digital signal to convert the digital signal into an analog signal, and the analog signal is amplified by the signal amplifier and then played by the headset generator.
Fig. 2 shows a block diagram of a mobile terminal, and the wireless headset control method provided in the embodiment of the present application may be applied to the mobile terminal 10 shown in fig. 2, where the mobile terminal 10 may include, but is not limited to: there is a need for tablet computers, smart phones, MP3, etc. that rely on batteries to maintain proper operation, can send and receive communication messages, and can perform audio processing.
As shown in fig. 1, the mobile terminal 10 includes a memory 101, a memory controller 102, a processor 103 (which may be plural and only one of which is shown), and a communication component 104. These components communicate with each other via one or more communication buses/signal lines 105.
It is to be understood that the configuration shown in FIG. 1 is merely exemplary and is not intended to limit the configuration of the mobile terminal 10, as the mobile terminal 10 may include more or fewer components than shown in FIG. 1, or may have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be used to store software programs and modules, such as instructions and modules corresponding to the wireless headset control method and apparatus in the embodiment of the present application, and the processor 103 executes various functional applications and data processing by running the software programs and modules stored in the memory 101, so as to implement the operation of the wireless headset control method and apparatus.
Memory 101 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 101 may further include memory located remotely from the processor 103, which may be connected to the electronic device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication component 104 is configured to receive communication data packets sent by other terminals or servers and send control information to the other terminals to implement control of the other terminals.
Based on the mobile terminal 10, in order to solve the technical problem that when a pair of earphones are used, the electric quantity of the earphones with low electric quantity is used in advance to cause an overall continuous flight difference due to unbalanced electric quantity of the wireless earphones connected with the equipment, the embodiment of the present application provides a wireless earphone control method. As shown in fig. 2, a schematic flowchart of a wireless headset control method provided in an embodiment of the present application is shown, where the control method includes the following steps:
step 201, obtaining a remaining first electric quantity of the first wireless earphone, a remaining second electric quantity of the second wireless earphone, and obtaining an application program corresponding to an audio currently played by the wireless earphone.
In the embodiment of the present application, the mobile terminal 10 performs real-time power acquisition on the wireless earphones connected in pair with the mobile terminal, where the power acquisition not only performs power acquisition on the default main earphone, but also performs real-time power acquisition on the two wireless earphones connected with the mobile terminal respectively. Specifically, the first wireless earphone and the second wireless earphone are both provided with independent power management chips, the power management chip of the first wireless earphone can acquire the residual electric quantity of the first wireless earphone in real time, and the power management chip of the second wireless earphone can acquire the residual electric quantity of the second wireless earphone in real time. The mobile terminal 10 is connected with the two wireless earphones through the wireless data transmission module, and the data transmission module of the wireless earphones transmits the residual electric quantity data in the power management chip to the mobile terminal 10 in real time under the data request of the mobile terminal. When the wireless headset is in a use state, the electronic device 10 acquires an application scene of the wireless headset, and the electronic device 10 determines an application program using the wireless headset by acquiring information of an audio playing application program running in the device, so as to determine the application scene of the wireless headset. For example, when the audio playing application program that is being acquired as running is communication software (such as WeChat) or voice navigation, etc., it may be determined that the current application scenario of the wireless headset is an application scenario that does not have a high requirement on sound quality. In the application scene, the user only needs to acquire the related information through voice and audio. When the running audio playing application program is acquired to be a video player or a music player, it may be determined that the current application scene of the wireless headset is an application scene with a high requirement on sound quality. In this application scenario, the user needs to not only acquire related information through audio, but also experience aesthetic sense in audio to obtain auditory enjoyment. The wireless earphone in the embodiment of the application can be a Bluetooth earphone, and can also be a wireless earphone which is connected and controlled by other wireless means.
Step 202, determining the working logic of the wireless headset according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balance principle.
In this embodiment of the application, after acquiring the electric quantities of the two wireless earphones connected to the electronic device 10 and the application scenarios of the wireless earphones, the processor 103 determines the working logic of the wireless earphones according to the acquired electric quantity information and the application program corresponding to the audio currently played by the wireless earphones. To solve the problem of the imbalance of the residual capacities of the two wireless headsets, the working logic determined here should be the working logic which can control the residual capacities of the two wireless headsets to be balanced. Therefore, an electric quantity balance principle is preset, and the remaining electric quantity information and the information of the application program are reused to determine the working logic under the principle. It will be appreciated that the operating logic for a single wireless headset may include on and off, and the operating logic for a dual headset may be any one of four combinations. Specifically, the four combinations of the working logic are: the method comprises the steps of turning on the first wireless earphone and the second wireless earphone, turning off the first wireless earphone and the second wireless earphone, turning on the first wireless earphone and turning off the second wireless earphone, and turning off the first wireless earphone and turning on the second wireless earphone.
Step 203, controlling the working states of the first wireless earphone and the second wireless earphone according to the working logic.
In the embodiment of the present application, after determining the operating logic of the wireless headset, the electronic device 10 controls the operating states of the two wireless headsets according to the determined operating logic. Specifically, the communication component 104 of the electronic device 10 transmits the operating logic to two wireless headsets, respectively. The wireless headset is provided with a control module, and after receiving the working logic sent by the electronic device 10, the control module of the wireless headset controls the working states of the two wireless headsets according to the working logic. For example, if the operation logic determined in step 202 is to turn on the first wireless headset, turn off the second wireless headset. The control module of the first wireless headset controls the first wireless headset to be in an on state, and the control module of the second wireless headset controls the second wireless headset to be in an off state.
As can be seen from the above description, in the wireless headset control method provided in the embodiments of the present application, the wireless headset includes a first wireless headset and a second wireless headset, and the method includes: acquiring the remaining first electric quantity of the first wireless earphone, the remaining second electric quantity of the second wireless earphone and an application scene of the wireless earphone; determining the working logic of the wireless earphone according to the first electric quantity, the second electric quantity and the application scene of the wireless earphone; the working logic is used for controlling the balance of the residual electric quantity of the two wireless earphones; and controlling the working states of the first wireless earphone and the second wireless earphone according to the working logic. According to the method, the working states of the two wireless earphones are adjusted in real time according to the residual electric quantities of the two wireless earphones and the use scenes of the earphones, so that the residual electric quantities of the two wireless earphones are kept balanced, and the endurance time of a user using the two earphones is effectively prolonged.
Further, the application scenario of the wireless headset includes a first application scenario and a second application scenario, where the requirement of the first application scenario on the sound quality is lower than the requirement of the second application scenario on the sound quality, and then the working logic of the wireless headset is determined according to the first electric quantity, the second electric quantity, and the application scenario of the wireless headset, including:
if the wireless earphone is in the first application scene, comparing the first electric quantity with the second electric quantity;
if the first electric quantity is larger than the second electric quantity, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone;
and if the first electric quantity is not greater than the second electric quantity, determining that the working logic of the wireless earphone is to close the first wireless earphone and open the second wireless earphone.
In the embodiment of the application, the application scenes of the wireless earphones are obtained, so that the application scenes of the wireless earphones are classified, and different working logic decisions are made based on the different application scenes and the residual electric quantity of the two wireless earphones. According to the embodiment of the application, the application scene of the wireless earphone is divided into the first application scene and the second application scene, and the requirement of the first application scene on the tone quality is lower than that of the second application scene on the tone quality. The quality of sound, i.e. the quality of sound, refers to the fidelity of the audio signal after the sound is transmitted and processed. Specifically, the sound quality includes three elements of volume, pitch, and timbre. In the first application scenario, the fidelity requirements for the above elements are low, as long as the user can identify the information transmitted in the audio according to the transmitted audio. For example, the user uses communication software to receive voice information. In the second application scenario, the user has a high requirement for the fidelity of the above-mentioned elements, and the user needs to recognize the transmitted information from the transmitted audio and experience the aesthetic feeling of the audio transmission, and thus needs to enjoy from the audio. It is to be understood that the application scenarios may be divided into two application scenarios, or may be divided into a plurality of application scenarios, or may be divided according to other criteria besides voice quality. For example, the wireless headset is classified into an application scene at a standstill, an application scene at walking, an application scene at driving, and the like according to the movement of a user wearing the wireless headset.
On the basis of dividing the application scene of the wireless earphone into a first application scene with low sound quality requirement and a second application scene with high sound quality requirement based on the sound quality requirement, when the application scene of the wireless earphone is determined to be the first application scene, namely the requirement of the user on the sound quality is not high in the current application scene, for example, the user only needs to obtain the application scenes such as voice messages, voice navigation and the like through the wireless earphone. At the moment, the acquired first electric quantity and the second electric quantity are compared to determine the working logic of the wireless headset according to the electric quantity difference. If the first electric quantity is larger than the second electric quantity, in order to ensure that the electric quantities of the two wireless earphones are kept balanced so that a user can have longer endurance when using the double earphones, the first wireless earphone is controlled to be started, and the second wireless earphone is closed so as to save the electric quantity of the second wireless earphone. Otherwise, if the first electric quantity is not larger than the second electric quantity, the first wireless earphone is controlled to be closed, and the second wireless earphone is opened.
Further, if the first electric quantity is greater than the second electric quantity, it is determined that the working logic of the wireless headset is to turn on the first wireless headset and turn off the second wireless headset, including:
if the first electric quantity is larger than the second electric quantity, calculating a first difference value between the first electric quantity and the second electric quantity;
and if the first difference is larger than the first preset value, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone.
In the embodiment of the present application, it can be understood that, because the technical scheme of the present application can obtain the real-time electric quantities of the two wireless earphones in real time, if the electric quantities of the two wireless earphones are close to each other in the first scene, the following situations can occur: judging to turn on the first wireless earphone and turn off the second wireless earphone when the first electric quantity is larger than the second electric quantity at the first time; and at the second time after the short time, the electric quantity of the first wireless earphone becomes lower than that of the second wireless earphone due to electric quantity consumption, and at the moment, the second wireless earphone needs to be controlled to be started again, and the first wireless earphone needs to be closed. When the second time after a short time passes, the first wireless earphone needs to be controlled to be turned on and turned off, and the second wireless earphone is turned off, so that frequent turning-on and turning-off can be caused in the circulation, and the electricity consumption of the earphones is further increased. Therefore, in the embodiment of the present application, after it is determined that the first electric quantity is greater than the second electric quantity, the difference between the two electric quantities is calculated, the difference is compared with the preset value, and when the difference is greater than the preset value, the working logic of the wireless headset is updated, and the working state of the wireless headset is switched. It can be understood that when the electric quantity difference value is not greater than the preset value, the working state of the wireless earphone is not switched. The initial working state of the wireless earphone is executed according to the working logic of turning on the wireless earphone with large residual capacity and turning off the wireless earphone with small residual capacity.
Similarly, if the first power is not greater than the second power, determining that the operating logic of the wireless headset is to turn off the first wireless headset and turn on the second wireless headset, comprising:
if the first electric quantity is not larger than the second electric quantity, calculating a second difference value between the second electric quantity and the first electric quantity;
and if the second difference is larger than the second preset value, determining that the working logic of the wireless earphone is to close the first wireless earphone and open the second wireless earphone.
According to the description, the difference value of the residual electric quantities of the two wireless earphones is calculated in real time in the first application scene, and the working states of the wireless earphones are switched after the difference value of the residual electric quantities reaches the preset value.
Further, if the wireless headset is in the second application scene, the working logic of the wireless headset is determined to be that the first wireless headset is started, and the second wireless headset is started.
In the embodiment of the present application, when the wireless headset is in the second application scenario, that is, when the user uses these applications, the requirement on the sound quality is high, for example, when video playing, high-quality audio playing, or other scenarios set by the user is performed, in this case, the user needs to use two wireless headsets at the same time. In this case, the user automatically switches the operating state of the wireless headset to the simultaneous turning on of the two headsets according to the identified usage scenario. The user does not need to adjust the setting additionally, and the operation time of the user is saved.
Further, if the wireless headset is in a second application scene, acquiring a first distance from the first wireless headset to the equipment connected with the wireless headset and a second distance from the second wireless headset to the equipment connected with the wireless headset;
if the first electric quantity is larger than the second electric quantity, judging whether the second distance is larger than a preset distance;
and if the second distance is greater than the preset distance, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone.
In the embodiment of the application, when the usage scenario of the wireless headset is in the second application scenario, the device connected to the wireless headset continuously detects the distance from the headset to the device. The device has various measuring modes for the distance between the wireless earphone and the wireless earphone, for example, the distance between the wireless earphone and the connecting device thereof is obtained by sending a detection signal to the wireless earphone and receiving the detection signal returned by the wireless earphone, measuring the time from the sending to the returning of the detection signal and calculating according to the propagation speed of the detection signal. Under the condition that the residual electric quantity of the two wireless earphones is different, for example, when the residual electric quantity of the first wireless earphone is larger than the residual electric quantity of the second wireless earphone, whether the distance between the wireless earphone and the connected equipment exceeds a preset distance or not is judged in real time. Under some application scenes, for example, when watching videos, a user should keep within a certain distance range with equipment playing the videos, when the user exceeds the range from the equipment, the user can be determined to get up to do other things, the interference of video playing sound on the user can be reduced, the wireless earphones with lower electric quantity can be controlled to be powered off, the electric quantity of the wireless earphones with lower residual electric quantity is saved, and the endurance time of the double earphones under the service condition is prolonged. Of course, in other embodiments, the method for saving the power of the wireless headset with lower remaining power may be implemented by reducing the volume of the wireless headset with lower remaining power, in addition to turning off the wireless headset. The function of reducing the electric quantity of the wireless earphone can be realized by a wireless earphone control device loaded in the wireless earphone.
In yet another embodiment, when the wireless headset is in the second application scenario, for example when the user is watching a video, two people may wear one wireless headset for video watching respectively. Under the scene, the device connected with the wireless earphones continuously detects the distance between the two wireless earphones and the device, and when the distance between one of the wireless earphones and the device is detected to be greater than the preset distance, the wireless earphones can be controlled to be closed or the volume of the wireless earphones can be reduced so as to save the electric quantity of the wireless earphones.
Further, a first Long Range Radio (LoRa) module is built in the first wireless headset, a second LoRa module is built in the second wireless headset, and the first remaining electric quantity of the first wireless headset and the second remaining electric quantity of the second wireless headset are obtained, including:
receiving first electric quantity monitoring information sent by a first LoRa module and second electric quantity monitoring information sent by a second LoRa module;
determining the remaining first electric quantity of the first wireless earphone according to the first electric quantity monitoring information;
and determining the remaining second electric quantity of the second wireless earphone according to the second electric quantity monitoring information.
In this application embodiment, wireless earphone embeds the loRa module, and the loRa technique is a long-range wireless signal propagation technique of low-power consumption, and above-mentioned loRa module is based on the application module that the loRa technique realized signal transmission function. Compared with the bluetooth transmission, which can only support short-distance (generally within 10 m) wireless communication, the LoRa technology supports a longer propagation distance, so that a device connected to a wireless headset can acquire the power of the wireless headset within a larger distance range. Moreover, the power of each wireless earphone can be acquired separately by adopting the LoRa technology. The wireless earphone reports the residual capacity to a built-in LoRa module in real time, and sends the residual capacity monitoring information to the equipment connected with the wireless earphone through the LoRa module. Specifically, as shown in fig. 4, the configuration diagram of the LoRa module of the wireless headset is shown, where the LoRa module includes a processing unit 401, a control unit 402, a radio transceiver unit 403, and a radio antenna 404. The wireless headset is provided with a power management chip, the power management chip collects the residual power of the wireless headset in real time and sends the residual power information to the processing unit 401, and the processing module 401 processes the received residual power information of the wireless headset and transmits the information to the control module 402 according to a specific data format. The control module 402 controls the radio transceiving unit 403 to transmit the remaining power information to the device connected to the wireless headset through the radio frequency antenna 404. The radio transceiving unit 403 may also receive radio information transmitted by a device connected to the wireless headset through the radio frequency antenna 404 and transmit the radio information to the processing unit 401.
Further, the LoRa module supports the wireless headset to acquire the remaining capacity of the wireless headset in a charging state. In order to improve the charging efficiency of the wireless earphones, when the residual capacity difference of the two wireless earphones reaches a preset value, the wireless earphone charger can be controlled to adjust the charging current of the two wireless earphones, so that the charging speed of the wireless earphones with lower residual capacity is accelerated. When the charging of the wireless earphone is detected to be completed, the device can also send prompt information to remind a user that the charging is completed. The method can effectively avoid the power loss caused by continuous standby of the charger for keeping the power of the wireless earphone after the wireless earphone is charged, thereby saving energy.
A second aspect of the present application provides a wireless headset control device, where a wireless headset controlled by the device includes a first wireless headset and a second wireless headset, as shown in fig. 3, which is a schematic structural diagram of the device, and the device includes the following modules:
an obtaining module 501, configured to obtain a remaining first electric quantity of a first wireless headset, a remaining second electric quantity of a second wireless headset, and an application scenario of the wireless headset;
the working logic determining module 502 is configured to determine a working logic of the wireless headset according to the first electric quantity, the second electric quantity, and an application scenario of the wireless headset, where the working logic is configured to control remaining electric quantities of the two wireless headsets to keep balance.
The control module 503 is configured to control the working states of the first wireless headset and the second wireless headset according to the working logic.
It can be understood that the functions of the modules of the wireless headset control device are consistent with the steps provided in the wireless headset control method provided in the embodiment of fig. 2, and are not described herein again. The wireless headset control device provided by the embodiment of the application determines the working logic that the residual electric quantities of the two wireless headsets tend to be balanced according to the residual electric quantities of the wireless headsets and the application scenes by acquiring the residual electric quantities of the wireless headsets and the application scenes of the wireless headsets, and controls and adjusts the working state of the wireless headsets according to the determined working logic of the wireless headsets. The application provides a remaining capacity of wireless earphone is balanced to the steerable wireless earphone's of wireless earphone electric quantity controlling means, and then promotes the duration of a journey of wireless earphone when using double earphone.
A third aspect of the embodiments of the present application provides a wireless headset having a long-range radio transmission module, the radio transmission module including:
the wireless transceiver unit is used for receiving and sending wireless data by adopting a long-distance wireless transmission technology;
a processing unit for processing radio data; and the number of the first and second groups,
and the control unit is used for controlling the radio transceiving unit to receive and send radio data.
It can be understood that the specific modules and functions of the wireless headset provided in the embodiment of the present application are described in detail in the above embodiment of fig. 4, and are not described herein again.
A fourth aspect of the present application provides a mobile terminal, which can be used to implement the wireless headset control method in the foregoing embodiments. As shown in fig. 4, the mobile terminal mainly includes:
memory 601, processor 602, bus 603, and computer programs stored on memory 601 and executable on processor 602, memory 601 and processor 602 connected by bus 603. The processor 602, when executing the computer program, implements the wireless headset control method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 601 may be a high-speed Random Access Memory (RAM) Memory, or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 401 is used for storing executable program code and the processor 602 is coupled to the memory 601.
A fifth aspect of the present application provides a storage medium, which may be a memory. The storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the wireless headset control method provided by the first aspect. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the wireless headset control method, apparatus, storage medium and terminal provided by the present application, those skilled in the art will appreciate that there are variations in the embodiments and applications according to the concepts of the present application, and in summary, the present disclosure should not be construed as limiting the present application.

Claims (11)

1. A method for controlling a wireless headset, the wireless headset comprising a first wireless headset and a second wireless headset, the first wireless headset having a first transmission module disposed therein, the second wireless headset having a second transmission module disposed therein, the method comprising:
acquiring a first residual electric quantity of the first wireless earphone based on the first transmission module, acquiring a second residual electric quantity of the second wireless earphone based on the second transmission module, and acquiring an application program corresponding to the currently played audio of the wireless earphone;
determining the working logic of the wireless earphone according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balance principle;
and controlling the first wireless earphone and the second wireless earphone to work according to the working logic of the wireless earphone.
2. The method for controlling a wireless headset according to claim 1, wherein the determining the operating logic of the wireless headset according to the first power, the second power, the application program and a preset power balance rule comprises:
if the application program belongs to a preset application program set, comparing the first electric quantity with the second electric quantity;
if the first electric quantity is larger than the second electric quantity, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone;
and if the first electric quantity is not greater than the second electric quantity, determining that the working logic of the wireless earphone is to close the first wireless earphone and open the second wireless earphone.
3. The method for controlling a wireless headset according to claim 1, wherein the determining the operating logic of the wireless headset according to the first power, the second power, the application program and a preset power balance rule comprises:
if the application program belongs to a preset application program set, calculating a difference value between the first electric quantity and the second electric quantity;
if the difference is a positive number and the difference is greater than a preset value, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone;
and if the difference is a non-positive number and the absolute value of the difference is greater than a preset value, determining that the working logic of the wireless earphone is to turn on the second wireless earphone and turn off the first wireless earphone.
4. A method of controlling a wireless headset according to any one of claims 2 or 3, wherein the method further comprises:
and if the application program does not belong to a preset application program set, determining that the working logic of the wireless earphone is to start the first wireless earphone, and starting the second wireless earphone.
5. A method of controlling a wireless headset according to any one of claims 2 or 3, wherein the wireless headset is connected to an electronic device, the method further comprising:
if the application program does not belong to a preset application program set, acquiring a first distance between the first wireless earphone and the electronic equipment and acquiring a second distance between the second wireless earphone and the electronic equipment;
if the first electric quantity is larger than the second electric quantity, judging whether the second distance is larger than a first preset distance;
and if the second distance is greater than the first preset distance, determining that the working logic of the wireless earphone is to turn on the first wireless earphone and turn off the second wireless earphone.
6. The method of claim 1, wherein the wireless headset is connected to an electronic device, and further comprising, after controlling the first wireless headset and the second wireless headset according to the wireless headset operating logic:
acquiring a third distance between the first wireless earphone and the electronic equipment and acquiring a fourth distance between the second wireless earphone and the electronic equipment;
if the third distance is greater than a second preset distance, closing the first wireless earphone;
and if the fourth distance is greater than the second preset distance, closing the second wireless earphone.
7. The method as claimed in claim 1, wherein the step of acquiring the remaining first power amount of the first wireless headset and the remaining second power amount of the second wireless headset comprises:
receiving first electric quantity monitoring information transmitted by the first transmission module and second electric quantity monitoring information transmitted by the second transmission module; the first electric quantity monitoring information is acquired by a power management chip of the first wireless earphone, and the second electric quantity monitoring information is acquired by a power management chip of the second wireless earphone;
determining a first remaining power of the first wireless headset according to the first power monitoring information;
and determining the second remaining electric quantity of the second wireless earphone according to the second electric quantity monitoring information.
8. A control apparatus for a wireless headset, the wireless headset comprising a first wireless headset and a second wireless headset, the apparatus comprising:
the acquisition module is used for acquiring the first residual electric quantity of the first wireless earphone, the second residual electric quantity of the second wireless earphone and acquiring an application program corresponding to the currently played audio of the wireless earphone;
the working logic determining module is used for determining the working logic of the wireless headset according to the first electric quantity, the second electric quantity, the application program and a preset electric quantity balancing principle;
and the control module is used for controlling the first wireless earphone and the second wireless earphone according to the working logic.
9. A wireless headset comprising an LoRa module, a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor performs data transmission based on the LoRa module, and when executing the computer program, the processor implements the steps of the method according to any one of claims 1 to 7.
10. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
11. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 7.
CN202010294423.4A 2020-04-15 2020-04-15 Control method and device of wireless earphone, mobile terminal and storage medium Pending CN111343541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010294423.4A CN111343541A (en) 2020-04-15 2020-04-15 Control method and device of wireless earphone, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010294423.4A CN111343541A (en) 2020-04-15 2020-04-15 Control method and device of wireless earphone, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111343541A true CN111343541A (en) 2020-06-26

Family

ID=71188056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010294423.4A Pending CN111343541A (en) 2020-04-15 2020-04-15 Control method and device of wireless earphone, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111343541A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683358A (en) * 2020-07-06 2020-09-18 Oppo(重庆)智能科技有限公司 Control method, control device, mobile terminal, storage medium and wireless headset
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN113709297A (en) * 2021-08-25 2021-11-26 深圳艾创力科技有限公司 Electric quantity prompting method and system

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119424A (en) * 2007-08-24 2008-02-06 叶志宝 Handset anti-theft method implementing through handset blue tooth technique
US20080167087A1 (en) * 2007-01-06 2008-07-10 Apple Computer, Inc. Wireless communication headset with wired and wireless modes
US7548617B2 (en) * 2005-08-19 2009-06-16 Innovation Sound Technology Co., Ltd Bluetooth earphone
CN102290015A (en) * 2011-06-30 2011-12-21 徐建荣 Portable service earphone
CN204131691U (en) * 2014-10-28 2015-01-28 弘欣益科技(深圳)有限公司 A kind of can the bluetooth earphone of automatic switching
US20150112671A1 (en) * 2013-10-18 2015-04-23 Plantronics, Inc. Headset Interview Mode
CN105848027A (en) * 2016-03-17 2016-08-10 广东欧珀移动通信有限公司 Method and system for controlling vibration effect of earphone motor based on sound and mobile terminal
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method
CN106131302A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Audio play control method
CN106658256A (en) * 2016-10-27 2017-05-10 努比亚技术有限公司 Earphone, terminal and terminal control method
CN206775493U (en) * 2017-06-01 2017-12-19 歌尔科技有限公司 A kind of double wireless headset call bracelets
CN107547967A (en) * 2017-09-30 2018-01-05 维沃移动通信有限公司 The electric quantity controlling method and device of a kind of wireless headset
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset
CN108429966A (en) * 2018-05-21 2018-08-21 深圳市沃特沃德股份有限公司 Wireless headset automatically switches the method and its device of playing task
CN109150221A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of wearable device master-slave switching method and Related product
CN109257498A (en) * 2018-09-29 2019-01-22 维沃移动通信有限公司 A kind of sound processing method and mobile terminal
CN208739368U (en) * 2018-09-19 2019-04-12 深圳造物部落科技有限公司 A kind of novel audio and Bluetooth switching device
CN208850008U (en) * 2018-11-16 2019-05-10 深圳市星科启电子商务有限公司 A kind of more vibration unit TWS earphones of embedded frequency dividing circuit
CN110191387A (en) * 2019-05-31 2019-08-30 深圳市荣盛智能装备有限公司 Automatic starting control method, device, electronic equipment and the storage medium of earphone
CN110650405A (en) * 2019-10-22 2020-01-03 Oppo(重庆)智能科技有限公司 Wireless earphone control system, method, device and storage medium
EP3591997A1 (en) * 2018-07-02 2020-01-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling earphone switchng and earphone
CN110995326A (en) * 2019-12-23 2020-04-10 无锡中感微电子股份有限公司 Communication method of wireless earphone, wireless earphone and wireless earplug

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7548617B2 (en) * 2005-08-19 2009-06-16 Innovation Sound Technology Co., Ltd Bluetooth earphone
US20080167087A1 (en) * 2007-01-06 2008-07-10 Apple Computer, Inc. Wireless communication headset with wired and wireless modes
CN101119424A (en) * 2007-08-24 2008-02-06 叶志宝 Handset anti-theft method implementing through handset blue tooth technique
CN102290015A (en) * 2011-06-30 2011-12-21 徐建荣 Portable service earphone
US20150112671A1 (en) * 2013-10-18 2015-04-23 Plantronics, Inc. Headset Interview Mode
CN204131691U (en) * 2014-10-28 2015-01-28 弘欣益科技(深圳)有限公司 A kind of can the bluetooth earphone of automatic switching
CN105848027A (en) * 2016-03-17 2016-08-10 广东欧珀移动通信有限公司 Method and system for controlling vibration effect of earphone motor based on sound and mobile terminal
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method
CN106131302A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Audio play control method
CN106658256A (en) * 2016-10-27 2017-05-10 努比亚技术有限公司 Earphone, terminal and terminal control method
CN206775493U (en) * 2017-06-01 2017-12-19 歌尔科技有限公司 A kind of double wireless headset call bracelets
CN107547967A (en) * 2017-09-30 2018-01-05 维沃移动通信有限公司 The electric quantity controlling method and device of a kind of wireless headset
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset
CN108429966A (en) * 2018-05-21 2018-08-21 深圳市沃特沃德股份有限公司 Wireless headset automatically switches the method and its device of playing task
EP3591997A1 (en) * 2018-07-02 2020-01-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling earphone switchng and earphone
CN109150221A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of wearable device master-slave switching method and Related product
CN208739368U (en) * 2018-09-19 2019-04-12 深圳造物部落科技有限公司 A kind of novel audio and Bluetooth switching device
CN109257498A (en) * 2018-09-29 2019-01-22 维沃移动通信有限公司 A kind of sound processing method and mobile terminal
CN208850008U (en) * 2018-11-16 2019-05-10 深圳市星科启电子商务有限公司 A kind of more vibration unit TWS earphones of embedded frequency dividing circuit
CN110191387A (en) * 2019-05-31 2019-08-30 深圳市荣盛智能装备有限公司 Automatic starting control method, device, electronic equipment and the storage medium of earphone
CN110650405A (en) * 2019-10-22 2020-01-03 Oppo(重庆)智能科技有限公司 Wireless earphone control system, method, device and storage medium
CN110995326A (en) * 2019-12-23 2020-04-10 无锡中感微电子股份有限公司 Communication method of wireless earphone, wireless earphone and wireless earplug

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
S. GALAL: "A 60 mW Class-G Stereo Headphone Driver for Portable Battery-Powered Devices", 《 IEEE JOURNAL OF SOLID-STATE CIRCUITS》 *
SU_ZHIGANG: "说说看单耳带耳机好还是双耳好", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/2080571868558328508.HTML》 *
温宇豪,肖宏宇等: "基于力敏电阻的头戴式线控耳机改进", 《中国科技投资》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683358A (en) * 2020-07-06 2020-09-18 Oppo(重庆)智能科技有限公司 Control method, control device, mobile terminal, storage medium and wireless headset
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN113709297A (en) * 2021-08-25 2021-11-26 深圳艾创力科技有限公司 Electric quantity prompting method and system
CN113709297B (en) * 2021-08-25 2022-12-13 深圳艾创力科技有限公司 Electric quantity prompting method and system

Similar Documents

Publication Publication Date Title
US9407981B2 (en) Audio class-compliant charging accessories for wireless headphones and headsets
CN111343541A (en) Control method and device of wireless earphone, mobile terminal and storage medium
US20110158441A1 (en) Wireless speaker units with improved battery life
CN110278205B (en) Bluetooth sound box base and control method and system thereof
CN112821963B (en) Method and device for reducing interference to loudspeaker and electronic equipment
CN107171412B (en) Dynamic adjusts method, apparatus, mobile terminal and the storage medium of charging current
US11553268B2 (en) Wireless headset
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN108737648B (en) Music volume self-adaptive adjusting method, device, storage medium and terminal
CN108513196B (en) Wireless earphone and pairing method thereof
KR20200086149A (en) A method and apparatus for power saving of a terminal in a wireless communication system
WO2022242528A1 (en) Volume adjustment method and terminal device
CN111596881B (en) Audio playing device, audio playing system, switching method, bluetooth sound box and Bluetooth earphone
CN105098925A (en) Method, system and mobile phone charger for dynamic adjustment of charging current
CN109151669B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN105933816A (en) Wireless headset, playing method and device of wireless headset, headset data line and playing equipment
CN109120298A (en) A kind of earphone far field exchange method, earphone far field interaction accessory and wireless headset
CN105188113B (en) A kind of information processing method and radio reception device
CN111491278B (en) Method and terminal for playing audio through Bluetooth device
CN113038317A (en) Earphone control method and device, Bluetooth earphone and storage medium
CN112866965A (en) Intelligent glasses
CN112866964A (en) Wireless earphone assembly
CN112867114A (en) Wireless device
CN112867115A (en) Wireless device and wireless communication method
TWI815165B (en) True wireless stereo headphone component and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200626