CN111866278B - Electric quantity display method, device, equipment and storage medium of wireless earphone - Google Patents

Electric quantity display method, device, equipment and storage medium of wireless earphone Download PDF

Info

Publication number
CN111866278B
CN111866278B CN202010681967.6A CN202010681967A CN111866278B CN 111866278 B CN111866278 B CN 111866278B CN 202010681967 A CN202010681967 A CN 202010681967A CN 111866278 B CN111866278 B CN 111866278B
Authority
CN
China
Prior art keywords
electric quantity
application program
quantity information
wireless
earphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010681967.6A
Other languages
Chinese (zh)
Other versions
CN111866278A (en
Inventor
梁霄
郑超群
邢仁泰
李宏亮
张国旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology 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 Baidu Online Network Technology Beijing Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202010681967.6A priority Critical patent/CN111866278B/en
Publication of CN111866278A publication Critical patent/CN111866278A/en
Application granted granted Critical
Publication of CN111866278B publication Critical patent/CN111866278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1025Accumulators or arrangements for charging

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for displaying electric quantity of a wireless earphone, and relates to the fields of Internet of things, wireless earphones, application programs, Bluetooth technology and voice control. The specific implementation scheme is as follows: if the earphone starting event is detected, sending a control instruction to a terminal system so that the terminal system responds to the control instruction to start a target application program; acquiring target electric quantity information, and sending the target electric quantity information to the target application program so that the target application program displays the target electric quantity information on a terminal display screen. After the wireless earphone is started, the electric quantity information of the wireless earphone can be displayed through the terminal display screen, and a new idea is provided for electric quantity display of the wireless earphone.

Description

Electric quantity display method, device, equipment and storage medium of wireless earphone
Technical Field
The application relates to the technical field of computers, in particular to the fields of Internet of things, wireless earphones, application programs, Bluetooth technology and voice control, and specifically relates to a method, a device, equipment and a storage medium for displaying electric quantity of the wireless earphones.
Background
With the development of computer technology, the earphone has been developed from traditional wired earphone to wireless earphone, has solved the earphone and has been dragged and stumbled the problem by the wire rod, very big promotion the use of earphone experience and convenience. At present, current wireless earphone generally needs external special charger to charge, when wireless earphone electric quantity is not enough, can report the suggestion of charging to the user through wireless earphone. However, before the charging prompt is broadcasted by the earphone through voice, the user cannot know the remaining power of the wireless earphone, and improvement is urgently needed.
Disclosure of Invention
The disclosure provides a method, a device, equipment and a storage medium for displaying electric quantity of a wireless headset.
According to an aspect of the present disclosure, there is provided a power display method of a wireless headset, including:
if the earphone starting event is detected, sending a control instruction to a terminal system so that the terminal system responds to the control instruction to start a target application program;
acquiring target electric quantity information, and sending the target electric quantity information to the target application program so that the target application program displays the target electric quantity information on a terminal display screen.
According to another aspect of the present disclosure, there is provided a power display method of a wireless headset, including:
responding to the starting instruction; the starting instruction is generated by the terminal system in response to the control instruction; the control instruction is sent to the terminal system by the wireless earphone when an earphone starting event is detected;
acquiring target electric quantity information sent by the wireless earphone;
and displaying the target electric quantity information on a terminal display screen.
According to another aspect of the present disclosure, there is provided a power display method of a wireless headset, including:
acquiring a control instruction sent by a wireless earphone, wherein the control instruction is sent by the wireless earphone when an earphone starting event is detected;
and responding to the control instruction, starting a target application program so as to enable the target application program to acquire and display the target electric quantity information sent by the wireless earphone on a terminal display screen.
According to another aspect of the present disclosure, there is provided a power display device of a wireless headset, including:
the control instruction sending module is used for sending a control instruction to a terminal system if an earphone starting event is detected so that the terminal system responds to the control instruction and starts a target application program;
the electric quantity information acquisition module is used for acquiring target electric quantity information;
and the electric quantity information sending module is used for sending the target electric quantity information to the target application program so as to enable the target application program to display the target electric quantity information on a terminal display screen.
According to another aspect of the present disclosure, there is provided a power display device of a wireless headset, including:
the starting instruction response module responds to a starting instruction; the starting instruction is generated by the terminal system in response to the control instruction; the control instruction is sent to the terminal system by the wireless earphone when an earphone starting event is detected;
the electric quantity information receiving module is used for acquiring target electric quantity information sent by the wireless earphone;
and the electric quantity information display module is used for displaying the target electric quantity information on a terminal display screen.
According to another aspect of the present disclosure, there is provided a power display device of a wireless headset, including:
the control instruction receiving module is used for acquiring a control instruction sent by the wireless earphone, wherein the control instruction is sent by the wireless earphone when the earphone starting event is detected;
and the application program starting module is used for responding to the control instruction and starting a target application program so as to enable the target application program to acquire and display the target electric quantity information sent by the wireless earphone on a terminal display screen.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executable by the at least one processor to enable the at least one processor to perform a method for displaying power of a wireless headset according to any embodiment of the present application.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute a power display method of a wireless headset according to any embodiment of the present disclosure.
According to the technology of the application, after the wireless earphone is started, the electric quantity information of the wireless earphone can be displayed through the terminal display screen, and a new idea is provided for electric quantity display of the wireless earphone.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart of a power display method of a wireless headset according to an embodiment of the present application;
fig. 2 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
fig. 3A is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
fig. 3B is a schematic diagram illustrating an effect of displaying power information on a display screen of a terminal according to an embodiment of the application;
fig. 4A is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
FIG. 4B is a diagram illustrating an application permission setting interface provided in accordance with an embodiment of the present application;
fig. 5 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
fig. 6 is a signaling diagram of a power display method of a wireless headset according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a power display device of a wireless headset according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another power display device of a wireless headset according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another power display device of a wireless headset according to an embodiment of the present application;
fig. 10 is a block diagram of an electronic device for implementing a power display method of a wireless headset according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Before the embodiments of the present application are described, the wireless headset, the terminal system, and the target application related to the embodiments of the present application will be described. The wireless earphone in the embodiment of the application can be any earphone which can be in communication connection with the mobile terminal without a wire, such as a Bluetooth earphone which is in Bluetooth connection with the mobile terminal. Preferably, the wireless headset may be a true wireless stereo TWS headset. The terminal system in the embodiment of the present application may be an operating system of a mobile terminal, for example, an android system, an IOS system of apple inc. The target application program can be an application program installed in the mobile terminal, and the target application program can be an application program matched with the wireless earphone, and the target application program is matched with the wireless earphone to provide services such as music playing, broadcasting, translation, electric quantity checking and the like for a user. In this embodiment of the present application, the mobile terminal where the target application and the terminal system are located is the same mobile terminal, and the mobile terminal may be in communication connection with a wireless headset, and the mobile terminal may include but is not limited to: smart phones, tablet computers, notebook computers, and the like.
Fig. 1 is a flowchart of a power display method of a wireless headset according to an embodiment of the present application. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. This embodiment may be performed by a power display device of a wireless headset, which may be implemented in software and/or hardware, which may be configured in the wireless headset. As illustrated in fig. 1, the method comprises:
s101, if the earphone starting event is detected, a control instruction is sent to the terminal system, so that the terminal system responds to the control instruction and starts the target application program.
The control instruction in the embodiment of the present application may be a control instruction initiated by a wireless headset and instructing the mobile terminal to start a target application program. If the wireless headset is a bluetooth headset, such as a TWS headset, the control instructions may be generated by the wireless headset based on voice commands of the bluetooth protocol. The voice command may be a voice command to launch the target application.
Optionally, the detection of the earphone starting event in the embodiment of the present application may be any event that triggers the starting of the wireless earphone, for example, if the starting of the wireless earphone requires that a user clicks a start key on the earphone or triggers a start area, the wireless earphone detects the earphone starting event when detecting a trigger operation of the start key or the start area; if the wireless earphone is placed in a charging box capable of bearing the earphone, when the cover of the charging box is opened, the wireless earphone is automatically triggered to be started, and at the moment, when the wireless earphone detects the opening operation of the charging box bearing the wireless earphone, the earphone starting event is detected.
Optionally, after the wireless headset detects the headset start event, in order to show the power information of the wireless headset to the user through the target application program, the wireless headset needs to send a control instruction to the terminal system of the mobile terminal to control the terminal system to start the target application program. Optionally, the control instruction may be generated in real time and sent to the terminal system after detecting the earphone starting event; the wireless earphone can also store the control instruction in the earphone firmware in advance, and the wireless earphone calls the control instruction from the earphone firmware to send to the terminal system after detecting the earphone starting event. After receiving the control instruction sent by the wireless earphone, the terminal system of the mobile terminal responds to the control instruction to start the target application program in the mobile terminal. How the terminal system responds to the control command to start the target application program will be described in detail in the following embodiments.
And S102, acquiring the target electric quantity information, and sending the target electric quantity information to the target application program so that the target application program displays the target electric quantity information on a display screen of the terminal.
The target electric quantity information at least comprises earphone electric quantity information of the wireless earphone and electric quantity information of a charging box of the wireless earphone. The preferred target electric quantity information of this application embodiment is earphone electric quantity information and the box electric quantity information that charges. Optionally, if the left ear and the right ear of the wireless headset are independently designed, the headset power information at this time may include left ear power information and right ear power information; if the left ear and the right ear of the wireless headset are designed as a whole, such as a headset design, the headset power information at this time may be the whole power information of the wireless headset. The advantage of setting up like this is convenient for the user after wireless earphone starts, and each monaural of comprehensive and audio-visual understanding wireless earphone to and the residual capacity of the box that charges.
Optionally, in this embodiment of the application, a process of acquiring the earphone power information in the target power information by the wireless earphone may be: if the left ear and the right ear of the wireless earphone are designed into a whole, the wireless earphone can directly acquire the electric quantity information of the wireless earphone as the electric quantity information of the earphone through the electric quantity detection module. If the left ear and the right ear of the wireless earphone are independently designed, one of the two earphones is a main ear and the other earphone is a slave ear, after the two earphones detect the electric quantity information of the two earphones respectively through the electric quantity detection modules of the two earphones, the main ear acquires the electric quantity information of the slave ear sent by the slave ear through the communication connection between the main ear and the slave ear, and the electric quantity information of the slave ear and the electric quantity information of the main ear are used as the electric quantity information of the earphone. It should be noted that it is also the main ear that communicates with the target application and the terminal system. The process of the wireless headset acquiring the charge box electric quantity information in the target electric quantity information may be: after the wireless earphone is placed back to the charging box, the communication connection between the wireless earphone and the charging box is automatically triggered and established, and then the current remaining electric quantity information sent by the charging box, namely the electric quantity information of the charging box, is obtained based on the communication connection.
Optionally, in this embodiment of the application, the process of acquiring the target power information by the wireless headset may be actively acquiring, for example, if it is detected that the wireless headset is connected to the target application program, the target power information is actively acquired. The target power information may also be passively acquired in response to a power acquisition request sent by the target application, for example, if the power acquisition request sent by the target application is received, the target power information is acquired.
Optionally, after the terminal system responds to the control instruction and starts the target application program, the target application program triggers a communication connection to be established with the wireless headset, and after the wireless headset acquires the target electric quantity information, the wireless headset transmits the acquired target electric quantity information to the target application program based on the communication connection. And the target application program can display the acquired target electric quantity information in a display screen of the mobile terminal. The method for showing the target power information of the target application program will be described in detail in the following embodiments.
According to the technical scheme, after the wireless earphone detects the earphone starting event, the wireless earphone sends a control instruction to the terminal system so that the terminal system responds to the control instruction to start the target application program, and after the target application program is started, the wireless earphone can acquire target electric quantity information, namely the earphone electric quantity information (or the earphone electric quantity information and the charging box electric quantity information) is sent to the target application program so that the target application program can display the target electric quantity information on a terminal display screen. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, the target electric quantity information acquired by the wireless earphone is displayed through the terminal display screen, for example, the charging box of the wireless earphone is uncovered, and the electric quantity information of the earphone and the charging box is displayed on the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Optionally, before the wireless headset according to the embodiment of the present application sends the control instruction to the terminal system, the method further includes: and establishing a first communication connection with the terminal system, and further sending a control instruction to the terminal system based on the first communication connection. Specifically, if an earphone starting event is detected, it indicates that the wireless earphone is started to move, and after the wireless earphone is started, a first communication connection with a terminal system of the mobile terminal needs to be established first. When the wireless headset is a bluetooth headset, the first communication connection may be a communication connection based on a bluetooth protocol, i.e. a bluetooth communication connection. The connection establishment procedure may be: the first Bluetooth connection between the earphone and the terminal system needs manual matching of a user, and the wireless earphone can automatically search for matching after being started as long as the Bluetooth function of the mobile terminal is started subsequently, so that the Bluetooth connection between the wireless earphone and the terminal system is established. The first communication connection may be established based on other communication protocols besides the bluetooth communication connection, which is not limited in this embodiment. After the wireless earphone is started, the first communication connection with the terminal system is established first, an interaction channel between the wireless earphone and the terminal system is opened, and a foundation is laid for sending a control instruction, starting a target application program, establishing connection with the target application program and displaying electric quantity information on a display screen of the terminal.
Fig. 2 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure. The present embodiment is further optimized based on the above embodiments, and a specific description is given to a specific case where a control instruction is sent to a terminal system if an earphone starting event is detected. As shown in fig. 2, the method specifically includes:
s201, if an earphone starting event is detected and the target application program is configured with a voice assistant starting authority, sending a control instruction to the terminal system so that the terminal system responds to the control instruction to start the target application program.
Optionally, in this embodiment of the application, the control instruction sent by the wireless headset to the terminal system is generated based on a voice command of a bluetooth protocol. I.e. the control command is a voice control command. When the terminal system starts the target application program in response to the control instruction, the voice assistant in the mobile terminal is needed to start the target application program. That is, the target application needs to be pre-configured with the voice assistant launching rights, i.e., the rights that the target application can be launched by the voice assistant. Therefore, in this step, after the wireless headset detects the headset start event, it is further determined whether the target application program is configured with the voice assistant start authority, and if so, the wireless headset may execute sending a control instruction to the terminal system to instruct the terminal system to respond to the control instruction, and start the target application program through the voice assistant.
Optionally, the target application may notify the wireless headset of the set configuration information after setting the configuration information (i.e., whether the target application is authorized to be started by the voice assistant), and the wireless headset may store the configuration information in the local firmware, so as to facilitate checking whether the target application in the connected mobile terminal is configured with the voice assistant start authority after subsequently detecting the headset start event.
S202, acquiring the target electric quantity information, and sending the target electric quantity information to the target application program so that the target application program can display the target electric quantity information on a display screen of the terminal.
According to the technical scheme, when the wireless earphone detects an earphone starting event and a target application program is configured with a voice assistant starting right, a control instruction is sent to the terminal system, so that the terminal system responds to the control instruction to start the target application program, and after the target application program is started, the wireless earphone obtains target electric quantity information and sends the target electric quantity information to the target application program, so that the target application program displays the target electric quantity information sent by the wireless earphone on a terminal display screen. According to the scheme of the embodiment of the application, the control instruction is sent to the terminal system only on the premise that the wireless earphone is started and the target application program is configured with the voice assistant starting permission, the terminal system can normally respond to the control instruction to start the target application program, and the guarantee is provided for displaying the electric quantity information of the wireless earphone through the terminal display screen after the wireless earphone is started.
Fig. 3A is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure; fig. 3B is a schematic diagram illustrating an effect of displaying power information on a display screen of a terminal according to an embodiment of the application. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. The embodiment can be executed by a power display device of a wireless headset, the device can be realized by software and/or hardware, and the device can be configured in a mobile terminal with a power display function of the wireless headset, and particularly can be configured in a target application program in the mobile terminal and executed by the target application program. As shown in fig. 3A-3B, the method includes:
and S301, responding to the starting instruction.
Optionally, the start instruction in this embodiment of the application is generated by the terminal system in response to the control instruction; the control command is sent by the wireless headset to the terminal system when the headset start event is detected. Specifically, after detecting an earphone starting event, the wireless earphone sends a control instruction to the terminal system, the terminal system receives and responds to the control instruction, a starting instruction for controlling the starting of the target application program is generated and sent to the target application program, and the target application program responds to the starting instruction to complete the starting operation of the target application program.
And S302, acquiring target electric quantity information sent by the wireless earphone.
Optionally, when the target application program in this step acquires the target electric quantity information sent by the wireless headset, after the target application program is started, the target application program actively sends an electric quantity acquisition request to the wireless headset to request to acquire the target electric quantity information from the wireless headset; and the wireless headset can be passively waited for receiving the target power information sent by the wireless headset. Optionally, the target power information acquired by the target application program at least includes the headset power information, and may also include the charging box power information. The preferred target electric quantity information of the embodiment comprises earphone electric quantity information and charging box electric quantity information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information, so that a user can comprehensively and visually know each monaural of the wireless earphone and the residual electric quantity of the charging box after the wireless earphone is started.
Optionally, the target application needs to establish a communication connection between the wireless headsets to acquire the target power information sent by the wireless headsets. Therefore, before executing this step, the target application further includes: if the terminal system is detected to be connected with the wireless earphone, establishing second communication connection with the wireless earphone; further, when executing this step, the target power information sent by the wireless headset may be acquired based on the second communication connection. Specifically, the method comprises the following steps: the target application program may detect whether the wireless headset is connected to the terminal system after being started, and if the wireless headset is detected to be connected, the target application program may automatically establish a second communication connection with the wireless headset based on the relevant communication protocol. For example, if the wireless headset is a TWS headset, the target application automatically establishes a second communication connection, i.e., a bluetooth communication connection, with the TWS headset based on the TWS bluetooth protocol after detecting that the TWS headset establishes a bluetooth connection with the mobile terminal. Optionally, after the target application establishes the second communication connection with the wireless headset, the target application informs the wireless headset that the second communication connection has been established through a communication connection signal (e.g., DMA signal) based on a related communication protocol (e.g., TWS bluetooth protocol). After the second communication connection is established, the wireless headset can send the target electric quantity information to the target application program based on the second communication connection, and then the target application program can obtain the target electric quantity information sent by the wireless headset based on the second communication connection. After the target application program is started, the second communication connection with the wireless earphone is established first, an interaction channel between the wireless earphone and the target application program is opened, and a foundation is laid for sending target electric quantity information and displaying the electric quantity information on a display screen of the terminal subsequently.
And S303, displaying the target electric quantity information on a display screen of the terminal.
Optionally, after the target application program acquires the target electric quantity information, in order to enable a user to visually check the electric quantity condition of the wireless headset (or the wireless headset and the charging box), the acquired target electric quantity information can be displayed on a display screen of the terminal. Specifically, the target application program may add the electric quantity information display area in a target application program interface (such as a home page recommendation interface, an equipment connection interface, a user home page, and the like), and then load the target application program interface added with the electric quantity information display area on a terminal display screen for display. The target application program can also generate an electric quantity information prompt box first, and the electric quantity information prompt box is directly loaded on a terminal display screen for display and the like.
Optionally, when the target power information is displayed in the form of a power information prompt box, the step may be: generating an electric quantity information prompt box according to the target electric quantity information; and displaying the electric quantity information prompt box on a terminal display screen. Specifically, the remaining power value (e.g., the remaining milliamp power value or the remaining percentage power value) and/or the power state (e.g., whether the power is sufficient) of the wireless headset (or the wireless headset and the charging box) may be determined according to the target power information. And then rendering the determined residual electric quantity value and/or electric quantity state into a preset prompt box template, generating an electric quantity information prompt box, and displaying the electric quantity information prompt box in a terminal display screen. For example, as shown in fig. 3B, the display effect is that the power information prompt box 31 in the figure includes the device name of the wireless headset, icons of the left and right earphones and the charging box, the power value, and the power status. Optionally, if the target electric quantity information is a specific residual electric quantity value and/or electric quantity state analyzed and processed by the wireless headset, the target application program may directly obtain the residual electric quantity value and/or electric quantity state from the target electric quantity information at this time; if the target electric quantity information is unprocessed initial electric quantity data, the target application program is required to perform electric quantity value conversion, electric quantity sufficiency and other analysis processing on the target electric quantity information in the step, and the electric quantity value and/or the electric quantity state to be displayed are/is determined.
Optionally, when the target power information is displayed in a target application program interface manner, the step may be: and generating a target application program interface containing the electric quantity information according to the target electric quantity information, and displaying the target application program interface on a display screen of the terminal. The manner of generating the target application program interface containing the electric quantity information is similar to the manner of generating the electric quantity information prompt box, and is not described herein again.
It should be noted that, in the embodiment of the present application, the target power information is preferably displayed in the form of the power information prompt box, and thus, the advantage of the setting is that no matter whether the target application program runs in the foreground or in the background, the power information of the wireless headset can be visually displayed on the display screen of the terminal. When the target application program runs in the background, the target application program does not need to be called to the foreground for starting, and the display of the current page content of the display screen of the user terminal is not influenced.
Optionally, the wireless headset of the embodiment of the present application is a real wireless stereo TWS headset; the control instructions to start the target application are generated based on voice commands of the bluetooth protocol.
According to the technical scheme of the embodiment of the application, after the target application program responds to the starting instruction, the target electric quantity information sent by the wireless earphone is obtained and displayed on the display screen of the terminal. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, and the target application program displays the electric quantity information of the wireless earphone through the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Fig. 4A is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure; fig. 4B is a schematic diagram of an application permission setting interface provided according to an embodiment of the present application. On the basis of the above embodiments, the present embodiment performs further optimization, and gives a description of a specific situation of an application program permission setting process. As shown in fig. 4A-4B, the method specifically includes:
s401, configuring a voice assistant starting authority.
Optionally, the configuration of the voice assistant starting permission in the embodiment of the present application may be configured in a setting function interface of the target application program or a permission prompt box. Specifically, the target application program jumps to a function setting interface, or generates an authority permission prompt box to be displayed on a terminal display screen so as to guide the user to configure. When the voice assistant starting authority is configured, the target application program is indicated to be allowed to be opened by using the voice assistant, so that the terminal system can respond to the control instruction (namely the voice control instruction) generated by the wireless ear voice command based on the Bluetooth protocol and call the voice assistant to open the target application program. Optionally, in this embodiment of the present application, the target application may also use a similar configuration manner, except that configuring the voice assistant start permission, to guide the user to configure a function permission for the headset to start displaying the electric quantity, and after the function permission is started, the related operations of this embodiment of the present application may be executed, so as to implement a scheme that after the wireless headset is started, the electric quantity information of the wireless headset is displayed through the terminal display screen.
For example, as shown in fig. 4B, when the target application is started for the first time or when a preset number of times of starting is met (e.g., second time starting), a permission configuration prompt box 41 that the left side of fig. 4B is uncovered to display the electric quantity of the headset is displayed on the display screen of the terminal, where the prompt box indicates the function of the permission in the form of characters and images, and if the user clicks a "try me" icon in the figure, the function permission that the target application configures the headset to start to display the electric quantity is completed. After the function permission is configured, the target application program displays a permission configuration prompt box 42 of the voice assistant starting on the right side of the figure 4B on a terminal display screen, and if the user clicks 'only once' in the figure, the target application program can only realize a scheme that the wireless earphone and the charging box display the electric quantity after the wireless earphone is opened once. If the user clicks the 'always' in the figure, the scheme of displaying the electric quantity of the wireless earphone and the charging box on the mobile phone every time the wireless earphone is opened is achieved.
S402, responding to the starting instruction.
The starting instruction is generated by the terminal system in response to the control instruction; the control command is sent by the wireless headset to the terminal system when the headset start event is detected.
And S403, acquiring the target electric quantity information sent by the wireless earphone.
And S404, displaying the target electric quantity information on a display screen of the terminal.
According to the technical scheme of the embodiment of the application, the target application program configures the voice assistant starting permission first, then responds to the starting instruction, acquires the target electric quantity information sent by the wireless earphone, and displays the target electric quantity information on the terminal display screen. According to the scheme of the embodiment of the application, the target application program needs to be configured with the voice assistant starting permission firstly to ensure that the terminal system can normally respond to the control instruction, and the voice assistant is called to start the target application program, so that a foundation is laid for displaying the electric quantity information of the wireless earphone through the terminal display screen after the wireless earphone is started subsequently.
Fig. 5 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. The embodiment can be executed by a power display device of a wireless headset, the device can be implemented by software and/or hardware, and the device can be configured in a mobile terminal with a power display function of the wireless headset, and particularly can be configured in a terminal system of the mobile terminal and executed by the terminal system of the mobile terminal. As illustrated in fig. 5, the method includes:
s501, a control instruction sent by the wireless earphone is obtained.
Optionally, the control instruction of the embodiment of the present application is sent by the wireless headset when the headset start event is detected. Specifically, when the wireless headset detects a headset start time event, a first communication connection with the terminal system is established first, and then a control instruction is sent to the terminal system based on the first communication connection.
And S502, responding to the control instruction, starting the target application program so that the target application program can acquire and display the target electric quantity information sent by the wireless earphone on the display screen of the terminal.
Optionally, after receiving the control instruction, the terminal system responds to the control instruction to start the target application program. Optionally, the terminal system starts the target application program, where the target application program is called to start in the background, or the target application program is called to start in the foreground.
Optionally, if the control instruction received by the terminal system is generated based on a voice command of a bluetooth protocol, and the target application program has configured the voice assistant start permission, the terminal system in this step may start the target application program according to the voice assistant start permission configured by the target application program, in response to the control instruction. Specifically, the terminal system may invoke the voice assistant to start the target application program in response to the voice control instruction.
According to the technical scheme, the terminal system acquires the control instruction sent by the wireless earphone after being started, responds to the control instruction, starts the target application program, so that the target application program can acquire the target electric quantity information sent by the wireless earphone after being started, and the target electric quantity information is displayed on a display screen of the terminal. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, and the target application program displays the electric quantity information of the wireless earphone through the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Fig. 6 is a signaling diagram of a power display method of a wireless headset according to an embodiment of the present application. On the basis of the above embodiments, the present embodiment further optimizes the wireless headset, and provides a specific description of the process of interactively implementing the power display of the wireless headset at three ends of the wireless headset, the target application program and the terminal system. As shown in fig. 6, the method specifically includes:
s601, configuring a function authority of earphone starting and displaying electric quantity and a voice assistant starting authority by the target application program.
Optionally, the target application may be an application permission setting interface shown in fig. 4B displayed on a display screen of the terminal to guide the user to configure the function permission for the headset to start displaying the electric quantity and the voice assistant start permission. If the user selects to open the two permissions, the user may perform the following operations of the embodiment of the present application.
S602, if the wireless earphone detects an earphone starting event, a first communication connection with the terminal system is established.
Optionally, if the wireless headset is a TWS headset, the step may be that the TWS headset establishes a first communication connection, that is, a bluetooth communication connection, with the terminal system when detecting a lid opening operation of a charging box carrying the TWS headset.
And S603, the wireless earphone sends a control instruction to the terminal system based on the first communication connection.
Optionally, the control instruction generates a voice control instruction based on a voice command of a bluetooth protocol.
And S604, the terminal system acquires the control instruction sent by the wireless earphone.
And S605, the terminal system responds to the control instruction according to the voice assistant starting authority configured by the target application program, and starts the target application program.
And S606, after the target application program starts the instruction, if the terminal system is detected to be connected with the wireless earphone, establishing second communication connection with the wireless earphone.
And S607, the wireless earphone acquires the target electric quantity information.
Optionally, the target electric quantity information includes: earphone electric quantity information and charging box electric quantity information; the earphone power information includes left ear power information and right ear power information.
And S608, the wireless headset sends the target electric quantity information to the target application program based on the second communication connection.
And S609, the target application program acquires the target electric quantity information sent by the wireless earphone based on the second communication connection.
And S610, the target application program displays the target electric quantity information on a display screen of the terminal.
Optionally, the target application program in this step may generate an electric quantity information prompt box according to the target electric quantity information; and then displaying the electric quantity information prompt box on a terminal display screen. The display effect is shown in fig. 3B.
According to the technical scheme, the target electric quantity information acquired by the wireless earphone is displayed through the terminal display screen after the wireless earphone is started through mutual interaction of the three ends of the wireless earphone, the target application program and the terminal system, for example, the charging box of the wireless earphone is opened, namely, the electric quantity information of the earphone and the charging box is displayed on the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly.
It should be noted that some wireless headsets developed by existing mobile terminal manufacturers can display power information on the mobile terminal, but the wireless headsets and the mobile terminal are required to be developed by the same manufacturer on the premise that the manufacturer configures a relevant chip in the wireless headset when developing the mobile terminal and the wireless headset, and the function of displaying the power of the wireless headset by the mobile terminal is realized through the chip. However, for the wireless headset and the mobile terminal developed by different manufacturers, the method establishes communication connection between the wireless headset and the mobile terminal immediately, and cannot display the power of the wireless headset in the mobile terminal. That is to say, for a wireless earphone, the function of displaying the power information is not suitable for different manufacturers and different models of mobile terminal devices, and the compatibility is poor. According to the scheme of the embodiment of the application, as for the mobile terminal of any model produced by any manufacturer, the target electric quantity information sent by the wireless earphone can be displayed on the display screen of the terminal as long as the target application program of the embodiment of the application is downloaded and installed, and the compatibility is better.
Fig. 7 is a schematic structural diagram of a power display device of a wireless headset according to an embodiment of the present disclosure. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. The device can realize the electric quantity display method of the wireless earphone in any embodiment of the application. The apparatus may be integrated in a wireless headset, and the apparatus 700 specifically includes:
a control instruction sending module 701, configured to send a control instruction to a terminal system if an earphone starting event is detected, so that the terminal system starts a target application program in response to the control instruction;
an electric quantity information obtaining module 702, configured to obtain target electric quantity information;
the electric quantity information sending module 703 is configured to send the target electric quantity information to the target application program, so that the target application program displays the target electric quantity information on a terminal display screen.
According to the technical scheme, after the wireless earphone detects the earphone starting event, the wireless earphone sends a control instruction to the terminal system so that the terminal system responds to the control instruction to start the target application program, and after the target application program is started, the wireless earphone can acquire target electric quantity information, namely the earphone electric quantity information (or the earphone electric quantity information and the charging box electric quantity information) is sent to the target application program so that the target application program can display the target electric quantity information on a terminal display screen. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, the target electric quantity information acquired by the wireless earphone is displayed through the terminal display screen, for example, the charging box of the wireless earphone is uncovered, and the electric quantity information of the earphone and the charging box is displayed on the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Further, the apparatus further comprises: an earphone start detection module that detects an earphone start event;
the earphone starting detection module is used for detecting the uncovering operation of a charging box bearing the wireless earphone
Further, the control instruction sending module 701 is specifically configured to:
and if the earphone starting event is detected and the target application program is configured with the voice assistant starting authority, sending a control instruction to the terminal system.
Further, the apparatus further comprises:
the first communication connection module is used for establishing first communication connection with the terminal system;
correspondingly, the control instruction sending module 701 is specifically configured to:
and sending a control instruction to the terminal system based on the first communication connection.
Further, the target electric quantity information includes: earphone electric quantity information and charging box electric quantity information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
Further, the wireless headset is a real wireless stereo TWS headset; the control instructions are generated based on voice commands of the bluetooth protocol.
Fig. 8 is a schematic structural diagram of a power display device of a wireless headset according to an embodiment of the present disclosure. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. The device can realize the electric quantity display method of the wireless earphone in any embodiment of the application. The apparatus may be integrated in a mobile terminal having a wireless headset power display function, and specifically integrated in a target application program in the mobile terminal, where the apparatus 800 specifically includes:
a start instruction response module 801 for responding to a start instruction; the starting instruction is generated by the terminal system in response to the control instruction; the control instruction is sent to the terminal system by the wireless earphone when an earphone starting event is detected;
a power information receiving module 802, configured to obtain target power information sent by the wireless headset;
and the electric quantity information display module 803 is used for displaying the target electric quantity information on a terminal display screen.
According to the technical scheme of the embodiment of the application, after the target application program responds to the starting instruction, the target electric quantity information sent by the wireless earphone is obtained and displayed on the display screen of the terminal. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, and the target application program displays the electric quantity information of the wireless earphone through the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Further, the apparatus further comprises:
the second communication connection module is used for establishing second communication connection with the wireless earphone if the terminal system is detected to be connected with the wireless earphone;
correspondingly, the electric quantity information receiving module 802 is specifically configured to:
and acquiring target electric quantity information sent by the wireless earphone based on the second communication connection.
Further, the electric quantity information display module 803 is specifically configured to:
generating an electric quantity information prompt box according to the target electric quantity information;
and displaying the electric quantity information prompt box on the terminal display screen.
Further, the apparatus further comprises: and the authority configuration module is used for configuring the starting authority of the voice assistant.
Further, the target electric quantity information comprises earphone electric quantity information and charging box electric quantity information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
Further, the wireless headset is a real wireless stereo TWS headset; the control instructions are generated based on voice commands of the bluetooth protocol.
Fig. 9 is a schematic structural diagram of a power display device of a wireless headset according to an embodiment of the present disclosure. The embodiment of the application is suitable for the condition that the electric quantity information of the wireless earphone is displayed to a user on a terminal display screen; the wireless earphone power display method is particularly suitable for the condition that the wireless earphone power information is displayed to a user on a terminal display screen when the wireless earphone is started. The device can realize the electric quantity display method of the wireless earphone in any embodiment of the application. The apparatus may be integrated in a mobile terminal having a wireless headset power display function, and specifically integrated in a terminal system of the mobile terminal, where the apparatus 900 specifically includes:
a control instruction receiving module 901, configured to obtain a control instruction sent by a wireless headset, where the control instruction is sent by the wireless headset when an earphone starting event is detected;
an application program starting module 902, configured to start a target application program in response to the control instruction, so that the target application program obtains and displays the target electric quantity information sent by the wireless headset on a terminal display screen.
According to the technical scheme, the terminal system acquires the control instruction sent by the wireless earphone after being started, responds to the control instruction, starts the target application program, so that the target application program can acquire the target electric quantity information sent by the wireless earphone after being started, and the target electric quantity information is displayed on a display screen of the terminal. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, and the target application program displays the electric quantity information of the wireless earphone through the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
Further, the application start module 902 is specifically configured to:
and responding to the control instruction to start the target application program according to the voice assistant starting permission configured by the target application program.
Further, the wireless headset is a real wireless stereo TWS headset; the control instructions are generated based on voice commands of the bluetooth protocol.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 10 is a block diagram of an electronic device according to an embodiment of the present application, illustrating a power display method of a wireless headset. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, wireless headsets, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 10, the electronic apparatus includes: one or more processors 1001, memory 1002, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 10 illustrates an example of one processor 1001.
The memory 1002 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the power display method of the wireless headset provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the power display method of the wireless headset provided by the present application.
The memory 1002 is a non-transitory computer-readable storage medium, and can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the power display method of the wireless headset in the embodiment of the present application (for example, the control instruction sending module 701, the power information acquiring module 702, and the power information sending module 703 shown in fig. 7, or the activation instruction responding module 801, the power information receiving module 802, and the power information presenting module 803 shown in fig. 8, or the control instruction receiving module 901 and the application program activating module 902 shown in fig. 9). The processor 1001 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 1002, that is, implements the power display method of the wireless headset in the above method embodiment.
The memory 1002 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device of the power display method of the wireless headset, and the like. Further, the memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1002 may optionally include memory located remotely from the processor 1001, which may be connected to the electronic device of the power display method of the wireless headset 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 electronic device of the power display method of the wireless headset may further include: an input device 1003 and an output device 1004. The processor 1001, the memory 1002, the input device 1003, and the output device 1004 may be connected by a bus or other means, and the bus connection is exemplified in fig. 10.
The input device 1003 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus of the power display method of the wireless headset, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 1004 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
According to the technical scheme of the embodiment of the application, after the wireless earphone detects the earphone starting event, the wireless earphone sends a control instruction to the terminal system so that the terminal system responds to the control instruction to start the target application program, and after the target application program is started, the wireless earphone can acquire target electric quantity information, namely the earphone electric quantity information (or the earphone electric quantity information and the charging box electric quantity information are sent) to the target application program so that the target application program can display the target electric quantity information on a terminal display screen. According to the scheme of the embodiment of the application, for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, the wireless earphone can be started through the cooperation of the wireless earphone, the terminal system and the target application program, the target electric quantity information acquired by the wireless earphone is displayed through the terminal display screen, for example, the charging box of the wireless earphone is uncovered, and the electric quantity information of the earphone and the charging box is displayed on the terminal display screen. Before helping the user to use the earphone, the electric quantity information of wireless earphone and charging box is known directly perceivedly. A new idea is provided for the power display of the wireless earphone.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (22)

1. A power display method of a wireless earphone is applied to the wireless earphone, and the method comprises the following steps:
establishing a first communication connection with a terminal system;
if an earphone starting event is detected and a target application program is configured with a voice assistant starting authority, sending a control instruction to the terminal system based on the first communication connection so that the terminal system responds to the control instruction and starts the target application program; wherein the control instruction is generated based on a voice command of a Bluetooth protocol;
acquiring target electric quantity information, and sending the target electric quantity information to the target application program based on second communication connection so that the target application program displays the target electric quantity information on a terminal display screen; the second communication connection is established between the target application program and the wireless earphone when the target application program detects that the terminal system is connected with the wireless earphone after being started;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
2. The method of claim 1, wherein detecting a headset activation event comprises:
an uncapping operation of a charging box carrying the wireless headset is detected.
3. The method of any of claims 1-2, wherein the target charge information comprises: earphone electric quantity information and charging box electric quantity information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
4. The method according to any of claims 1-2, wherein the wireless headset is a true wireless stereo, TWS, headset.
5. A power display method of a wireless headset is applied to a target application program, and the method comprises the following steps:
configuring voice assistant starting authority;
responding to the starting instruction; the starting instruction is generated by the terminal system in response to the control instruction; the control instruction is sent to the terminal system by the wireless headset based on a first communication connection when a headset starting event is detected; wherein the first communication connection is a communication connection with the terminal system that is pre-established by the wireless headset; the control instruction is generated based on a voice command of a Bluetooth protocol;
if the terminal system is detected to be connected with the wireless earphone, establishing second communication connection with the wireless earphone;
acquiring target electric quantity information sent by the wireless earphone based on second communication connection;
displaying the target electric quantity information on a terminal display screen;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
6. The method of claim 5, wherein presenting the target charge information on a terminal display screen comprises:
generating an electric quantity information prompt box according to the target electric quantity information;
and displaying the electric quantity information prompt box on the terminal display screen.
7. The method of any of claims 5-6, wherein the target charge information includes headset charge information and charge cartridge charge information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
8. The method according to any of claims 5-6, wherein the wireless headset is a true wireless stereo TWS headset.
9. A power display method of a wireless earphone is applied to a terminal system, and the method comprises the following steps:
acquiring a control instruction sent by the wireless earphone based on the first communication connection, wherein the control instruction is sent by the wireless earphone when an earphone starting event is detected; wherein the first communication connection is a communication connection with a terminal system which is pre-established by the wireless headset; the control instruction is generated based on a voice command of a Bluetooth protocol;
responding to the control instruction according to the voice assistant starting permission configured by the target application program, starting the target application program so that the target application program obtains target electric quantity information sent by the wireless earphone based on second communication connection, and displaying the target electric quantity information on a terminal display screen; the second communication connection is established between the target application program and the wireless earphone when the target application program detects that the terminal system is connected with the wireless earphone after being started;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
10. The method of claim 9, wherein the wireless headset is a true wireless stereo TWS headset.
11. A power display device of a wireless headset, integrated in the wireless headset, the device comprising:
the first communication connection module is used for establishing first communication connection with the terminal system;
the control instruction sending module is used for sending a control instruction to a terminal system based on the first communication connection if an earphone starting event is detected and a target application program is configured with a voice assistant starting authority so that the terminal system responds to the control instruction to start the target application program; wherein the control instruction is generated based on a voice command of a Bluetooth protocol;
the electric quantity information acquisition module is used for acquiring target electric quantity information;
the electric quantity information sending module is used for sending the target electric quantity information to the target application program based on second communication connection so that the target application program can display the target electric quantity information on a terminal display screen; the second communication connection is established between the target application program and the wireless earphone when the target application program detects that the terminal system is connected with the wireless earphone after being started;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
12. The apparatus of claim 11, further comprising: an earphone start detection module that detects an earphone start event;
the earphone starting detection module is used for detecting the uncovering operation of a charging box bearing the wireless earphone.
13. The apparatus of any of claims 11-12, wherein the target charge information comprises: earphone electric quantity information and charging box electric quantity information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
14. The apparatus according to any of claims 11-12, wherein the wireless headset is a true wireless stereo, TWS, headset.
15. A power display device for a wireless headset integrated into a target application, the device comprising:
the authority configuration module is used for configuring the starting authority of the voice assistant;
the starting instruction response module responds to a starting instruction; the starting instruction is generated by the terminal system in response to the control instruction; the control instruction is sent to the terminal system by the wireless headset based on a first communication connection when a headset starting event is detected; wherein the first communication connection is a communication connection with the terminal system that is pre-established by the wireless headset; the control instruction is generated based on a voice command of a Bluetooth protocol;
the second communication connection module is used for establishing second communication connection with the wireless earphone if the terminal system is detected to be connected with the wireless earphone;
the electric quantity information receiving module is used for acquiring target electric quantity information sent by the wireless earphone based on the second communication connection;
the electric quantity information display module is used for displaying the target electric quantity information on a terminal display screen;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
16. The device of claim 15, wherein the power information display module is specifically configured to:
generating an electric quantity information prompt box according to the target electric quantity information;
and displaying the electric quantity information prompt box on the terminal display screen.
17. The apparatus of any of claims 15-16, wherein the target charge information includes headset charge information and charge cartridge charge information; the earphone electric quantity information comprises left ear electric quantity information and right ear electric quantity information.
18. The apparatus according to any of claims 15-16, wherein the wireless headset is a true wireless stereo, TWS, headset.
19. A power display device of a wireless headset, which is integrated in a terminal system, the device comprising:
the control instruction receiving module is used for acquiring a control instruction sent by the wireless earphone based on the first communication connection, wherein the control instruction is sent by the wireless earphone when the earphone starting event is detected; wherein the first communication connection is a communication connection with a terminal system which is pre-established by the wireless headset; the control instruction is generated based on a voice command of a Bluetooth protocol;
the application program starting module is used for responding to the control instruction according to the voice assistant starting permission configured by the target application program, starting the target application program so that the target application program can acquire target electric quantity information sent by the wireless earphone based on second communication connection and display the target electric quantity information on a terminal display screen; the second communication connection is established between the target application program and the wireless earphone when the target application program detects that the terminal system is connected with the wireless earphone after being started;
the terminal system is an operating system of the mobile terminal, and the target application program is an application program installed in the mobile terminal.
20. The apparatus of claim 19, wherein the wireless headset is a true wireless stereo TWS headset.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of displaying a power level of a wireless headset of any one of claims 1-4, 5-8, or 9-10.
22. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the power display method of the wireless headset of any one of claims 1-4, 5-8, or 9-10.
CN202010681967.6A 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone Active CN111866278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010681967.6A CN111866278B (en) 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010681967.6A CN111866278B (en) 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone

Publications (2)

Publication Number Publication Date
CN111866278A CN111866278A (en) 2020-10-30
CN111866278B true CN111866278B (en) 2022-04-05

Family

ID=72983076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010681967.6A Active CN111866278B (en) 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone

Country Status (1)

Country Link
CN (1) CN111866278B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844133A (en) * 2021-02-02 2022-08-02 深圳市乔威电源有限公司 Can be with storehouse of charging that shows bluetooth headset electric quantity

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107591152A (en) * 2017-08-30 2018-01-16 百度在线网络技术(北京)有限公司 Sound control method, device and its equipment based on earphone
JP3224324U (en) * 2019-09-27 2019-12-12 深▲せん▼南辰科技有限公司 Binaural bluetooth horn storage case

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073577B (en) * 2011-01-17 2013-01-09 惠州Tcl移动通信有限公司 System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof
CN113225693B (en) * 2019-04-18 2022-04-15 华为技术有限公司 Bluetooth connection method, equipment and system
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107591152A (en) * 2017-08-30 2018-01-16 百度在线网络技术(北京)有限公司 Sound control method, device and its equipment based on earphone
JP3224324U (en) * 2019-09-27 2019-12-12 深▲せん▼南辰科技有限公司 Binaural bluetooth horn storage case

Also Published As

Publication number Publication date
CN111866278A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN106445448B (en) Audio device control method and system of terminal and mobile terminal
CN112947823A (en) Session processing method, device, equipment and storage medium
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
RU2641949C2 (en) Method and device for controlling smart device
EP2930898A1 (en) Method for sharing file and handheld device
US11140534B2 (en) Non-intrusive proximity based advertising and message delivery
CN113365106A (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN112328318B (en) Method, device and storage medium for automatic planning of proprietary cloud platform
CN112597051A (en) Method and device for obtaining test result, electronic equipment and storage medium
CN107548083B (en) Wireless access point function test method and device
KR101712762B1 (en) Method and device for loading theme application
US10225141B2 (en) Application hierarchy specification with real-time functional selection
CN111866277A (en) Electric quantity display method, device, equipment and storage medium of wireless earphone
WO2022227859A1 (en) Information display method and apparatus, device and storage medium
CN111866278B (en) Electric quantity display method, device, equipment and storage medium of wireless earphone
CN109684112B (en) Program file operation method, device, terminal and storage medium
CN113377664A (en) Model testing method and device, electronic device and storage medium
CN111881005B (en) Information display method, device, equipment and storage medium
CN103902688A (en) File operation synchronizing method and device
US11595080B2 (en) Network distribution method and apparatus, and electronic device
CN110865823A (en) Pre-installed application control method, pre-installed application control device and storage medium
CN113617020B (en) Game control method, game control device, storage medium, server and terminal
KR102254821B1 (en) A system for providing dialog contents
CN112650686A (en) Method and device for obtaining test result, electronic equipment and storage medium
US20150163841A1 (en) Method for processing information and electronic apparatus

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
TA01 Transfer of patent application right

Effective date of registration: 20210512

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant