[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116321089B - Adjusting method, device and storage medium based on Bluetooth when playing audio - Google Patents

Adjusting method, device and storage medium based on Bluetooth when playing audio Download PDF

Info

Publication number
CN116321089B
CN116321089B CN202310228080.5A CN202310228080A CN116321089B CN 116321089 B CN116321089 B CN 116321089B CN 202310228080 A CN202310228080 A CN 202310228080A CN 116321089 B CN116321089 B CN 116321089B
Authority
CN
China
Prior art keywords
priority
state
value
terminal device
moment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310228080.5A
Other languages
Chinese (zh)
Other versions
CN116321089A (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 CN202310228080.5A priority Critical patent/CN116321089B/en
Publication of CN116321089A publication Critical patent/CN116321089A/en
Application granted granted Critical
Publication of CN116321089B publication Critical patent/CN116321089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a method, equipment and storage medium for adjusting audio playing based on Bluetooth. The method comprises the following steps: the audio playing state of the terminal equipment at the first moment is a first state; the Bluetooth communication link of the terminal equipment is provided with a first priority parameter, and the first priority parameter characterizes the priority of the Bluetooth communication link at the current real-time moment; at a second moment, the audio playing state of the terminal equipment is a second state, and the terminal equipment determines the value of the priority characterized by the second priority parameter; the second priority parameter characterizes a target priority of the bluetooth communication link; when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are different, and the number of the devices connected in the Bluetooth mode is larger than the preset number, determining the value of the priority of the second priority parameter at the second moment as the value of the first priority parameter. Thus, the influence on the communication scheme is reduced.

Description

Adjusting method, device and storage medium based on Bluetooth when playing audio
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and apparatus for adjusting audio playback based on bluetooth, and a storage medium.
Background
Terminal devices have become an important tool in people's lives. The terminal equipment can establish connection with the external equipment in a Bluetooth mode, and then the terminal equipment plays audio through the external equipment.
When the terminal device has both a bluetooth communication mode and a wireless local area network (Wifi) communication mode, there is a case that communication links on both communication modes compete for resources. Further, a method is needed to reduce the communication impact on the bluetooth communication scheme and the wireless lan communication scheme.
Disclosure of Invention
The embodiment of the application provides a Bluetooth-based adjustment method, bluetooth-based adjustment equipment and a Bluetooth-based storage medium when audio is played, and is applied to the technical field of terminals.
In a first aspect, an embodiment of the present application provides a method for adjusting when playing audio based on bluetooth, where the method includes:
at a first moment, the audio playing state of the terminal equipment is a first state; the terminal equipment establishes a channel for playing audio in a Bluetooth mode; the Bluetooth communication link of the terminal equipment is provided with a first priority parameter, and the first priority parameter characterizes the priority of the Bluetooth communication link of the terminal equipment at the current real-time moment; the value of the priority of the first priority parameter at the first moment corresponds to the first state;
At a second moment, the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the value of the priority represented by the second priority parameter; wherein the second priority parameter characterizes a target priority of a bluetooth communication link of the terminal device; the value of the priority of the second priority parameter at the second moment corresponds to the second state; the second time is later than the first time;
when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are different, and the number of the devices connected by the terminal device in a Bluetooth mode is larger than a preset number, the terminal device determines the value of the priority of the second priority parameter at the second moment as the value of the first priority parameter.
In a possible implementation manner, the first state is a stop state or a pause state, and the first priority parameter has a first value of priority at the first moment;
The second state is a playing state, and the value of the priority level of the second priority level parameter at the second moment is a second value;
wherein the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes at the first time.
In a possible implementation manner, the method further includes:
at the first moment, the terminal equipment disconnects Bluetooth connection with external equipment; the external equipment is equipment for playing the audio of the terminal equipment;
and at the second moment, the terminal equipment and the external equipment establish Bluetooth connection.
In a possible implementation manner, the method further includes:
at the first moment, the terminal equipment responds to a first operation of a user and pauses playing of audio in a Bluetooth mode; wherein the first operation is for indicating to pause playing audio;
at the second moment, the terminal equipment responds to a second operation of the user and starts to play audio in a Bluetooth mode; wherein the second operation is for indicating to start playing audio.
In a possible implementation manner, the first state is a play state, and the first priority parameter has a priority value at the first moment and is a second value;
the second state is a stop state or a pause state, and the value of the priority level of the second priority level parameter at the second moment is a first value;
wherein the second priority parameter characterizes a lower priority than the first priority parameter characterizes a lower priority at the first time.
In a possible implementation manner, the method further includes:
at the first moment, the terminal equipment and an external device establish Bluetooth connection; the external equipment is equipment for playing the audio of the terminal equipment;
and at the second moment, the terminal equipment disconnects Bluetooth connection with the external equipment.
In a possible implementation manner, the method further includes:
at the first moment, the terminal equipment responds to a second operation of a user and starts to play audio in a Bluetooth mode; wherein the second operation is used for indicating to start playing audio;
At the second moment, the terminal equipment responds to the first operation of the user and pauses the playing of the audio in a Bluetooth mode; wherein the first operation is for indicating to pause playing audio.
In a possible implementation manner, the method further includes:
when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are the same, and/or the number of the devices connected by the terminal device through the Bluetooth mode is smaller than or equal to the preset number, the terminal device determines that the value of the first priority parameter is unchanged.
In a possible implementation manner, the preset number is 1.
In a second aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like.
The terminal device includes: comprising the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to cause the terminal device to perform a method as in the first aspect.
In a third aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements a method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when run, causes a computer to perform the method as in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip comprising a processor for invoking a computer program in a memory to perform a method according to the first aspect.
It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 shows a schematic configuration diagram of a terminal device 100;
Fig. 2 is a software configuration block diagram of the terminal device 100 of the embodiment of the present application;
fig. 3 is a flowchart of an adjustment method for playing audio based on bluetooth according to an embodiment of the present application;
fig. 4 is a schematic diagram of a software layer of a terminal device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a chip according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
For purposes of clarity in describing the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Terminal devices have become an important tool in people's lives. The terminal equipment can establish connection with the external equipment in a Bluetooth mode, and then the terminal equipment plays audio through the external equipment.
When the terminal device has both the bluetooth communication scheme and the wireless lan communication scheme, there is a case where the communication links in both communication schemes compete for resources. Further, a method is needed to reduce the communication impact on the bluetooth communication scheme and the wireless lan communication scheme.
The "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited. In addition, the display interface provided by the embodiment of the application is only used as an example, and the display interface can also comprise more or less contents.
The electronic device includes a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
In order to better understand the embodiments of the present application, the following describes the structure of the terminal device according to the embodiments of the present application:
fig. 1 shows a schematic structure of a terminal device 100. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriberidentification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is illustrated schematically, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The wireless communication function of the terminal device 100 can 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. The antennas in the terminal device 100 may be used to cover single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. 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 provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, 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, so that the electrical signal is converted into an image visible to naked eyes. ISP can also optimize 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 the camera 193.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in various encoding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. 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 a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal device 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions.
The gyro sensor 180B may be used to determine a motion gesture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of the shake of the terminal device 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shake of the terminal device 100 by the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal device 100 is stationary. The method can also be used for identifying the gesture of the terminal equipment, and is applied to application programs such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 180F to achieve fast focusing.
The temperature sensor 180J is for detecting temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 performs a reduction in the performance of a processor located near the temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the terminal device 100 heats the battery 142 to avoid the low temperature causing the terminal device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the terminal device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may parse out a voice signal based on the vibration signal of the vocal part vibration bone piece obtained by the bone conduction sensor 180M, and implement a voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 180M, so that a heart rate detection function is realized.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the terminal device 100 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include camera, calendar, phone, map, phone, music, settings, mailbox, video, social, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a resource manager, a view system, a notification manager, and the like.
The window manager is used for managing window programs. The window manager may obtain the display screen size, determine if there is a status bar, lock the screen, touch the screen, drag the screen, intercept the screen, etc.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The workflow of the terminal device 100 software and hardware is illustrated below in connection with the scenario of application launch or interface switching occurring in an application.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, touch strength, time stamp of the touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a mailbox application icon, calling an interface of an application framework layer by a mailbox application, starting the mailbox application, and further starting a display driver by calling a kernel layer to display a functional interface of the mailbox application.
The following describes in detail the scheme provided by the embodiment of the present application with reference to the accompanying drawings.
Fig. 3 is a flowchart of an adjustment method for playing audio based on bluetooth according to an embodiment of the present application, as shown in fig. 3, the method includes:
s301, at a first moment, the audio playing state of the terminal equipment is a first state; the terminal equipment establishes a channel for playing audio in a Bluetooth mode; the Bluetooth communication link of the terminal equipment is provided with a first priority parameter, and the first priority parameter characterizes the priority of the Bluetooth communication link of the terminal equipment at the current real-time moment; the first priority parameter has a priority value at a first time and corresponds to a first state.
Illustratively, the terminal device has bluetooth functionality and Wifi functionality. The terminal device can use both bluetooth and Wifi functions. The terminal equipment is connected with the external equipment through Bluetooth. When the terminal equipment plays music through the external equipment, the priority of the Bluetooth communication link of the terminal equipment can be improved by the terminal equipment, so that the priority of the Bluetooth communication link of the terminal equipment is higher than that of the Wifi communication link of the terminal equipment.
The method comprises the steps that in the process of playing audio, the priority of a Bluetooth communication link of the terminal equipment is higher than that of a Wifi communication link of the terminal equipment; in the process of playing the audio, the terminal equipment does not change the priority, so that the priority of the Bluetooth communication link is kept higher than that of the Wifi communication link. Therefore, more bandwidth and resources can be given to Bluetooth, and the Bluetooth performance of the terminal equipment is further improved.
However, since the terminal device keeps the priority of the bluetooth communication link of the terminal device higher than the priority of the Wifi communication link of the terminal device in the process of playing the audio. Therefore, when the terminal equipment needs to process the service with larger data volume through the Wifi communication link, such as roaming, downloading files and the like, the Wifi function is affected because the terminal equipment determines that the resources on the Wifi communication link are fewer. Moreover, the terminal device may compete for resources of the bluetooth communication link through the Wifi communication link, thereby affecting transmission of bluetooth data, such as bluetooth katon.
In addition, the terminal equipment simultaneously uses a Bluetooth function and a Wifi function; when the terminal equipment is connected with an external device through Bluetooth, if the priority of the Bluetooth communication link of the terminal equipment is higher than that of the Wifi communication link of the terminal equipment, the terminal equipment can compete for the resources of the Bluetooth communication link through the Wifi communication link, and further the transmission of Bluetooth data is affected, such as Bluetooth blocking.
In addition, the terminal equipment simultaneously uses a Bluetooth function and a Wifi function; when the terminal equipment is connected with a plurality of external devices in a Bluetooth mode, the priority of the Bluetooth communication link of the terminal equipment is improved by the terminal equipment to be higher than that of the Wifi communication link of the terminal equipment. Then, when external equipment and terminal equipment disconnect bluetooth connection, only remaining 1 external equipment is connected with terminal equipment through bluetooth mode, and at this moment, terminal equipment's bluetooth communication link's priority is still higher than terminal equipment's Wifi communication link's priority to terminal equipment can compete bluetooth communication link's resource through Wifi communication link, and then influences bluetooth data's transmission, for example bluetooth card is on.
The bluetooth communication link and the Wifi communication link are advanced communication links (Advanced Communication Link, ACL).
In this embodiment, at the first moment, the terminal device determines that the terminal device establishes a channel for playing audio in a bluetooth manner, and it can be known that the terminal device establishes a connection with the external device in the bluetooth manner, and the terminal device plays audio through the external device. Audio, such as time music, video, and the like.
The terminal device may then determine that the audio playing state of the terminal device at the first time is the first state.
The first priority parameter has been configured for the bluetooth communication link of the terminal device; the first priority parameter is used for characterizing the priority of the Bluetooth communication link of the terminal device at the current time instant in real time. The terminal equipment can determine that the audio playing state of the terminal equipment at the first moment is the first state, so that the first priority parameter has the value of priority at the first moment; wherein the first priority parameter has a priority value at the first time and corresponds (matches) with the first state.
When the terminal equipment determines that the audio playing state of the terminal equipment at the first moment is the first state, the terminal equipment directly gives a priority value to the first priority parameter; the value of the priority corresponds (matches) to the first state.
S302, at a second moment, the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the value of the priority represented by the second priority parameter; wherein the second priority parameter characterizes a target priority of a bluetooth communication link of the terminal device; the value of the priority of the second priority parameter at the second moment corresponds to the second state; the second time is later than the first time.
In one example, the first state and the second state include the following.
First case: the first state is a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value; the second state is a playing state, and the value of the priority level of the second priority level parameter at the second moment is a second value; wherein the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes at the first time.
Second case: the first state is a playing state, and the value of the priority level of the first priority level parameter at the first moment is a second value; the second state is a stop state or a pause state, and the value of the priority level of the second priority level parameter at the second moment is the first value; wherein the second priority parameter characterizes a lower priority than the first priority parameter characterizes a lower priority at the first time.
Illustratively, the audio playing state of the terminal device is changed at a second time later than the first time; the terminal device determines that the audio playing state of the terminal device is changed from the first state to a second state, the second state being different from the first state.
Since the bluetooth communication link of the terminal device is provided with a second priority parameter, the second priority parameter characterizes the target priority of the bluetooth communication link of the terminal device. At a second time later than the first time, when the terminal device determines that the audio playing state of the terminal device changes from the first state to the second state, the terminal device can determine the value of the priority characterized by the second priority parameter.
When the terminal equipment determines that the audio playing state of the terminal equipment is changed from the first state to the second state, the terminal equipment directly gives a priority value to the second priority parameter; the value of the priority corresponds (matches) to the second state.
It can be known that the first priority parameter has a value of priority at the first moment; the value of the priority of the first priority parameter at the first moment corresponds to the first state. The second priority parameter has a priority value at the second time, and the priority value of the second priority parameter at the second time corresponds to the second state.
The priority of the bluetooth communication link of the terminal device is not changed immediately in step S302, but steps S304-S306 are performed again to determine whether to change the priority of the bluetooth communication link of the terminal device.
In one example, a first priority parameter and a second priority parameter are configured for the bluetooth communication link, wherein the first priority parameter characterizes a priority of the bluetooth communication link of the terminal device at a current time instant in real time, and the second priority parameter characterizes a target priority of the bluetooth communication link of the terminal device.
At a first moment, the audio playing state of the terminal equipment is in a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value; and the first value corresponds to a first state (stopped state or suspended state). For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the first priority parameter at the first time is normal.
Then, at a second time later than the first time, changing the audio playing state of the terminal device from the stopped state or the suspended state to the playing state, wherein the value of the priority level of the second priority level parameter at the second time is a second value; and the second value corresponds to the play state. And the second value characterizes a higher priority than the first value, i.e., the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes a higher priority at the first time. For example, if the audio playing state of the terminal device is the playing state, the second value of the second priority parameter at the second time is high.
Thus, at the first moment, the audio playing state of the terminal equipment is in a stop state or a pause state, and the current real-time priority of the Bluetooth communication link of the terminal equipment is a first value; at a second moment, changing the audio playing state of the terminal equipment into a playing state, wherein the target priority of the Bluetooth communication link of the terminal equipment is a second value; the second value characterizes a higher priority than the first value.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the playing state from the stopping state or the pause state; the terminal device needs to increase the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately increased in step S302, but steps S304-S306 are performed again to determine whether to increase the priority of the bluetooth communication link of the terminal device.
In one example, a first priority parameter and a second priority parameter are configured for the bluetooth communication link, wherein the first priority parameter characterizes a priority of the bluetooth communication link of the terminal device at a current time instant in real time, and the second priority parameter characterizes a target priority of the bluetooth communication link of the terminal device.
At the first moment, the audio playing state of the terminal equipment is a playing state, and the value of the priority level of the first priority level parameter at the first moment is a second value; and the second value corresponds to the first state (play state). For example, if the audio playing state of the terminal device is a playing state, the second value of the first priority parameter at the first moment is high.
Then, at a second time later than the first time, changing the audio playing state of the terminal equipment from the playing state to a stopping state or a suspending state, wherein the value of the priority level of the second priority level parameter at the second time is the first value; the second value corresponds to a second state (a stopped state or a suspended state). And the priority characterized by the first value is lower than the priority characterized by the second value, i.e. the priority characterized by the second priority parameter at the second time is lower than the priority characterized by the first priority parameter at the first time. For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the second priority parameter at the second time is normal.
Thus, at the first moment, the audio playing state of the terminal equipment is the playing state, and the current real-time priority of the Bluetooth communication link of the terminal equipment is the second value; at a second moment, the audio playing state of the terminal equipment becomes a stop state or a pause state, and the target priority of the Bluetooth communication link of the terminal equipment is a first value; wherein the priority characterized by the first value is lower than the priority characterized by the second value.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the state from the playing state to the stopping state or the pause state; the terminal device needs to decrease the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately lowered in step S302, but steps S304-S306 are performed again to determine whether to lower the priority of the bluetooth communication link of the terminal device.
Illustratively, in the "first case" described above, S301 is: at a first moment, the terminal equipment is disconnected with Bluetooth connection between the external equipment, and the audio playing state of the terminal equipment is a first state. The external device is a device for playing the audio of the terminal device.
S302 is: at a second moment, the terminal equipment and the external equipment are connected in a Bluetooth mode, the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the priority characterized by the second priority parameter.
Alternatively, in the "first case" described above, S301 is: at a first moment, the terminal equipment responds to a first operation of a user and pauses playing of audio in a Bluetooth mode; the audio playing state of the terminal equipment is a first state. Wherein the first operation is for indicating to pause playing audio.
S302 is: at a second moment, the terminal equipment responds to a second operation of the user and starts to play audio in a Bluetooth mode; wherein the second operation is used for indicating to start playing the audio; the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the priority characterized by the second priority parameter.
In the above "second case", S301 is: at a first moment, the terminal equipment and the external equipment are connected by Bluetooth, and the audio playing state of the terminal equipment is a first state. The external device is a device for playing the audio of the terminal device.
S302 is: at a second moment, the terminal equipment disconnects Bluetooth connection with the external equipment; the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the priority characterized by the second priority parameter.
Alternatively, in the "second case" described above, S301 is: at a first moment, the terminal equipment responds to a second operation of a user and starts to play audio in a Bluetooth mode; the audio playing state of the terminal equipment is a first state. Wherein the second operation is for indicating to start playing the audio.
S302 is: at a second moment, the terminal equipment responds to the first operation of the user and pauses the playing of the audio in a Bluetooth mode; wherein the first operation is for indicating to pause playing audio; the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the priority characterized by the second priority parameter.
The bluetooth communication link is illustratively configured with a first priority parameter that characterizes a priority of the bluetooth communication link of the terminal device at a current instant in time and a second priority parameter that characterizes a target priority of the bluetooth communication link of the terminal device.
In one example, the terminal device establishes a connection with the external device through bluetooth, and the terminal device plays audio through the external device. At a first moment, the terminal equipment is disconnected with the Bluetooth connection between the external equipment, the audio playing state of the terminal equipment is in a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value; and the first value corresponds to a first state (stopped state or suspended state). For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the first priority parameter at the first time is normal.
Then, at a second moment later than the first moment, the terminal equipment establishes Bluetooth connection with the external equipment again so as to play audio through the external equipment; thus, at the second moment, the audio playing state of the terminal equipment is changed from the stopping state or the suspending state to be the playing state, and then the value of the priority level of the second priority level parameter at the second moment is the second value; and the second value corresponds to the play state. And the second value characterizes a higher priority than the first value, i.e., the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes a higher priority at the first time. For example, if the audio playing state of the terminal device is the playing state, the second value of the second priority parameter at the second time is high.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the playing state from the stopping state or the pause state; the terminal device needs to increase the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately increased in step S302, but steps S304-S306 are performed again to determine whether to increase the priority of the bluetooth communication link of the terminal device.
In another example, the terminal device establishes a connection with the external device through bluetooth, and the terminal device plays audio through the external device. At a first moment, the user operates the terminal device, and then inputs a first operation (for example, clicking on audio played by the terminal device or inputting voice for pausing playing into the terminal device) into the terminal device; the terminal equipment detects that the first operation is an operation for indicating to pause playing of the audio, so that the terminal equipment pauses playing of the audio in a Bluetooth mode, the audio playing state of the terminal equipment is a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value; and the first value corresponds to a first state (stopped state or suspended state). For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the first priority parameter at the first time is normal.
Then, at a second time later than the first time, the user operates the terminal device, and further inputs a second operation into the terminal device (for example, clicking on the audio played by the terminal device or inputting the voice to start playing into the terminal device); the terminal equipment detects a second operation as an operation for indicating to start playing the audio, and at a second moment, the audio playing state of the terminal equipment is changed from a stop state or a pause state to be the playing state, and then the value of the priority level of the second priority level parameter at the second moment is a second value; and the second value corresponds to the play state. And the second value characterizes a higher priority than the first value, i.e., the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes a higher priority at the first time. For example, if the audio playing state of the terminal device is the playing state, the second value of the second priority parameter at the second time is high.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the playing state from the stopping state or the pause state; the terminal device needs to increase the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately increased in step S302, but steps S304-S306 are performed again to determine whether to increase the priority of the bluetooth communication link of the terminal device.
In one example, at a first moment, a bluetooth connection is established between the terminal device and an external device, the terminal device determines that audio is played through the external device, and if the audio playing state of the terminal device is a playing state, the value of the priority level of the first priority level parameter at the first moment is a second value; and the second value corresponds to the first state (play state). For example, if the audio playing state of the terminal device is a playing state, the second value of the first priority parameter at the first moment is high.
Then, at a second time later than the first time, the terminal device disconnects the Bluetooth connection with the external device for playing the audio, the audio playing state of the terminal device is changed from the playing state to the stopping state or the suspending state, and the value of the priority level of the second priority level parameter at the second time is the first value; the second value corresponds to a second state (a stopped state or a suspended state). And the priority characterized by the first value is lower than the priority characterized by the second value, i.e. the priority characterized by the second priority parameter at the second time is lower than the priority characterized by the first priority parameter at the first time. For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the second priority parameter at the second time is normal.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the state from the playing state to the stopping state or the pause state; the terminal device needs to decrease the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately lowered in step S302, but steps S304-S306 are performed again to determine whether to lower the priority of the bluetooth communication link of the terminal device.
In another example, the terminal device has established a bluetooth connection with an external device. At a first moment, the user operates the terminal device, and then inputs a second operation (for example, clicking on the audio played by the terminal device or inputting the voice starting playing into the terminal device) into the terminal device; the terminal equipment detects the second operation as the operation for indicating to start playing the audio, and plays the audio through the external equipment with the Bluetooth connection established. The audio playing state of the terminal equipment is a playing state at the first moment, and the value of the priority level of the first priority level parameter at the first moment is a second value; and the second value corresponds to the first state (play state). For example, if the audio playing state of the terminal device is a playing state, the second value of the first priority parameter at the first moment is high.
Then, at a second time later than the first time, the user operates the terminal device, and further inputs a first operation into the terminal device (for example, clicks on audio played by the terminal device or inputs voice for pausing playing into the terminal device); the terminal equipment pauses the audio playing through the external equipment with the Bluetooth connection established, so that the audio playing state of the terminal equipment is changed from the playing state to the stopping state or the pausing state, and the value of the priority level of the second priority level parameter at the second moment is the first value; the second value corresponds to a second state (a stopped state or a suspended state). And the priority characterized by the first value is lower than the priority characterized by the second value, i.e. the priority characterized by the second priority parameter at the second time is lower than the priority characterized by the first priority parameter at the first time. For example, if the audio playing state of the terminal device is a stop state or a pause state, the first value of the second priority parameter at the second time is normal.
The terminal equipment determines the audio playing state of the terminal equipment, and changes the state from the playing state to the stopping state or the pause state; the terminal device needs to decrease the priority of the bluetooth communication link of the terminal device. In this embodiment, however, the priority of the bluetooth communication link of the terminal device is not immediately lowered in step S302, but steps S304-S306 are performed again to determine whether to lower the priority of the bluetooth communication link of the terminal device.
S303, the terminal equipment judges whether the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are different or not, and whether the number of the equipment connected with the terminal equipment in a Bluetooth mode is larger than the preset number or not.
In one example, the preset number is 1.
Illustratively, after step S302, the terminal device first determines whether the first priority parameter and the second priority parameter are different from each other in the priority level at the first time and the priority level at the second time, that is, whether the real-time priority level of the bluetooth communication link of the terminal device and the target priority level of the bluetooth communication link of the terminal device are different from each other.
And because the terminal equipment can be connected with at least one external equipment through the Bluetooth mode, the terminal equipment can judge whether the number of the equipment connected with the terminal equipment through the Bluetooth mode is larger than the preset number. The preset number may be 1.
S304, when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are different, and the number of the devices connected by the terminal device through the Bluetooth mode is larger than the preset number, the terminal device determines the value of the priority of the second priority parameter at the second moment as the value of the first priority parameter.
Illustratively, after step S303, if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are different, that is, it is determined that the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. And, the terminal device determines that the number of devices connected to the terminal device by the bluetooth mode is greater than a preset number (for example, 1).
And then, the terminal equipment assigns the value of the priority of the second priority parameter at the second moment to the value of the first priority parameter. And further determining the real-time priority of the Bluetooth communication link of the terminal equipment, and changing the value of the priority of the second priority parameter at the second time.
S305, when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are the same, and/or the number of the devices connected by the terminal device through the Bluetooth mode is less than or equal to the preset number, the terminal device determines that the value of the first priority parameter is unchanged.
Illustratively, after step S303, if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are the same, that is, the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are the same. And/or the terminal equipment determines the number of the equipment connected with the terminal equipment through the Bluetooth mode to be less than or equal to the preset number (for example, 1).
Then, the terminal device does not assign the value of the priority of the second priority parameter at the second time to the value of the first priority parameter. And further determining the real-time priority of the Bluetooth communication link of the terminal equipment, wherein the priority is still the value of the priority of the first priority parameter at the first moment.
For example, the terminal device establishes a connection with the external device through bluetooth, and the terminal device plays audio through the external device. At a first moment, the terminal equipment is disconnected with the Bluetooth connection between the external equipment, the audio playing state of the terminal equipment is in a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value normal.
Then, at a second moment later than the first moment, the terminal equipment establishes Bluetooth connection with the external equipment again so as to play audio through the external equipment; thus, at the second time, when the audio playing state of the terminal device is changed from the stopped state or the suspended state to the playing state, the value of the priority level of the second priority level parameter at the second time is a second value high. The second value representation has a higher priority than the first value representation.
The value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time may be determined to be different, i.e. the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are determined to be different. The number of devices connected to the terminal device by bluetooth is 2. Therefore, the priority of the Bluetooth communication link of the terminal equipment is determined by the terminal equipment and changed into the second value high, and the priority of the Bluetooth communication link of the terminal equipment is further improved, so that the priority of the Bluetooth communication link of the terminal equipment is higher than the priority of the Wifi communication link of the terminal equipment.
Or if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are different, that is, the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. However, the number of devices to which the terminal device is connected by the bluetooth method is 1. The terminal equipment determines the real-time priority of the Bluetooth communication link of the terminal equipment and still is 'the value normal of the priority of the first priority parameter at the first moment'; the priority of the Bluetooth communication link of the terminal equipment cannot be controlled by the terminal equipment, and the priority is higher than that of the Wifi communication link of the terminal equipment.
For example, the terminal device establishes a connection with the external device through bluetooth, and the terminal device plays audio through the external device. At a first moment, the user operates the terminal device, and then inputs a first operation (for example, clicking on audio played by the terminal device or inputting voice for pausing playing into the terminal device) into the terminal device; the terminal device detects that the first operation indicates to pause the audio playing operation, so that the terminal device pauses the audio playing operation in a Bluetooth mode, the audio playing state of the terminal device is a stop state or a pause state, and the value of the priority level of the first priority level parameter at the first moment is a first value normal.
Then, at a second time later than the first time, the user operates the terminal device, and further inputs a second operation into the terminal device (for example, clicking on the audio played by the terminal device or inputting the voice to start playing into the terminal device); the terminal device detects that the second operation is an operation for indicating to start playing the audio, and at the second time, the audio playing state of the terminal device is changed from the stop state or the pause state to the playing state, and then the value of the priority level of the second priority level parameter at the second time is a second value high. The second value representation has a higher priority than the first value representation.
The value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time may be determined to be different, i.e. the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are determined to be different. The number of devices connected to the terminal device by bluetooth is 2. Therefore, the priority of the Bluetooth communication link of the terminal equipment is determined by the terminal equipment and changed into the second value high, and the priority of the Bluetooth communication link of the terminal equipment is further improved, so that the priority of the Bluetooth communication link of the terminal equipment is higher than the priority of the Wifi communication link of the terminal equipment.
Or if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are different, that is, the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. However, the number of devices to which the terminal device is connected by the bluetooth method is 1. The terminal equipment determines the real-time priority of the Bluetooth communication link of the terminal equipment and still is 'the value normal of the priority of the first priority parameter at the first moment'; the priority of the Bluetooth communication link of the terminal equipment cannot be controlled by the terminal equipment, and the priority is higher than that of the Wifi communication link of the terminal equipment.
For example, at a first moment, the terminal device establishes a bluetooth connection with an external device, and if the terminal device determines that the external device plays audio, the audio playing state of the terminal device is a playing state, and the first priority parameter has a priority value of a second value high at the first moment.
Then, at a second time later than the first time, the terminal device disconnects the bluetooth connection with the external device for playing audio, and the audio playing state of the terminal device is changed from the playing state to the stop state or the pause state, so that the value of the priority level of the second priority level parameter at the second time is the first value normal.
The value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time may be determined to be different, i.e. the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are determined to be different. The number of devices connected to the terminal device by bluetooth is 2. Therefore, the priority of the Bluetooth communication link of the terminal equipment is determined by the terminal equipment, and the priority of the Bluetooth communication link of the terminal equipment is changed to the first value normal, so that the priority of the Bluetooth communication link of the terminal equipment is reduced, and the priority of the Bluetooth communication link of the terminal equipment is not higher than the priority of the Wifi communication link of the terminal equipment. For example, the priority of the bluetooth communication link of the terminal device is the same as the priority of the wifi communication link of the terminal device.
Or if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are different, that is, the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. However, the number of devices to which the terminal device is connected by the bluetooth method is 1. The terminal equipment determines the real-time priority of the Bluetooth communication link of the terminal equipment and still is 'the value high of the priority of the first priority parameter at the first moment'; the terminal device does not adjust the priority of the bluetooth communication link.
For example, the terminal device has established a bluetooth connection with an external device. At a first moment, the user operates the terminal device, and then inputs a second operation (for example, clicking on the audio played by the terminal device or inputting the voice starting playing into the terminal device) into the terminal device; the terminal equipment detects the second operation as the operation for indicating to start playing the audio, and plays the audio through the external equipment with the Bluetooth connection established. And at the first moment, the audio playing state of the terminal equipment is the playing state, and the value of the priority level of the first priority level parameter at the first moment is a second value high.
Then, at a second time later than the first time, the user operates the terminal device, and further inputs a first operation into the terminal device (for example, clicks on audio played by the terminal device or inputs voice for pausing playing into the terminal device); the terminal device pauses playing the audio through the external device with the Bluetooth connection established, so that the audio playing state of the terminal device is changed from the playing state to the stopping state or the pausing state, and the value of the priority level of the second priority level parameter at the second moment is the first value normal.
The value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time may be determined to be different, i.e. the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are determined to be different. The number of devices connected to the terminal device by bluetooth is 2. Therefore, the priority of the Bluetooth communication link of the terminal equipment is determined by the terminal equipment, and the priority of the Bluetooth communication link of the terminal equipment is changed to the first value normal, so that the priority of the Bluetooth communication link of the terminal equipment is reduced, and the priority of the Bluetooth communication link of the terminal equipment is not higher than the priority of the Wifi communication link of the terminal equipment. For example, the priority of the bluetooth communication link of the terminal device is the same as the priority of the wifi communication link of the terminal device.
Or if it is determined that the value of the priority of the first priority parameter at the first time and the value of the priority of the second priority parameter at the second time are different, that is, the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. However, the number of devices to which the terminal device is connected by the bluetooth method is 1. The terminal equipment determines the real-time priority of the Bluetooth communication link of the terminal equipment and still is 'the value high of the priority of the first priority parameter at the first moment'; the terminal device does not adjust the priority of the bluetooth communication link.
For example, at a first moment, when the terminal device disconnects an external device to establish a bluetooth connection, the terminal device determines that the external device is not enabled to play audio, and the audio playing state of the terminal device is a pause state, and the first priority parameter has a priority value of a first value normal at the first moment.
Then, at a second time later than the first time, the terminal device switches to another external device to play the audio, and the terminal device establishes a bluetooth connection with the other external device. At the second moment, the audio playing state of the terminal equipment is still the playing state, and the value of the priority level of the second priority level parameter at the second moment is a second value high.
It may be determined that the first priority parameter takes on a different value than the second priority parameter takes on a different value than the first priority parameter, i.e. that the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different. The number of devices to which the terminal device is simultaneously connected by the bluetooth method is 1.
Therefore, the terminal equipment determines the real-time priority of the Bluetooth communication link of the terminal equipment and is still the value normal of the priority of the first priority parameter at the first moment; the priority of the Bluetooth communication link of the terminal equipment cannot be controlled by the terminal equipment, and the priority is higher than that of the Wifi communication link of the terminal equipment.
In the scheme, in the process, if the priority of the bluetooth communication link of the terminal equipment is determined to be the second value high at the current real-time moment, the priority of the bluetooth communication link of the terminal equipment is higher than the priority of the wifi communication link of the terminal equipment.
In the above process, if the priority of the bluetooth communication link of the terminal device is determined to be the first value normal under the current real-time moment of the terminal device, the priority of the bluetooth communication link of the terminal device is not higher than the priority of the wifi communication link of the terminal device. For example, the priority of the bluetooth communication link of the terminal device is the same as the priority of the wifi communication link of the terminal device.
Fig. 4 is a schematic diagram of software layers of a terminal device according to an embodiment of the present application, and as shown in fig. 4, the terminal device is deployed with an application layer (app), an application framework layer (FW), a system runtime layer (Native), a hardware abstraction layer (Hardware Abstraction Layer, HAL), and a Linux kernel layer (Kenrel).
The application layer is deployed with an audio application for playing audio.
The system runtime layer is deployed with an algorithm module for implementing the process of providing steps S301-S305 in this embodiment.
In this embodiment, by detecting that the music playing state of the terminal device changes, it is determined whether the real-time priority of the bluetooth communication link of the terminal device and the target priority of the bluetooth communication link of the terminal device are different, and whether the number of devices connected to the terminal device by the bluetooth mode is greater than a preset number. If the real-time priority of the Bluetooth communication link of the terminal equipment and the target priority of the Bluetooth communication link of the terminal equipment are different and the number of the equipment connected by the terminal equipment in a Bluetooth mode is larger than the preset number, the real-time priority of the Bluetooth communication link of the terminal equipment is determined to be changed into the target priority of the Bluetooth communication link of the terminal equipment. For example, the priority of the bluetooth communication link of the terminal device is made higher than the priority of the Wifi communication link of the terminal device, so that the stability of playing music through the bluetooth communication link can be ensured. Or the priority of the Bluetooth communication link of the terminal equipment is not higher than the priority of the Wifi communication link of the terminal equipment, so that the transmission of the Bluetooth communication link and the Wifi communication link is not influenced.
If the real-time priority of the Bluetooth communication link of the terminal equipment and the target priority of the Bluetooth communication link of the terminal equipment are the same, and/or the number of the equipment connected by the terminal equipment in a Bluetooth mode is less than or equal to the preset number, determining that the real-time priority of the Bluetooth communication link of the terminal equipment is not adjusted; for example, the priority of the bluetooth communication link of the terminal device is not made higher than the priority of the Wifi communication link of the terminal device. Therefore, when only 1 external device is connected with the terminal device in order to play audio through a Bluetooth mode, the priority of the Bluetooth communication link of the terminal device is not enabled to be higher than that of the Wifi communication link of the terminal device, and therefore the terminal device avoids the Wifi communication link competing for resources of the Bluetooth communication link and avoids affecting transmission of Bluetooth data.
The scheme of the embodiment avoids the problem that the communication link competes for resources seriously. The communication influence on the Bluetooth communication mode and the wireless local area network communication mode is reduced.
The method for sorting the list of the devices in the embodiment of the present application has been described above, and the device for executing the method for sorting the list provided in the embodiment of the present application is described below. It will be appreciated by those skilled in the art that the methods and apparatus may be combined and referred to, and that the related apparatus provided by the embodiments of the present application may perform the steps in the methods for ordering lists described above.
The embodiment of the application can divide the functional modules of the device of the method according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 5 is a schematic structural diagram of a chip according to an embodiment of the present application. Chip 500 includes one or more (including two) processors 501, communication lines 502, communication interfaces 503, and memory 504.
In some implementations, the memory 504 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
The methods described in the embodiments of the present application may be applied to the processor 501 or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method performed by the terminal device may be implemented by an integrated logic circuit of hardware in the processor 501 or instructions in software form. The processor 501 may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 501 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application.
The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in the memory 504, and the processor 501 reads the information in the memory 504 and in combination with its hardware performs the steps of the method described above.
The processor 501, the memory 504 and the communication interface 503 may communicate with each other via a communication line 502.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 6, a terminal device 600 includes the above-mentioned chip and a display unit. The display unit is provided with an integrated circuit panel which is used for sending out periodic interrupt events. Wherein the integrated circuit panel removes the integrated circuit unit for calculating the coordinate information corresponding to the touch operation.
The adjusting method based on Bluetooth when playing audio can be applied to electronic equipment with a communication function. The electronic device includes a terminal device, and specific device forms and the like of the terminal device may refer to the above related descriptions, which are not repeated herein.
The embodiment of the application provides a terminal device, which comprises: comprising the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to cause the terminal device to perform the method described above.
The embodiment of the application provides a chip. The chip comprises a processor for invoking a computer program in a memory to perform the technical solutions in the above embodiments. The principle and technical effects of the present application are similar to those of the above-described related embodiments, and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores a computer program. The computer program realizes the above method when being executed by a processor. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
In one possible implementation, the computer readable medium may include RAM, ROM, compact disk-read only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium targeted for carrying or storing the desired program code in the form of instructions or data structures and accessible by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes optical disc, laser disc, optical disc, digital versatile disc (Digital Versatile Disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application provide a computer program product comprising a computer program which, when executed, causes a computer to perform the above-described method.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the application has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the application.

Claims (11)

1. An adjusting method based on Bluetooth when playing audio is characterized in that the method is applied to terminal equipment and comprises the following steps:
at a first moment, the audio playing state of the terminal equipment is a first state; the terminal equipment establishes a channel for playing audio in a Bluetooth mode; the Bluetooth communication link of the terminal equipment is provided with a first priority parameter, and the first priority parameter characterizes the priority of the Bluetooth communication link of the terminal equipment at the current real-time moment; the value of the priority of the first priority parameter at the first moment corresponds to the first state;
at a second moment, the audio playing state of the terminal equipment is a second state, the second state is different from the first state, and the terminal equipment determines the value of the priority represented by the second priority parameter; wherein the second priority parameter characterizes a target priority of a bluetooth communication link of the terminal device; the value of the priority of the second priority parameter at the second moment corresponds to the second state; the second time is later than the first time;
When the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are different, and the number of the devices connected by the terminal device in a Bluetooth mode is larger than a preset number, the terminal device determines the value of the priority of the second priority parameter at the second moment as the value of the first priority parameter.
2. The method of claim 1, wherein the first state is a stopped state or a suspended state, and the first priority parameter has a first value of priority at the first time;
the second state is a playing state, and the value of the priority level of the second priority level parameter at the second moment is a second value;
wherein the second priority parameter characterizes a higher priority at the second time than the first priority parameter characterizes at the first time.
3. The method according to claim 2, characterized in that the method further comprises:
at the first moment, the terminal equipment disconnects Bluetooth connection with external equipment; the external equipment is equipment for playing the audio of the terminal equipment;
And at the second moment, the terminal equipment and the external equipment establish Bluetooth connection.
4. The method according to claim 2, characterized in that the method further comprises:
at the first moment, the terminal equipment responds to a first operation of a user and pauses playing of audio in a Bluetooth mode; wherein the first operation is for indicating to pause playing audio;
at the second moment, the terminal equipment responds to a second operation of the user and starts to play audio in a Bluetooth mode; wherein the second operation is for indicating to start playing audio.
5. The method of claim 1, wherein the first state is a play state, and the first priority parameter has a priority value at the first time that is a second value;
the second state is a stop state or a pause state, and the value of the priority level of the second priority level parameter at the second moment is a first value;
wherein the second priority parameter characterizes a lower priority than the first priority parameter characterizes a lower priority at the first time.
6. The method according to claim 5, further comprising:
at the first moment, the terminal equipment and an external device establish Bluetooth connection; the external equipment is equipment for playing the audio of the terminal equipment;
and at the second moment, the terminal equipment disconnects Bluetooth connection with the external equipment.
7. The method according to claim 5, further comprising:
at the first moment, the terminal equipment responds to a second operation of a user and starts to play audio in a Bluetooth mode; wherein the second operation is used for indicating to start playing audio;
at the second moment, the terminal equipment responds to the first operation of the user and pauses the playing of the audio in a Bluetooth mode; wherein the first operation is for indicating to pause playing audio.
8. The method according to any one of claims 1-7, further comprising:
when the value of the priority of the first priority parameter at the first moment and the value of the priority of the second priority parameter at the second moment are the same, and/or the number of the devices connected by the terminal device through the Bluetooth mode is smaller than or equal to the preset number, the terminal device determines that the value of the first priority parameter is unchanged.
9. The method according to any one of claims 1-7, wherein the preset number is 1.
10. A terminal device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory to cause the terminal device to perform the method of any one of claims 1-9.
11. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1-9.
CN202310228080.5A 2023-02-28 2023-02-28 Adjusting method, device and storage medium based on Bluetooth when playing audio Active CN116321089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310228080.5A CN116321089B (en) 2023-02-28 2023-02-28 Adjusting method, device and storage medium based on Bluetooth when playing audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310228080.5A CN116321089B (en) 2023-02-28 2023-02-28 Adjusting method, device and storage medium based on Bluetooth when playing audio

Publications (2)

Publication Number Publication Date
CN116321089A CN116321089A (en) 2023-06-23
CN116321089B true CN116321089B (en) 2023-11-21

Family

ID=86793698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310228080.5A Active CN116321089B (en) 2023-02-28 2023-02-28 Adjusting method, device and storage medium based on Bluetooth when playing audio

Country Status (1)

Country Link
CN (1) CN116321089B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013529431A (en) * 2010-04-28 2013-07-18 クゥアルコム・アセロス・インコーポレイテッド System and method for controlling WLAN communication and Bluetooth communication
WO2017031864A1 (en) * 2015-08-25 2017-03-02 广东欧珀移动通信有限公司 Playing control method and apparatus for multimedia playing device
CN111050199A (en) * 2019-11-19 2020-04-21 青岛海信电器股份有限公司 Display device and scheduling method of Bluetooth communication resources of display device
WO2022033320A1 (en) * 2020-08-13 2022-02-17 华为技术有限公司 Bluetooth communication method, terminal device, and computer-readable storage medium
CN115022859A (en) * 2022-06-30 2022-09-06 四川长虹电器股份有限公司 Wireless local area network and Bluetooth complementary communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101949373B1 (en) * 2012-03-30 2019-02-19 삼성전자주식회사 Method and apparatus for bluetooth connecting in a mobile terminal and computer readable medium thereof
CN110072223B (en) * 2019-05-07 2021-04-13 百度在线网络技术(北京)有限公司 Distribution network pairing method, control terminal, intelligent hardware device, server and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013529431A (en) * 2010-04-28 2013-07-18 クゥアルコム・アセロス・インコーポレイテッド System and method for controlling WLAN communication and Bluetooth communication
WO2017031864A1 (en) * 2015-08-25 2017-03-02 广东欧珀移动通信有限公司 Playing control method and apparatus for multimedia playing device
CN111050199A (en) * 2019-11-19 2020-04-21 青岛海信电器股份有限公司 Display device and scheduling method of Bluetooth communication resources of display device
WO2022033320A1 (en) * 2020-08-13 2022-02-17 华为技术有限公司 Bluetooth communication method, terminal device, and computer-readable storage medium
CN114079893A (en) * 2020-08-13 2022-02-22 华为技术有限公司 Bluetooth communication method, terminal device and computer readable storage medium
CN115022859A (en) * 2022-06-30 2022-09-06 四川长虹电器股份有限公司 Wireless local area network and Bluetooth complementary communication method

Also Published As

Publication number Publication date
CN116321089A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
WO2020253719A1 (en) Screen recording method and electronic device
US11683850B2 (en) Bluetooth reconnection method and related apparatus
US20220159453A1 (en) Method for Using Remote SIM Module and Electronic Device
CN115696483B (en) Network link switching method based on electronic equipment state and electronic equipment
US11973895B2 (en) Call method and apparatus
US12032938B2 (en) Plug-in installation method, apparatus, and storage medium
CN114466107A (en) Sound effect control method and device, electronic equipment and computer readable storage medium
CN111065020A (en) Method and device for processing audio data
CN114827098B (en) Method, device, electronic equipment and readable storage medium for taking photo
CN116321089B (en) Adjusting method, device and storage medium based on Bluetooth when playing audio
CN116305093B (en) Method for operating applet and electronic device
US20220311700A1 (en) Method for multiplexing http channels and terminal
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN114449393A (en) Sound enhancement method, earphone control method, device and earphone
CN116744187B (en) Speaker control method and device
CN117234351B (en) Touch processing method, terminal equipment and storage medium
CN115460445B (en) Screen projection method of electronic equipment and electronic equipment
CN116382728B (en) Propagation name display method and terminal equipment
CN116089057B (en) Resource scheduling method, device, storage medium and program product
CN116703689B (en) Method and device for generating shader program and electronic equipment
CN116668763B (en) Screen recording method and device
CN114756785B (en) Page display method, device, electronic equipment and readable storage medium
CN116684517B (en) Method and device for sending response message
CN115706752B (en) Incoming call volume control method, electronic equipment and storage medium
CN114077365B (en) Split screen display method and electronic equipment

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