CN114268689A - Electric quantity display method of Bluetooth device, terminal and storage medium - Google Patents

Electric quantity display method of Bluetooth device, terminal and storage medium Download PDF

Info

Publication number
CN114268689A
CN114268689A CN202210200720.7A CN202210200720A CN114268689A CN 114268689 A CN114268689 A CN 114268689A CN 202210200720 A CN202210200720 A CN 202210200720A CN 114268689 A CN114268689 A CN 114268689A
Authority
CN
China
Prior art keywords
bluetooth
terminal
bluetooth device
displaying
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210200720.7A
Other languages
Chinese (zh)
Other versions
CN114268689B (en
Inventor
吴昕昊
付雷
董吉阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210200720.7A priority Critical patent/CN114268689B/en
Publication of CN114268689A publication Critical patent/CN114268689A/en
Application granted granted Critical
Publication of CN114268689B publication Critical patent/CN114268689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application relates to an electric quantity display method of a Bluetooth device, a terminal and a storage medium. The method is applied to the terminal. And the terminal responds to the operation of starting the Bluetooth function by a user, connects the terminal with the Bluetooth equipment, and acquires and stores the electric quantity information of the Bluetooth equipment. The terminal acquires the equipment information of the Bluetooth equipment, and determines the number of the Bluetooth equipment connected with the terminal and the I/O capacity of the Bluetooth equipment according to the equipment information of the Bluetooth equipment, wherein the I/O capacity of the Bluetooth equipment refers to the man-machine interaction capacity of the Bluetooth equipment. And the terminal displays the electric quantity information of the Bluetooth equipment on a user interface of the terminal according to the quantity of the Bluetooth equipment and the I/O capacity of the Bluetooth equipment. The terminal can display the electric quantity of the Bluetooth equipment according to the quantity of the Bluetooth equipment and the I/O capacity of the Bluetooth equipment, and is convenient for users to use.

Description

Electric quantity display method of Bluetooth device, terminal and storage medium
Technical Field
The application relates to the technical field of terminals, in particular to an electric quantity display method of a Bluetooth device, a terminal and a storage medium.
Background
When present terminal and bluetooth equipment carry out communication connection, can show bluetooth equipment's electric quantity on the terminal, so can remind the user to charge to bluetooth equipment when bluetooth equipment electric quantity is not enough. However, the existing terminal displays the power of only the last bluetooth device that performs bluetooth connection with the terminal when connecting with a plurality of bluetooth devices. Therefore, the current terminal has a limited scene for displaying the electric quantity of the bluetooth device.
Disclosure of Invention
In view of the above, it is desirable to provide a power display method of a bluetooth device, a terminal and a storage medium for displaying power information of the bluetooth device in a scenario having different numbers of bluetooth devices and device types of the bluetooth devices.
In a first aspect, the present application provides a method for displaying an electric quantity of a bluetooth device, which is applied to a terminal, and the method includes: responding to the operation of starting a Bluetooth function by a user, and connecting the terminal with Bluetooth equipment; acquiring and storing the electric quantity information of the Bluetooth equipment; acquiring the equipment information of the Bluetooth equipment, and determining the number of the Bluetooth equipment connected with the terminal and the I/O capacity of the Bluetooth equipment according to the equipment information of the Bluetooth equipment, wherein the I/O capacity of the Bluetooth equipment refers to the human-computer interaction capacity of the Bluetooth equipment; and displaying the electric quantity information of the Bluetooth equipment on a user interface of the terminal according to the quantity of the Bluetooth equipment and the I/O capacity of the Bluetooth equipment. According to the technical scheme, the electric quantity of the Bluetooth equipment can be displayed according to the quantity of the Bluetooth equipment and the I/O capacity of the Bluetooth equipment, and the use of a user is facilitated.
In one implementation, the displaying the power information of the bluetooth device according to the number of the bluetooth devices and the I/O capability of the bluetooth device includes: and when the number of the Bluetooth devices connected with the terminal is determined to be one and the Bluetooth devices do not have the I/O capability, displaying the electric quantity information of the Bluetooth devices without the I/O capability on the terminal. According to the technical scheme, when the Bluetooth equipment does not have the I/O capability and the number of the Bluetooth equipment is one, the electric quantity information of the Bluetooth equipment without the I/O capability is displayed, so that the electric quantity information of the Bluetooth equipment without the I/O capability can be displayed on the mobile phone, and the user can conveniently check the electric quantity information.
In one implementation, the displaying the power information of the bluetooth device according to the number of the bluetooth devices and the I/O capability of the bluetooth device includes: if the number of the Bluetooth devices connected with the terminal is more than two, judging whether each Bluetooth device has I/O capability; if the Bluetooth equipment is determined to have I/O capability, not displaying the electric quantity information of the Bluetooth equipment; if at least one Bluetooth device is determined to have no I/O capability, judging whether only one Bluetooth device has no I/O capability; if only one Bluetooth device does not have the I/O capability, displaying the electric quantity information of the Bluetooth device without the I/O capability; and if at least two Bluetooth devices do not have the I/O capability, acquiring the audio data stream of each Bluetooth device without the I/O capability, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal. According to the technical scheme, when the Bluetooth device without the I/O capability is determined to have the audio data stream, the Bluetooth device without the I/O capability can be determined to be the device with the current interactive activity of the terminal, the power information of the current active Bluetooth device is displayed, and the power using condition of the Bluetooth device without the I/O capability can be better shown to a user.
In one implementation, the method further comprises: when detecting that a new Bluetooth device is connected with the terminal, judging whether the newly connected Bluetooth device has I/O capability; if the newly connected Bluetooth equipment does not have the I/O capability and the number of the Bluetooth equipment which is connected with the terminal and does not have the I/O capability is one, displaying the electric quantity information of the newly connected Bluetooth equipment when the electric quantity information of the newly connected Bluetooth equipment is acquired; if the newly connected Bluetooth devices do not have I/O capability and the number of the Bluetooth devices which are connected with the terminal and do not have I/O capability is more than two, acquiring the audio data stream and the electric quantity information of each Bluetooth device which is connected with the terminal and does not have I/O capability, and displaying the electric quantity information of the Bluetooth device which has the audio data stream on the terminal. According to the technical scheme, if the Bluetooth device which is newly connected with the terminal has no I/O capability and has audio data streams, the electric quantity information of the newly connected Bluetooth device can be displayed on the terminal.
In one implementation, the determining the I/O capability of the bluetooth device according to the device information of the bluetooth device includes: and acquiring an I/capability field from the Bluetooth equipment, and determining whether the Bluetooth equipment has I/O capability according to the I/capability field. According to the technical scheme, whether the Bluetooth device has the I/O capability or not can be determined according to the I/O capability field sent by the Bluetooth device.
In one implementation, determining the I/O capability of the bluetooth device according to the device information of the bluetooth device includes: determining the device type of the Bluetooth device connected with the terminal according to the device information of the Bluetooth device, wherein the device type of the Bluetooth device comprises a spare type and a headset type; if the equipment type of the Bluetooth equipment is a spare type, determining that the Bluetooth equipment has I/O (input/output) capability; and if the device type of the Bluetooth device is a header type, determining that the Bluetooth device does not have I/O capability. According to the technical scheme, whether the Bluetooth device has the I/O capability or not can be determined according to the device type of the Bluetooth device. In one implementation manner, displaying, on a user interface of the terminal, power information of the bluetooth devices according to the number of the bluetooth devices and the I/O capability of the bluetooth devices includes: and displaying the electric quantity information of the Bluetooth equipment on a user interface of the terminal according to the number of the Bluetooth equipment and the equipment type of the Bluetooth equipment. According to the technical scheme, the electric quantity of the Bluetooth equipment can be displayed according to the quantity of the Bluetooth equipment and the equipment type of the Bluetooth equipment, and the use of a user is facilitated.
In one implementation, the displaying the power information of the bluetooth device according to the number of the bluetooth devices and the device type of the bluetooth device includes: and displaying the electric quantity information of the headset type Bluetooth equipment when the number of the Bluetooth equipment connected with the terminal is determined to be one and the equipment type of the Bluetooth equipment is the headset type. According to the technical scheme, when the device type of the Bluetooth device is determined to be the headset type and the number of the Bluetooth devices is determined to be one, the electric quantity information of the headset type Bluetooth device is displayed, so that the electric quantity information of the Bluetooth device without I/O capability can be displayed on the mobile phone, and the user can conveniently check the electric quantity information.
In one implementation, the displaying the power information of the bluetooth device according to the number of the bluetooth devices and the device type of the bluetooth device includes: if the number of the Bluetooth devices connected with the terminal is more than two, judging whether the type of each Bluetooth device is a spare type or a headset type; if the type of each Bluetooth device is determined to be a webable type, not displaying the electric quantity information of the Bluetooth device; if the type of at least one Bluetooth device is determined to be a header type, judging whether the type of only one Bluetooth device is the header type; if only one Bluetooth device is of the headset type, displaying the electric quantity information of the headset type Bluetooth device; and if at least two Bluetooth devices are of the headset type, acquiring the audio data stream of each headset type Bluetooth device, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal. According to the technical scheme, when the headset type Bluetooth device is determined to have the audio data stream, the headset type Bluetooth device can be determined to be the device with the current interactive activity of the terminal, so that the power information of the current active Bluetooth device is displayed, and the power use condition of the headset type Bluetooth device can be better shown to a user.
In one implementation, the method further comprises: when detecting that a new Bluetooth device is connected with the terminal, judging the device type of the newly connected Bluetooth device as a headset type; if the device type of the newly connected Bluetooth device is a headset type and the number of the headset type Bluetooth devices connected with the terminal is one, displaying the electric quantity information of the newly connected Bluetooth device when the electric quantity information of the newly connected Bluetooth device is acquired; and if the device type of the newly connected Bluetooth device is a headset type and the number of the headset type Bluetooth devices connected with the terminal is more than two, acquiring the audio data stream and the electric quantity information of each headset type Bluetooth device connected with the terminal, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal. According to the technical scheme, if the Bluetooth device newly connected with the terminal is of a headset type and has an audio data stream, the electric quantity information of the newly connected Bluetooth device can be displayed on the terminal.
In one implementation manner, the displaying the power information of the bluetooth device includes: acquiring an AVDTP data stream sent by the terminal to the Bluetooth equipment, wherein the AVDTP data stream comprises sending object information; determining Bluetooth equipment with an audio data stream according to the data object information of the AVDTP data stream; and displaying the electric quantity information of the Bluetooth equipment with the audio data stream on a user interface of the terminal. According to the technical scheme, the terminal can determine the Bluetooth equipment with the audio data stream according to the AVDTP data stream.
In one implementation, the connecting the terminal and the bluetooth device in response to the operation of the user to start the bluetooth function includes: receiving the operation of starting the Bluetooth function input by a user through selecting a Bluetooth starting option on an operation interface of the terminal; searching a broadcast signal sent by the Bluetooth equipment according to the operation of starting the Bluetooth option; if the terminal searches that the broadcast signal sent by the Bluetooth equipment is a broadcast signal with continuous cache data, connecting the terminal with the Bluetooth equipment; if the terminal searches that the broadcast signal sent by the Bluetooth equipment is a broadcast signal without continuous cache data, the terminal displays a connection interface; and receiving the operation of clicking the connection control on the connection interface by the user, and carrying out Bluetooth connection on the Bluetooth equipment corresponding to the connection control. According to the technical scheme, the terminal searches that the broadcast signals sent by the Bluetooth equipment are broadcast signals with continuous cache data, and is connected with the Bluetooth equipment, so that the terminal is directly connected with the Bluetooth equipment after searching the Bluetooth equipment with search records, and the Bluetooth connection efficiency is improved.
In one implementation, the acquiring the power information of the bluetooth device includes: and receiving electric quantity information sent to the terminal by the Bluetooth equipment through AT + XEVENT = BATTERY, [ Level ], [ Number Of Level ], [ Minutes Of Talk ], [ Is Charging ] instructions. According to the technical scheme, the terminal can acquire the electric quantity information of the Bluetooth equipment through the AT + XEVENT instruction.
In one implementation, the acquiring the power information of the bluetooth device includes: receiving the electric quantity information sent by the Bluetooth device to the terminal through AT + IPHONEACCEPV = Number of key/value pairs, key1, val1, key2 and val 2. According to the technical scheme, the terminal can acquire the electric quantity information of the Bluetooth equipment through the AT + IPHONEACCEV instruction.
In one implementation manner, the displaying the power information of the bluetooth device includes: and displaying the electric quantity information of the Bluetooth equipment in a status column of a user interface of the terminal. According to the technical scheme, the electric quantity information of the Bluetooth equipment can be displayed on the status column of the user interface of the terminal for the user to check.
In one implementation manner, the displaying the power information of the bluetooth device includes: and displaying an electric quantity icon at the status column of the user interface, wherein the electric quantity icon is used for indicating the electric quantity information of the Bluetooth equipment.
In one implementation manner, the displaying the power information of the bluetooth device includes: and the mobile phone acquires the electric quantity information sent by the Bluetooth equipment at preset intervals and updates the electric quantity icon according to the acquired electric quantity information. According to the technical scheme, the electric quantity information of the Bluetooth equipment is updated every preset time.
In one implementation, the method further comprises: and displaying the icon of the Bluetooth equipment in a status column of a user interface of the terminal. According to the technical scheme, the Bluetooth equipment which is used for indicating the currently displayed electric quantity information to the user is displayed through the icon of the Bluetooth equipment.
In a second aspect, an embodiment of the present application provides a terminal, including a processor, a memory; wherein the processor is coupled with the memory; the memory to store program instructions; the processor is used for reading the program instruction stored in the memory so as to realize the electric quantity display method of the Bluetooth equipment.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where program instructions are stored, and when the program instructions are run on a terminal, the terminal is enabled to execute the power display method of the bluetooth device.
In addition, the technical effects brought by the second aspect to the third aspect can be referred to the description related to the methods designed in the above methods, and are not repeated herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a power display system according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a power display method of a bluetooth device according to an embodiment of the present disclosure.
Fig. 5 is an application scenario diagram of a power display method of a bluetooth device in an embodiment of the present application.
Fig. 6 is a schematic diagram of a connection interface according to an embodiment of the present application.
Fig. 7 is a flowchart illustrating steps of displaying power information of a bluetooth device according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a mobile phone displaying power of a bluetooth device according to an embodiment of the present application.
Fig. 9 is a flowchart illustrating steps of displaying power information of a bluetooth device according to another embodiment of the present application.
Fig. 10 is a diagram illustrating a bluetooth device icon displayed on a mobile phone according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that in this application, "/" means "or" means "unless otherwise indicated. For example, A/B may represent A or B. In the present application, "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. "at least one" means one or more. "plurality" means two or more than two. For example, at least one of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, a, b and c.
For the convenience of the following description of the various embodiments, a brief description of a User Interface (UI) involved in the embodiments of the present application will be given. The UI is a medium interface for interaction and information exchange between an application program or an operating system and a user, and can realize conversion between an internal form of information and a form acceptable by the user. The user interface of the application program is a source code written by a specific computer language such as JAVA (JAVA), extensible markup language (XML), and the like, and the interface source code is analyzed and rendered on the electronic device, and finally presented as content that can be recognized by a user, such as controls such as pictures, words, buttons, and the like. A control (control) is a basic element of a user interface, and typical controls include a button (button), a widget (widget), a toolbar (toolbar), a menu bar (menu bar), a text box (text box), a scroll bar (scrollbar), a picture (image), and a text (text). The properties and contents of the controls in the interface are defined by tags or nodes, such as XML defining the controls contained by the interface by nodes < Textview >, < ImgView >, < VideoView >, and the like. A node corresponds to a control or attribute in the interface, and the node is rendered as user-viewable content after parsing and rendering. In addition, many applications, such as hybrid applications (hybrid applications), typically include web pages in their interfaces. A web page, also called a page, can be understood as a special control embedded in an application program interface, the web page is a source code written by a specific computer language, such as hypertext markup language (HTML), Cascading Style Sheets (CSS), JAVA scripts (JavaScript, JS), etc., and the web page source code can be loaded and displayed as a content recognizable to a user by a browser or a web page display component similar to a browser function. The specific content contained in the web page is also defined by tags or nodes in the source code of the web page, such as HTML, which defines elements and attributes of the web page by < p >, < img >, < video >, < canvas >.
A commonly used presentation form of the user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, window, control, etc. displayed in the display screen of the electronic device.
Fig. 1 is a schematic diagram of an electric quantity display system 1 according to an embodiment of the present application. The power display system 1 includes a terminal 10 and at least one bluetooth device 20. The terminal 10 and the at least one bluetooth device 20 may communicate via a bluetooth communication protocol. In this embodiment, the terminal 10 may be a mobile phone, a tablet computer, a personal computer, or other terminal device. The bluetooth device 20 may be a bluetooth headset, a bluetooth speaker, a smart watch, or other devices having a bluetooth function.
Referring to fig. 2, a schematic diagram of a terminal 10 according to an embodiment of the present disclosure is shown. The embodiment will be specifically described below by taking the terminal 10 as an example. It should be understood that the terminal 10 shown in fig. 2 is merely an example, and that the terminal 10 may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The terminal 10 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. Wherein the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the terminal 10. In other embodiments of the present application, the terminal 10 may include more or fewer components than illustrated, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only for illustrative purposes, and does not limit the structure of the terminal 10. In other embodiments of the present application, the terminal 10 may also adopt different interface connection manners or a combination of interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the terminal 10. The charging management module 140 may also supply power to the terminal 10 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the terminal 10 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal 10 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication and the like applied to the terminal 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the terminal 10, including Wireless Local Area Networks (WLANs), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal 10 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the terminal 10 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The terminal 10 implements a display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal 10 may include 1 or N displays 194, with N being a positive integer greater than 1.
The terminal 10 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the terminal 10 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the terminal 10 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The terminal 10 may support one or more video codecs. In this way, the terminal 10 can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the terminal 10, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The internal memory 121 may include one or more Random Access Memories (RAMs) and one or more non-volatile memories (NVMs).
The random access memory may include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), such as fifth generation DDR SDRAM generally referred to as DDR5 SDRAM, and the like; the nonvolatile memory may include a magnetic disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operation principle, may include single-level cells (SLC), multi-level cells (MLC), three-level cells (TLC), four-level cells (QLC), etc. according to the level order of the memory cells, and may include universal FLASH memory (UFS), embedded multimedia memory cards (eMMC), etc. according to the storage specification.
The random access memory may be read and written directly by the processor 110, may be used to store executable programs (e.g., machine instructions) of an operating system or other programs in operation, and may also be used to store data of users and applications, etc.
The nonvolatile memory may also store executable programs, data of users and application programs, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external nonvolatile memory to implement the memory capability of the extended terminal 10. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. One or more computer programs are configured to be executed by the processor 110. The one or more computer programs include instructions which, when executed by the processor 110, implement the method for displaying power of a bluetooth device executed on the terminal 10 in the above-described embodiments to implement the function of displaying power of the bluetooth device of the terminal 10.
The terminal 10 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The terminal 10 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the terminal 10 receives a call or voice information, it can receive voice by bringing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The terminal 10 may be provided with at least one microphone 170C. In other embodiments, the terminal 10 may be provided with two microphones 170C to implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal 10 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal 10 platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal 10 may receive a key input, and generate a key signal input related to user setting and function control of the terminal 10.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal 10 by being inserted into the SIM card interface 195 or pulled out of the SIM card interface 195. The terminal 10 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal 10 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the terminal 10 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal 10 and cannot be separated from the terminal 10.
The method according to the embodiment of the present application is implemented by the wireless communication module 160 of the terminal 10 shown in fig. 2, and may specifically be implemented by a bluetooth module or a bluetooth chip.
Referring to fig. 3, a schematic structural diagram of a bluetooth device 20 according to an embodiment of the present application is shown. The embodiment will be specifically described below by taking the bluetooth device 20 as an example. It should be understood that the bluetooth device 20 shown in fig. 3 is merely an example, and the bluetooth device 20 may have more or less components than those shown in fig. 3, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits, as shown in fig. 3, the bluetooth device 20 may include: the device comprises a processor 201, a memory 202, a Bluetooth communication module 203, an antenna 204, a power switch 205, a USB communication processing module 206 and an audio module 207. Wherein: the processor 201 is operable to read and execute computer readable instructions.
In particular implementations, the processor 201 may mainly include a controller, an operator, and a register. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a specific implementation, the hardware architecture of the processor 201 may be an Application Specific Integrated Circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.
In some embodiments, the processor 201 may be configured to parse a signal received by the bluetooth communication processing module 203, such as a pairing mode modification request sent by the terminal 10, and so on. The processor 201 may be configured to perform corresponding processing operations according to the parsing result, such as generating a pairing mode modification response, and the like.
A memory 202 is coupled to the processor 201 for storing various software programs and/or sets of instructions. In particular implementations, memory 202 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system, such as an embedded operating system like uCOS, VxWorks, RTLinux, etc. The memory 202 may also store communication programs that may be used to communicate with the terminal 10, one or more servers, or other devices.
The bluetooth communication module 203 may include a classic Bluetooth (BT) module and a Bluetooth Low Energy (BLE) module. In some embodiments, the bluetooth communication module 203 may listen to signals, such as probe requests, scanning signals, etc., transmitted by other devices (such as the terminal 10) and may send response signals, scanning responses, etc., so that the other devices (such as the terminal 10) may discover the bluetooth device 20 and establish wireless communication connections with the other devices (such as the terminal 10) to communicate with the other devices (such as the terminal 10) through bluetooth.
In other embodiments, the bluetooth communication module 203 may also transmit a signal, such as a broadcast BLE signal, so that other devices (e.g., the terminal 10) may discover the bluetooth device 20 and establish a wireless communication connection with other devices (e.g., the terminal 10) to communicate with other devices (e.g., the terminal 10) via bluetooth. The wireless communication function of the bluetooth device 20 may be realized by the antenna 204, the bluetooth communication module 203, the modem processor, and the like. Antenna 204 may be used to transmit and receive electromagnetic wave signals. Each antenna in the bluetooth device 20 may be used to cover a single or multiple communication bands. There may be one or more antennas of the bluetooth communication module 203 in some embodiments.
The power switch 205 may be used to control the power of the power supply to the bluetooth device 20. The USB communication processing module 206 may be used to communicate with other devices through a USB interface (not shown). The audio module 207 is operable to output audio signals through the audio output interface, which enables the bluetooth device 20 to support audio playback. The audio module may also be configured to receive audio data via the audio input interface. The bluetooth device 20 may be a media player device such as a bluetooth headset. In some embodiments, the bluetooth device 20 may also include a display screen (not shown), wherein the display screen may be used to display images, prompts, and the like. The display screen may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED) display screen, an active-matrix organic light-emitting diode (AMOLED) display screen, a flexible light-emitting diode (FLED) display screen, a quantum dot light-emitting diode (QLED) display screen, or the like.
A power display method of a bluetooth device (e.g., the bluetooth device 20) provided by the present application is described as follows. For the sake of understanding, in the following embodiments, a mobile phone is used as the terminal 10, and specific contents of the power display method of the bluetooth device proposed in the present application are described.
After the mobile phone is connected with the bluetooth device 20, the mobile phone obtains the device information of the bluetooth device 20, and obtains the I/O capability of the bluetooth device from the device information of the bluetooth device 20. The bluetooth device 20 having I/O capability means that the bluetooth device 20 has a capability of providing a display interface for human-computer interaction with a user, and the bluetooth device 20 having no I/O capability means that the bluetooth device 20 does not have a capability of providing a display interface for human-computer interaction with a user. In an embodiment, the mobile phone obtains the I/capability field from the bluetooth device 20, and if the attribute value of the I/capability field is yes (yes), it determines that the bluetooth device has I/O capability, and if the attribute value of the I/capability field is No (No), it determines that the bluetooth device does not have I/O capability. In another embodiment, after the mobile phone is connected to the bluetooth device 20, the mobile phone obtains the device information of the bluetooth device 20, obtains the device type information from the device information of the bluetooth device 20, determines that the bluetooth device 20 has I/O capability if the device type of the bluetooth device 20 is determined to be a wearable (wearable) type, and determines that the bluetooth device 20 has no I/O capability if the device type of the bluetooth device 20 is determined to be a headset (headset) type.
For example, when the bluetooth headset is connected to the mobile phone as the bluetooth device 20, the mobile phone obtains that the device type of the bluetooth headset is a headset type, and the mobile phone determines that the bluetooth headset does not have the capability of providing a display interface for interacting with a user according to the headset type, and then determines that the bluetooth headset does not have an I/O capability. For example, when the smart watch is connected to a mobile phone as the bluetooth device 20, the mobile phone obtains that the device type of the smart watch is a bearable type, and the mobile phone determines that the smart watch has the capability of providing a display interface for interacting with a user according to the bearable type, and then determines that the smart watch has the I/O capability.
After the mobile phone is connected to the bluetooth device 20, the mobile phone acquires the power information of the bluetooth device 20 and stores the acquired power information.
In an embodiment, the mobile phone acquires the number of bluetooth devices 20 connected to the mobile phone according to the acquired device information of the bluetooth devices 20, and displays the power information of all connected bluetooth devices 20 according to the number of bluetooth devices 20 and the I/O capability of the bluetooth devices 20.
Specifically, if the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is one and the device type of the bluetooth device 20 is a headset type, the mobile phone displays the electric quantity of the bluetooth device 20. For example, the phone displays the power level of the bluetooth device 20 in the phone status field of the user interface. If the mobile phone determines that the number of the bluetooth devices 20 connected with the mobile phone is one and the bluetooth devices 20 have I/O capability, the mobile phone does not display the power of the bluetooth devices 20.
If the handset determines that the number of bluetooth devices 20 connected to the handset is more than two, the handset determines whether each bluetooth device 20 has I/O capability. If each bluetooth device 20 has I/O capability, the mobile phone does not display the power information of the bluetooth device 20. If one bluetooth device 20 of the more than two bluetooth devices 20 does not have the I/O capability, the power information of the bluetooth device 20 without the I/O capability is displayed. If at least two bluetooth devices 20 of the two or more bluetooth devices 20 do not have I/O capability, the mobile phone obtains the audio data stream of each bluetooth device 20 without I/O capability and determines whether each bluetooth device 20 without I/O capability has the audio data stream, and displays the power information of the bluetooth device 20 with the audio data stream on the mobile phone. If the Bluetooth device 20 without I/O capability has no audio data stream, the mobile phone displays the power of the Bluetooth device 20 connected with the mobile phone at the last time in all the Bluetooth devices 20 without I/O capability.
In another embodiment, the handset displays the power information of all connected bluetooth devices 20 according to the number of bluetooth devices 20 and the device type of the bluetooth devices 20.
Specifically, if the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is one and the device type of the bluetooth device 20 is a headset type, the mobile phone displays the electric quantity of the bluetooth device 20. For example, the phone displays the power level of the bluetooth device 20 in the phone status field of the user interface. If the mobile phone determines that the number of the bluetooth devices 20 connected with the mobile phone is one and the device type of the bluetooth device 20 is a spare type, the mobile phone does not display the electric quantity of the bluetooth device 20.
If the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is more than two, the mobile phone determines whether the type of each bluetooth device 20 is a default type. If the type of each bluetooth device 20 is a default type, the mobile phone does not display the power information of the bluetooth device 20. And if the device type of one bluetooth device 20 of the more than two bluetooth devices 20 is the headset type, displaying the power information of the headset type bluetooth device 20. If the device type of at least two bluetooth devices 20 of the two or more bluetooth devices 20 is a headset type, the mobile phone obtains an audio data stream of each headset type bluetooth device 20 and determines whether each headset type bluetooth device 20 has an audio data stream, and displays the power information of the bluetooth device 20 having the audio data stream on the mobile phone. If the headset type bluetooth device 20 has no audio data stream, the mobile phone displays the power of the last bluetooth device 20 connected with the mobile phone among all the headset type bluetooth devices 20.
Please refer to fig. 4, which is a flowchart illustrating a power display method of the bluetooth device 20 according to an embodiment of the present application. The method is applied to the terminal 10, and specifically comprises the following steps.
Step S401, responding to the operation of the user to start the bluetooth function, connects the terminal 10 with the bluetooth device 20.
Fig. 5 is a view showing an application scenario of the power display method of the bluetooth device 20 according to an embodiment of the present application. The user inputs an operation of turning on the bluetooth function by selecting the turn-on bluetooth option 51 on the operation interface 50 of the mobile phone. The handset searches for broadcast signals transmitted by bluetooth devices 20 in the vicinity of the handset in response to user selection of the turn on bluetooth option 51. In this embodiment, the broadcast signal transmitted by the bluetooth device 20 includes two states. The first state is that the broadcast signal transmitted by the bluetooth device 20 is a broadcast signal with continuously buffered data. The second state is that the broadcast signal transmitted by the bluetooth device 20 is a broadcast signal without continuously buffered data. In this embodiment, the continuous cache data refers to data recorded by connection between the mobile phone and the bluetooth device 20. If the mobile phone finds that the broadcast signal sent by the bluetooth device 20 is a broadcast signal with continuous cache data, that is, there is a connection record between the mobile phone and the bluetooth device 20, the mobile phone is connected to the bluetooth device 20. If the mobile phone finds that the broadcast signal sent by the bluetooth device 20 is a broadcast signal without continuous cache data, that is, the bluetooth device 20 is connected with the mobile phone for the first time, the mobile phone displays the connection interface 60.
Referring now to FIG. 6, a schematic view of a connection interface 60 according to an embodiment of the present application is shown. The connection interface 60 displays the name of the bluetooth device 20 searched by the mobile phone and the connection control 601 corresponding to the name of the bluetooth device 20. After the user clicks the connection control 601, the mobile phone responds to the operation of the user clicking the connection control 601 and performs bluetooth connection with the bluetooth device 20 corresponding to the connection control 601. For example, the names of all nearby bluetooth devices 20 searched by the mobile phone are displayed on the connection interface 60, and if the user clicks the connection control 601 corresponding to the name of one of the bluetooth devices 20, the mobile phone performs bluetooth connection with the bluetooth device 20 corresponding to the connection control 601.
In step S402, the power information of the bluetooth device 20 is acquired and stored.
In this embodiment, after the mobile phone is connected to the bluetooth device 20, the bluetooth communication module 203 of the bluetooth device 20 sends the power information of the bluetooth device 20 to the mobile phone, and the mobile phone replies a confirmation message to the bluetooth device 20 after acquiring the power information of the bluetooth device 20, and stores the acquired power information of the bluetooth device 20.
In an embodiment, the bluetooth device 20 sends the power information Of the bluetooth device 20 to the mobile phone through AT + xev = BATTERY, [ Level ], [ Number Of Level ], [ Minutes Of Talk ], [ Is Charging ] instructions, and the mobile phone replies an OK message to the bluetooth device 20 after receiving the power information sent by the bluetooth device 20, so that the bluetooth device 20 completes one time Of reporting the power information. In this embodiment, the character BATTERY in the AT + xev instruction refers to the BATTERY of the bluetooth device 20, the character Level refers to the power Level of the bluetooth device 20, the character NumberOfLevel refers to how many levels the power of the bluetooth device 20 is, the character MinutesOfTalk refers to the number of minutes the bluetooth device 20 has made a call, and the character IsCharging refers to whether the bluetooth device 20 is charging. In this embodiment, the Level value is 0 to 9, the Number Of Level value is 9, and the electric quantity corresponding to one Level is 10%. For example, AT + xev = BATTERY,3,9,5,0 indicates that the bluetooth device has a power level of 3 (corresponding to 40% power), 10 levels in total, and is left for 5 minutes without being charged.
In another embodiment, the bluetooth device 20 sends the power information of the bluetooth device 20 to the mobile phone through an AT + IPHONEACCEV = Number of key/value pairs, key1, val1, key2, val2, … instruction, and the mobile phone replies an OK message to the bluetooth device 20 after receiving the power information sent by the bluetooth device 20, thereby completing the reporting of the power information one time. In this embodiment, the Number of key/value pairs in the AT + IPHONEACCEV instruction refers to the Number of key-value pairs, i.e., the Number of parameter texts; key1 refers to an electric quantity key value, val1 refers to a specific value corresponding to the electric quantity key value, and val1 takes a value of 0-9; key2 indicates the state of charge, val2 at 0 indicates no charge, and al2 at 1 indicates charge. For example, AT + IPHONEACCEV =1,1,3 indicates that a key value pair (the first parameter is 1) is attached to the AT + IPHONEACCEV instruction, the power key value is 1, and the specific value corresponding to the power key value is 3, which indicates that the power is 40%.
Step S403, acquiring the device information of the bluetooth devices 20, and determining the number of the bluetooth devices 20 connected to the terminal 10 and the I/O capability of the bluetooth devices 20 according to the device information of the bluetooth devices 20.
In this embodiment, the device information of the bluetooth device 20 includes information such as a name of the bluetooth device 20 and an I/capability field of the bluetooth device. The mobile phone determines the number of the bluetooth devices 20 according to the acquired name of the bluetooth device 20. For example, if the mobile phone determines that 2 different bluetooth devices 20 are connected to the mobile phone according to the acquired name information of the bluetooth device 20, the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is two. The handset determines the capabilities of the bluetooth device 20 based on the I/capability field of the bluetooth device 20. For example, the mobile phone obtains the I/capability field from the bluetooth device 20, if the attribute value of the I/capability field is yes, it is determined that the bluetooth device has I/O capability, and if the attribute value of the I/capability field is no, it is determined that the bluetooth device does not have I/O capability.
In step S404, the power information of the bluetooth device 20 is displayed according to the number of the bluetooth devices 20 and the I/O capability of the bluetooth device 20.
Referring to fig. 7, a flowchart of a method for displaying power information of the bluetooth device 20 according to the number of the bluetooth devices 20 and the I/O capability of the bluetooth device 20 in an embodiment of the present application specifically includes the following steps.
Step S4041 determines whether the number of bluetooth devices 20 connected to the terminal 10 is one.
In this embodiment, if the number of the bluetooth devices 20 connected to the terminal 10 is one, step S4042 is executed, and if the number of the bluetooth devices 20 connected to the terminal 10 is greater than or equal to two, step S4045 is executed.
Step S4042, it is determined whether the bluetooth device 20 connected to the terminal 10 has I/O capability.
In this embodiment, step S4043 is executed if the bluetooth device 20 connected to the terminal 10 does not have I/O capability, and step S4044 is executed if the bluetooth device 20 connected to the terminal 10 has I/O capability.
Step S4043, displaying the power information of the bluetooth device 20.
In this embodiment, when it is determined that the number of the bluetooth devices 20 connected to the mobile phone is one and the bluetooth devices 20 do not have I/O capability, the mobile phone displays the power information of the bluetooth devices 20. Referring to fig. 8 (a) and 8 (B), schematic diagrams of the mobile phone displaying the power of the bluetooth device 20 according to an embodiment of the present application are shown. In this embodiment, the mobile phone displays the power information of the bluetooth device 20 in the status column of the user interface 80. Specifically, the mobile phone displays an electric quantity icon 801 in a status field of the UI interface 80, where the electric quantity icon 801 is used to indicate electric quantity information of the bluetooth device 20. It should be noted that, the bluetooth device 20 reports the power information to the mobile phone every preset time, and the mobile phone updates the power icon 801 according to the acquired power information. Referring to fig. 8 (a), at a first time point, the power icon 801 displayed on the user interface 80 by the handset indicates that the power of the bluetooth device 20 is 100%, and referring to fig. 8 (B), at a second time point different from the first time point, the power icon 801 displayed on the user interface 80 by the handset indicates that the power of the bluetooth device 20 is 50%.
Step S4044, the power information of the bluetooth device 20 is not displayed.
In this embodiment, if the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is one and the bluetooth devices 20 have I/O capability, the mobile phone does not display the electric quantity of the bluetooth device 20 corresponding to the default type. It should be noted that, since the bluetooth device 20 with I/O capability can provide a display interface to interact with a user, in this embodiment, when it is determined that the bluetooth device 20 connected to the mobile phone has I/O capability, the mobile phone does not display the power of the bluetooth device 20.
Step S4045, it is determined whether each bluetooth device 20 has I/O capability.
In this embodiment, if it is determined that each bluetooth device 20 has the I/O capability, step S4046 is executed, otherwise, if it is determined that at least one bluetooth device 20 does not have the I/O capability, step S4047 is executed.
Step S4046, the power information of the bluetooth device 20 is not displayed.
In this embodiment, if it is determined that all the bluetooth devices 20 have the I/O capability, the mobile phone does not display the power information of any of the bluetooth devices 20.
Step S4047, it is determined whether only one bluetooth device 20 does not have I/O capability.
In this embodiment, if only one bluetooth device 20 does not have the I/O capability, step S4048 is executed, otherwise, if at least two bluetooth devices 20 do not have the I/O capability, step S4049 is executed.
Step S4048, the power information of the bluetooth device 20 without I/O capability is displayed.
And if one Bluetooth device 20 of the at least two Bluetooth devices 20 does not have the I/O capability, displaying the power information of the Bluetooth device 20 with the I/O capability.
Step S4049, obtaining the audio data stream of each Bluetooth device 20 without I/O capability, determining whether each Bluetooth device 20 without I/O capability has the audio data stream, and displaying the power information of the Bluetooth device 20 with the audio data stream on the terminal 10.
In another embodiment, the device information of the bluetooth device 20 further includes a type of the bluetooth device 20, the mobile phone determines the device type of the bluetooth device 20 according to the device information of the bluetooth device 20, and displays the power information of the bluetooth device 20 according to the number of the bluetooth devices 20 and the device type of the bluetooth device 20, where the device type of the bluetooth device 20 includes a webable type and a headset type. Referring to fig. 9, a flowchart of a method for displaying power information of the bluetooth device 20 according to the number of the bluetooth devices 20 and the device types of the bluetooth devices 20 in an embodiment of the present application specifically includes the following steps.
Step S4041' determines whether the number of bluetooth devices 20 connected to the terminal 10 is one.
In this embodiment, if the number of the bluetooth devices 20 connected to the terminal 10 is one, step S4042 'is executed, and if the number of the bluetooth devices 20 connected to the terminal 10 is two or more, step S4045' is executed.
Step S4042' determines whether the device type of the bluetooth device 20 connected to the terminal 10 is a headset type or a spare type.
In this embodiment, if the device type of the bluetooth device 20 connected to the terminal 10 is the headset type, step S4043 'is performed, and if the device type of the bluetooth device 20 connected to the terminal 10 is the spare type, step S4044' is performed.
Step S4043', the power information of the bluetooth device 20 is displayed.
In this embodiment, when it is determined that the number of the bluetooth devices 20 connected to the mobile phone is one and the device type of the bluetooth device 20 is a headset type, the mobile phone displays the power information of the bluetooth device 20.
Step S4044', the power information of the bluetooth device 20 is not displayed.
In this embodiment, if the mobile phone determines that the number of the bluetooth devices 20 connected to the mobile phone is one and the device type of the bluetooth device 20 is a spare type, the mobile phone does not display the electric quantity of the bluetooth device 20 corresponding to the spare type. It should be noted that, because the bluetooth device 20 corresponding to the bearable type can provide a display interface to interact with the user, that is, the bluetooth device 20 corresponding to the bearable type can display the power information of the bluetooth device 20 through the provided display interface, in this embodiment, when it is determined that the device type of the bluetooth device 20 connected to the mobile phone is the bearable type, the mobile phone does not display the power of the bluetooth device 20 corresponding to the bearable type.
Step S4045' determines whether the type of each bluetooth device 20 is a spare type or a headset type.
In this embodiment, if it is determined that the type of each bluetooth device 20 is a spare type, step S4046 'is performed, otherwise, if it is determined that at least one bluetooth device 20 is a headset type, step S4047' is performed.
Step S4046', the power information of the bluetooth device 20 is not displayed.
In this embodiment, if it is determined that all the types of the bluetooth devices 20 are the default types, the mobile phone does not display the power information of any of the bluetooth devices 20.
Step S4047' determines whether only one bluetooth device 20 is of the headset type.
In this embodiment, if only one bluetooth device 20 is of the headset type, step S4048 'is performed, otherwise, if at least two bluetooth devices 20 are of the headset type, step S4049' is performed.
Step S4048', the power information of the headset type bluetooth device 20 is displayed.
And if the device type of one bluetooth device 20 of the at least two bluetooth devices 20 is the headset type, displaying the power information of the headset type bluetooth device 20.
Step S4049', an audio data stream of each headset-type bluetooth device 20 is acquired, whether each headset-type bluetooth device 20 has an audio data stream is determined, and the power information of the bluetooth device 20 having an audio data stream is displayed on the terminal 10.
In this embodiment, the terminal 10 obtains an AVDTP data stream sent by the terminal 10 to the bluetooth device 20, where the AVDTP data stream includes sending object information, and the sending object information can identify the identity information of the bluetooth device 20. The terminal 10 determines whether the bluetooth device 20 has an audio data stream based on the data object information in the AVDTP data stream. When the terminal 10 determines that the headset type bluetooth device 20 has an audio data stream, the power information of the bluetooth device 20 having the audio data stream is displayed on the terminal 10. In a specific embodiment, the terminal 10 obtains the AVDTP data stream sent by the audio module 207 of the bluetooth device 20 of the wireless communication module 160 of the terminal 10, and determines the bluetooth device 20 having the audio data stream according to the data object information in the AVDTP data stream. It should be noted that, when determining that the headset-type bluetooth device 20 has an audio data stream, the terminal 10 may determine that the headset-type bluetooth device 20 is a device currently interactively active with the terminal 10, so that the terminal 10 displays the power information of the currently active bluetooth device 20, and may better show the power usage status of the headset-type bluetooth device 20 to the user.
In an embodiment, after displaying the power information of the bluetooth device 20, the method further includes: when detecting that a new Bluetooth device 20 is connected to the terminal 10, judging whether the newly connected Bluetooth device 20 has I/O capability or whether the device type of the newly connected Bluetooth device 20 is a headset type; if the newly connected bluetooth device 20 does not have I/O capability or the device type of the new bluetooth device 20 is a headset type, the terminal 10 displays the power information of the bluetooth device 20 on a user interface of the terminal 10 when acquiring the power information of the bluetooth device 20; if the newly connected bluetooth device 20 has I/O capability or the device type of the newly connected bluetooth device 20 is a spare type, the terminal 10 determines whether the bluetooth device 20 currently connected to the terminal 10 has a headset type bluetooth device 20; if the bluetooth device 20 currently connected to the terminal 10 has I/O capability or no headset type bluetooth device 20, the terminal 10 does not display the power information on the user interface. If the current bluetooth device 20 connected to the terminal 10 does not have I/O capability or is a headset type bluetooth device 20, the terminal 10 determines whether only one bluetooth device 20 does not have I/O capability or the type of the bluetooth device 20 is a headset type, and if only one bluetooth device 20 does not have I/O capability or the type of the bluetooth device 20 is a headset type, the terminal 10 displays the power information of the bluetooth device 20 without I/O capability or the headset type when acquiring the power information of the bluetooth device 20 without I/O capability or the headset type; if more than two Bluetooth devices 20 do not have I/O capability or more than two Bluetooth devices 20 are of headset type, the terminal 10 acquires the audio data stream and the power information of each Bluetooth device 20 without I/O capability or headset type, determines whether each Bluetooth device 20 without I/O capability or headset type has the audio data stream, and displays the power information of the Bluetooth device 20 with the audio data stream on the terminal 10.
In one embodiment, when the power information of the bluetooth device 20 is displayed, the method further includes: and displaying an icon 802 of the Bluetooth device in a status column of a user interface of the terminal 10. Referring to fig. 10, in the present embodiment, an icon 802 of the bluetooth device is displayed in a position near the power icon 801 of the bluetooth device 10, and the icon of the bluetooth device 20 is used to prompt the user with the identity information of the bluetooth device 20, so as to better show the power usage of the bluetooth device 20 being used.
In one embodiment, when the power information of the bluetooth device 20 is displayed, the method further includes: and displaying the power information of each bluetooth device 20 connected with the terminal 10.
The present embodiment also provides a computer storage medium, which stores computer instructions, and when the computer instructions are run on the terminal 10, the terminal 10 executes the related method steps to implement the power display method of the bluetooth device 20 in the above embodiment.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the power display method of the bluetooth device 20 in the above embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to make the chip execute the power display method of the bluetooth device 20 in the above-mentioned embodiments of the methods.
The terminal 10, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the terminal can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the module or unit is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Although the present application has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the present application.

Claims (20)

1. A method for displaying electric quantity of Bluetooth equipment is applied to a terminal, and is characterized by comprising the following steps:
responding to the operation of starting a Bluetooth function by a user, and connecting the terminal with Bluetooth equipment;
acquiring and storing the electric quantity information of the Bluetooth equipment;
acquiring the equipment information of the Bluetooth equipment, and determining the number of the Bluetooth equipment connected with the terminal and the I/O capacity of the Bluetooth equipment according to the equipment information of the Bluetooth equipment, wherein the I/O capacity of the Bluetooth equipment refers to the human-computer interaction capacity of the Bluetooth equipment;
and displaying the electric quantity information of the Bluetooth equipment on a user interface of the terminal according to the quantity of the Bluetooth equipment and the I/O capacity of the Bluetooth equipment.
2. The method for displaying power of bluetooth devices according to claim 1, wherein the displaying the power information of the bluetooth devices according to the number of the bluetooth devices and the I/O capabilities of the bluetooth devices comprises:
and when the number of the Bluetooth devices connected with the terminal is determined to be one and the Bluetooth devices do not have the I/O capability, displaying the electric quantity information of the Bluetooth devices without the I/O capability on the terminal.
3. The method for displaying power of bluetooth devices according to claim 1, wherein the displaying the power information of the bluetooth devices according to the number of the bluetooth devices and the I/O capabilities of the bluetooth devices comprises:
if the number of the Bluetooth devices connected with the terminal is more than two, judging whether each Bluetooth device has I/O capability;
if the Bluetooth equipment is determined to have I/O capability, not displaying the electric quantity information of the Bluetooth equipment;
if it is determined that at least one of the bluetooth devices does not have I/O capability,
determining whether only one of the Bluetooth devices does not have I/O capability;
if only one Bluetooth device does not have the I/O capability, displaying the electric quantity information of the Bluetooth device without the I/O capability;
and if at least two Bluetooth devices do not have the I/O capability, acquiring the audio data stream of each Bluetooth device without the I/O capability, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal.
4. The method for displaying power of a bluetooth device according to claim 1, wherein the method further comprises:
when detecting that a new Bluetooth device is connected with the terminal, judging whether the newly connected Bluetooth device has I/O capability;
if the newly connected Bluetooth equipment does not have the I/O capability and the number of the Bluetooth equipment which is connected with the terminal and does not have the I/O capability is one, displaying the electric quantity information of the newly connected Bluetooth equipment when the electric quantity information of the newly connected Bluetooth equipment is acquired;
if the newly connected Bluetooth devices do not have I/O capability and the number of the Bluetooth devices which are connected with the terminal and do not have I/O capability is more than two, acquiring the audio data stream and the electric quantity information of each Bluetooth device which is connected with the terminal and does not have I/O capability, and displaying the electric quantity information of the Bluetooth device which has the audio data stream on the terminal.
5. The method for displaying power of a bluetooth device according to claim 1, wherein determining the I/O capability of the bluetooth device according to the device information of the bluetooth device comprises:
and acquiring an I/capability field from the Bluetooth equipment, and determining whether the Bluetooth equipment has I/O capability according to the I/capability field.
6. The method for displaying power of a bluetooth device according to claim 1, wherein determining the I/O capability of the bluetooth device according to the device information of the bluetooth device comprises:
determining the device type of the Bluetooth device connected with the terminal according to the device information of the Bluetooth device, wherein the device type of the Bluetooth device comprises a spare type and a headset type;
if the equipment type of the Bluetooth equipment is a spare type, determining that the Bluetooth equipment has I/O (input/output) capability;
and if the device type of the Bluetooth device is a header type, determining that the Bluetooth device does not have I/O capability.
7. The method for displaying power of bluetooth devices according to claim 6, wherein displaying the power information of the bluetooth devices on the user interface of the terminal according to the number of the bluetooth devices and the I/O capabilities of the bluetooth devices comprises:
and displaying the electric quantity information of the Bluetooth equipment on a user interface of the terminal according to the number of the Bluetooth equipment and the equipment type of the Bluetooth equipment.
8. The method for displaying power of bluetooth devices according to claim 7, wherein the displaying the power information of the bluetooth devices according to the number of the bluetooth devices and the device types of the bluetooth devices comprises:
and displaying the electric quantity information of the headset type Bluetooth equipment when the number of the Bluetooth equipment connected with the terminal is determined to be one and the equipment type of the Bluetooth equipment is the headset type.
9. The method for displaying power of bluetooth devices according to claim 7, wherein the displaying the power information of the bluetooth devices according to the number of the bluetooth devices and the device types of the bluetooth devices comprises:
if the number of the Bluetooth devices connected with the terminal is more than two, judging whether the type of each Bluetooth device is a spare type or a headset type;
if the type of each Bluetooth device is determined to be a webable type, not displaying the electric quantity information of the Bluetooth device;
if it is determined that at least one of the bluetooth device types is a header type,
judging whether the type of only one Bluetooth device is a headset type;
if only one Bluetooth device is of the headset type, displaying the electric quantity information of the headset type Bluetooth device;
and if at least two Bluetooth devices are of the headset type, acquiring the audio data stream of each headset type Bluetooth device, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal.
10. The method for displaying power of a bluetooth device according to claim 7, wherein the method further comprises:
when detecting that a new Bluetooth device is connected with the terminal, judging the device type of the newly connected Bluetooth device as a headset type;
if the device type of the newly connected Bluetooth device is a headset type and the number of the headset type Bluetooth devices connected with the terminal is one, displaying the electric quantity information of the newly connected Bluetooth device when the electric quantity information of the newly connected Bluetooth device is acquired;
and if the device type of the newly connected Bluetooth device is a headset type and the number of the headset type Bluetooth devices connected with the terminal is more than two, acquiring the audio data stream and the electric quantity information of each headset type Bluetooth device connected with the terminal, and displaying the electric quantity information of the Bluetooth device with the audio data stream on the terminal.
11. The method according to any one of claims 1 to 10, wherein the displaying the power information of the bluetooth device comprises:
acquiring an AVDTP data stream sent by the terminal to the Bluetooth equipment, wherein the AVDTP data stream comprises sending object information;
determining Bluetooth equipment with an audio data stream according to the data object information of the AVDTP data stream;
and displaying the electric quantity information of the Bluetooth equipment with the audio data stream on a user interface of the terminal.
12. The method for displaying power of a bluetooth device according to claim 1, wherein the connecting the terminal with the bluetooth device in response to the operation of the user to start the bluetooth function comprises:
receiving the operation of starting the Bluetooth function input by a user through selecting a Bluetooth starting option on an operation interface of the terminal;
searching a broadcast signal sent by the Bluetooth equipment according to the operation of starting the Bluetooth option;
if the terminal searches that the broadcast signal sent by the Bluetooth equipment is a broadcast signal with continuous cache data, connecting the terminal with the Bluetooth equipment;
if the terminal finds that the broadcast signal sent by the Bluetooth device is a broadcast signal without continuous cache data,
the terminal displays a connection interface;
and receiving the operation of clicking the connection control on the connection interface by the user, and carrying out Bluetooth connection on the Bluetooth equipment corresponding to the connection control.
13. The method for displaying power of a bluetooth device according to claim 1, wherein acquiring the power information of the bluetooth device comprises:
and receiving electric quantity information sent to the terminal by the Bluetooth equipment through AT + XEVENT = BATTERY, [ Level ], [ Number Of Level ], [ Minutes Of Talk ], [ Is Charging ] instructions.
14. The method for displaying power of a bluetooth device according to claim 1, wherein acquiring the power information of the bluetooth device comprises:
receiving the electric quantity information sent by the Bluetooth device to the terminal through AT + IPHONEACCEPV = Number of key/value pairs, key1, val1, key2 and val 2.
15. The method for displaying power of a bluetooth device according to claim 1, wherein the displaying the power information of the bluetooth device comprises:
and displaying the electric quantity information of the Bluetooth equipment in a status column of a user I interface of the terminal.
16. The method for displaying power of a bluetooth device according to claim 15, wherein the displaying the power information of the bluetooth device comprises:
and displaying an electric quantity icon at the status column of the user interface, wherein the electric quantity icon is used for indicating the electric quantity information of the Bluetooth equipment.
17. The method for displaying power of a bluetooth device according to claim 16, wherein the displaying the power information of the bluetooth device comprises:
and the mobile phone acquires the electric quantity information sent by the Bluetooth equipment at preset intervals and updates the electric quantity icon according to the acquired electric quantity information.
18. The method for displaying power of a bluetooth device according to claim 1, wherein the method further comprises:
and displaying the icon of the Bluetooth equipment in a status column of a user interface of the terminal.
19. A terminal comprising a processor, a memory; wherein the processor is coupled with the memory;
the memory to store program instructions;
the processor is configured to read the program instructions stored in the memory to implement the power display method of the bluetooth device according to any one of claims 1 to 18.
20. A computer-readable storage medium storing program instructions which, when run on a terminal, cause the terminal to execute the power display method of the bluetooth device according to any one of claims 1 to 18.
CN202210200720.7A 2022-03-03 2022-03-03 Electric quantity display method of Bluetooth device, terminal and storage medium Active CN114268689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210200720.7A CN114268689B (en) 2022-03-03 2022-03-03 Electric quantity display method of Bluetooth device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210200720.7A CN114268689B (en) 2022-03-03 2022-03-03 Electric quantity display method of Bluetooth device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114268689A true CN114268689A (en) 2022-04-01
CN114268689B CN114268689B (en) 2022-08-05

Family

ID=80834000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210200720.7A Active CN114268689B (en) 2022-03-03 2022-03-03 Electric quantity display method of Bluetooth device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114268689B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090471A1 (en) * 2002-11-12 2004-05-13 Cone Evan W. Graphical program node for displaying acquired images
CN101394633A (en) * 2008-10-24 2009-03-25 深圳华为通信技术有限公司 Electricity saving method, device and mobile terminal supporting mobile terminal of Bluetooth device
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CN102914747A (en) * 2012-09-19 2013-02-06 邹伟 Method for displaying battery voltage or electric quantity of Bluetooth equipment on Bluetooth terminal
CN104079038A (en) * 2014-07-18 2014-10-01 罗继云 Bluetooth portable power source, implementation method and mobile terminal system
US20160182803A1 (en) * 2014-12-22 2016-06-23 Lg Electronics Inc. Method and apparatus for controlling a camera by using bluetooth communication in a wireless communication system
CN108683968A (en) * 2018-04-23 2018-10-19 Oppo广东移动通信有限公司 Display control method and related product
US20200374382A1 (en) * 2017-08-18 2020-11-26 Huawei Technologies Co., Ltd. Display Method and Terminal
CN112469013A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth connection method and related device
CN113422864A (en) * 2017-11-10 2021-09-21 华为技术有限公司 Method, terminal and system for selecting Bluetooth device
CN113572890A (en) * 2021-06-16 2021-10-29 荣耀终端有限公司 Volume management method and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090471A1 (en) * 2002-11-12 2004-05-13 Cone Evan W. Graphical program node for displaying acquired images
CN101394633A (en) * 2008-10-24 2009-03-25 深圳华为通信技术有限公司 Electricity saving method, device and mobile terminal supporting mobile terminal of Bluetooth device
CN102609348A (en) * 2012-02-02 2012-07-25 深圳市中兴移动通信有限公司 Method and system for displaying capacity remaining time of Bluetooth device based on Bluetooth terminal
CN102914747A (en) * 2012-09-19 2013-02-06 邹伟 Method for displaying battery voltage or electric quantity of Bluetooth equipment on Bluetooth terminal
CN104079038A (en) * 2014-07-18 2014-10-01 罗继云 Bluetooth portable power source, implementation method and mobile terminal system
US20160182803A1 (en) * 2014-12-22 2016-06-23 Lg Electronics Inc. Method and apparatus for controlling a camera by using bluetooth communication in a wireless communication system
US20200374382A1 (en) * 2017-08-18 2020-11-26 Huawei Technologies Co., Ltd. Display Method and Terminal
CN113422864A (en) * 2017-11-10 2021-09-21 华为技术有限公司 Method, terminal and system for selecting Bluetooth device
CN108683968A (en) * 2018-04-23 2018-10-19 Oppo广东移动通信有限公司 Display control method and related product
CN112469013A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth connection method and related device
CN113572890A (en) * 2021-06-16 2021-10-29 荣耀终端有限公司 Volume management method and electronic equipment

Also Published As

Publication number Publication date
CN114268689B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN112399390B (en) Bluetooth connection method and related device
US20230247093A1 (en) Data Synchronization Method, Electronic Device, and Computer-Readable Storage Medium
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
CN114189846B (en) Method, system, electronic device and storage medium for avoiding missed call
CN111382418A (en) Application program authority management method and device, storage medium and electronic equipment
CN113986369B (en) Internet of things equipment control method and system, electronic equipment and storage medium
WO2021031862A1 (en) Data processing method and apparatus thereof
CN113488042A (en) Voice control method and electronic equipment
WO2023179123A1 (en) Bluetooth audio playback method, electronic device, and storage medium
CN115022982B (en) Multi-screen cooperative non-inductive access method, electronic equipment and storage medium
CN114268689B (en) Electric quantity display method of Bluetooth device, terminal and storage medium
CN116939559A (en) Bluetooth audio coding data distribution method, electronic equipment and storage medium
WO2022095752A1 (en) Frame demultiplexing method, electronic device and storage medium
CN114120987B (en) Voice wake-up method, electronic equipment and chip system
CN114327198A (en) Control function pushing method and device
CN114822525A (en) Voice control method and electronic equipment
CN114285946B (en) Number portability number display method, electronic equipment and storage medium
CN111586236A (en) Electronic equipment marking method and device, computer readable medium and electronic equipment
CN115841099B (en) Intelligent recommendation method of page filling words based on data processing
CN113271577B (en) Media data playing system, method and related device
CN116708630B (en) Alarm clock setting method and terminal equipment
CN115529379B (en) Method for preventing Bluetooth audio Track jitter, electronic equipment and storage medium
CN117271170B (en) Activity event processing method and related equipment
WO2022166550A1 (en) Data transmission method and electronic device
CN113672187A (en) Data double-sided display method and device, electronic equipment and storage medium

Legal Events

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