CN111866277A - 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
CN111866277A
CN111866277A CN202010681964.2A CN202010681964A CN111866277A CN 111866277 A CN111866277 A CN 111866277A CN 202010681964 A CN202010681964 A CN 202010681964A CN 111866277 A CN111866277 A CN 111866277A
Authority
CN
China
Prior art keywords
electric quantity
information
wireless
quantity information
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.)
Pending
Application number
CN202010681964.2A
Other languages
Chinese (zh)
Inventor
董昊
郑超群
邢仁泰
张国旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010681964.2A priority Critical patent/CN111866277A/en
Publication of CN111866277A publication Critical patent/CN111866277A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging

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 mobile terminal is detected to be connected with the wireless earphone, establishing a first communication connection with the wireless earphone; acquiring target electric quantity information sent by the wireless earphone based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information; and displaying the target electric quantity information in an application program interface. The electric quantity information of the wireless earphone is displayed on the application program interface of the mobile terminal, 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 real-time electric quantity of the wireless earphone, and improvement is needed urgently.
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, the method including:
if the mobile terminal is detected to be connected with the wireless earphone, establishing a first communication connection with the wireless earphone;
acquiring target electric quantity information sent by the wireless earphone based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
and displaying the target electric quantity information in an application program interface.
According to another aspect of the present disclosure, there is provided a power display method of a wireless headset, the method including:
Acquiring target electric quantity information in the process of keeping first communication connection between the wireless earphone and an application program in the mobile terminal; the target electric quantity information at least comprises earphone electric quantity information;
and sending the target electric quantity information to the application program based on the first communication connection so as to display the target electric quantity information in an application program interface.
According to another aspect of the present disclosure, there is provided a power display device of a wireless headset, the device including:
the first communication connection module is used for establishing first communication connection with the wireless earphone if the mobile terminal is detected to be connected with the wireless earphone;
the first electric quantity obtaining module is used for obtaining target electric quantity information sent by the wireless earphone based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
and the electric quantity information display module is used for displaying the target electric quantity information in an application program interface.
According to another aspect of the present disclosure, there is provided a power display device of a wireless headset, the device including:
the second electric quantity obtaining module is used for obtaining target electric quantity information in the process that the wireless earphone keeps first communication connection with an application program in the mobile terminal; the target electric quantity information at least comprises earphone electric quantity information;
And the electric quantity information sending module is used for sending the target electric quantity information to the application program based on the first communication connection so as to display the target electric quantity information in an application program interface.
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, the electric quantity information of the wireless earphone can be displayed on the application program interface of the mobile terminal, 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 diagram illustrating an effect of a power display pattern according to an embodiment of the present disclosure;
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 illustrating an effect of displaying power of a wireless headset on an application program interface according to an embodiment of the present disclosure;
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 flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
fig. 7 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a 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.
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 displaying the electric quantity information of the wireless earphone on the mobile terminal. The embodiment can be executed by a power display device of the 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 an application program in the mobile terminal. As illustrated in fig. 1, the method comprises:
S101, if the mobile terminal is detected to be connected with the wireless earphone, a first communication connection is established with the wireless earphone.
The wireless headset in the embodiment of the present application may be any headset that can be in communication connection with the mobile terminal without a wire, such as a bluetooth headset that can be in bluetooth connection with the mobile terminal. Preferably, the wireless headset may be a true wireless stereo TWS headset. The mobile terminal in the embodiment of the present application may be any terminal capable of wirelessly connecting with a wireless headset, and for example, may include but is not limited to: smart phones, tablet computers, notebook computers, and the like. The application program in the mobile terminal in the embodiment of the application can be the application program downloaded and installed in the mobile terminal, and the application program can be the application program matched with the wireless earphone, and the wireless earphone is matched with the application program to provide services such as music playing, broadcasting, translation and electric quantity checking for a user.
Optionally, when the user uses the wireless headset, the wireless headset needs to be connected with the mobile terminal first, for example, if the wireless headset is a TWS headset, the first bluetooth connection between the TWS headset and the mobile terminal needs to be matched manually by the user, and subsequently, as long as the bluetooth function of the mobile terminal is turned on, the wireless headset automatically searches for a match after being turned on, and establishes a bluetooth connection with the mobile terminal. After the application program installed in the mobile terminal is started, whether the mobile terminal is connected with the wireless earphone or not is detected, and if the connection of the wireless earphone is detected, the application program automatically establishes first communication connection with the wireless earphone based on a related communication protocol. For example, if the wireless headset is a TWS headset, the application program automatically establishes a first 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 application establishes the first communication connection with the wireless headset, the wireless headset is informed based on a related communication protocol (e.g., TWS bluetooth protocol), and the two have already established the first communication connection.
And S102, acquiring target electric quantity information sent by the wireless earphone based on the first communication connection.
In this embodiment of the application, the target power information may be power information to be displayed, which is sent to the application program by the wireless headset through the first communication connection. Optionally, the target power information at least includes headset power information of the wireless headset itself. If the left ear and the right ear of the wireless earphone are independently designed, the electric quantity information of the earphone at the moment can be the electric quantity information of the left ear and/or the right ear; if the left ear and the right ear of the wireless headset are designed as a whole, such as a headset type design, the electric quantity information at this time can be the whole electric quantity information of the wireless headset. Optionally, in order to enable a user to intuitively know the remaining power in the charging box of the wireless headset, the target power information in the embodiment of the present application may further include: the charging box electric quantity information of the charging box of the wireless earphone. It should be noted that, in the embodiment of the present application, both the headset power information and the charging box power information are obtained by the wireless headset and then sent to the application program based on the first communication connection. The manner how the wireless headset specifically acquires the charging box power information and the headset power information will be described in detail in the following embodiments.
Optionally, in this embodiment of the application, when the application acquires the target power information based on the first communication connection, the application may actively request to acquire the target power information from the wireless headset, for example, when the application needs to display the target power information or update the target power information, the application may send a target power query request to the wireless headset based on the first communication connection, the wireless headset may acquire the headset power information (or the headset power information and the charging box power information) as the target power information according to the target power query request, and feed the target power information back to the application through the first communication connection, where the application may acquire the target power information fed back by the wireless headset based on the first communication connection at this time.
Optionally, the application program may also passively receive target power information sent by the wireless headset, for example, a sending condition of the power information is configured in the wireless headset, when the condition is met, the wireless headset may obtain the target power information (that is, the headset power information, or the headset power information and the charging box power information), and then actively send the obtained target power information to the application program based on the first communication connection, where the application program may receive the target power information sent by the wireless headset based on the first communication connection.
And S103, displaying the target electric quantity information in an application program interface.
Optionally, after the application program obtains 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 obtained target electric quantity information may be displayed in an application program interface. Optionally, in the embodiment of the application, an interface (e.g., an electric quantity query interface) may be specially designed to display the target electric quantity information, and an electric quantity information display area may be added to an existing interface (e.g., a home page recommendation interface, an equipment connection interface, a user home page, and the like) of the application program to display the target electric quantity information. Optionally, the interface for displaying the target power information in the embodiment of the present application may be one or multiple, for example, the target power information of the currently connected wireless headset may be displayed in all interfaces for displaying the connection device.
Optionally, if the target electric quantity information acquired by the application program is a specific residual electric quantity value analyzed and processed by the wireless headset, the target electric quantity information may be directly displayed in an application program interface in this step; if the target electric quantity information acquired by the application program is unprocessed initial electric quantity data, the initial electric quantity data cannot visually reflect a residual electric quantity value, the application program is required to analyze and process the target electric quantity information in the step, and the obtained residual electric quantity value is displayed in an application program interface.
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, the electric quantity information of the wireless earphone is displayed through the application program, and for any type of mobile terminal produced by any manufacturer, as long as the application program of the embodiment of the application is downloaded and installed, the target electric quantity information sent by the wireless earphone can be displayed on an application program interface, so that the compatibility is better.
According to the technical scheme of the embodiment of the application, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, the first communication connection with the wireless earphone is automatically established, the target electric quantity information sent by the wireless earphone is obtained based on the first communication connection, and then the target electric quantity information is displayed in an application program interface of the mobile terminal. According to the scheme of the embodiment of the application, as for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, as long as the application program is installed in the mobile terminal and the wireless earphone is connected with the mobile terminal, the electric quantity information of the wireless earphone can be displayed through the application program. The wireless earphone has the advantages that the wireless earphone can help a user to know the electric quantity information of the wireless earphone in real time, and a new idea is provided for electric quantity display of the wireless earphone.
Fig. 2 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure. On the basis of the above embodiments, the present embodiment is further optimized, and a specific description is given to obtain the target power information sent by the wireless headset. As shown in fig. 2, the method specifically includes:
s201, if the mobile terminal is detected to be connected with the wireless earphone, a first communication connection is established with the wireless earphone.
And S202, if the condition that the electric quantity updating condition is met is detected, acquiring target electric quantity information sent by the wireless headset based on the first communication connection.
Wherein, the wireless earphone may be preferably TWS earphone; the target electric quantity information at least comprises earphone electric quantity information; charging box power information of a charging box of the wireless headset may also be included.
Optionally, the power update condition in the embodiment of the present application may be a preset trigger condition for performing an update operation on power information displayed on an application program interface. Optionally, the power update condition includes at least one of reaching a power update period, a change in a usage mode of the wireless headset, and an application start. The power update cycle may be set in advance according to the actual power consumption of the wireless headset, and may be set to 5 minutes, for example. Application launch includes launching an application from a closed state and also launching an application from a background call to the foreground. The usage modes of the wireless headset include a monaural usage model and a binaural usage mode. By a single-ear use mode, it may be meant that the user only removes one earphone (left or right) from the charging box carrying the wireless earphone for use at the time, and the other earphone is not removed from the charging box. By binaural use mode, it may be meant that the user takes both earphones out of the charging box carrying the earphones for use. The change of the usage mode of the wireless headset refers to a change of the usage mode of the wireless headset between a monaural usage mode and a binaural usage mode, for example, when a user takes out another headset from the charging box in the process of using one wireless headset, the change of the usage mode of the wireless headset from the monaural usage mode to the binaural usage mode is triggered. Similarly, the user puts one of the two wireless headsets back into the charging box during simultaneous use of the two wireless headsets, when the trigger changes from a binaural use mode to a monaural use mode. Optionally, in this embodiment of the application, the usage pattern of the wireless headset may be sent to the application program based on the first communication connection after being detected by the wireless headset, and a process of how the wireless headset specifically detects the usage pattern will be described in detail in the following embodiments.
Optionally, in this step, in the process of maintaining the first communication connection between the wireless headset and the application program, it may be detected whether an electric quantity update condition is currently satisfied, that is, it is detected whether a current update period is reached at the present moment, it is detected whether a usage mode of the wireless headset at the present moment is changed, and it is detected whether the application program is started, and as long as at least one of the conditions is satisfied, an operation of acquiring the target electric quantity information sent by the wireless headset based on the first communication connection is triggered to be executed, and then an operation of S203 described below is executed based on the newly acquired target electric quantity information, so that an update operation is performed on the target electric quantity information displayed in the application program.
And S203, displaying the target electric quantity information in the application program interface.
According to the technical scheme of the embodiment of the application, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, the first communication connection with the wireless earphone is automatically established; when the application program detects that the current condition of electric quantity updating is met, namely at least one condition of electric quantity updating period, change of the use mode of the wireless headset and application program starting is reached, the application program executes one-time operation of acquiring the target electric quantity information sent by the wireless headset based on the first communication connection, and then displays the newly acquired target electric quantity information in an application program interface. According to the scheme of the embodiment of the invention, the timeliness and the accuracy of the target electric quantity information displayed in the application program interface are improved by setting the accurate and comprehensive electric quantity updating condition.
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 the power display pattern according to the embodiment of the application. On the basis of the above embodiments, the present embodiment further optimizes the information content of the earphone power amount, and gives a description of a specific situation that the target power amount information is displayed in an application program interface according to different information contents of the earphone power amount. As shown in fig. 3A-3B, the method specifically includes:
s301, if the mobile terminal is detected to be connected with the wireless earphone, a first communication connection is established with the wireless earphone.
Wherein the wireless headset may preferably be a TWS headset.
S302, target electric quantity information sent by the wireless earphone is obtained based on the first communication connection.
The target electric quantity information at least comprises earphone electric quantity information, such as charging box electric quantity information of a charging box of the wireless earphone.
And S303, determining the use mode of the wireless earphone according to the earphone electric quantity information in the target electric quantity information.
Optionally, the acquired earphone electric quantity information in the embodiment of the present application is monaural electric quantity information or binaural electric quantity information; the usage mode of the wireless earphone can be determined according to the type of the electric quantity information contained in the acquired earphone electric quantity information, the usage mode of the wireless earphone can be determined according to the number of the fields in the acquired earphone electric quantity information, if the number of the fields corresponding to the acquired earphone electric quantity information is one, the earphone electric quantity information is new, namely the earphone electric quantity information of the left ear or the right ear, and the usage mode of the wireless earphone is determined to be a single-ear usage mode; if the number of the fields corresponding to the acquired earphone electric quantity information is two, the earphone electric quantity information is determined to be binaural electric quantity information, namely the electric quantity information of the two earphones, namely the left ear and the right ear, and then the use mode of the wireless earphone at the moment is determined to be a binaural use mode.
And S304, determining an electric quantity display style according to the use mode.
Optionally, in the embodiment of the application, different power display styles may be set in advance for different usage modes. In this step, only the power display style corresponding to the usage mode is searched according to the usage mode of the wireless headset determined in S303. The power display style may include a position, an icon, a color, a font, a shape, etc. of display of the power information.
For example, the first three rows in fig. 3B correspond to power display patterns corresponding to a single-ear usage mode and a double-ear usage mode when the target power information is only the headset power information, and the last three rows in fig. 3B correspond to power display patterns corresponding to a single-ear usage mode and a double-ear usage mode when the target power information includes the headset power information and the charge box power information. And the electric quantity display styles corresponding to various use modes are all composed of at least one display field with the same format, a dashed line box in the figure represents one display field, and the display field comprises: a charge amount display icon (e.g., a circular icon in fig. 3B), a charge amount display object (e.g., a left ear, a right ear, and a charging box in fig. 3B), and a charge amount value (i.e., XX in fig. 3B). Optionally, the power display icon in each display field may be an icon representing the wireless headset or the charging box, or may represent whether the power of the wireless headset or the charging box is sufficient or not by filling different colors. The electric quantity value in each display field can be in the form of percentage, and the remaining electric quantity value displayed in integer is taken. Optionally, when the electric quantity display style includes a plurality of display fields, the display order of different display objects may be preset, and as shown in fig. 3B, the display order of each display object sequentially follows from left to right: left ear earphone, right ear earphone and charging box.
And S305, displaying the target electric quantity information in the application program interface according to the electric quantity display style.
Optionally, in this embodiment, the target power information may be rendered into an application program interface to be displayed according to the power display style determined in S304, and the rendered application program interface including the power information of the wireless headset (or the wireless headset and the charging box) is displayed on a display screen of the mobile terminal, so that the user can view the power information.
According to the technical scheme, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, a first communication connection with the wireless earphone is automatically established, the target electric quantity information sent by the wireless earphone is obtained based on the first communication connection, the use mode of the wireless earphone is determined according to the earphone electric quantity information in the target electric quantity information, and the target electric quantity information is displayed in an application program interface according to an electric quantity display mode corresponding to the use mode. According to the scheme of the embodiment of the application, different electric quantity display styles can be selected to display the target electric quantity information according to the use mode of the wireless earphone, so that a user can intuitively know the residual electric quantity condition of the wireless earphone in use, and the diversity of the electric quantity display modes of the wireless earphone is improved.
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 illustrating an effect of displaying power of a wireless headset on an application program interface according to an embodiment of the present disclosure. On the basis of the above embodiments, the present embodiment performs further optimization, and gives another specific description of displaying the target electric quantity information in the application program interface. As shown in fig. 4A-4B, the method specifically includes:
s401, if the mobile terminal is detected to be connected with the wireless earphone, a first communication connection is established with the wireless earphone.
Wherein the wireless headset may preferably be a TWS headset.
S402, acquiring target electric quantity information sent by the wireless earphone based on the first communication connection.
The target electric quantity information at least comprises earphone electric quantity information; the earphone electric quantity information is single-ear electric quantity information or double-ear electric quantity information; optionally, the target electric quantity information may further include: the charging box electric quantity information of the charging box of the wireless earphone.
And S403, analyzing the target electric quantity information, and determining the electric quantity value and/or the electric quantity state to be displayed.
In the embodiment of the present application, the electric quantity value to be displayed may be a remaining milliamp electric quantity value, or may be a remaining percentage electric quantity value (e.g., 0% to 100%) converted into a percentage form. Optionally, when the electric quantity value is the remaining percentage electric quantity value, the value is a positive integer. The state of charge may be a state that characterizes whether the charge is sufficient, including at least: the power is sufficient and the power is low. The state of charge may be represented by changing the color of the icon, for example, if the state of charge icon is green, it indicates that the charge is sufficient; if the electric quantity icon is red, the electric quantity is low. It may also be indicated by how much the icon fills the area, e.g., the larger the filled area within the state of charge icon, the more sufficient the charge is.
Optionally, the power information in this embodiment of the application is power data of the wireless headset (or the wireless headset and the charging box) detected by the wireless headset, and at this time, after receiving the power information, the application program needs to analyze and process the power information first to determine a power value and/or a power state to be displayed. Specifically, the electric quantity information is subjected to electric quantity value conversion processing, and the electric quantity value to be displayed of the wireless earphone (or the wireless earphone and the charging box) is determined; and analyzing the electric quantity sufficiency of the electric quantity information to obtain the electric quantity state to be displayed of the wireless earphone (or the wireless earphone and the charging box).
S404, displaying the electric quantity value and/or the electric quantity state in the application program interface.
Optionally, in this step, an application program interface of the electric quantity information to be displayed may be rendered according to the electric quantity value and/or the electric quantity state to be displayed determined in S403, and the rendered application program interface including the electric quantity value and/or the electric quantity state of the wireless headset (or the wireless headset and the charging box) is displayed on a display screen of the mobile terminal, so that the user can check the electric quantity information.
For example, fig. 4B is a schematic diagram illustrating the effect of displaying the binaural charge and the charge box charge of the wireless headset on the home recommendation interface of the application; the left ear earphone electric quantity, the right ear earphone electric quantity and the charging box electric quantity are respectively arranged from left to right in the drawing. The electric quantity values of the three are expressed in the form of percentage electric quantity values, namely the left ear electric quantity value is 12%, the right ear electric quantity value is 86%, and the electric quantity value of the charging box is 90%. Since the left ear power value is less than the preset power threshold (20%), it corresponds to a low power state, and the power state icon is white; the electric quantity values of the right ear and the charging box are 86% and 90% respectively, and the electric quantity values are both larger than a preset electric quantity threshold (20%), so that the electric quantity states corresponding to the right ear and the charging box are sufficient, and the electric quantity state icons are black. Optionally, in the embodiment of the present application, the power value and/or the power status of the wireless headset (or the wireless headset and the charging box) may be displayed in all application interfaces (such as a device connection interface, a user homepage interface, a home recommendation interface, and the like) displaying the name of the headset device, and preferably displayed around the name of the headset device, as shown in fig. 4B below the wireless headset 1 (i.e., the name of the headset).
According to the technical scheme of the embodiment of the application, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, the first communication connection with the wireless earphone is automatically established, the target electric quantity information sent by the wireless earphone is acquired based on the first communication connection, the target electric quantity information is analyzed, the electric quantity value and/or the electric quantity state to be displayed are determined, and the electric quantity value and/or the electric quantity state to be displayed are displayed in an application program interface. According to the scheme, the electric quantity value and/or the electric quantity state of the wireless earphone can be accurately displayed in the application program interface, and the accuracy of electric quantity display of the wireless earphone is improved.
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 displaying the electric quantity information of the wireless earphone on the mobile terminal. 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. Optionally, the wireless headset may be any headset that can be communicatively connected to the mobile terminal without a wire, such as a bluetooth headset that can be bluetooth connected to the mobile terminal. Preferably, the wireless headset may be a TWS headset.
As illustrated in fig. 5, the method includes:
s501, in the process that the wireless earphone and the application program in the mobile terminal keep the first communication connection, target electric quantity information is obtained.
The mobile terminal in the embodiment of the present application may be any terminal capable of wirelessly connecting with a wireless headset, and for example, may include but is not limited to: smart phones, tablet computers, notebook computers, and the like. The application program in the mobile terminal in the embodiment of the application can be the application program downloaded and installed in the mobile terminal, and the application program can be the application program matched with the wireless earphone, and the wireless earphone is matched with the application program to provide services such as music playing, broadcasting, translation and electric quantity checking for a user.
Optionally, in the embodiment of the present application, the first communication connection between the wireless headset and the application program in the mobile terminal may be that the application program automatically establishes the first communication connection with the wireless headset when detecting that the mobile terminal is connected to the wireless headset. The specific establishment method has been described in detail in the above embodiments, and the embodiments are not limited herein.
Optionally, in this step, the wireless headset obtains target power information in a process of maintaining the first communication connection between the wireless headset and the application program, where the target power information at least includes headset power information. Specifically, if the left ear and the right ear of the wireless headset are designed as a whole, such as a headset type design, the wireless headset can directly detect and acquire the electric quantity information of the wireless headset as the headset electric quantity information through the electric quantity detection module when acquiring the electric quantity information of the wireless headset. 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 the primary ear and the secondary ear in the wireless headset are not fixed, for example, if the user uses only one headset, the headset used at this time is the primary ear; if both earphones are used, one of them may be the dominant ear by default. And the wireless headset interacts with the application program based on the first communication connection, it is the primary ear that interacts with the application program.
S502, based on the first communication connection, the target electric quantity information is sent to the application program, and the target electric quantity information is displayed in an application program interface.
Optionally, after the target electric quantity information is obtained, the wireless headset may send the target electric quantity information to the application program based on the first communication connection between the wireless headset and the application program. And after acquiring the target electric quantity information sent by the wireless earphone, the application program displays the target electric quantity information in an application program interface. It should be noted that, the manner how the application displays the target power information in the application interface has been described in detail in the foregoing embodiment, and this embodiment is not limited herein.
According to the technical scheme of the embodiment of the application, in the process that the wireless earphone and the application program in the mobile terminal are in first communication connection, the wireless earphone acquires the target electric quantity information and sends the target electric quantity information to the application program through the first communication connection so as to display the target electric quantity information in an application program interface. According to the scheme of the embodiment of the application, as for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, as long as the application program is installed in the mobile terminal and the wireless earphone is connected with the mobile terminal, the electric quantity information of the wireless earphone can be displayed through the application program. The wireless earphone has the advantages that the wireless earphone can help a user to know the electric quantity information of the wireless earphone in real time, and a new idea is provided for electric quantity display of the wireless earphone.
Optionally, in this embodiment of the application, when the wireless headset acquires the target power information, the target power information may be acquired if it is detected that the power update condition is satisfied. Wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program. In this embodiment, details of the power update condition are not described herein, and in this embodiment, when the wireless headset reaches the power update condition, the target power information is acquired once and sent to the application program, so as to update the target power information displayed in the application program interface in real time. The advantage of setting up like this is through setting up accurate and comprehensive electric quantity renewal condition, improves the ageing nature and the accuracy of the target electric quantity information that shows in the application program interface.
Fig. 6 is a flowchart of another power display method for a wireless headset according to an embodiment of the present disclosure. On the basis of the above embodiments, the present embodiment is further optimized, and a description is given of a specific situation that the wireless headset acquires the headset power information when the target power information is the headset power information. As shown in fig. 6, the method specifically includes:
s601, in the process that the wireless earphone keeps the first communication connection with the application program in the mobile terminal, the use mode of the wireless earphone is determined.
Optionally, the embodiment of the present application is mainly applicable to a case where left and right ears in a wireless headset are independently designed, where usage modes of the wireless headset include a monaural usage mode and a binaural usage mode. The process by which a wireless headset determines its usage pattern is essentially determining whether the user is currently using one or two headsets. The embodiment of the present application has many ways to determine the usage mode of the wireless headset, and is not limited to this. For example, the master ear in the use state may transmit a signal to search whether a slave ear exists around the master ear, and if the slave ear exists, the slave ear is also in the working state, and the use mode of the wireless headset is determined to be the binaural use mode, and if the slave ear does not exist, the slave ear is not activated or powered off, and the use mode of the wireless headset is determined to be the monaural use mode. And detecting that several earphones receive the triggering operation of the user within a preset time end, if one earphone is received, the earphone is in a single-ear use mode, and if both earphones are received, the earphone is in a double-ear use mode.
And S602, acquiring the information of the electric quantity of the single ear or the information of the electric quantity of the double ears as the information of the electric quantity of the earphones according to the using mode.
Optionally, in this embodiment of the application, if it is determined that the usage mode of the wireless headset is the monaural usage mode in S601, the power information of the left ear or the right ear is obtained according to the actual usage situation of the left ear and the right ear, that is, the monaural power information is used as the headset power information. If the usage mode of the wireless headset is determined to be the binaural usage mode in S601, then the power information of the left ear and the right ear is obtained at this time, that is, the binaural power information is used as the headset power information.
Specifically, in a normal case, when the wireless headset is used by one ear, the headset in a use state is the main ear, so that in a single-ear use mode, the main ear directly acquires the electric quantity information of the main ear as the electric quantity information of the headset. In the binaural use mode, the master ear not only needs to acquire its own power information, but also needs to communicate with the slave ear to acquire the power information of the slave ear, and the own power information and the slave ear power information are used as the earphone power information.
S603, based on the first communication connection, sending the earphone electric quantity information to an application program so as to display the earphone electric quantity information in an application program interface.
According to the technical scheme of the embodiment of the application, in the process that the wireless earphone and the application program in the mobile terminal are in first communication connection, the wireless earphone firstly determines the current use mode, determines to acquire the electric quantity of a single-ear earphone or the electric quantity of a double-ear earphone as target electric quantity information according to the use mode, and sends the target electric quantity information to the application program for displaying. According to the technical scheme, the wireless earphone sends different electric quantity information to the application program to be displayed according to the actual use mode of the wireless earphone, so that a user can visually know the residual electric quantity condition of the wireless earphone in use, and the diversity of the electric quantity display mode of the wireless earphone is improved.
Fig. 7 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. The target electric quantity information further includes: charging box electric quantity information of a charging box of the wireless headset; the embodiment provides a specific case introduction that the wireless headset acquires the electric quantity information of the charging box when the target electric quantity information is the electric quantity information of the headset and the electric quantity information of the charging box. As shown in fig. 7, the method specifically includes:
S701, acquiring the electric quantity information of the earphone in the process that the wireless earphone keeps the first communication connection with the application program in the mobile terminal.
And S702, establishing a second communication connection with a charging box of the wireless earphone.
Optionally, the charging box in this embodiment of the application may be an earphone box carrying a wireless earphone. The earphone box has a charging function, and can be automatically charged or charged after responding to manual triggering of a user after the wireless earphone is installed in the earphone box. The second communication connection may be a communication connection between the wireless headset and the charging box, and the second communication connection may be a wired communication connection or a wireless communication connection, for example, the wireless communication connection may be realized by matching a built-in chip in the wireless headset and the charging box. Optionally, in this embodiment of the application, after the wireless headset is placed back to the charging box, the charging box of the wireless headset is triggered to establish a second communication connection, and then the current remaining power information of the charging box is acquired based on the second communication connection.
And S703, acquiring the electric quantity information of the charging box sent by the charging box based on the second communication connection.
Optionally, in this step, after the wireless headset is placed back to the charging box, or before the wireless headset leaves the charging box, the operation of acquiring the charging capacity information based on the second communication connection is triggered and executed once.
And S704, sending the earphone power information and the charging box power information to an application program based on the first communication connection so as to display the earphone power information and the charging box power information in an application program interface.
According to the technical scheme, in the process that the wireless earphone and the application program in the mobile terminal are in first communication connection, the wireless earphone acquires earphone electric quantity information of the wireless earphone, second communication connection is established through the charging box of the wireless earphone to acquire the electric quantity information of the charging box, and then the acquired earphone electric quantity information and the electric quantity information of the charging box are sent to the application program through the first communication connection so that the earphone electric quantity information and the electric quantity information of the charging box can be displayed in an application program interface. According to the scheme of the embodiment of the application, the wireless earphone not only sends the earphone electric quantity information of the wireless earphone to the application program, but also sends the charging box electric quantity information to the application program, so that the electric quantity information of the wireless earphone and the charging box can be displayed in real time by a user at the mobile terminal, the comprehensiveness of electric quantity information display is improved, and a new idea is provided for electric quantity display of the wireless earphone.
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 displaying the electric quantity information of the wireless earphone on the mobile terminal. 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 may be specifically configured in an application program in the mobile terminal, where the apparatus 800 specifically includes:
A first communication connection module 801, configured to establish a first communication connection with a wireless headset if it is detected that the mobile terminal is connected to the wireless headset;
a first power obtaining module 802, configured to obtain target power information sent by the wireless headset based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
and an electric quantity information display module 803, configured to display the target electric quantity information in an application program interface.
According to the technical scheme of the embodiment of the application, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, the first communication connection with the wireless earphone is automatically established, the target electric quantity information sent by the wireless earphone is obtained based on the first communication connection, and then the target electric quantity information is displayed in an application program interface of the mobile terminal. According to the scheme of the embodiment of the application, as for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, as long as the application program is installed in the mobile terminal and the wireless earphone is connected with the mobile terminal, the electric quantity information of the wireless earphone can be displayed through the application program. The wireless earphone has the advantages that the wireless earphone can help a user to know the electric quantity information of the wireless earphone in real time, and a new idea is provided for electric quantity display of the wireless earphone.
Further, the first power obtaining module 802 is specifically configured to:
if the condition that the electric quantity updating condition is met is detected, acquiring target electric quantity information sent by the wireless earphone based on the first communication connection;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
Further, the earphone electric quantity information is monaural electric quantity information or binaural electric quantity information;
accordingly, the power information display module 803 includes:
the using mode determining unit is used for determining the using mode of the wireless earphone according to the earphone electric quantity information in the target electric quantity information;
the display pattern determining unit is used for determining an electric quantity display pattern according to the use mode;
and the information display unit is used for displaying the target electric quantity information in the application program interface according to the electric quantity display style.
Further, the power information display module 803 includes:
the analysis processing unit is used for analyzing and processing the target electric quantity information and determining an electric quantity value and/or an electric quantity state to be displayed;
and the information display unit is used for displaying the electric quantity value and/or the electric quantity state in the application program interface.
Further, the target electric quantity information further includes: and the charging box electric quantity information of the charging box of the wireless earphone.
Further, the wireless headset is a true wireless stereo TWS headset.
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 displaying the electric quantity information of the wireless earphone on the mobile terminal. 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 900 specifically includes:
a second power obtaining module 901, configured to obtain target power information while the wireless headset and an application in the mobile terminal maintain a first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
an electric quantity information sending module 902, configured to send the target electric quantity information to the application program based on the first communication connection, so as to display the target electric quantity information in an application program interface.
According to the technical scheme of the embodiment of the application, in the process that the wireless earphone and the application program in the mobile terminal are in first communication connection, the wireless earphone acquires the target electric quantity information and sends the target electric quantity information to the application program through the first communication connection so as to display the target electric quantity information in an application program interface. According to the scheme of the embodiment of the application, as for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, as long as the application program is installed in the mobile terminal and the wireless earphone is connected with the mobile terminal, the electric quantity information of the wireless earphone can be displayed through the application program. The wireless earphone has the advantages that the wireless earphone can help a user to know the electric quantity information of the wireless earphone in real time, and a new idea is provided for electric quantity display of the wireless earphone.
Further, the second power obtaining module 901 includes an earphone power obtaining unit, specifically configured to:
determining a usage pattern of the wireless headset;
and acquiring the information of the electric quantity of the single ear or the information of the electric quantity of the double ears as the information of the electric quantity of the earphone according to the using mode.
Further, the target electric quantity information further includes: charging box electric quantity information of a charging box of the wireless headset; correspondingly, the second electric quantity obtaining module 901 further includes a charging box electric quantity obtaining unit, specifically configured to:
establishing a second communication connection with a charging box of the wireless headset;
and acquiring the electric quantity information of the charging box sent by the charging box based on the second communication connection.
Further, the apparatus further comprises:
the electric quantity updating detection unit is used for detecting whether an electric quantity updating condition is met;
the second power obtaining module 901 is configured to obtain target power information when it is detected that a power updating condition is met;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
Further, the wireless headset is a true wireless stereo TWS headset.
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, which is a non-transitory computer-readable storage medium, may 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 first communication connection module 801, the first power acquisition module 802, and the power information display module 803 shown in fig. 8, or the second power acquisition module 901 and the power information transmission 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, when the application program in the mobile terminal detects that the mobile terminal is connected with the wireless earphone, the first communication connection with the wireless earphone is automatically established, the target electric quantity information sent by the wireless earphone is obtained based on the first communication connection, and then the target electric quantity information is displayed in an application program interface of the mobile terminal. According to the scheme of the embodiment of the application, as for the mobile terminal and the wireless earphone which are researched and developed by different manufacturers, as long as the application program is installed in the mobile terminal and the wireless earphone is connected with the mobile terminal, the electric quantity information of the wireless earphone can be displayed through the application program. The wireless earphone has the advantages that the wireless earphone can help a user to know the electric quantity information of the wireless earphone in real time, and a new idea is provided for electric quantity 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 (24)

1. A power display method of a wireless headset comprises the following steps:
if the mobile terminal is detected to be connected with the wireless earphone, establishing a first communication connection with the wireless earphone;
acquiring target electric quantity information sent by the wireless earphone based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
and displaying the target electric quantity information in an application program interface.
2. The method of claim 1, wherein obtaining target power information transmitted by the wireless headset based on the first communication connection comprises:
if the condition that the electric quantity updating condition is met is detected, acquiring target electric quantity information sent by the wireless earphone based on the first communication connection;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
3. The method of claim 1, wherein the headset power information is monaural power information or binaural power information;
correspondingly, the displaying the target electric quantity information in the application program interface includes:
determining the use mode of the wireless earphone according to the earphone electric quantity information in the target electric quantity information;
determining an electric quantity display style according to the use mode;
and displaying the target electric quantity information in the application program interface according to the electric quantity display style.
4. The method of claim 1, wherein displaying the target charge amount information in an application program interface comprises:
analyzing and processing the target electric quantity information, and determining an electric quantity value and/or an electric quantity state to be displayed;
Displaying the electric quantity value and/or the electric quantity state in the application program interface.
5. The method of any of claims 1-4, wherein the target charge information further comprises: and the charging box electric quantity information of the charging box of the wireless earphone.
6. The method according to any of claims 1-4, wherein the wireless headset is a true wireless stereo TWS headset.
7. A power display method of a wireless headset comprises the following steps:
acquiring target electric quantity information in the process of keeping first communication connection between the wireless earphone and an application program in the mobile terminal; the target electric quantity information at least comprises earphone electric quantity information;
and sending the target electric quantity information to the application program based on the first communication connection so as to display the target electric quantity information in an application program interface.
8. The method of claim 7, wherein obtaining headset power information comprises:
determining a usage pattern of the wireless headset;
and acquiring the information of the electric quantity of the single ear or the information of the electric quantity of the double ears as the information of the electric quantity of the earphone according to the using mode.
9. The method of claim 7, wherein the target charge amount information further comprises: charging box electric quantity information of a charging box of the wireless headset;
Correspondingly, acquire the box electric quantity information that charges, include:
establishing a second communication connection with a charging box of the wireless headset;
and acquiring the electric quantity information of the charging box sent by the charging box based on the second communication connection.
10. The method of any one of claims 7-9, wherein obtaining target charge information comprises:
if the condition that the electric quantity updating condition is met is detected, target electric quantity information is obtained;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
11. The method according to any of claims 7-9, wherein the wireless headset is a true wireless stereo TWS headset.
12. A power display device for a wireless headset, comprising:
the first communication connection module is used for establishing first communication connection with the wireless earphone if the mobile terminal is detected to be connected with the wireless earphone;
the first electric quantity obtaining module is used for obtaining target electric quantity information sent by the wireless earphone based on the first communication connection; the target electric quantity information at least comprises earphone electric quantity information;
And the electric quantity information display module is used for displaying the target electric quantity information in an application program interface.
13. The apparatus according to claim 12, wherein the first power acquisition module is specifically configured to:
if the condition that the electric quantity updating condition is met is detected, acquiring target electric quantity information sent by the wireless earphone based on the first communication connection;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
14. The apparatus of claim 12, wherein the headset power information is monaural power information or binaural power information;
correspondingly, the electric quantity information display module comprises:
the using mode determining unit is used for determining the using mode of the wireless earphone according to the earphone electric quantity information in the target electric quantity information;
the display pattern determining unit is used for determining an electric quantity display pattern according to the use mode;
and the information display unit is used for displaying the target electric quantity information in the application program interface according to the electric quantity display style.
15. The apparatus of claim 12, wherein the charge information display module comprises:
The analysis processing unit is used for analyzing and processing the target electric quantity information and determining an electric quantity value and/or an electric quantity state to be displayed;
and the information display unit is used for displaying the electric quantity value and/or the electric quantity state in the application program interface.
16. The apparatus of any of claims 12-15, wherein the target charge information further comprises: and the charging box electric quantity information of the charging box of the wireless earphone.
17. The apparatus according to any of claims 12-15, wherein the wireless headset is a true wireless stereo, TWS, headset.
18. A power display device for a wireless headset, comprising:
the second electric quantity obtaining module is used for obtaining target electric quantity information in the process that the wireless earphone keeps first communication connection with an application program in the mobile terminal; the target electric quantity information at least comprises earphone electric quantity information;
and the electric quantity information sending module is used for sending the target electric quantity information to the application program based on the first communication connection so as to display the target electric quantity information in an application program interface.
19. The apparatus of claim 18, wherein the second power obtaining module comprises an earphone power obtaining unit, and is specifically configured to:
Determining a usage pattern of the wireless headset;
and acquiring the information of the electric quantity of the single ear or the information of the electric quantity of the double ears as the information of the electric quantity of the earphone according to the using mode.
20. The apparatus of claim 18, wherein the target charge amount information further comprises: charging box electric quantity information of a charging box of the wireless headset; correspondingly, the second electric quantity acquisition module further comprises a charging box electric quantity acquisition unit, and is specifically used for:
establishing a second communication connection with a charging box of the wireless headset;
and acquiring the electric quantity information of the charging box sent by the charging box based on the second communication connection.
21. The apparatus of any of claims 18-20, further comprising:
the electric quantity updating detection unit is used for detecting whether an electric quantity updating condition is met;
the second electric quantity obtaining module is used for obtaining target electric quantity information when the condition that the electric quantity updating condition is met is detected;
wherein the power updating condition comprises at least one of reaching a power updating period, changing the use mode of the wireless headset and starting the application program.
22. The apparatus of any of claims 18-20, wherein the wireless headset is a true wireless stereo, TWS, headset.
23. 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 power for a wireless headset of any one of claims 1-6 or 7-11.
24. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the power display method of the wireless headset of any one of claims 1-6 or 7-11.
CN202010681964.2A 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone Pending CN111866277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010681964.2A CN111866277A (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
CN202010681964.2A CN111866277A (en) 2020-07-15 2020-07-15 Electric quantity display method, device, equipment and storage medium of wireless earphone

Publications (1)

Publication Number Publication Date
CN111866277A true CN111866277A (en) 2020-10-30

Family

ID=72983120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010681964.2A Pending CN111866277A (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) CN111866277A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112773A (en) * 2021-03-31 2021-07-13 联想(北京)有限公司 Prompting method, electronic equipment, device and storage medium
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140316221A1 (en) * 2012-01-18 2014-10-23 Brainscope Company, Inc. Method and device for multimodal neurological evaluation
CN109768596A (en) * 2019-01-11 2019-05-17 维沃移动通信有限公司 A kind of electric quantity display method, earphone charging unit and earphone
CN110165736A (en) * 2019-05-27 2019-08-23 深圳市烁讯电子有限公司 A kind of electricity sharing method, system and mobile terminal based on charged state monitoring
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110677757A (en) * 2019-09-09 2020-01-10 Oppo广东移动通信有限公司 Wireless earphone electric quantity display method and device and electronic equipment
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140316221A1 (en) * 2012-01-18 2014-10-23 Brainscope Company, Inc. Method and device for multimodal neurological evaluation
CN109768596A (en) * 2019-01-11 2019-05-17 维沃移动通信有限公司 A kind of electric quantity display method, earphone charging unit and earphone
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110165736A (en) * 2019-05-27 2019-08-23 深圳市烁讯电子有限公司 A kind of electricity sharing method, system and mobile terminal based on charged state monitoring
CN110677757A (en) * 2019-09-09 2020-01-10 Oppo广东移动通信有限公司 Wireless earphone electric quantity display method and device and electronic equipment
CN111246328A (en) * 2019-12-31 2020-06-05 歌尔科技有限公司 Charging box, electric quantity display method and system thereof, and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device
CN113112773A (en) * 2021-03-31 2021-07-13 联想(北京)有限公司 Prompting method, electronic equipment, device and storage medium

Similar Documents

Publication Publication Date Title
US10162814B2 (en) Conversation processing method, conversation management system and computer device
US10296472B2 (en) Method for setting universal serial bus (USB) interface of electronic device, and electronic device
CN110032512B (en) Debugging method of small program, related equipment and terminal
EP3525417A1 (en) Data processing method, device, storage medium, electronic device and server
US10912027B2 (en) Scanning method and device
CN111866277A (en) Electric quantity display method, device, equipment and storage medium of wireless earphone
CN103207778A (en) Method, device and mobile terminal for modifying icons
CN114157701B (en) Task testing method, device, equipment and storage medium
US10199836B2 (en) Storage battery pack, method for controlling storage battery pack, and method for controlling information terminal
CN112269607A (en) Applet control method, system, server and terminal device
CN108139899A (en) Terminal device and the method for control charging
CN111881005B (en) Information display method, device, equipment and storage medium
KR102017631B1 (en) Terminal apparatus and method for transmitting and receiving data
CN105429847A (en) Client side display head portrait setting method and device
EP3344003B1 (en) Communication method and mobile terminal
RU2601443C1 (en) Wireless network adapter and method of its self-configuration
CN113115101B (en) LED display screen, distributed information display system and control method
WO2015124060A1 (en) Login interface displaying method and apparatus
CN107798008B (en) Content pushing system, method and device
CN112667868B (en) Data detection method and device
CN111866278B (en) Electric quantity display method, device, equipment and storage medium of wireless earphone
CN109413714B (en) User agent information processing method, device, storage medium and terminal
CN111475189A (en) Upgrading method, head-mounted equipment, storage medium and electronic device
CN105279175B (en) Data transmission method and device
CN106033358B (en) Batch installation method and device of application programs

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

Effective date of registration: 20210513

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

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

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

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030