CN117956371A - Audio service recovery processing method, electronic equipment and computer storage medium - Google Patents

Audio service recovery processing method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN117956371A
CN117956371A CN202211289367.0A CN202211289367A CN117956371A CN 117956371 A CN117956371 A CN 117956371A CN 202211289367 A CN202211289367 A CN 202211289367A CN 117956371 A CN117956371 A CN 117956371A
Authority
CN
China
Prior art keywords
audio service
bluetooth headset
service
audio
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211289367.0A
Other languages
Chinese (zh)
Inventor
李润
彭连银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202211289367.0A priority Critical patent/CN117956371A/en
Priority to PCT/CN2023/117289 priority patent/WO2024082855A1/en
Publication of CN117956371A publication Critical patent/CN117956371A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present application relates to the field of communications technologies, and in particular, to an audio service recovery processing method, an electronic device, and a computer storage medium. According to the application, whether the preempted audio service is recovered or not can be selected according to the wish of the user, so that the flexibility of switching the audio service is improved, and the user experience is improved. The method comprises the following steps: the first electronic equipment and the second electronic equipment establish a wireless communication channel with the Bluetooth headset; the first electronic equipment processes a first audio service by using a Bluetooth headset; after the second electronic equipment detects the second audio service, requesting the Bluetooth headset to suspend processing the first audio service, and processing the second audio service by using the Bluetooth headset; the method comprises the steps that after the Bluetooth headset pauses processing a first audio service, first electronic equipment displays first prompt information; and the first electronic equipment responds to the first operation of the user on the first prompt information, requests the Bluetooth headset to suspend processing the second audio service, and utilizes the Bluetooth headset to process the first audio service.

Description

Audio service recovery processing method, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an audio service recovery processing method, an electronic device, and a computer storage medium.
Background
At present, bluetooth headset is favored by more and more users by virtue of the characteristics that the bluetooth headset does not need to be stored and arranged with a headset wire, is portable and is convenient to use. The Bluetooth headset has the function that the Bluetooth headset can be in wireless connection with electronic equipment such as a mobile phone, a tablet, a personal computer (personal computer, a PC) and the like, so that the Bluetooth headset can be matched with the electronic equipment to process audio services for users. For example, the bluetooth headset may establish a wireless connection with a mobile phone, cooperate with the mobile phone to play music, play a call to/from the user, etc.
At present, a bluetooth headset can be connected with a plurality of electronic devices, but can only process the audio service of one electronic device with higher service priority according to the service priority sequence set by the audio service, but can not process the audio service of other electronic devices according to the user wish, so that the flexibility of audio service switching is poor, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides an audio service recovery processing method, electronic equipment and a computer storage medium, which are used for solving the problems that under the scene that a Bluetooth headset is connected with a plurality of electronic equipment, only the audio service of one electronic equipment with higher service priority can be processed according to the service priority sequence set by the audio service, but the audio service of other electronic equipment cannot be processed according to the user wish, the flexibility of audio service switching is poor, and the user experience is poor.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
In a first aspect, there is provided an audio service restoration processing method, including: the first electronic equipment and the second electronic equipment establish a wireless communication channel with the Bluetooth headset; the first electronic equipment processes a first audio service by using a Bluetooth headset; after the second electronic equipment detects the second audio service, requesting the Bluetooth headset to suspend processing the first audio service, and processing the second audio service by using the Bluetooth headset; wherein, the service priority of the second audio service is greater than or equal to the service priority of the first audio service; the method comprises the steps that after the Bluetooth headset pauses processing a first audio service, first electronic equipment displays first prompt information; the first prompt message is used for requesting a user to determine whether the first electronic device resumes processing the first audio service by using the Bluetooth headset; the first electronic equipment responds to a first operation of a user on the first prompt message, requests the Bluetooth headset to suspend processing of the second audio service, and utilizes the Bluetooth headset to process the first audio service; the first operation is used for triggering the first electronic equipment to resume processing the first audio service by using the Bluetooth headset.
In the scheme, the audio service of one electronic device with higher service priority is determined to be processed instead of simply according to the service priority sequence set by the audio service. After suspending an audio service, the user may decide whether to continue the audio service. Then, whether to resume the preempted audio service can be selected according to the user's wish. Therefore, the flexibility of audio service switching is improved, and the user experience is improved.
In a possible implementation manner of the first aspect, after the second electronic device detects the second audio service, the requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset includes: the second electronic equipment detects a second audio service and sends a service suspension instruction to the first electronic equipment through the Bluetooth headset; the method comprises the steps that a first electronic device receives a service suspension instruction and stops sending audio data of a first audio service to a Bluetooth headset; the second electronic equipment sends audio data of a second audio service to the Bluetooth headset; the Bluetooth earphone receives the audio data of the second audio service and processes the second audio service.
In a possible implementation manner of the first aspect, after the second electronic device detects the second audio service, the method further includes, before requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset:
The first electronic device indicates the service priority of the first audio service to the second electronic device through the Bluetooth headset; after the second electronic device detects the second audio service, the second electronic device requests the bluetooth headset to suspend processing the first audio service, and processes the second audio service by using the bluetooth headset, including: after the second electronic equipment detects the second audio service, comparing the service priority of the second audio service with that of the first audio service; and if the service priority of the second audio service is greater than that of the first audio service, the second electronic equipment requests the Bluetooth headset to suspend processing of the first audio service and utilizes the Bluetooth headset to process the second audio service.
In a possible implementation manner of the first aspect, the service suspension instruction is used to indicate a service priority of the second audio service; the first electronic device receiving a service suspension instruction, stopping sending audio data of a first audio service to the Bluetooth headset, including: the first electronic equipment receives the service suspension instruction, and if the service priority of the second audio service indicated by the service suspension instruction is greater than that of the first audio service, the first electronic equipment stops sending the audio data of the first audio service to the Bluetooth headset. In the scheme, after the first electronic equipment receives the service suspension instruction, the service priorities of the second audio service and the first audio service are confirmed again, so that the accuracy of the first electronic equipment executing the service suspension instruction is further ensured.
In a possible implementation manner of the first aspect, the method further includes: if the service priority of the second audio service is equal to the service priority of the first audio service, the second electronic equipment displays second prompt information; the second prompt message is used for requesting the user to determine whether the second electronic device preempts the Bluetooth headset to process the second audio service; the second electronic equipment responds to the third operation of the user on the second prompt information, requests the Bluetooth headset to suspend processing the first audio service, and utilizes the Bluetooth headset to process the second audio service; the third operation is used for triggering the second electronic equipment to preempt the Bluetooth headset to process the second audio service.
In the scheme, when the audio services requiring the use right of the Bluetooth headset are in the same service priority, the second electronic device initiating the audio services can display the prompt information for requesting the user to determine whether the second electronic device preempts the Bluetooth headset to process the second audio services, so that the user will determine whether to process the second audio services initiated after the second audio services, and the user experience is improved.
In a possible implementation manner of the first aspect, the first electronic device requests the bluetooth headset to suspend processing the second audio service and processes the first audio service with the bluetooth headset in response to a first operation of the first prompt information by a user, including: if the first electronic equipment receives a first operation of the user on the first prompt message within a first preset time period, the first electronic equipment responds to the first operation to request the Bluetooth headset to suspend processing of the second audio service, and the Bluetooth headset is utilized to process the first audio service.
In the scheme, the display time of the first prompt information needs to be controlled in a certain time, and if the first operation of the user on the first prompt information is detected in the control time, the second electronic equipment resumes the originally suspended audio service, so that the efficiency of the second electronic equipment for resuming the originally suspended audio service is improved.
In a possible implementation manner of the first aspect, the method further includes: if the first electronic equipment does not receive the operation of the user on the first prompt information within the first preset time period, or the first electronic equipment receives the second operation of the user on the first prompt information within the first preset time period, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset processes the second audio service; or if the first electronic equipment does not receive the operation of the user on the first prompt message within the first preset time period, or the first electronic equipment receives the second operation of the user on the first prompt message within the first preset time period, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service; the second operation is used for triggering the first electronic equipment not to resume processing the first audio service by the Bluetooth headset.
In the scheme, the display time of the first prompt information needs to be controlled in a certain time, and if the first operation of the user on the first prompt information is detected in the control time, the second electronic equipment resumes the originally suspended audio service, so that the efficiency of the second electronic equipment for resuming the originally suspended audio service is improved. And after the first electronic equipment finishes processing the second audio service by the Bluetooth headset, the processing of the first audio service by the Bluetooth headset can be automatically resumed without user operation, so that the user experience is improved.
In a possible implementation manner of the first aspect, the method further includes: the first electronic equipment responds to the second operation of the user on the first prompt message, if the second electronic equipment finishes processing the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset finishes processing the second audio service; or the first electronic equipment responds to the second operation of the user on the first prompt information, if the second electronic equipment pauses to process the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses to process the second audio service; the second operation is used for triggering the first electronic equipment not to resume processing the first audio service by the Bluetooth headset.
In the scheme, after the first electronic equipment finishes processing the second audio service through the Bluetooth headset, the first audio service can be automatically recovered and utilized by the Bluetooth headset without user operation, so that the user experience is improved.
In a possible implementation manner of the first aspect, after the second electronic device detects the second audio service, the method further includes, after requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset: the first electronic device processes the first audio service using the audio component of the first electronic device.
After the Bluetooth headset pauses processing the first audio service, the first electronic device can also automatically process the first audio service to be processed, so that the completion degree of the audio service is improved.
In a possible implementation manner of the first aspect, the audio service processed by the bluetooth headset includes a call service, a multimedia service and a notification prompt service; the service priority of the call service is greater than the service priority of the multimedia service, and the service priority of the multimedia service is greater than the service priority of the notification prompt service.
In a second aspect, there is provided an audio service restoration processing method, including: the method comprises the steps that a wireless communication channel is established between first electronic equipment and a Bluetooth headset; the Bluetooth headset and the second electronic equipment also establish a wireless communication channel; the first electronic equipment processes a first audio service by using a Bluetooth headset; the first electronic equipment processes a second audio service of the second electronic equipment at the Bluetooth headset, and after the processing of the first audio service is suspended, first prompt information is displayed; the first prompt message is used for requesting a user to determine whether the first electronic device resumes processing the first audio service by using the Bluetooth headset; the service priority of the second audio service is greater than or equal to the service priority of the first audio service; the first electronic equipment responds to a first operation of a user on the first prompt message, requests the Bluetooth headset to suspend processing of the second audio service, and utilizes the Bluetooth headset to process the first audio service; the first operation is used for triggering the first electronic equipment to resume processing the first audio service by using the Bluetooth headset.
In the scheme, the audio service of one electronic device with higher service priority is determined to be processed instead of simply according to the service priority sequence set by the audio service. After suspending an audio service, the user may decide whether to continue the audio service. Then, whether to resume the preempted audio service can be selected according to the user's wish. Therefore, the flexibility of audio service switching is improved, and the user experience is improved.
In a possible implementation manner of the second aspect, before the first electronic device processes the second audio service of the second electronic device at the bluetooth headset and suspends processing the first audio service, before displaying the first prompt information, the method further includes: the first electronic device indicates the service priority of the first audio service to the second electronic device through the Bluetooth headset.
In a possible implementation manner of the second aspect, after the first electronic device processes the first audio service with the bluetooth headset, the first electronic device processes the second audio service of the second electronic device with the bluetooth headset, and after suspending processing the first audio service, before displaying the first prompt information, the method further includes: the first electronic equipment receives a service suspension instruction from the second electronic equipment through the Bluetooth headset, wherein the service suspension instruction is used for indicating the service priority of the second audio service; if the service priority of the second audio service indicated by the service suspension instruction is greater than the service priority of the first audio service, the first electronic device stops sending the audio data of the first audio service to the Bluetooth headset.
In the scheme, after the first electronic equipment receives the service suspension instruction, the service priorities of the second audio service and the first audio service are confirmed again, so that the accuracy of the first electronic equipment executing the service suspension instruction is further ensured.
In a possible implementation manner of the second aspect, the first electronic device requests the bluetooth headset to suspend processing the second audio service and process the first audio service with the bluetooth headset in response to a first operation of the first prompt information by the user, including: if the first electronic equipment receives a first operation of the user on the first prompt message within a first preset time period, the first electronic equipment responds to the first operation to request the Bluetooth headset to suspend processing of the second audio service, and the Bluetooth headset is utilized to process the first audio service.
In a possible implementation manner of the second aspect, the method further includes: if the first electronic equipment does not receive the operation of the user on the first prompt information within the first preset time period, or the first electronic equipment receives the second operation of the user on the first prompt information within the first preset time period, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset processes the second audio service; or alternatively
If the first electronic equipment does not receive the operation of the user on the first prompt information within the first preset time period, or the first electronic equipment receives the second operation of the user on the first prompt information within the first preset time period, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service;
The second operation is used for triggering the first electronic equipment not to resume processing the first audio service by the Bluetooth headset.
In a possible implementation manner of the second aspect, the method further includes: the first electronic equipment responds to the second operation of the user on the first prompt message, if the second electronic equipment finishes processing the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset finishes processing the second audio service; or the first electronic equipment responds to the second operation of the user on the first prompt information, if the second electronic equipment pauses to process the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses to process the second audio service; the second operation is used for triggering the first electronic equipment not to resume processing the first audio service by the Bluetooth headset.
In a possible implementation manner of the second aspect, after the second electronic device detects the second audio service, the method further includes, after requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset: the first electronic device processes the first audio service using the audio component of the first electronic device.
In a third aspect, an electronic device is provided that includes a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute code instructions to perform the antenna control method as in any one of the possible designs of the first aspect and the second aspect.
In a fourth aspect, there is provided a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the antenna control method as in any one of the possible designs of the first and second aspects.
The technical effects caused by any one of the design manners of the third aspect and the fourth aspect may refer to the technical effects caused by the different design manners of the first aspect, which are not described herein.
Drawings
FIG. 1 illustrates an application scenario in which a Bluetooth headset connects multiple devices, and the audio traffic of one device is being processed by the Bluetooth headset, according to some embodiments of the present application;
Fig. 2 illustrates an application scenario in which a bluetooth headset is connected to multiple devices, and audio traffic of the multiple devices preempts the bluetooth headset, according to some embodiments of the application;
FIG. 3 illustrates a schematic diagram of a cell phone 200, according to some embodiments of the application;
FIG. 4 illustrates a block diagram of the software architecture of a mobile phone 200, according to some embodiments of the application;
fig. 5 is a schematic view of an application scenario of an audio service restoration processing method according to some embodiments of the present application;
FIG. 6 illustrates a schematic diagram of an operator interface for a "one-key reseize" window, according to some embodiments of the application;
fig. 7 is a schematic view of an application scenario of an audio service restoration processing method according to some embodiments of the present application;
fig. 8 is a schematic view of an application scenario of an audio service restoration processing method according to some embodiments of the present application;
Fig. 9 is a schematic diagram of functional modules of a mobile phone 200 and a tablet pc 300 capable of implementing the audio service restoration processing method according to the embodiments of the present application;
FIG. 10 is a schematic diagram of the interaction logic of the modules of a handset 200 preempted audio service when an audio service preemption event occurs, corresponding to FIG. 5, according to some embodiments of the application;
FIG. 11 is a schematic diagram of interaction logic for a preempted audio service handset 200 to resume playing music using the Bluetooth headset 100, corresponding to FIG. 7, according to some embodiments of the application;
Fig. 12 is a schematic diagram showing interaction logic of the bluetooth headset 100 in an idle state and the mobile phone 200 resumes playing music using the bluetooth headset 100 when the tablet 300 pauses playing music according to some embodiments of the present application;
Fig. 13 is a flow chart of an audio service restoration processing method corresponding to the application scenarios in fig. 1, fig. 2, fig. 5 and fig. 7 according to some embodiments of the present application.
Detailed Description
Illustrative embodiments of the application include, but are not limited to, an audio service restoration processing method, an electronic device, and a computer storage medium.
Embodiments of the present application will now be described with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the present application. As one of ordinary skill in the art can know, with the development of technology and the appearance of new scenes, the technical scheme provided by the embodiment of the application is also applicable to similar technical problems.
As described in the background art, at present, the bluetooth headset may be connected to a plurality of electronic devices, but only processes the audio service of one electronic device with a higher service priority according to the service priority sequence set by the audio service, but cannot process the audio service of other electronic devices according to the user's wish, so that the flexibility of switching the audio service is poor, and the user experience is poor.
For example, fig. 1 illustrates an application scenario in which a bluetooth headset connects multiple devices, and the audio traffic of one device is being processed by the bluetooth headset, according to some embodiments of the application. Fig. 2 illustrates an application scenario in which a bluetooth headset is connected to multiple devices, and audio traffic of the multiple devices preempts the bluetooth headset, according to some embodiments of the application. As shown in fig. 1, the application scenario includes a bluetooth headset 100, a mobile phone 200, and a tablet 300. The bluetooth headset 100 establishes a wireless communication connection with the mobile phone 200 and the tablet pc 300 at the same time, thereby processing audio services for the user in cooperation with the mobile phone 200 and the tablet pc 300. As shown in fig. 2, currently, after the mobile phone 200 initiates a request for playing music to the bluetooth headset 100, the bluetooth headset 100 plays music of the mobile phone 200. As shown in fig. 2, if the tablet pc 300 detects an audio service for playing music, and it is determined that the service priority of playing music of the tablet pc 300 is greater than or equal to the service priority of playing music of the mobile phone 200, the bluetooth headset 100 is requested to pause playing music of the mobile phone 200 and play music of the tablet pc 300, so that the bluetooth headset 100 pauses playing music of the mobile phone 200 and plays music of the tablet pc 300. In this process, the bluetooth headset 100 cannot switch to playing music of the mobile phone 200 again according to the user's will, and the flexibility of switching audio services is poor, so that the user experience is poor.
In order to solve the above technical problems, an embodiment of the present application provides an audio service recovery processing method. In the method, the electronic equipment 1 and the electronic equipment 2 both establish a wireless communication channel with a Bluetooth headset. Then, when the electronic device 1 processes the audio service 1 using the bluetooth headset, the electronic device 2 detects the audio service 2 again, and may request the bluetooth headset to suspend processing the audio service 1 and process the audio service 2 using the bluetooth headset. Wherein, the audio service priority of the audio service 2 is greater than or equal to the audio service priority of the audio service 1. In the embodiment of the present application, the electronic device 1 is a first electronic device, the electronic device 2 is a second electronic device, the audio service 1 is a first audio service, and the audio service 2 is a second audio service.
And, the electronic device 1 may display a first prompt message after the bluetooth headset suspends processing the audio service 1, where the first prompt message is used to request the user to determine whether the electronic device 1 resumes processing the audio service 1 with the bluetooth headset. After the electronic device 1 responds to the confirmation operation of the user on the first prompt information, requesting the bluetooth headset to suspend processing of the audio service 2 and processing the audio service 1 by using the bluetooth headset, wherein the first operation is used for triggering the electronic device 1 to resume processing of the audio service 1 by using the bluetooth headset. Then, the electronic device 1 resumes processing the audio service 1 with the bluetooth headset.
In the scheme, the audio service of one electronic device with higher service priority is determined to be processed instead of simply according to the service priority sequence set by the audio service. After suspending an audio service, the user may decide whether to continue the audio service. Then, whether to resume the preempted audio service can be selected according to the user's wish. Therefore, the flexibility of audio service switching is improved, and the user experience is improved.
For example, the electronic devices (e.g., the first electronic device and the second electronic device) in the embodiments of the present application may be a mobile phone, a media player (e.g., MP3, MP4, etc.), a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a personal digital assistant (personal DIGITAL ASSISTANT, PDA), a television, or a smart watch. The embodiment of the application does not limit the specific form of the electronic equipment.
The embodiment of the application is illustrated by taking the electronic device 1 as a mobile phone (such as the mobile phone 200). Fig. 3 illustrates a schematic diagram of a cell phone 200, according to some embodiments of the application.
As shown in fig. 3, the mobile phone 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charge management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display (touch screen) 294, a subscriber identity module (subscriber identification module, SIM) card interface 295, and the like.
The sensor module 280 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, and the like.
It should be understood that the structure illustrated in this embodiment is not limited to the specific configuration of the mobile phone 200. In other embodiments, the handset 200 may include more or fewer components than shown, 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.
Processor 210 may include one or more processing units such as, for example: processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the cell phone 200. 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 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others. In the embodiment of the present application, the processor 210 may process the audio service 1 by using a bluetooth headset. The processor 210 displays a first prompt message through the display screen 294 after the bluetooth headset processes the audio service 2 of the electronic device 2 and the processing of the audio service 1 is suspended, wherein the first prompt message is used for requesting the user to determine whether the processor 210 resumes the processing of the audio service 1 by using the bluetooth headset; the service priority of the audio service 2 is greater than or equal to the service priority of the audio service 1. Then, after the processor 210 responds to the first operation of the user on the first prompt information, requesting the bluetooth headset to suspend processing the audio service 2, and processing the audio service 1 by using the bluetooth headset; wherein the first operation is for triggering the processor 210 to resume processing the audio service 1 with the bluetooth headset.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and is not limited to the structure of the mobile phone 200. In other embodiments, the mobile phone 200 may also use different interfacing manners, or a combination of multiple interfacing manners in the above embodiments.
The charge management module 240 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The charging management module 240 may also provide power to the electronic device through the power management module 241 while charging the battery 242.
The power management module 241 is used for connecting the battery 242, and the charge management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charge management module 240 and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, the wireless communication module 260, and the like. In some embodiments, the power management module 241 and the charge management module 240 may also be provided in the same device.
The wireless communication function of the mobile phone 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. In some embodiments, antenna 1 and mobile communication module 250 of handset 200 are coupled, and antenna 2 and wireless communication module 260 are coupled, so that handset 200 may communicate with a network and other devices through wireless communication techniques.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 200 may be used to cover a 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 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to the handset 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), or the like. The mobile communication module 250 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 250 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 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be provided in the same device as at least some of the modules of the processor 210.
The wireless communication module 260 may provide solutions for wireless communication including 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 communication (NEAR FIELD communication, NFC), infrared (IR), etc. applied to the mobile phone 200. The handset 200 may establish a wireless communication channel with a bluetooth headset using the wireless communication module 260. Specifically, the mobile phone 200 may include a bluetooth module, and the mobile phone 200 may establish a bluetooth communication channel with a bluetooth headset by using the bluetooth module, and transmit instructions and/or data with the bluetooth headset through the bluetooth communication channel. The instruction may be to suspend the audio service request, process the audio service request, etc. The data may be various types of audio data.
The wireless communication module 260 may be one or more devices that integrate at least one communication processing module. The wireless communication module 260 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 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The cell phone 200 implements display functions through a GPU, a display 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The display 294 is used to display images, videos, and the like. The display 294 includes a display panel. The display 294 may be used to display a first prompt requesting the user to determine whether the processor 210 resumes processing the audio service 1 using the bluetooth headset.
The mobile phone 200 may implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display 294, an application processor, and the like. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or video. In some embodiments, the cell phone 200 may include 1 or N cameras 293, N being a positive integer greater than 1.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capabilities of the cell phone 200. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
Internal memory 221 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the cellular phone 200 and data processing by executing instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 may include a memory program area and a memory data area by executing instructions stored in the internal memory 221.
The storage program area may store an application program (such as a sound playing function, a service preemption function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the handset 200, etc. In addition, the internal memory 221 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 handset 200 may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, an application processor, and the like. Such as music playing, recording, etc. In the embodiment of the present application, if the audio service 1 is not played by the bluetooth headset, music may also be played by the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headset interface 270D, etc.
Keys 290 include a power on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be a touch key. The motor 291 may generate a vibration alert. The motor 291 may be used for incoming call vibration alerting or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message indicating a missed call, a notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to allow contact and separation from the handset 200. The handset 200 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 295 may support Nano SIM cards, micro SIM cards, and the like.
The software system of the mobile phone 200 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the mobile phone 200 is illustrated.
Fig. 4 illustrates a block diagram of the software architecture of a mobile phone 200, according to some embodiments of the 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 rows (Android run times) and system libraries, and a kernel layer.
As shown in fig. 4, the application layer may include applications for music, video, conversation, ringing, alarm, bluetooth, navigation, audio manager, gallery, recording, etc. Of course, the application layer may also include other application programs, such as a payment application, a shopping application, a banking application, a chat application, or a financial application, and the application is not limited thereto. The audio manager is used for sensing the state of the Bluetooth headset for processing audio service: idle, processing audio traffic. The audio manager is also configured to sense preemption events for the audio traffic and state restoration events for the audio traffic. The preemption of the audio service refers to a process that when the Bluetooth headset processes the audio service, another electronic device initiates the audio service to be processed, and then, the audio service being processed is suspended to process the audio service to be processed initiated by the other electronic device. The state recovery event of the audio service refers to a process that after the preemption event of the audio service occurs, the Bluetooth headset pauses processing the audio service to be processed initiated by another electronic device, and pauses processing the audio service before processing. The audio manager is further configured to display first prompt information, where the first prompt information is used to instruct a user to perform selection of audio service preemption processing and status recovery processing of the audio service. For example, an audio manager is used to display the aforementioned "one key reseize" pop-up window.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions. For example, a telephony manager, a computing engine, a notification manager, a multimedia framework, a state aware module, a process manager, etc., to which embodiments of the present application are not limited in any way.
Wherein the process manager is used to create, suspend processes and threads.
The telephony manager is used to provide the communication functions of the handset 200. Such as the management of call status (including on, hung-up, etc.).
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 electronic device vibrates, and an indicator light blinks, etc.
The state sensing module is mainly responsible for confirming the state of the mobile phone 200 itself and the state of a wireless device (e.g. bluetooth headset 100) connected with bluetooth of the mobile phone 200. The state of the mobile phone 200 itself may include an active state and a non-active state, and the state of the device connected to the bluetooth of the mobile phone may include an idle state or a non-idle state. The state sensing module can confirm the state of the mobile phone 200 itself by monitoring various application processes and threads. The state sensing module may determine the state of the device connected to bluetooth of the handset 200 through the received broadcast information (e.g., BLE broadcast).
The multimedia framework can receive audio services sent by each application program of the application layer and identify the type of the audio services; and carrying out service arbitration and preemption. In the embodiment of the application, the multimedia framework is used for determining the type of the audio service according to the type of the audio stream in the audio service request under the condition of receiving the audio service processing request sent by the application program, and then selecting the audio playing device according to the state of processing the audio service by the Bluetooth earphone. The multimedia framework is also used for sending the audio service preemption notification to the Bluetooth module under the condition of receiving the audio service preemption notification sent by the audio manager.
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), two-dimensional graphics processing Libraries (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 video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
OpenGL ES is used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing, among others.
SGL is the drawing engine for 2D drawing.
Android Runtime (Android run) includes a core library and virtual machines. Android run 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 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, a sensor driver and a Bluetooth module.
In addition, a hardware layer is further included between the system library and the kernel layer, and the hardware layer includes a display, a camera, a speaker (also referred to as a speaker), a bluetooth module, and the like. The Bluetooth module can comprise a hardware unit for realizing Bluetooth connection and data interaction: a Radio frequency unit (Radio), a baseband or link control unit (link controller), a link management unit (LINK MANAGER), and the like. The wireless Radio frequency unit is used for realizing the wireless Radio frequency unit (Radio) for transmitting/receiving data and voice; the link management unit is used for carrying out the mutual conversion between the radio frequency signal and the digital or voice signal and realizing the baseband protocol and other bottom layer connection regulations; the link management unit is responsible for managing communication between Bluetooth devices and realizing operations such as link establishment, verification, link configuration and the like.
The following embodiments are presented in conjunction with the accompanying drawings to describe application scenarios and methods of embodiments of the present application.
In the embodiment of the present application, the method of the embodiment of the present application is described by taking the example that the electronic device 1 (i.e. the first electronic device) is the mobile phone 200, the electronic device 2 (i.e. the second electronic device) is the tablet pc 300, and the bluetooth headset is the bluetooth headset 100. Wherein audio service 1 is a first audio service and audio service 2 is a second audio service.
In the embodiment of the present application, as shown in fig. 1, both the mobile phone 200 and the tablet pc 300 may establish a wireless communication channel (e.g., a physical connection) with the bluetooth headset 100. The mobile phone 200 can process the audio service 1 using the bluetooth headset 100, such as playing music of the mobile phone 200 using the bluetooth headset 100. Thereafter, as shown in fig. 2, the tablet 300 may detect the audio service 2. For example, tablet 300 may receive an incoming call, requiring a phone call to be answered using bluetooth headset 100; or tablet 300 may need to play music using bluetooth headset 100. At this time, the service priority of the audio service 2 may be greater than or equal to the service priority of the audio service 1. For example, in the case where the audio service 2 is to answer an incoming call and the audio service 1 is to play music, the service priority of the audio service 2 is higher than that of the audio service 1. For another example, in the case where the audio service 2 is playing music and the audio service 1 is playing music, the service priority of the audio service 2 is equal to the service priority of the audio service 1. The embodiment of the present application will be described hereinafter with reference to the priority of each audio service, which is not described here again.
In the case where the service priority of the audio service 2 is greater than or equal to the service priority of the audio service 1, the tablet 300 may request the bluetooth headset 100 to suspend processing the audio service 1 (e.g., playing music of the mobile phone 200) and process the audio service 2 (e.g., answering an incoming call of the tablet 300) using the bluetooth headset 100. At this time, the audio service 1 of the cellular phone 200 is preempted by the audio service 2 of the tablet 300.
In order to ensure that the audio service 1 of the mobile phone 200 is preempted by the audio service 2 of the tablet pc 300, the audio service 1 of the mobile phone 200 may preempt the usage rights of the bluetooth headset 100. The handset 200 may provide the user with a "one-key reseize" service. Specifically, after the bluetooth headset 100 pauses processing the audio service 1, the mobile phone 200 may display the first prompt information. The first prompt message is used to request the user to determine whether the mobile phone 200 resumes processing the audio service 1 with the bluetooth headset 100. That is, the first hint information is used to request the user to determine whether the audio service 1 is to re-preempt the right of use of the bluetooth headset 100. For example, fig. 5 shows an application scenario of an audio service restoration processing method according to some embodiments of the present application, as shown in fig. 5, after the bluetooth headset 100 pauses playing music of the mobile phone 200 and plays music of the tablet 300, the mobile phone 200 displays a "one-key reseize" pop-up window. Fig. 6 illustrates a schematic diagram of an operator interface of a "one-key reseize" window, as shown in fig. 6, and the handset 200 displays a "one-key reseize" pop-up window 1, according to some embodiments of the application. "one key reseize" popup window 1 includes prompt information: "does it resume processing audio service 1 with bluetooth headset 100? ", and a confirm option and a cancel option. The mobile phone 200 detects that the user clicks the confirmation option in the pop-up window 1 of "one key reseize", the audio service 1 of the mobile phone 200 can re-preempt the right to use of the bluetooth headset 100. Fig. 7 is a schematic view of an application scenario of an audio service restoration processing method according to some embodiments of the present application, as shown in fig. 7, after the mobile phone 200 detects that the user clicks the confirm option in the pop window of "one key reseize", the mobile phone 200 may request the bluetooth headset 100 to pause playing of music of the tablet 300, and play music of the mobile phone 200 by using the bluetooth headset 100, so that the bluetooth headset 100 resumes playing music of the mobile phone 200 again. The first prompt information may be displayed on the desktop of the mobile phone 200, or may be displayed on an interface of an audio application, or may be displayed in a pull-down notification management menu of the mobile phone 200.
In the scheme, the audio service of one electronic device with higher service priority is determined to be processed instead of simply according to the service priority sequence set by the audio service. After suspending playing of the music of the handset 200, it may be decided by the user whether to continue the audio service. Then, whether to resume the preempted music playing of the mobile phone 200 can be selected according to the user's wish. Therefore, the flexibility of audio service switching is improved, and the user experience is improved.
In the embodiment of the application, different audio services can correspond to different priorities. Higher priority audio services are often important, critical audio services, which may be prioritized by the bluetooth headset. By way of example, the audio services may include a plurality of types, for example, the audio services may include a call service, a multimedia service, a notification prompt service, and the like. The call service may include playing the voice data of the opposite terminal for the user in the scenes of a phone call (including a phone call in and a phone call out), a video call, an audio call, a voice message, a game or a voice assistant, or collecting the voice data of the user and sending to the opposite terminal, playing an incoming call bell, etc. Multimedia services may include playing music, video, sound recordings, background music for games, text-to-speech sounds, etc. The notification alert service may include play a short message alert tone, push notification alert tone, alarm bell, system sound (e.g., sound when volume is adjusted, shutter sound when shooting, etc.). The priority of the notification prompt service, the multimedia service and the call service are sequentially increased. In other embodiments, the audio service may include more types, and is not particularly limited herein. The priority of the audio service may be preset, or may be set actively by the user, which is not limited herein. For example, the service priority of the call service is greater than the service priority of the multimedia service, which is greater than the service priority of the notification prompt service.
In some embodiments, after detecting audio service 2, tablet 300 requests bluetooth headset 100 to suspend processing audio service 1 and process audio service 2 using bluetooth headset 100. The method specifically comprises the following implementation scheme: fig. 8 is a schematic view of an application scenario of an audio service restoration processing method according to some embodiments of the present application. As shown in fig. 8, the tablet 300 detects the audio service 2, for example, the tablet 300 may receive an incoming call, which requires to answer the phone using the bluetooth headset 100; or tablet 300 may need to play music using bluetooth headset 100. The tablet pc 300 transmits a service suspension instruction to the mobile phone 200 through the bluetooth headset 100. The handset 200 may receive the service suspension instruction. After the mobile phone 200 receives the service suspension instruction, the sending of the audio data of the audio service 1 to the bluetooth headset 100, such as playing the audio data corresponding to the music of the mobile phone 200, may be stopped. Also, the tablet 300 may transmit audio data of the audio service 2 to the bluetooth headset 100. The bluetooth headset 100 receives audio data of the audio service 2, and processes the audio service 2, such as playing music of the tablet 300 using the bluetooth headset 100.
In this embodiment, the tablet 300 may request the bluetooth headset 100 to suspend processing of the audio service 1 through the service suspension instruction, and process the audio service 2 using the bluetooth headset 100 to implement preemption of the audio service 1 by the audio service 2.
It should be noted that, in this embodiment, the bluetooth headset 100 may function as a relay of data or signaling (such as the service suspension instruction described above) between the tablet 300 and the mobile phone 200. The bluetooth headset 100 may transmit data or signaling received from the tablet pc 300 to the mobile phone 200, or may transmit data or signaling received from the mobile phone 200 to the tablet pc 300.
In other embodiments, after the bluetooth headset 100 receives the data or signaling from the tablet 300 or the mobile phone 200, some corresponding operations are performed in response to the data or signaling. For example, after receiving the service suspension instruction from the tablet pc 300, the bluetooth headset 100 may not only transmit the service suspension instruction to the mobile phone 200; processing of the audio service 1 of the handset 200 may also be stopped in response to the service suspension instruction.
In some embodiments, after the tablet 300 detects the audio service 2, the bluetooth headset 100 is requested to suspend processing the audio service 1, and the bluetooth headset 100 is used to process the audio service 2, which includes the following specific implementation schemes: the mobile phone 200 indicates the service priority of the audio service 1 to the tablet pc 300 through the bluetooth headset 100; after detecting the audio service 2, the tablet 300 compares the service priorities of the audio service 2 and the audio service 1; if the service priority of the audio service 2 is greater than the service priority of the audio service 1, the tablet 300 requests the bluetooth headset 100 to suspend processing the audio service 1, and processes the audio service 2 by using the bluetooth headset 100.
In some embodiments, the service suspension instruction is used to indicate a service priority of the audio service 2; the mobile phone 200 receives the service suspension instruction and stops sending the audio data of the audio service 1 to the bluetooth headset 100, which comprises the following specific implementation schemes: the mobile phone 200 receives the service suspension instruction, and stops sending the audio data of the audio service 1 to the bluetooth headset 100 if the service priority of the audio service 2 indicated by the service suspension instruction is greater than the service priority of the audio service 1. In this scheme, after receiving the service suspension instruction, the mobile phone 200 again confirms the service priority of the audio service 2 and the audio service 1, so as to further ensure the accuracy of executing the service suspension instruction by the mobile phone 200.
It can be understood that, when the audio services requiring the right of use of the bluetooth headset 100 are at the same service priority, the tablet 300 initiating the audio service later can display the prompt information for requesting the user to determine whether the tablet 300 preempts the bluetooth headset 100 to process the audio service 2, so that the user will determine whether to process the audio service 2 initiated later earlier, thereby improving the user experience. Specifically, in some embodiments, if the service priority of the audio service 2 is equal to the service priority of the audio service 1, the tablet 300 displays the second prompt message; wherein, the second prompt message is used for requesting the user to determine whether the tablet pc 300 preempts the bluetooth headset 100 to process the audio service 2; the tablet 300 requests the bluetooth headset 100 to suspend processing the audio service 1 and processes the audio service 2 using the bluetooth headset 100 in response to a third operation of the second prompt message by the user; wherein the third operation is used to trigger the tablet 300 to preempt the bluetooth headset 100 to process the audio service 2. The second prompt information may be displayed on the desktop of the tablet pc 300, may be displayed on the interface of the audio application of the tablet pc 300, or may be displayed in a drop-down notification management menu of the tablet pc 300. The operation interface of the tablet pc 300 may include the second prompt information and the corresponding confirm option button at the same time, and the third operation may be a user selection operation of the confirm option button corresponding to the second prompt information, for example, the user clicks the confirm option button.
It can be understood that, in order to improve the efficiency of the mobile phone 200 to resume the originally suspended audio service, the display time of the first prompt information needs to be controlled to be within a certain time, and if the first operation of the first prompt information by the user is detected within the control time, the mobile phone 200 resumes the originally suspended audio service.
Specifically, in some embodiments, if the mobile phone 200 receives the first operation of the user on the first prompt message within the first preset duration, the mobile phone 200 responds to the first operation to request the bluetooth headset 100 to suspend processing the audio service 2, and uses the bluetooth headset 100 to process the audio service 1. The first preset time period may be any one of 10 seconds to 1 minute.
In other embodiments, even if the mobile phone 200 does not detect that the user timely performs the selection operation of resuming the originally suspended audio service, the mobile phone 200 can automatically resume the processing of the audio service 1 by the bluetooth headset 100 after the bluetooth headset 100 processes the audio service 2. Specifically, if the mobile phone 200 does not receive the operation of the user on the first prompt message within the first preset duration, the mobile phone 200 can automatically resume processing the audio service 1 by the bluetooth headset 100 after the bluetooth headset 100 processes the audio service 2. Thus, after the bluetooth headset 100 finishes processing the audio service 2, the mobile phone 200 can automatically resume processing the audio service 1 by using the bluetooth headset 100 without user operation, thereby improving user experience.
In other embodiments, even if the mobile phone 200 detects that the user timely performs the selection operation of not resuming the originally suspended audio service, the mobile phone 200 can automatically resume the processing of the audio service 1 by the bluetooth headset 100 after the bluetooth headset 100 processes the audio service 2.
Specifically, if the mobile phone 200 receives the second operation of the user on the first prompt message within the first preset time, the second operation is used to trigger the mobile phone 200 not to resume processing the audio service 1 by using the bluetooth headset 100, and the mobile phone 200 automatically resumes processing the audio service 1 by using the bluetooth headset 100 after the bluetooth headset 100 finishes processing the audio service 2. The first prompt information may be displayed on a desktop of the mobile phone 200, or may be displayed on an interface of an audio application, or may be displayed in a drop-down notification management menu of the mobile phone 200. The operation interface of the mobile phone 200 may include the first prompt information and the cancel option button corresponding to the first prompt information at the same time, and the second operation may be a user selection operation of the cancel option button corresponding to the first prompt information, for example, the user clicks the cancel option button. Thus, after the bluetooth headset 100 finishes processing the audio service 2, the mobile phone 200 can automatically resume processing the audio service 1 by using the bluetooth headset 100 without user operation, thereby improving user experience.
In other embodiments, even if the mobile phone 200 detects that the instruction of resuming the originally suspended audio service is not performed, if the tablet 300 is detected to suspend processing the audio service 2 within the first preset duration, the idle bluetooth headset 100 can be fully utilized to resume processing the audio service 1, so as to improve the user experience.
Specifically, if the mobile phone 200 does not receive the operation of the user on the first prompt message within the first preset duration, or if the mobile phone 200 receives the second operation of the user on the first prompt message within the first preset duration, the mobile phone 200 processes the first audio service by using the bluetooth headset after the bluetooth headset pauses the processing of the second audio service; the second operation is used to trigger the mobile phone 200 not to resume the bluetooth headset to process the first audio service.
In other embodiments, no matter whether the mobile phone 200 detects that the user is performing the operation of selecting to resume the originally suspended audio service, the mobile phone 200 may automatically resume processing the audio service 1 by using the bluetooth headset 100 after the bluetooth headset 100 processes the audio service 2 or when the processing of the audio service 2 is suspended, thereby improving the user experience.
Specifically, the mobile phone 200 responds to the second operation of the user on the first prompt message, if the tablet 300 finishes processing the audio service 2 by using the bluetooth headset 100 within the second preset duration, the mobile phone 200 processes the audio service 1 by using the bluetooth headset 100 after the bluetooth headset 100 finishes processing the audio service 2; or the mobile phone 200 responds to the second operation of the user on the first prompt message, if the tablet 300 pauses the processing of the audio service 2 by the Bluetooth headset 100 within the second preset duration, the mobile phone 200 processes the audio service 1 by the Bluetooth headset 100 after the Bluetooth headset 100 pauses the processing of the audio service 2; the second operation is used to trigger the mobile phone 200 not to resume processing the audio service 1 by using the bluetooth headset 100. The second preset time period may be any one of 3 minutes to 4 minutes. For example, the bluetooth headset 100 pauses playing the media of the cell phone 200, playing the conversation of the tablet 300. If the call of the tablet pc 300 is disconnected, for example, the media of the mobile phone 200 is still in a state to be played, and the time when the bluetooth headset 100 pauses playing the media of the mobile phone 200 until the current duration is less than 3 minutes, the process returns to the bluetooth headset 100 playing the media of the mobile phone 200.
In some embodiments, after the bluetooth headset 100 pauses processing the audio service 1, the mobile phone 200 may also automatically process the audio service 1 to be processed, thereby improving the completion of the audio service. After the tablet 300 detects the audio service 2 and requests the bluetooth headset 100 to suspend processing the audio service 1 and processes the audio service 2 by using the bluetooth headset 100, the method further includes the steps of: the mobile phone 200 may mute and suspend the audio service 1, or may process the audio service 1 by using the audio component of the mobile phone 200. The audio component may be a speaker, a plug-in earphone or a receiver. Specifically, if the audio service 1 is a call, a bluetooth recording, a notification, or a system, the audio service may be directly switched to the audio component of the mobile phone 200 to continue the audio service. If audio service 1 is a media type service, it may be paused (e.g., music, video), or muted (e.g., game).
Fig. 9 is a schematic functional block diagram of a mobile phone 200 and a tablet pc 300 capable of implementing the audio service restoration processing method according to the embodiments of the present application.
As shown in fig. 9, the handset 200 includes an audio application 201, an audio manager 202, a multimedia framework 203, and a bluetooth module 204.
The audio application 201 may include various types of applications for playing audio. In case the audio application 201 is used to detect audio traffic, a request to process audio traffic is sent to the multimedia framework 203.
The audio manager 202 is configured to sense a state that the bluetooth headset 100 processes audio traffic: idle, processing audio traffic. The audio manager 202 is also configured to sense preemption of audio traffic and state restoration events for the audio traffic. The preemption of the audio service refers to a process that when the bluetooth headset 100 processes the audio service, another electronic device initiates a process of processing the audio service to be processed, and then, the processing of the audio service being processed is suspended, and the processing of the audio service to be processed initiated by another electronic device is performed. The state restoration event of the audio service refers to a process in which the bluetooth headset 100 pauses processing the audio service to be processed initiated by another electronic device after the preemption event of the audio service occurs, and pauses processing the audio service before processing. The audio manager 202 is further configured to display first prompt information for instructing a user to select an audio service preemption process and a state restoration process for the audio service. For example, the audiologist 202 is configured to display the aforementioned "one-key reseize" pop-up window.
The multimedia framework 203 is configured to determine, when receiving the audio service processing request sent by the audio application 201, a type of an audio service according to an audio stream type in the audio service request, and then select an audio playing device according to a state of processing the audio service by the bluetooth headset 100. The multimedia framework 203 is further configured to, when receiving an audio service preemption notification (abbreviated as preemption notification in the figure) sent by the audio manager 302, send the audio service preemption notification to the bluetooth module 204.
The bluetooth module 204 is used to support the transfer of various instructions and data. In the embodiment of the present application, the bluetooth headset 100 is configured to support audio data transfer, audio service processing or/and suspension request, audio service preemption notification, and audio service processing status transmission.
Similarly, tablet 300 includes an audio application 301, an audio manager 302, a multimedia framework 303, and a Bluetooth module 304.
The audio application 301 may include various types of applications for playing audio. In case the audio application 301 is used to detect audio traffic, a request to process audio traffic is sent to the multimedia framework 303.
The audio manager 302 is configured to sense a state that the bluetooth headset 100 processes audio traffic: idle, processing audio traffic. The audio manager 302 is also configured to sense preemption of audio traffic and state restoration events for the audio traffic. The preemption of the audio service refers to a process that when the bluetooth headset 100 processes the audio service, another electronic device initiates a process of processing the audio service to be processed, and then, the processing of the audio service being processed is suspended, and the processing of the audio service to be processed initiated by another electronic device is performed. The state restoration event of the audio service refers to a process in which the bluetooth headset 100 pauses processing the audio service to be processed initiated by another electronic device after the preemption event of the audio service occurs, and pauses processing the audio service before processing. The audio manager 302 is further configured to display first prompt information for instructing a user to select an audio service preemption process and a state restoration process for the audio service. For example, the audio manager 302 is configured to display the aforementioned "one-key reseize" pop-up window.
The multimedia framework 303 is configured to determine, when receiving the audio service processing request sent by the audio application 301, a type of an audio service according to a type of an audio stream in the audio service request, and then select an audio playing device according to a state of processing the audio service by the bluetooth headset 100. The multimedia framework 303 is further configured to, when receiving an audio service preemption notification (abbreviated as preemption notification in the figure) sent by the audio manager 302, send the audio service preemption notification to the bluetooth module 304.
The bluetooth module 304 is used to support the transfer of various instructions and data. In the embodiment of the present application, the bluetooth headset 100 is configured to support audio data transfer, audio service processing or/and suspension request, audio service preemption notification, and audio service processing status transmission.
Fig. 10 is a schematic diagram of the interaction logic of the modules of a handset 200 preempted audio service when an audio service preemption event occurs, corresponding to fig. 5, according to some embodiments of the application. As shown in fig. 10:
If the mobile phone 200 is playing music by using the bluetooth headset 100, the bluetooth headset 100 receives a music playing request initiated by the tablet 300, and the bluetooth headset 100 determines that the state of the bluetooth headset 100 for processing the audio service is in preemption, then sends a preemption notification to the mobile phone 200, and the bluetooth module 204 receives a preemption event and the state of the bluetooth headset 100 for processing the audio service (abbreviated as headset state).
The bluetooth headset 100 forwards the preemption notification and headset status to the audio manager 202 and multimedia framework 203, respectively. The multimedia framework 303 confirms whether audio service preemption is required according to the service priority of the audio service being processed by the bluetooth headset 100 and the service priority of the audio service initiated by the tablet 300 indicated by the headset state, if so, notifies the music application 3011 to pause playing, and sends the pause playing result to the audio manager 202, and the audio manager 202 displays a "reseize" window under the condition of receiving the pause playing notification.
The audio manager 202, upon receiving the preemption notification, displays a preemption notification window first, where the preemption notification window is used to request whether to mute the own audio service or switch to the own receiver, plug earphone, and speaker to play music to the user, and if it is detected that the user selects any one of the foregoing options, performs a corresponding action according to the content of the option.
Fig. 11 is a schematic diagram of interaction logic for a preempted audio service handset 200 to resume playing music using the bluetooth headset 100, corresponding to fig. 7, according to some embodiments of the application. As shown in fig. 11:
After the tablet pc 300 plays music using the bluetooth headset 100, after detecting that the user clicks the confirm option in the one-button reseize pop-up window, the mobile phone 200 invokes the interface of the multimedia framework 303 to notify the multimedia framework 303 to play music. Then, the multimedia framework 303 notifies the music application 2011 to play music using the bluetooth headset 100. The bluetooth module 204 then notifies the bluetooth headset 100 of the play status. After the bluetooth headset 100 receives the play notification of the tablet pc 300, music of the mobile phone 200 is played, and the tablet pc 300 is notified of a state in which the bluetooth headset 100 processes audio services (abbreviated as headset state).
In other embodiments, corresponding to the application scenario of fig. 2 or fig. 5, if the tablet 300 detects that the user pauses the operation of playing music, the playing of music by the bluetooth headset 100 is paused, and at this time, when the mobile phone 200 determines that the bluetooth headset 100 is in the idle state, the playing of music by the bluetooth headset 100 is automatically resumed. Specifically, referring to fig. 12, fig. 12 shows an interactive logic diagram of the bluetooth headset 100 in an idle state when the tablet 300 pauses in playing music, and the mobile phone 200 resumes playing music using the bluetooth headset 100 according to some embodiments of the present application. As shown in fig. 12: the tablet pc 300 detects that the user pauses the operation of playing music, pauses the operation of playing music using the bluetooth headset 100, and the bluetooth headset 100 is idle, and notifies the mobile phone 200 of a notification of resuming the playing of music (abbreviated as resume notification in the figure) and the headset status. The bluetooth headset 100 forwards a notification of resuming playing music and the headset status to the audio manager 202 and the multimedia framework 203, respectively. The audio manager 202 invokes an interface of the multimedia framework 303, and then the multimedia framework 303 notifies the music application 3011 to play the music.
Fig. 13 is a flow chart of an audio service restoration processing method corresponding to the application scenarios in fig. 1, fig. 2, fig. 5 and fig. 7 according to some embodiments of the present application. As shown in fig. 13, the flow includes the steps of:
131: the bluetooth headset 100 establishes wireless communication channels with the handset 200 and the tablet 300, respectively.
132: The bluetooth headset 100 plays music of the mobile phone 200.
133: The tablet 300 detects the play of music.
In some embodiments, the tablet 300 may detect a user-initiated music service in response to a user playing selected music.
134: The bluetooth headset 100 determines that the audio service priority of music playing the tablet 300 is greater than the audio service priority of music playing the mobile phone 200, requests to pause the music playing of the mobile phone 200, and plays the music of the tablet 300.
In the embodiment of the application, different audio services of the electronic device can correspond to different priorities, and the audio service with higher priority is usually an important and key audio service, and the audio service with higher priority can be preferentially processed by the Bluetooth headset. By way of example, the audio services may include a plurality of types, for example, the audio services may include a call service, a multimedia service, a notification prompt service, and the like. The call service may include playing the voice data of the opposite terminal for the user in the scenes of a phone call (including a phone call in and a phone call out), a video call, an audio call, a voice message, a game or a voice assistant, or collecting the voice data of the user and sending to the opposite terminal, playing an incoming call bell, etc. Multimedia services may include playing music, video, sound recordings, background music for games, text-to-speech sounds, etc. The notification alert service may include play a short message alert tone, push notification alert tone, alarm bell, system sound (e.g., sound when volume is adjusted, shutter sound when shooting, etc.). The priority of the notification prompt service, the multimedia service and the call service are sequentially increased. In other embodiments, the audio service may include more types, and is not particularly limited herein. The priority of the audio service may be preset, or may be set actively by the user, which is not limited herein. For example, the service priority of the call service is greater than the service priority of the multimedia service, which is greater than the service priority of the notification prompt service.
135, The bluetooth headset 100 pauses the playing of music of the mobile phone 200 and plays music of the tablet 300.
136 The bluetooth headset 100 sends a suspension notification message to the handset 200.
137 The mobile phone 200 displays a first prompt message for requesting whether the user resumes playing the music audio service of the mobile phone 200 using the bluetooth headset 100.
138, The mobile phone 200 responds to the confirmation operation of the user on the first prompt information.
The first prompt is used to request the user to determine whether the mobile phone 200 resumes playing music using the bluetooth headset 100.
The first prompt may be a "one key reseize" pop-up window. The determination may be a user clicking on a confirm option in a "one-key reseize" pop-up.
139 The handset 200 requests the bluetooth headset 100 to suspend the bluetooth headset 100 from playing the music of the tablet 300.
In some embodiments, after the mobile phone 200 requests the bluetooth headset 100 to pause the bluetooth headset 100 from playing the music of the tablet 300, the bluetooth headset 100 pauses to play the music of the tablet 300, and after playing the music of the mobile phone 200, the tablet 300 can play the music by using its own speaker, plug-in earphone, receiver, or the like. Specifically, if the audio service 1 is a call, a bluetooth recording, a notification, or a system, the audio service may be directly switched to the audio component of the tablet 300 to continue the audio service. If audio service 1 is a media type service, it may be paused (e.g., music, video), or muted (e.g., game).
In some embodiments, when the tablet 300 is playing music using the bluetooth headset 100 and is preempted by the music playing service initiated by the mobile phone 200, the bluetooth headset 100 will record the music playing state of the mobile phone 200, so that the tablet 300 resumes playing music using the bluetooth headset 100 when the bluetooth headset 100 is released. For example, as shown in fig. 8: the tablet pc 300 detects that the user pauses the operation of playing music, pauses the operation of playing music using the bluetooth headset 100, and the bluetooth headset 100 is idle, and notifies the mobile phone 200 of a notification of resuming the playing of music (abbreviated as resume notification in the figure) and the headset status. The bluetooth headset 100 forwards a notification of resuming playing music and the headset status to the audio manager 202 and the multimedia framework 203, respectively. The audio manager 202 invokes an interface of the multimedia framework 303, and then the multimedia framework 303 notifies the music application 3011 to play the music.
1310, The bluetooth headset 100 plays the music of the mobile phone 200.
In the scheme, the audio service of one electronic device with higher service priority is determined to be processed instead of simply according to the service priority sequence set by the audio service. After suspending an audio service, the user may decide whether to continue the audio service. Then, whether to resume the preempted audio service can be selected according to the user's wish. Therefore, the flexibility of audio service switching is improved, and the user experience is improved.
Embodiments of the disclosed mechanisms may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code that is executed on a programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of the present application, a processing system includes any system having a Processor such as, for example, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), microcontroller, application SPECIFIC INTEGRATED Circuit (ASIC), or microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable storage media. Thus, a machine-readable storage medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to floppy diskettes, optical disks, read-Only memories (CD-ROMs), magneto-optical disks, read Only Memories (ROMs), random access memories (Random Access Memory, RAMs), erasable programmable Read-Only memories (Erasable Programmable Read Only Memory, EPROMs), electrically erasable programmable Read-Only memories (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only memories, EEPROMs), magnetic or optical cards, flash Memory, or tangible machine-readable Memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) in an electrical, optical, acoustical or other form of propagated signal based on the internet. Thus, a machine-readable storage medium includes any type of machine-readable storage medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims (19)

1. An audio service restoration processing method, characterized in that the method comprises:
The first electronic equipment and the second electronic equipment establish a wireless communication channel with the Bluetooth headset;
The first electronic equipment processes a first audio service by using the Bluetooth headset;
after the second electronic equipment detects a second audio service, requesting the Bluetooth headset to suspend processing the first audio service, and processing the second audio service by using the Bluetooth headset; wherein, the service priority of the second audio service is greater than or equal to the service priority of the first audio service;
The first electronic equipment displays first prompt information after the Bluetooth headset pauses processing the first audio service; the first prompt message is used for requesting a user to determine whether the first electronic device resumes processing the first audio service by using the Bluetooth headset;
The first electronic equipment responds to a first operation of a user on the first prompt information, requests the Bluetooth headset to suspend processing of the second audio service, and utilizes the Bluetooth headset to process the first audio service; the first operation is used for triggering the first electronic equipment to resume processing the first audio service by using the Bluetooth headset.
2. The method of claim 1, wherein after the second electronic device detects a second audio service, requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset comprises:
The second electronic equipment detects the second audio service and sends a service suspension instruction to the first electronic equipment through the Bluetooth headset;
The first electronic equipment receives the service pause instruction and stops sending the audio data of the first audio service to the Bluetooth headset;
the second electronic equipment sends the audio data of the second audio service to the Bluetooth headset;
And the Bluetooth headset receives the audio data of the second audio service and processes the second audio service.
3. The method of claim 2, wherein after the second electronic device detects a second audio service, requesting the bluetooth headset to suspend processing the first audio service and before processing the second audio service with the bluetooth headset, the method further comprises:
The first electronic device indicates the service priority of the first audio service to the second electronic device through the Bluetooth headset;
after the second electronic device detects the second audio service, requesting the bluetooth headset to suspend processing the first audio service, and processing the second audio service by using the bluetooth headset, including:
After the second electronic equipment detects the second audio service, comparing the service priority of the second audio service with that of the first audio service;
and if the service priority of the second audio service is greater than that of the first audio service, the second electronic equipment requests the Bluetooth headset to suspend processing of the first audio service and processes the second audio service by using the Bluetooth headset.
4. A method according to claim 2 or 3, wherein the service suspension instruction is for indicating a service priority of the second audio service;
The first electronic device receiving the service suspension instruction, stopping sending the audio data of the first audio service to the Bluetooth headset, and the method comprises the following steps:
and the first electronic equipment receives the service suspension instruction, and stops sending the audio data of the first audio service to the Bluetooth headset if the service priority of the second audio service indicated by the service suspension instruction is greater than that of the first audio service.
5. The method according to any one of claims 2-4, further comprising:
If the service priority of the second audio service is equal to the service priority of the first audio service, the second electronic device displays second prompt information; the second prompt message is used for requesting a user to determine whether the second electronic device preempts the Bluetooth headset to process the second audio service;
The second electronic equipment responds to a third operation of the user on the second prompt information, requests the Bluetooth headset to suspend processing of the first audio service, and utilizes the Bluetooth headset to process the second audio service; the third operation is used for triggering the second electronic equipment to preempt the Bluetooth headset to process the second audio service.
6. The method of any of claims 1-5, wherein the first electronic device requesting the bluetooth headset to suspend processing the second audio service and processing the first audio service with the bluetooth headset in response to a first operation of the first alert by a user, comprising:
If the first electronic device receives the first operation of the user on the first prompt message within a first preset time period, the first electronic device responds to the first operation and requests the Bluetooth headset to suspend processing of the second audio service, and the Bluetooth headset is utilized to process the first audio service.
7. The method of claim 6, wherein the method further comprises:
If the first electronic device does not receive the operation of the user on the first prompt message within the first preset time period, or the first electronic device receives the second operation of the user on the first prompt message within the first preset time period, the first electronic device processes the first audio service by using the Bluetooth headset after the Bluetooth headset processes the second audio service; or alternatively
If the first electronic device does not receive the operation of the user on the first prompt message within the first preset time period, or the first electronic device receives the second operation of the user on the first prompt message within the first preset time period, the first electronic device processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service;
the second operation is used for triggering the first electronic device not to resume processing the first audio service by using the Bluetooth headset.
8. The method according to any one of claims 1-5, further comprising:
the first electronic equipment responds to a second operation of the user on the first prompt information, if the second electronic equipment finishes processing the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset finishes processing the second audio service; or alternatively
The first electronic device responds to a second operation of the user on the first prompt information, if the second electronic device pauses the processing of the second audio service by the Bluetooth headset within a second preset duration, the first electronic device processes the first audio service by the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service;
the second operation is used for triggering the first electronic device not to resume processing the first audio service by using the Bluetooth headset.
9. The method of any of claims 1-8, wherein after the second electronic device detects a second audio service, requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset, the method further comprises:
The first electronic device processes the first audio service using an audio component of the first electronic device.
10. The method according to any one of claims 1-9, wherein the audio services handled by the bluetooth headset include a call service, a multimedia service, and a notification prompt service;
The service priority of the call service is greater than the service priority of the multimedia service, and the service priority of the multimedia service is greater than the service priority of the notification prompt service.
11. An audio service restoration processing method, characterized in that the method comprises:
the method comprises the steps that a wireless communication channel is established between first electronic equipment and a Bluetooth headset; the Bluetooth headset and the second electronic equipment also establish a wireless communication channel;
The first electronic equipment processes a first audio service by using the Bluetooth headset;
The first electronic equipment displays first prompt information after the Bluetooth headset processes a second audio service of the second electronic equipment and pauses processing of the first audio service; the first prompt message is used for requesting a user to determine whether the first electronic device resumes processing the first audio service by using the Bluetooth headset; the service priority of the second audio service is greater than or equal to the service priority of the first audio service;
The first electronic equipment responds to a first operation of a user on the first prompt information, requests the Bluetooth headset to suspend processing of the second audio service, and utilizes the Bluetooth headset to process the first audio service; the first operation is used for triggering the first electronic equipment to resume processing the first audio service by using the Bluetooth headset.
12. The method of claim 11, wherein before the first electronic device displays the first alert message after the bluetooth headset processes the second audio service of the second electronic device and pauses processing the first audio service, the method further comprises:
The first electronic device indicates the service priority of the first audio service to the second electronic device through the Bluetooth headset.
13. The method of claim 11 or 12, wherein after the first electronic device processes a first audio service using the bluetooth headset, the first electronic device pauses processing a second audio service of the second electronic device and displays a first alert message after the bluetooth headset pauses processing the first audio service, the method further comprising:
the first electronic device receives a service suspension instruction from the second electronic device through the Bluetooth headset, wherein the service suspension instruction is used for indicating the service priority of the second audio service;
And if the service priority of the second audio service indicated by the service suspension instruction is greater than the service priority of the first audio service, the first electronic device stops sending the audio data of the first audio service to the Bluetooth headset.
14. The method of any of claims 11-13, wherein the first electronic device requesting the bluetooth headset to suspend processing the second audio service and processing the first audio service with the bluetooth headset in response to a first operation of the first alert by a user comprises:
If the first electronic device receives the first operation of the user on the first prompt message within a first preset time period, the first electronic device responds to the first operation and requests the Bluetooth headset to suspend processing of the second audio service, and the Bluetooth headset is utilized to process the first audio service.
15. The method of claim 14, wherein the method further comprises:
If the first electronic device does not receive the operation of the user on the first prompt message within the first preset time period, or the first electronic device receives the second operation of the user on the first prompt message within the first preset time period, the first electronic device processes the first audio service by using the Bluetooth headset after the Bluetooth headset processes the second audio service; or alternatively
If the first electronic device does not receive the operation of the user on the first prompt message within the first preset time period, or the first electronic device receives the second operation of the user on the first prompt message within the first preset time period, the first electronic device processes the first audio service by using the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service;
the second operation is used for triggering the first electronic device not to resume processing the first audio service by using the Bluetooth headset.
16. The method according to any one of claims 11-13, further comprising:
the first electronic equipment responds to a second operation of the user on the first prompt information, if the second electronic equipment finishes processing the second audio service by using the Bluetooth headset within a second preset duration, the first electronic equipment processes the first audio service by using the Bluetooth headset after the Bluetooth headset finishes processing the second audio service; or alternatively
The first electronic device responds to a second operation of the user on the first prompt information, if the second electronic device pauses the processing of the second audio service by the Bluetooth headset within a second preset duration, the first electronic device processes the first audio service by the Bluetooth headset after the Bluetooth headset pauses the processing of the second audio service;
the second operation is used for triggering the first electronic device not to resume processing the first audio service by using the Bluetooth headset.
17. The method of any of claims 11-16, wherein after the second electronic device detects a second audio service, requesting the bluetooth headset to suspend processing the first audio service and processing the second audio service with the bluetooth headset, the method further comprises:
The first electronic device processes the first audio service using an audio component of the first electronic device.
18. An electronic device comprising a processor and a memory; the memory is used for storing code instructions; the processor is configured to execute the code instructions to cause the first electronic device or the second electronic device to perform the method of any of claims 1-10 or claims 11-17.
19. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-10 or 11-17.
CN202211289367.0A 2022-10-20 2022-10-20 Audio service recovery processing method, electronic equipment and computer storage medium Pending CN117956371A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211289367.0A CN117956371A (en) 2022-10-20 2022-10-20 Audio service recovery processing method, electronic equipment and computer storage medium
PCT/CN2023/117289 WO2024082855A1 (en) 2022-10-20 2023-09-06 Audio service processing method, electronic device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211289367.0A CN117956371A (en) 2022-10-20 2022-10-20 Audio service recovery processing method, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN117956371A true CN117956371A (en) 2024-04-30

Family

ID=90791132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211289367.0A Pending CN117956371A (en) 2022-10-20 2022-10-20 Audio service recovery processing method, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN117956371A (en)

Similar Documents

Publication Publication Date Title
CN111078448B (en) Method for processing audio abnormity and electronic equipment
US11683850B2 (en) Bluetooth reconnection method and related apparatus
US11856128B2 (en) Method for presenting video on electronic device when there is incoming call and electronic device
US11979516B2 (en) Audio output method and terminal device
CN113542839A (en) Screen projection method of electronic equipment and electronic equipment
US20220159453A1 (en) Method for Using Remote SIM Module and Electronic Device
US11973895B2 (en) Call method and apparatus
CN114727101B (en) Antenna power adjusting method and electronic equipment
CN114422710B (en) Video recording control method for electronic equipment, electronic equipment and readable medium
CN116017388B (en) Popup window display method based on audio service and electronic equipment
CN115277921B (en) Audio control method, electronic equipment, bluetooth headset and storage medium
CN117956371A (en) Audio service recovery processing method, electronic equipment and computer storage medium
WO2024082855A1 (en) Audio service processing method, electronic device, and computer storage medium
CN114173315B (en) Bluetooth reconnection method and terminal equipment
CN115706752B (en) Incoming call volume control method, electronic equipment and storage medium
RU2801100C1 (en) Audio output method and terminal device
CN113271577B (en) Media data playing system, method and related device
CN115460445B (en) Screen projection method of electronic equipment and electronic equipment
US20240236228A1 (en) Audio Output Method and Terminal Device
WO2023197999A1 (en) Display method and electronic device
CN117041465A (en) Video call optimization method, electronic equipment and storage medium
CN115515112A (en) Bluetooth communication method and system

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