WO2021004281A1 - State display method and terminal device - Google Patents

State display method and terminal device Download PDF

Info

Publication number
WO2021004281A1
WO2021004281A1 PCT/CN2020/098007 CN2020098007W WO2021004281A1 WO 2021004281 A1 WO2021004281 A1 WO 2021004281A1 CN 2020098007 W CN2020098007 W CN 2020098007W WO 2021004281 A1 WO2021004281 A1 WO 2021004281A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless headset
status
icon
power
power value
Prior art date
Application number
PCT/CN2020/098007
Other languages
French (fr)
Chinese (zh)
Inventor
杨凯
李凤亮
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021004281A1 publication Critical patent/WO2021004281A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a status display method and terminal equipment.
  • a wireless headset is a wireless device that uses short-range wireless communication technology to communicate.
  • an icon identifying the wireless headset is displayed on the display interface of the terminal device, but the user cannot know the status of the wireless headset in real time from the icon, such as connection status, signal strength, and power status. .
  • the status icon corresponding to the wireless headset can be grayed out or display an " ⁇ " icon, as shown in Figure 7.
  • the second wireless headset is disconnected, and the second status icon 2 is displayed as " ⁇ ".
  • the first status icon 1 can be superimposed on the first logo 3, and the second status icon 2 can be superimposed on the second logo 4, which is more concise and clear, and can reduce the space occupied by status icons and increase It's fun.
  • the first logo 3 can be oval
  • the second logo 4 can be elliptical
  • the first status icon 1 is superimposed on the first logo 3
  • the second status icon 2 is superimposed on the second logo 4.
  • the larger the space occupied by the first status icon 1 in the first identifier 3 the larger the power value of the first wireless headset.
  • the greater the space occupied by the second status icon 2 in the second identifier 4 the greater the power value of the second wireless headset.
  • the third display module 304 is configured to cancel displaying the status icon corresponding to the target wireless headset if it is detected that the terminal device is disconnected from the target wireless headset;
  • FIG. 18 is a schematic diagram of the hardware structure of a terminal device for implementing various embodiments of the present disclosure.
  • the interface unit 408 is an interface for connecting an external device with the terminal device 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (input/output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 400 or may be used to connect to the terminal device 400 and external Transfer data between devices.
  • the terminal device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.

Abstract

Provided are a state display method and a terminal device. The method comprises: where a terminal device establishes connection with both a first wireless earphone and a second wireless earphone, respectively displaying a first state icon, which represents the state of the first wireless earphone, and a second state icon, which represents the state of the second wireless earphone.

Description

状态显示方法及终端设备State display method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年7月9日在中国提交的中国专利申请号No.201910615717.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910615717.X filed in China on July 9, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种状态显示方法及终端设备。The present disclosure relates to the field of communication technology, and in particular to a status display method and terminal equipment.
背景技术Background technique
无线耳机是利用短距离无线通讯技术来进行通信的无线设备。相关技术中,无线耳机与终端设备连接后,在终端设备的显示界面会显示标识无线耳机的图标,但是从该图标上用户无法实时获知无线耳机的状态,例如连接状态、信号强度及电量状态等。A wireless headset is a wireless device that uses short-range wireless communication technology to communicate. In related technologies, after the wireless headset is connected to the terminal device, an icon identifying the wireless headset is displayed on the display interface of the terminal device, but the user cannot know the status of the wireless headset in real time from the icon, such as connection status, signal strength, and power status. .
发明内容Summary of the invention
本公开实施例提供一种状态显示方法及终端设备,以解决用户无法实时获知双侧无线耳机的具体状态的问题。The embodiments of the present disclosure provide a status display method and terminal device to solve the problem that the user cannot know the specific status of the bilateral wireless headset in real time.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种状态显示方法,应用于终端设备,包括:In the first aspect, the embodiments of the present disclosure provide a status display method applied to a terminal device, including:
在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。In the case that the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. Two status icons.
第二方面,本公开实施例提供了一种终端设备,包括:In the second aspect, embodiments of the present disclosure provide a terminal device, including:
第一显示模块,用于在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。The first display module is configured to respectively display a first status icon representing the status of the first wireless headset and a first status icon representing the status of the first wireless headset and the 2. The second status icon of the status of the wireless headset.
第三方面,本公开实施例提供了一种终端设备,包括:存储器、处理器及 存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的状态显示方法中的步骤。In a third aspect, embodiments of the present disclosure provide a terminal device, including: a memory, a processor, and a program stored on the memory and capable of running on the processor. When the program is executed by the processor, The steps in the status display method as described in the first aspect are implemented.
第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的状态显示方法中的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the status display as described in the first aspect is realized Steps in the method.
本公开实施例中,在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。这样,通过所述第一状态图标和第二状态图标,用户能够实时获知双侧无线耳机的具体状态。In the embodiment of the present disclosure, when the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. The second status icon for the status of the wireless headset. In this way, through the first status icon and the second status icon, the user can learn the specific status of the bilateral wireless headset in real time.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本公开实施例提供的一种状态显示方法的流程图之一;FIG. 1 is one of the flowcharts of a status display method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的终端设备显示的状态图标的示意图之一;FIG. 2 is one of schematic diagrams of status icons displayed by a terminal device according to an embodiment of the present disclosure;
图3是本公开实施例提供的终端设备显示的状态图标的示意图之二;FIG. 3 is a second schematic diagram of status icons displayed by a terminal device according to an embodiment of the present disclosure;
图4是本公开实施例提供的终端设备显示的状态图标的示意图之三;4 is the third schematic diagram of the status icon displayed by the terminal device according to the embodiment of the present disclosure;
图5是本公开实施例提供的终端设备的显示界面的示意图;Fig. 5 is a schematic diagram of a display interface of a terminal device provided by an embodiment of the present disclosure;
图6是本公开实施例提供的终端设备显示的状态图标的示意图之四;Fig. 6 is a fourth schematic diagram of status icons displayed on a terminal device according to an embodiment of the present disclosure;
图7是本公开实施例提供的终端设备显示的状态图标的示意图之五;FIG. 7 is a fifth schematic diagram of status icons displayed by a terminal device according to an embodiment of the present disclosure;
图8是本公开实施例提供的终端设备显示的状态图标的示意图之六;FIG. 8 is a sixth diagram of status icons displayed by a terminal device according to an embodiment of the present disclosure;
图9是本公开实施例提供的终端设备显示的状态图标的示意图之七;FIG. 9 is a seventh schematic diagram of status icons displayed by a terminal device according to an embodiment of the present disclosure;
图10是本公开实施例提供的终端设备显示的状态图标的示意图之八;10 is the eighth schematic diagram of the status icon displayed by the terminal device according to the embodiment of the present disclosure;
图11是本公开实施例提供的终端设备显示的状态图标的示意图之九;FIG. 11 is a ninth diagram of status icons displayed on a terminal device according to an embodiment of the present disclosure;
图12是本公开实施例提供的终端设备显示的状态图标的示意图之十;FIG. 12 is a tenth schematic diagram of status icons displayed on a terminal device according to an embodiment of the present disclosure;
图13是本公开实施例提供的一种状态显示方法的流程图之二;FIG. 13 is the second flowchart of a status display method provided by an embodiment of the present disclosure;
图14是本公开实施例提供的一种终端设备的结构示意图之一;FIG. 14 is one of the schematic structural diagrams of a terminal device provided by an embodiment of the present disclosure;
图15是本公开实施例提供的一种终端设备的结构示意图之二;FIG. 15 is a second structural diagram of a terminal device provided by an embodiment of the present disclosure;
图16是本公开实施例提供的一种终端设备的结构示意图之三;FIG. 16 is the third structural diagram of a terminal device provided by an embodiment of the present disclosure;
图17是本公开实施例提供的一种终端设备的结构示意图之四;FIG. 17 is the fourth structural diagram of a terminal device provided by an embodiment of the present disclosure;
图18是本公开实施例提供的一种终端设备的硬件结构示意图。FIG. 18 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
参见图1,图1是本公开实施例提供的一种状态显示方法的流程图之一,所述方法应用于终端设备,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is one of the flowcharts of a status display method provided by an embodiment of the present disclosure. The method is applied to a terminal device, as shown in FIG. 1, and includes the following steps:
步骤101、在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。Step 101: In the case that the terminal device is connected to the first wireless headset and the second wireless headset, respectively display a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset. The second status icon of the status.
其中,无线耳机可以为蓝牙耳机,或者可以为通过其他无线通讯技术进行通信的耳机。以蓝牙耳机为例,第一无线耳机可以为左声道蓝牙耳机,第二无线耳机可以为右声道蓝牙耳机;或者,第一无线耳机可以为右声道蓝牙耳机,第二无线耳机可以为左声道蓝牙耳机。无线耳机的状态可以包括连接状态、信号强度、电量状态及电量可使用时长等,例如,无线耳机是否与终端设备建立连接;或者,无线耳机与终端设备建立连接的信号强度,无线耳机距离终端设备越近时,无线耳机与终端设备建立连接的信号强度越高;或者,无线耳机的电量状态,以蓝牙耳机为例,蓝牙耳机由耳塞及手柄组成,手柄内设置有可充电电池,通过可充电电池对蓝牙耳机供电,蓝牙耳机的电量状态为手柄内可充电电池的电量状态;或者,无线耳机的电量的可使用时长;或者,无线耳机是否处于充电状态等等。Among them, the wireless headset may be a Bluetooth headset, or may be a headset that communicates through other wireless communication technologies. Taking a Bluetooth headset as an example, the first wireless headset may be a left-channel Bluetooth headset, and the second wireless headset may be a right-channel Bluetooth headset; alternatively, the first wireless headset may be a right-channel Bluetooth headset, and the second wireless headset may be Left channel Bluetooth headset. The status of the wireless headset can include the connection status, signal strength, power status, and power available time, for example, whether the wireless headset is connected to the terminal device; or, the signal strength of the connection between the wireless headset and the terminal device, and the distance between the wireless headset and the terminal device The closer the wireless headset is, the higher the signal strength of the connection established between the wireless headset and the terminal device; or, the power status of the wireless headset. Take a Bluetooth headset as an example. The Bluetooth headset is composed of earplugs and a handle. The handle is equipped with a rechargeable battery. The battery supplies power to the Bluetooth headset, and the power status of the Bluetooth headset is the power status of the rechargeable battery in the handle; or, the useable time of the power of the wireless headset; or, whether the wireless headset is in a charging state, etc.
另外,第一状态图标可以为文字、数字或者符号等,第二状态图标可以 为文字、数字或者符号等。为了便于用户实时查看无线耳机的状态,可以在终端设备显示界面中显著的位置显示第一状态图标和第二状态图标,以终端设备为手机为例,可以在手机顶部状态栏显示第一状态图标和第二状态图标;或者,在所述无线耳机为蓝牙耳机的情况下,可以在蓝牙设置界面中显示已连接的蓝牙设备的周围显示第一状态图标和第二状态图标,当然,还可以通过长按、双击或者滑动等操作,触发在手机显示界面中显示悬浮框,在悬浮框中显示第一状态图标和第二状态图标。In addition, the first status icon may be a text, number, or symbol, and the second status icon may be a text, number, or symbol, etc. In order to facilitate the user to view the status of the wireless headset in real time, the first status icon and the second status icon can be displayed in a prominent position in the terminal device display interface. Taking the terminal device as a mobile phone as an example, the first status icon can be displayed in the status bar at the top of the phone And the second status icon; or, in the case that the wireless headset is a Bluetooth headset, the first status icon and the second status icon can be displayed around the connected Bluetooth device in the Bluetooth setting interface. Of course, you can also use Long-press, double-click, or slide operations trigger the display of a floating frame on the display interface of the mobile phone, and the first state icon and the second state icon are displayed in the floating frame.
需要说明的是,当无线耳机的状态为信号强度状态时,可以通过预设等级、预设数值、预设图形或预设文字分别显示第一无线耳机和第二无线耳机信号的强弱。It should be noted that when the state of the wireless earphone is the signal strength state, the signal strength of the first wireless earphone and the second wireless earphone can be respectively displayed through a preset level, a preset value, a preset graphic or a preset text.
进一步地,当用户通过第一操作(如点击、双击、长按或拖拽等操作)对表示第一无线耳机的信号强度状态的第一状态图标和/或表示第二无线耳机的信号强度状态的第二状态图标进行触控操作时,终端可以根据第一无线耳机的信号强度状态和第二无线耳机的信号强度状态确定第一无线耳机与终端之间的第一距离和第二无线耳机与终端之间的第二距离,并将第一距离和/或第二距离在状态栏中显示,或者,通过悬浮窗等其他方式进行显示。也就是说,当用户对第一状态图标进行触控操作时,终端可以在状态栏或者悬浮窗中显示第一距离的数值,或者,同时显示第一距离的数值和第二距离的数值;当用户对第二状态图标进行触控操作时,终端可以在状态栏或者悬浮窗中显示第二距离的数值,或者,同时显示第一距离的数值和第二距离的数值,当用户对第一状态图标和第二状态图标进行触控操作时,终端可以在状态栏或者悬浮窗中显示第一距离的数值和第二距离的数值,从而使得用户在遗失第一无线耳机和/或第二无线耳机时,可以通过对第一状态图标和/或第二状态图标进行触控操作,从而显示出第一距离和/或第二距离,用户根据第一距离和/或第二距离,可以快速确定第一无线耳机和/或第二无线耳机的位置范围,从而可以更加方便地找到遗失的第一无线耳机和/或第二无线耳机。Further, when the user performs a first operation (such as clicking, double-clicking, long-pressing, or dragging, etc.) on the first status icon representing the signal strength status of the first wireless headset and/or representing the signal strength status of the second wireless headset When performing a touch operation on the second status icon of the first wireless headset, the terminal can determine the first distance between the first wireless headset and the terminal and the second wireless headset and the second wireless headset according to the signal strength status of the first wireless headset and the signal strength status of the second wireless headset. The second distance between the terminals, and the first distance and/or the second distance are displayed in the status bar, or displayed in other ways such as floating windows. That is, when the user performs a touch operation on the first status icon, the terminal can display the value of the first distance in the status bar or the floating window, or display the value of the first distance and the value of the second distance at the same time; When the user performs a touch operation on the second status icon, the terminal can display the value of the second distance in the status bar or floating window, or display the value of the first distance and the value of the second distance at the same time. When the icon and the second status icon perform touch operations, the terminal can display the value of the first distance and the value of the second distance in the status bar or floating window, so that the user loses the first wireless headset and/or the second wireless headset The first distance and/or the second distance can be displayed by touching the first status icon and/or the second status icon. The user can quickly determine the first distance and/or second distance according to the first distance and/or second distance. The location range of a wireless headset and/or a second wireless headset, so that the missing first wireless headset and/or second wireless headset can be found more conveniently.
作为一种可选的实施方式,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标。As an optional implementation manner, the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset.
其中,无线耳机的电量值不同,无线耳机对应的状态图标可以显示不同的颜色。例如,无线耳机的电量值大于30%时,无线耳机对应的状态图标可以显示为绿色,无线耳机的电量值在10%-30%范围内时,无线耳机对应的状态图标可以显示为橙色,无线耳机的电量值小于10%时,无线耳机对应的状态图标可以显示为红色并闪烁,用于提醒用户针对电量值较低的无线耳机充电。Among them, the power value of the wireless headset is different, and the status icon corresponding to the wireless headset can display different colors. For example, when the battery level of a wireless headset is greater than 30%, the status icon corresponding to the wireless headset can be displayed in green. When the battery level of the wireless headset is within 10%-30%, the status icon corresponding to the wireless headset can be displayed in orange. When the power value of the headset is less than 10%, the status icon corresponding to the wireless headset can be displayed in red and flash to remind the user to charge the wireless headset with a lower power level.
在实际应用中,可以通过状态图标的大小来表示无线耳机的电量值。可以根据电量值划分为多个级别。如图2所示,划分为四个级别,第二状态图标2对应的电量百分比为百分百,第一状态图标1对应的电量百分比分别为25%,50%,75%及100%。在无线耳机的电量值不足以支撑无线耳机继续工作或者某个无线耳机与终端设备断开连接时,该无线耳机对应的状态图标可以显示为灰色或者显示“×”图标,如图3所示,第一无线耳机断开连接,第一状态图标1显示为“×”。In practical applications, the power value of the wireless headset can be represented by the size of the status icon. It can be divided into multiple levels according to the power value. As shown in FIG. 2, it is divided into four levels. The power percentage corresponding to the second status icon 2 is 100%, and the power percentage corresponding to the first status icon 1 is 25%, 50%, 75%, and 100%, respectively. When the power value of the wireless headset is not enough to support the wireless headset to continue to work or a wireless headset is disconnected from the terminal device, the status icon corresponding to the wireless headset can be grayed out or display an "×" icon, as shown in Figure 3. The first wireless headset is disconnected, and the first status icon 1 is displayed as "×".
另外,在终端设备的显示界面可以显示耳机标识图标,如图4所示,所述耳机标识图标包括第一标识3及第二标识4,所述第一标识3用于表示所述第一无线耳机,所述第二标识4用于表示所述第二无线耳机。所述第一状态图标1可以靠近所述第一标识3,所述第二状态图标2可以靠近所述第二标识4,或者,所述第一状态图标1可以叠加于所述第一标识3,所述第二状态图标2可以叠加于所述第二标识4。In addition, a headset identification icon may be displayed on the display interface of the terminal device. As shown in FIG. 4, the headset identification icon includes a first identification 3 and a second identification 4. The first identification 3 is used to indicate the first wireless Earphone, the second identifier 4 is used to indicate the second wireless earphone. The first state icon 1 may be close to the first mark 3, the second state icon 2 may be close to the second mark 4, or the first state icon 1 may be superimposed on the first mark 3. , The second status icon 2 may be superimposed on the second mark 4.
所述第一状态图标1靠近所述第一标识3,所述第二状态图标2靠近所述第二标识4,可以简洁清晰地显示左右声道耳机的电量值,用户体验较好。例如,如图4所示,第一状态图标1可以为电池图标,第二状态图标2可以为电池图标,所述电池图标可以包括电池液图案,可以通过电池液图案在电池图标中占有的空间来表示无线耳机的电量值,电池液图案在电池图标中占有的空间越大,则无线耳机的电量值越大,以终端设备为手机为例,如图5所示,可以在手机顶部状态栏显示第一状态图标1和第二状态图标2。或者,第一状态图标1可以为电量百分比,第二状态图标2可以为电量百分比,如图6所示,第一状态图标1表示电量为80%,第二状态图标2表示电量为30%。当电量百分比为百分百时,表示无线耳机为满电量。如图4及图6所示,所 述第一状态图标1可以位于所述第一标识3远离所述第二标识4的一侧,所述第二状态图标2可以位于所述第二标识4远离所述第一标识3的一侧。在无线耳机的电量值不足以支撑无线耳机继续工作或者某个无线耳机与终端设备断开连接时,该无线耳机对应的状态图标可以显示为灰色或者显示“×”图标,如图7所示,第二无线耳机断开连接,第二状态图标2显示为“×”。The first state icon 1 is close to the first mark 3, and the second state icon 2 is close to the second mark 4, which can concisely and clearly display the power value of the left and right channel earphones, and the user experience is better. For example, as shown in FIG. 4, the first status icon 1 can be a battery icon, and the second status icon 2 can be a battery icon. The battery icon can include a battery liquid pattern, and the space occupied by the battery liquid pattern in the battery icon can be used. To indicate the power value of the wireless headset, the larger the space occupied by the battery liquid pattern in the battery icon, the greater the power value of the wireless headset. Taking the terminal device as a mobile phone as an example, as shown in Figure 5, you can click the status bar at the top of the phone The first status icon 1 and the second status icon 2 are displayed. Alternatively, the first status icon 1 may be a percentage of power, and the second status icon 2 may be a percentage of power. As shown in FIG. 6, the first status icon 1 indicates that the power is 80%, and the second status icon 2 indicates that the power is 30%. When the battery percentage is 100%, it means that the wireless headset is fully charged. As shown in FIGS. 4 and 6, the first status icon 1 may be located on the side of the first identifier 3 away from the second identifier 4, and the second status icon 2 may be located on the second identifier 4. A side away from the first mark 3. When the battery level of the wireless headset is not enough to support the wireless headset to continue to work or a wireless headset is disconnected from the terminal device, the status icon corresponding to the wireless headset can be grayed out or display an "×" icon, as shown in Figure 7. The second wireless headset is disconnected, and the second status icon 2 is displayed as "×".
当然,所述第一状态图标1可以叠加于所述第一标识3,所述第二状态图标2可以叠加于所述第二标识4,从而更加简洁清晰,且可以减少状态图标占用空间,增加了趣味性。例如,如图8所示,第一标识3可以为椭圆状,第二标识4可以为椭圆状,第一状态图标1叠加在第一标识3上,第二状态图标2叠加在第二标识4上,第一状态图标1在第一标识3中占有的空间越大,则第一无线耳机的电量值越大。第二状态图标2在第二标识4中占有的空间越大,则第二无线耳机的电量值越大。或者,第一状态图标1可以为电量百分比,第二状态图标2可以为电量百分比,如图9所示,第一状态图标1表示电量为80%,第二状态图标2表示电量为30%。当电量百分比为百分百时,表示无线耳机为满电量。在无线耳机的电量值不足以支撑无线耳机继续工作或者某个无线耳机与终端设备断开连接时,该无线耳机对应的状态图标可以显示为灰色或者显示“×”图标,如图10所示,在第二无线耳机断开连接的情况下,第二状态图标2显示为“×”。Of course, the first status icon 1 can be superimposed on the first logo 3, and the second status icon 2 can be superimposed on the second logo 4, which is more concise and clear, and can reduce the space occupied by status icons and increase It's fun. For example, as shown in FIG. 8, the first logo 3 can be oval, the second logo 4 can be elliptical, the first status icon 1 is superimposed on the first logo 3, and the second status icon 2 is superimposed on the second logo 4. Above, the larger the space occupied by the first status icon 1 in the first identifier 3, the larger the power value of the first wireless headset. The greater the space occupied by the second status icon 2 in the second identifier 4, the greater the power value of the second wireless headset. Alternatively, the first status icon 1 may be a percentage of power, and the second status icon 2 may be a percentage of power. As shown in FIG. 9, the first status icon 1 indicates that the power is 80%, and the second status icon 2 indicates that the power is 30%. When the battery percentage is 100%, it means that the wireless headset is fully charged. When the power value of the wireless headset is not enough to support the wireless headset to continue to work or a wireless headset is disconnected from the terminal device, the status icon corresponding to the wireless headset can be grayed out or display an "×" icon, as shown in Figure 10. When the second wireless headset is disconnected, the second status icon 2 is displayed as "×".
该实施方式中,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标,能够解决相关技术中,无线耳机与终端设备连接后,当无线耳机中的电池电量较低时,虽然会通过显示灯或者提示音提示用户对无线耳机进行充电,但用户无法实时获知无线耳机的电量状态的问题,通过第一状态图标和第二状态图标直观显示电量状态,用户体验较好。In this embodiment, the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset, which can solve the problem of After the wireless headset is connected to the terminal device, when the battery in the wireless headset is low, although the user will be prompted to charge the wireless headset through a display light or a prompt sound, the user cannot know the power status of the wireless headset in real time. The first status icon and the second status icon visually display the power status, and the user experience is better.
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
若检测到所述终端设备与目标无线耳机断开连接,则取消显示与所述目标无线耳机对应的状态图标;If it is detected that the terminal device is disconnected from the target wireless headset, cancel displaying the status icon corresponding to the target wireless headset;
其中,所述目标无线耳机为所述第一无线耳机和所述第二无线耳机中的至少一者。Wherein, the target wireless headset is at least one of the first wireless headset and the second wireless headset.
其中,在所述终端设备仅与第一无线耳机连接的情况下,可以仅显示第一状态图标;在所述终端设备仅与第二无线耳机连接的情况下,可以仅显示第二状态图标。为使图标显示具有对称美,在所述终端设备的显示界面显示有耳机标识图标的情况下,所述目标无线耳机对应的状态图标可以显示于所述第一标识和第二标识之间,如图11所示,在所述终端设备仅与第一无线耳机连接的情况下,第一状态图标1可以显示于所述第一标识3和第二标识4之间。Wherein, when the terminal device is only connected with the first wireless headset, only the first state icon may be displayed; when the terminal device is only connected with the second wireless headset, only the second state icon may be displayed. In order to make the icon display have symmetrical beauty, in the case where the headset logo icon is displayed on the display interface of the terminal device, the status icon corresponding to the target wireless headset may be displayed between the first logo and the second logo, such as As shown in FIG. 11, when the terminal device is only connected to the first wireless headset, the first status icon 1 may be displayed between the first logo 3 and the second logo 4.
该实施方式中,若检测到所述终端设备与目标无线耳机断开连接,则取消显示所述目标无线耳机对应的状态图标,只显示一个状态图标,不用区分左右声道耳机,更为简洁。In this embodiment, if it is detected that the terminal device is disconnected from the target wireless headset, the display of the status icon corresponding to the target wireless headset is cancelled, and only one status icon is displayed without distinguishing the left and right channel headsets, which is more concise.
本公开实施例中,在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。这样,通过所述第一状态图标和第二状态图标,用户能够实时获知无线耳机的状态。In the embodiment of the present disclosure, when the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. The second status icon for the status of the wireless headset. In this way, through the first status icon and the second status icon, the user can learn the status of the wireless headset in real time.
参见图13,图13是本公开实施例提供的一种状态显示方法的流程图之二,所述方法应用于终端设备,如图13所示,包括以下步骤:Referring to FIG. 13, FIG. 13 is the second flowchart of a status display method provided by an embodiment of the present disclosure. The method is applied to a terminal device. As shown in FIG. 13, it includes the following steps:
步骤201、在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,获取所述第一无线耳机和第二无线耳机的电量值。Step 201: In a case where the terminal device is connected to the first wireless headset and the second wireless headset, obtain the power value of the first wireless headset and the second wireless headset.
其中,获取所述第一无线耳机和第二无线耳机的电量值,可以是第一无线耳机检测第一无线耳机的电量值,并发送至所述终端设备,第二无线耳机检测第二无线耳机的电量值,并发送至终端设备。可以是第一无线耳机检测第一无线耳机的电量值,并主动发送至所述终端设备,第二无线耳机检测第二无线耳机的电量值,并主动发送至终端设备;也可以是,终端设备向第一无线耳机发送请求信息,用于请求将第一无线耳机的电量值发送至终端设备,终端设备向第二无线耳机发送请求信息,用于请求将第二无线耳机的电量值发送至终端设备。Wherein, acquiring the power value of the first wireless headset and the second wireless headset may be the first wireless headset detecting the power value of the first wireless headset and sending it to the terminal device, and the second wireless headset detecting the second wireless headset And send it to the terminal device. It may be that the first wireless headset detects the power value of the first wireless headset and actively sends it to the terminal device, and the second wireless headset detects the power value of the second wireless headset and actively sends it to the terminal device; or, the terminal device Send request information to the first wireless headset for requesting the power value of the first wireless headset to be sent to the terminal device, and the terminal device sends request information to the second wireless headset for requesting the power value of the second wireless headset to be sent to the terminal equipment.
步骤202、若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。Step 202: If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, respectively display the first state representing the power state of the first wireless headset An icon and a second state icon representing the power state of the second wireless headset.
其中,电量值可以为电量百分比,即无线耳机剩余电量占总电量的百分比。例如总电量的百分比可以为100%,无线耳机剩余电量为总电量的一半时,剩余电量值可以为50%。在电量值为电量百分比的情况下,预设值可以为3%,或者可以为5%,或者10%等等。所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,可以是第一无线耳机的电量值大于第二无线耳机的电量值,且第一无线耳机的电量值与所述第二无线耳机的电量值之差大于预设值;或者可以是,第二无线耳机的电量值大于第一无线耳机的电量值,且第二无线耳机的电量值与所述第一无线耳机的电量值之差大于预设值。Among them, the power value can be a percentage of power, that is, the percentage of the remaining power of the wireless headset to the total power. For example, the percentage of the total power may be 100%, and when the remaining power of the wireless headset is half of the total power, the value of the remaining power may be 50%. In the case where the power value is a percentage of power, the preset value may be 3%, or may be 5%, or 10%, etc. The absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, which may be that the power value of the first wireless headset is greater than the power value of the second wireless headset, and the first The difference between the power value of the wireless headset and the power value of the second wireless headset is greater than the preset value; or it may be that the power value of the second wireless headset is greater than the power value of the first wireless headset, and the power value of the second wireless headset The difference between the power value of the first wireless earphone and the power value is greater than a preset value.
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值小于或等于所述预设值,则显示第三状态图标,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标,或者,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值中的最小值的图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, a third status icon is displayed, and the third status icon represents all The icon of the average value of the power value of the first wireless headset and the power value of the second wireless headset, or the third status icon is an icon representing the power value of the first wireless headset and the second wireless headset The icon of the minimum value among the battery values.
其中,当第一无线耳机的电量值与第二无线耳机的电量值之差的绝对值小于或等于预设值时,在第一无线耳机的电量值大于第二无线耳机的电量值的情况下,第二无线耳机的电量值为第三状态图标所显示的电量值;在第一无线耳机的电量值小于第二无线耳机的电量值的情况下,第一无线耳机的电量值为第三状态图标所显示的电量值。Wherein, when the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, when the power value of the first wireless headset is greater than the power value of the second wireless headset , The power value of the second wireless headset is the power value displayed by the third status icon; when the power value of the first wireless headset is less than the power value of the second wireless headset, the power value of the first wireless headset is the third state The battery value displayed by the icon.
或者,当第一无线耳机的电量值与第二无线耳机的电量值之差的绝对值小于或等于预设值时,第一无线耳机的电量值与第二无线耳机的电量值的平均值为第三状态图标所显示的电量值。Or, when the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, the average value of the power value of the first wireless headset and the power value of the second wireless headset is The power value displayed by the third status icon.
实际应用中,在电量值为电量百分比的情况下,例如,第一无线耳机的电量值为78%,第二无线耳机的电量值为82%,则第一无线耳机的电量值与所述第二无线耳机的电量值的平均值为80%,第一无线耳机的电量值与第二无线耳机的电量值中的最小值为78%。在所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标的情况下,第三状态图标用于表示电量值为80%。在第三状态图标为表示所述第一无线 耳机的电量值与所述第二无线耳机的电量值中的最小值的图标的情况下,第三状态图标用于表示电量值为78%。为使图标显示具有对称美,如图12所示,在所述终端设备的显示界面显示有耳机标识图标的情况下,所述第三状态图标5可以显示于所述第一标识3和第二标识4之间。In practical applications, when the power value is a percentage of power, for example, the power value of the first wireless headset is 78%, and the power value of the second wireless headset is 82%. The average value of the power value of the two wireless earphones is 80%, and the minimum value of the power value of the first wireless earphone and the power value of the second wireless earphone is 78%. In the case where the third status icon is an icon representing an average value of the power value of the first wireless headset and the power value of the second wireless headset, the third status icon is used to indicate that the power value is 80%. In the case where the third status icon is an icon representing the minimum of the power value of the first wireless headset and the power value of the second wireless headset, the third status icon is used to represent the power value of 78%. In order to make the icon display have a symmetrical beauty, as shown in FIG. 12, in the case where a headset logo icon is displayed on the display interface of the terminal device, the third status icon 5 may be displayed on the first logo 3 and the second logo. Identify between 4.
该实施方式中,第一无线耳机的电量值与第二无线耳机的电量值相近,可以认为第一无线耳机和第二无线耳机的使用时长相同,通过第三状态图标表示第一无线耳机和第二无线耳机的电量值,不用区分左右声道耳机,更为简洁。In this embodiment, the power value of the first wireless headset is similar to the power value of the second wireless headset. It can be considered that the use time of the first wireless headset and the second wireless headset are the same. The third status icon indicates that the first wireless headset and the second wireless headset are used. 2. The power value of the wireless headset does not need to distinguish between left and right channel headsets, which is more concise.
作为一种可选的实施方式,所述若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,具体包括:As an optional implementation manner, if the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, then respectively display indicating the first wireless headset The first state icon of the power state of the headset and the second state icon that represents the power state of the second wireless headset specifically include:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第一无线耳机的电量值大于所述第二无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸大于所述第二状态图标的尺寸;If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the first wireless headset is greater than the power value of the second wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is larger than that of the first 2. The size of the status icon;
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第二无线耳机的电量值大于所述第一无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸小于所述第二状态图标的尺寸。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the second wireless headset is greater than the power value of the first wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is smaller than the size of the first wireless headset. The size of the status icon.
其中,所述第一状态图标的尺寸可以用来表示所述第一无线耳机的电量值,所述第二状态图标的尺寸可以用来表示所述第二无线耳机的电量值。状态图标的尺寸大小可以模糊地表示电量值,例如,第一无线耳机的电量值大于第二无线耳机的电量值时,第一状态图标的尺寸大于第二状态图标的尺寸即可;状态图标的尺寸大小还可以精确地表示电量值,例如,如图2所示,第二状态图标2对应的电量百分比为百分百,第一状态图标1对应的电量百分比分别为25%,50%,75%及100%,第二状态图标2的尺寸大小对应为百 分百的情况下,第一状态图标1的尺寸大小对应的百分比分别为25%,50%,75%及100%。Wherein, the size of the first state icon may be used to indicate the power value of the first wireless headset, and the size of the second state icon may be used to indicate the power value of the second wireless headset. The size of the status icon can vaguely indicate the power value. For example, when the power value of the first wireless headset is greater than the power value of the second wireless headset, the size of the first status icon is larger than the size of the second status icon; The size can also accurately represent the power value. For example, as shown in Figure 2, the power percentage corresponding to the second status icon 2 is 100%, and the power percentage corresponding to the first status icon 1 is 25%, 50%, 75. % And 100%, when the size of the second status icon 2 corresponds to a percentage, the percentages corresponding to the size of the first status icon 1 are 25%, 50%, 75%, and 100%, respectively.
该实施方式中,状态图标的尺寸与状态图标对应的无线耳机的电量状态对应,直观显示电量状态,用户体验较好。In this embodiment, the size of the status icon corresponds to the power status of the wireless headset corresponding to the status icon, and the power status is visually displayed, and the user experience is better.
本公开实施例中,在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,获取所述第一无线耳机和第二无线耳机的电量值;若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。这样,当第一无线耳机和第二无线耳机的电量值相差较大时,通过显示第一状态图标和第二状态图标,便于用户实时获知第一无线耳机和第二无线耳机的电量状态。In the embodiment of the present disclosure, when the terminal device is connected to the first wireless earphone and the second wireless earphone, the power value of the first wireless earphone and the second wireless earphone is acquired; If the absolute value of the difference between the power value of the headset and the power value of the second wireless headset is greater than the preset value, a first status icon representing the power status of the first wireless headset and a first status icon representing the second wireless headset are displayed respectively The second status icon of the battery status. In this way, when the power values of the first wireless headset and the second wireless headset are significantly different, by displaying the first status icon and the second status icon, it is convenient for the user to know the power status of the first wireless headset and the second wireless headset in real time.
参见图14,图14是本公开实施例提供的一种终端设备的结构示意图之一,如图14所示,终端设备300包括:Referring to FIG. 14, FIG. 14 is one of the structural schematic diagrams of a terminal device provided by an embodiment of the present disclosure. As shown in FIG. 14, the terminal device 300 includes:
第一显示模块301,用于在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。The first display module 301 is configured to display a first status icon representing the status of the first wireless headset and a first status icon representing the status of the first wireless headset and the first status icon representing the status of the first wireless headset and the The second status icon for the status of the second wireless headset.
可选的,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标。Optionally, the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset.
可选的,如图15所示,终端设备300还包括:Optionally, as shown in FIG. 15, the terminal device 300 further includes:
获取模块302,用于获取所述第一无线耳机和第二无线耳机的电量值;The acquiring module 302 is configured to acquire the power value of the first wireless headset and the second wireless headset;
第一显示模块301具体用于:The first display module 301 is specifically used for:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than the preset value, a first status icon and a display representing the power status of the first wireless headset are displayed respectively The second state icon of the power state of the second wireless headset.
可选的,如图16所示,终端设备300还包括:Optionally, as shown in FIG. 16, the terminal device 300 further includes:
第二显示模块303,用于若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值小于或等于所述预设值,则显示第三状态图标,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标,或者,所述第三状态图标为表示所述第一无线耳机 的电量值与所述第二无线耳机的电量值中的最小值的图标。The second display module 303 is configured to display a third status icon if the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, so The third status icon is an icon representing the average value of the power value of the first wireless headset and the power value of the second wireless headset, or the third status icon is an icon representing the power of the first wireless headset Icon of the minimum value among the power value of the second wireless headset.
可选的,如图17所示,终端设备300还包括:Optionally, as shown in FIG. 17, the terminal device 300 further includes:
第三显示模块304,用于若检测到所述终端设备与目标无线耳机断开连接,则取消显示与所述目标无线耳机对应的状态图标;The third display module 304 is configured to cancel displaying the status icon corresponding to the target wireless headset if it is detected that the terminal device is disconnected from the target wireless headset;
其中,所述目标无线耳机为所述第一无线耳机和所述第二无线耳机中的至少一者。Wherein, the target wireless headset is at least one of the first wireless headset and the second wireless headset.
可选的,所述第一显示模块具体用于:Optionally, the first display module is specifically configured to:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第一无线耳机的电量值大于所述第二无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸大于所述第二状态图标的尺寸;If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the first wireless headset is greater than the power value of the second wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is larger than that of the first 2. The size of the status icon;
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第二无线耳机的电量值大于所述第一无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸小于所述第二状态图标的尺寸。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the second wireless headset is greater than the power value of the first wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is smaller than the size of the first wireless headset. The size of the status icon.
终端设备能够实现图1及图13的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device can implement the various processes implemented by the terminal device in the method embodiments of FIG. 1 and FIG. 13. To avoid repetition, details are not described herein again.
图18为实现本公开各个实施例的一种终端设备的硬件结构示意图。FIG. 18 is a schematic diagram of the hardware structure of a terminal device for implementing various embodiments of the present disclosure.
该终端设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图18中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、机器人、可穿戴设备、以及计步器等。The terminal device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 18 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, robots, wearable devices, and pedometers.
处理器410,用于执行下述过程:The processor 410 is configured to execute the following process:
在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下, 分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。In the case that the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. Two status icons.
本公开实施例中,在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。这样,通过所述第一状态图标和第二状态图标,用户能够实时获知无线耳机的状态。In the embodiment of the present disclosure, when the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. The second status icon for the status of the wireless headset. In this way, through the first status icon and the second status icon, the user can learn the status of the wireless headset in real time.
可选的,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标。Optionally, the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset.
可选的,处理器410执行所述分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标之前,处理器410还用于执行:Optionally, before the processor 410 executes the respective display of the first status icon representing the status of the first wireless headset and the second status icon representing the status of the second wireless headset, the processor 410 is further configured to execute :
获取所述第一无线耳机和第二无线耳机的电量值;Acquiring the power value of the first wireless headset and the second wireless headset;
处理器410执行的所述分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标包括:The display of the first status icon representing the status of the first wireless headset and the second status icon representing the status of the second wireless headset executed by the processor 410 respectively includes:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than the preset value, a first status icon and a display representing the power status of the first wireless headset are displayed respectively The second state icon of the power state of the second wireless headset.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值小于或等于所述预设值,则显示第三状态图标,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标,或者,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值中的最小值的图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, a third status icon is displayed, and the third status icon represents all The icon of the average value of the power value of the first wireless headset and the power value of the second wireless headset, or the third status icon is an icon representing the power value of the first wireless headset and the second wireless headset The icon of the minimum value among the battery values.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
若检测到所述终端设备与目标无线耳机断开连接,则取消显示与所述目标无线耳机对应的状态图标;If it is detected that the terminal device is disconnected from the target wireless headset, cancel displaying the status icon corresponding to the target wireless headset;
其中,所述目标无线耳机为所述第一无线耳机和所述第二无线耳机中的至少一者。Wherein, the target wireless headset is at least one of the first wireless headset and the second wireless headset.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第一无线耳机的电量值大于所述第二无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸大于所述第二状态图标的尺寸;If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the first wireless headset is greater than the power value of the second wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is larger than that of the first 2. The size of the status icon;
若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第二无线耳机的电量值大于所述第一无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸小于所述第二状态图标的尺寸。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the second wireless headset is greater than the power value of the first wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is smaller than the size of the first wireless headset. The size of the status icon.
应理解的是,本公开实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 can convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into audio signals and output them as sounds. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal device 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以 在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
终端设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在终端设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the terminal device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图18中,触控面板4071与显示面板4061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 18, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元408为外部装置与终端设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(input/output,I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备400内的一个或多个元件或者可以用于在终端设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device with the terminal device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (input/output, I/O) port, video I/O port, headphone port, etc. The interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 400 or may be used to connect to the terminal device 400 and external Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器410可包括一个或多个处理单元;可选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
终端设备400还可以包括给各个部件供电的电源411(比如电池),可选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源 管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Optionally, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 400 includes some functional modules not shown, which will not be repeated here.
本公开实施例还提供一种终端设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序,该程序被处理器执行时实现上述状态显示方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present disclosure also provide a terminal device, including a processor, a memory, and a program stored on the memory and running on the processor. When the program is executed by the processor, each of the embodiments in the state display method is implemented. Process, and can achieve the same technical effect, in order to avoid repetition, I will not repeat it here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述状态显示方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the embodiment in the above-mentioned status display method is realized, and the same Technical effects, in order to avoid repetition, I will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(Read-Only Memory, ROM)或随机存取存储器(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by controlling the relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When executed, it may include the processes of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, and sub-units can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSP Device, DSPD) ), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement Described functions in other electronic units or combinations thereof.
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology described in the embodiments of the present disclosure can be implemented through modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure. The software codes can be stored in the memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (14)

  1. 一种状态显示方法,应用于终端设备,包括:A status display method applied to terminal equipment, including:
    在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。In the case that the terminal device is connected to both the first wireless headset and the second wireless headset, a first status icon representing the status of the first wireless headset and a first status icon representing the status of the second wireless headset are displayed respectively. Two status icons.
  2. 根据权利要求1所述的方法,其中,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标。The method according to claim 1, wherein the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset .
  3. 根据权利要求2所述的方法,其中,所述分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标之前,所述方法还包括:The method according to claim 2, wherein before the first status icon representing the status of the first wireless headset and a second status icon representing the status of the second wireless headset are displayed, the method further include:
    获取所述第一无线耳机和第二无线耳机的电量值;Acquiring the power value of the first wireless headset and the second wireless headset;
    所述分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标包括:The respective display of a first status icon representing the status of the first wireless headset and a second status icon representing the status of the second wireless headset includes:
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than the preset value, a first status icon and a display representing the power status of the first wireless headset are displayed respectively The second state icon of the power state of the second wireless headset.
  4. 根据权利要求3所述的方法,还包括:The method according to claim 3, further comprising:
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值小于或等于所述预设值,则显示第三状态图标,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标,或者,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值中的最小值的图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, a third status icon is displayed, and the third status icon represents all The icon of the average value of the power value of the first wireless headset and the power value of the second wireless headset, or the third status icon is an icon representing the power value of the first wireless headset and the second wireless headset The icon of the minimum value among the battery values.
  5. 根据权利要求2所述的方法,还包括:The method according to claim 2, further comprising:
    若检测到所述终端设备与目标无线耳机断开连接,则取消显示与所述目标无线耳机对应的状态图标;If it is detected that the terminal device is disconnected from the target wireless headset, cancel displaying the status icon corresponding to the target wireless headset;
    其中,所述目标无线耳机为所述第一无线耳机和所述第二无线耳机中的至少一者。Wherein, the target wireless headset is at least one of the first wireless headset and the second wireless headset.
  6. 根据权利要求3所述的方法,其中,所述若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,具体包括:3. The method according to claim 3, wherein if the absolute value of the difference between the power value of the first wireless earphone and the power value of the second wireless earphone is greater than a preset value, displaying the first wireless earphone The first state icon of the power state of a wireless headset and the second state icon of the power state of the second wireless headset specifically include:
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第一无线耳机的电量值大于所述第二无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸大于所述第二状态图标的尺寸;If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the first wireless headset is greater than the power value of the second wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is larger than that of the first 2. The size of the status icon;
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第二无线耳机的电量值大于所述第一无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸小于所述第二状态图标的尺寸。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the second wireless headset is greater than the power value of the first wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is smaller than the size of the first wireless headset. The size of the status icon.
  7. 一种终端设备,包括:A terminal device, including:
    第一显示模块,用于在所述终端设备与第一无线耳机和第二无线耳机均建立连接的情况下,分别显示表示所述第一无线耳机的状态的第一状态图标和表示所述第二无线耳机的状态的第二状态图标。The first display module is configured to respectively display a first status icon representing the status of the first wireless headset and a first status icon representing the status of the first wireless headset and the 2. The second status icon of the status of the wireless headset.
  8. 根据权利要求7所述的终端设备,其中,所述第一状态图标为表示所述第一无线耳机的电量状态的图标,所述第二状态图标为表示所述第二无线耳机的电量状态的图标。The terminal device according to claim 7, wherein the first status icon is an icon representing the power status of the first wireless headset, and the second status icon is an icon representing the power status of the second wireless headset icon.
  9. 根据权利要求8所述的终端设备,还包括:The terminal device according to claim 8, further comprising:
    获取模块,用于获取所述第一无线耳机和第二无线耳机的电量值;An acquiring module, configured to acquire the power value of the first wireless headset and the second wireless headset;
    所述第一显示模块具体用于:The first display module is specifically used for:
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than the preset value, a first status icon and a display representing the power status of the first wireless headset are displayed respectively The second state icon of the power state of the second wireless headset.
  10. 根据权利要求9所述的终端设备,还包括:The terminal device according to claim 9, further comprising:
    第二显示模块,用于若所述第一无线耳机的电量值与所述第二无线耳机 的电量值之差的绝对值小于或等于所述预设值,则显示第三状态图标,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值的平均值的图标,或者,所述第三状态图标为表示所述第一无线耳机的电量值与所述第二无线耳机的电量值中的最小值的图标。The second display module is configured to display a third status icon if the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is less than or equal to the preset value, The third status icon is an icon representing the average value of the power value of the first wireless headset and the power value of the second wireless headset, or the third status icon represents the power value of the first wireless headset And the icon of the smallest value among the power values of the second wireless headset.
  11. 根据权利要求8所述的终端设备,还包括:The terminal device according to claim 8, further comprising:
    第三显示模块,用于若检测到所述终端设备与目标无线耳机断开连接,则取消显示与所述目标无线耳机对应的状态图标;The third display module is configured to cancel displaying the status icon corresponding to the target wireless headset if it is detected that the terminal device is disconnected from the target wireless headset;
    其中,所述目标无线耳机为所述第一无线耳机和所述第二无线耳机中的至少一者。Wherein, the target wireless headset is at least one of the first wireless headset and the second wireless headset.
  12. 根据权利要求9所述的终端设备,其中,所述第一显示模块具体用于:The terminal device according to claim 9, wherein the first display module is specifically configured to:
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第一无线耳机的电量值大于所述第二无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸大于所述第二状态图标的尺寸;If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the first wireless headset is greater than the power value of the second wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is larger than that of the first 2. The size of the status icon;
    若所述第一无线耳机的电量值与所述第二无线耳机的电量值之差的绝对值大于预设值,且所述第二无线耳机的电量值大于所述第一无线耳机的电量值,则分别显示表示所述第一无线耳机的电量状态的第一状态图标和表示所述第二无线耳机的电量状态的第二状态图标,其中,所述第一状态图标的尺寸小于所述第二状态图标的尺寸。If the absolute value of the difference between the power value of the first wireless headset and the power value of the second wireless headset is greater than a preset value, and the power value of the second wireless headset is greater than the power value of the first wireless headset , Respectively display a first status icon representing the power status of the first wireless headset and a second status icon representing the power status of the second wireless headset, wherein the size of the first status icon is smaller than the size of the first wireless headset. The size of the status icon.
  13. 一种终端设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至6中任一项所述的状态显示方法中的步骤。A terminal device, comprising: a memory, a processor, and a program stored on the memory and capable of running on the processor, and when the program is executed by the processor, implements any one of claims 1 to 6 The steps in the status display method described in the item.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的状态显示方法中的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the status display method according to any one of claims 1 to 6 are implemented .
PCT/CN2020/098007 2019-07-09 2020-06-24 State display method and terminal device WO2021004281A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910615717.XA CN110267145A (en) 2019-07-09 2019-07-09 A kind of state display method and terminal device
CN201910615717.X 2019-07-09

Publications (1)

Publication Number Publication Date
WO2021004281A1 true WO2021004281A1 (en) 2021-01-14

Family

ID=67925234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098007 WO2021004281A1 (en) 2019-07-09 2020-06-24 State display method and terminal device

Country Status (2)

Country Link
CN (1) CN110267145A (en)
WO (1) WO2021004281A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267145A (en) * 2019-07-09 2019-09-20 维沃移动通信有限公司 A kind of state display method and terminal device
CN111464737B (en) * 2020-03-31 2022-03-04 维沃移动通信有限公司 Electric quantity indication method and electronic equipment
CN115733921A (en) * 2021-08-31 2023-03-03 华为技术有限公司 TWS earphone decoupling sharing method, device, equipment and storage medium
CN113806000A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Display method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150245128A1 (en) * 2012-06-10 2015-08-27 Apple Inc. Remotely controlling a hearing device
CN107491284A (en) * 2016-06-10 2017-12-19 苹果公司 The digital assistants of automation state report are provided
CN107800864A (en) * 2016-09-06 2018-03-13 苹果公司 For with ancillary equipment wireless pairing and show on ancillary equipment status information equipment, method and graphic user interface
CN108683968A (en) * 2018-04-23 2018-10-19 Oppo广东移动通信有限公司 Display control method and related product
CN110267145A (en) * 2019-07-09 2019-09-20 维沃移动通信有限公司 A kind of state display method and terminal device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073577B (en) * 2011-01-17 2013-01-09 惠州Tcl移动通信有限公司 System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof
CN103889037A (en) * 2014-03-25 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof
CN104270499B (en) * 2014-09-01 2018-01-16 广东欧珀移动通信有限公司 A kind of monitoring method of bluetooth earphone state, device and mobile terminal
US20180302507A1 (en) * 2017-04-12 2018-10-18 Private Giant Method and apparatus for easy switching between wired and wireless headset with convenient charging
CN108882084B (en) * 2018-05-31 2020-02-11 Oppo广东移动通信有限公司 Wearable equipment electric quantity balancing method and related product
CN109040893A (en) * 2018-09-11 2018-12-18 深圳市沃特沃德股份有限公司 TWS earphone electric quantity display method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150245128A1 (en) * 2012-06-10 2015-08-27 Apple Inc. Remotely controlling a hearing device
CN107491284A (en) * 2016-06-10 2017-12-19 苹果公司 The digital assistants of automation state report are provided
CN107800864A (en) * 2016-09-06 2018-03-13 苹果公司 For with ancillary equipment wireless pairing and show on ancillary equipment status information equipment, method and graphic user interface
CN108683968A (en) * 2018-04-23 2018-10-19 Oppo广东移动通信有限公司 Display control method and related product
CN110267145A (en) * 2019-07-09 2019-09-20 维沃移动通信有限公司 A kind of state display method and terminal device

Also Published As

Publication number Publication date
CN110267145A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021004281A1 (en) State display method and terminal device
EP3691235A1 (en) Display method and mobile terminal
WO2021204045A1 (en) Audio control method and electronic device
WO2021098705A1 (en) Display method and electronic device
WO2020057258A1 (en) Information processing method and terminal
CN109151367B (en) Video call method and terminal equipment
WO2020220876A1 (en) Application interface displaying method and mobile terminal
WO2019206077A1 (en) Video call processing method and mobile terminal
WO2020238497A1 (en) Icon moving method and terminal device
WO2020238463A1 (en) Message processing method and terminal
WO2021109931A1 (en) Touch control method and wearable device
WO2021083112A1 (en) Information sharing method and electronic device
WO2020238445A1 (en) Screen recording method and terminal
WO2021036553A1 (en) Icon display method and electronic device
CN107635073A (en) The operating method and mobile terminal of a kind of mobile terminal
WO2021115172A1 (en) Display method and electronic device
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2021129835A1 (en) Volume control method and device, and computer-readable storage medium
WO2021238844A1 (en) Audio output method and electronic device
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2020173396A1 (en) Mobile terminal and sound output control method
WO2021104232A1 (en) Display method and electronic device
WO2021083117A1 (en) Method and apparatus for displaying file list, and electronic device
WO2021208893A1 (en) Audio output mode switching method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20837280

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20837280

Country of ref document: EP

Kind code of ref document: A1