CN114125791A - Audio pushing method and audio pushing system - Google Patents

Audio pushing method and audio pushing system Download PDF

Info

Publication number
CN114125791A
CN114125791A CN202010899554.5A CN202010899554A CN114125791A CN 114125791 A CN114125791 A CN 114125791A CN 202010899554 A CN202010899554 A CN 202010899554A CN 114125791 A CN114125791 A CN 114125791A
Authority
CN
China
Prior art keywords
bluetooth
electronic device
electronic
audio
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010899554.5A
Other languages
Chinese (zh)
Other versions
CN114125791B (en
Inventor
徐蓓
赵永杰
房帅磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202010899554.5A priority Critical patent/CN114125791B/en
Priority to PCT/CN2021/125915 priority patent/WO2022042773A1/en
Publication of CN114125791A publication Critical patent/CN114125791A/en
Application granted granted Critical
Publication of CN114125791B publication Critical patent/CN114125791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • H04B5/48
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

Disclosed are an audio push method and an audio push system, comprising: when the electronic equipment detects that the application software needs to output the audio data, the electronic equipment determines the current scene of the electronic equipment. And the electronic equipment determines the audio output equipment of the application software in the current scene according to the corresponding relation. Under different scenes, audio output equipment of the same application software may be different; the audio output devices of different applications may also be different in the same scenario. The corresponding relation stored in the electronic equipment can be set by a user, the user only needs to set once, the subsequent electronic equipment automatically monitors audio data and automatically selects audio output equipment, and manual intervention of the user is not needed. The effect of automatic pushing of the audio is achieved, and user experience is improved.

Description

Audio pushing method and audio pushing system
Technical Field
The present application relates to the field of communications technologies, and in particular, to an audio pushing method and an audio pushing system.
Background
Under current bluetooth technology, one master device may be connected to multiple slave devices. One person can own a cell-phone, has bluetooth headset simultaneously, bluetooth bracelet, bluetooth wrist-watch, bluetooth car, and the family still has bluetooth speaker.
When the mobile phone is connected with a plurality of Bluetooth devices simultaneously, different people can select the most suitable Bluetooth device to output audio for different occasions and different applications. For example, when driving, the Bluetooth watch, the Bluetooth headset and the vehicle Bluetooth are connected with the mobile phone. When the mobile phone calls, people hope to push the earphone only, and people hope to push the vehicle. When playing music/vocal stories with a mobile phone, one would like to play only with the car, not with the bluetooth watch.
Currently, a mobile phone can set pairing of bluetooth devices through a system. When a plurality of devices need to be selected, only one Bluetooth device can be reserved for communication in a manual disconnection mode. However, switching the connection of multiple bluetooth devices is not automatic and requires manual operation; different Bluetooth equipment connections can not be dynamically carried out under different scenes according to customer requirements.
Disclosure of Invention
The embodiment of the application provides an audio pushing method and an audio pushing system, which can automatically select audio output equipment under the condition that a plurality of Bluetooth devices supporting audio output are connected, do not need manual intervention of a user, and improve user experience.
In a first aspect, the present application provides an audio push method applied to an audio push system, where the audio push system includes an electronic device, a first bluetooth device and a second bluetooth device, and the method includes: the electronic equipment establishes Bluetooth connection with the first Bluetooth equipment and the second Bluetooth equipment; the electronic equipment detects a first playing instruction of a first application; the electronic equipment detects that the electronic equipment is in a first scene; the electronic device determines that the audio output device is a first Bluetooth device based on a first corresponding relation, the first corresponding relation indicates that a first scene, a first application and a first device type correspond, and the device type of the first Bluetooth device is the first device type; when the electronic device detects that the electronic device is in a second scene, the electronic device determines that the audio output device is a second bluetooth device based on a second corresponding relationship, the second corresponding relationship indicates that the second scene, the first application and a second device type correspond to each other, the device type of the second bluetooth device is the second device type, and the second device type is different from the first device type.
Implementing the method provided by the first aspect, when the electronic device detects that there is application software (first application) that needs to output audio data, it determines the current scene of the electronic device. And the electronic equipment determines the type of the pushing equipment of the application software in the current scene according to the corresponding relation. The electronic device determines an audio output device among the connected bluetooth devices (the first bluetooth device and the second bluetooth device) based on the push device type. Under different scenes, audio output equipment of the same application software may be different; for example, in a first scenario, the audio output device of the first application is a first bluetooth device, and in a second scenario, the audio output device of the first application is a second bluetooth device.
For example, when a user is at home, a smart phone (electronic device) of the user establishes a bluetooth connection with a bluetooth headset (first bluetooth device), and when the user plays music using music software (first application), the smart phone detects that a current scene is at home (first scene), and the bluetooth headset plays the music according to a corresponding relationship (first corresponding relationship); when a user wears the Bluetooth headset and comes out of a home and enters a vehicle, the smart phone of the user is connected with the vehicle-mounted device (second Bluetooth device), the smart phone detects that the current scene is the vehicle (second scene), and calls the vehicle-mounted device to play music according to the corresponding relation (second corresponding relation), and the Bluetooth headset does not play music any more.
The corresponding relation stored in the electronic equipment can be set by a user, the user only needs to set once, the subsequent electronic equipment automatically monitors audio data and automatically selects audio output equipment, and manual intervention of the user is not needed. The effect of automatic pushing of the audio is achieved, and user experience is improved.
With reference to the first aspect, in some embodiments, after the electronic device determines that the audio output device is the first bluetooth device based on the first corresponding relationship, the method further includes: the electronic equipment sends a first instruction and audio data of a first application to the first Bluetooth equipment, and the first instruction is used for instructing the first Bluetooth equipment to output the audio data of the first application.
With reference to the first aspect, in some embodiments, the audio push system further includes a third bluetooth device, and the method further includes: the electronic equipment establishes Bluetooth connection with third Bluetooth equipment; when the electronic device detects a second playing instruction of a second application and the electronic device is in the first scene, the electronic device determines that the audio output device is a third Bluetooth device based on a third corresponding relation, the third corresponding relation indicates that the first scene, the second application and a third device type correspond to each other, the device type of the third Bluetooth device is a third device type, and the third device type is different from the first device type; the third correspondence is user configured. This implementation indicates that the audio output devices of different applications may also be different in the same scenario. For example, in a first scenario, the audio output device of a first application is a first bluetooth device, and in the first scenario, the audio output device of a second application is a second bluetooth device. For example, when a user sits on a vehicle, the bluetooth device 1 is a vehicle-mounted device, the bluetooth device 2 is a bluetooth headset, and a smart phone (electronic device) of the user establishes bluetooth connection with both the vehicle-mounted device (first bluetooth device) and the bluetooth headset (third bluetooth device); when a user plays music by using music software (first application), the smart phone detects that the current scene is in a vehicle (first scene), calls the vehicle-mounted equipment to play the music according to the corresponding relation (third corresponding relation), and when an incoming call (second application) exists, the Bluetooth headset preferentially outputs an incoming call ringtone; and the vehicle-mounted equipment can not output the incoming call ringtone, so that the condition that all people in the vehicle hear the incoming call ringtone is avoided, and the user experience is improved.
With reference to the first aspect, in some embodiments, the audio push system further includes a fourth bluetooth device, where a device type of the fourth bluetooth device is a fourth device type, and the electronic device establishes a bluetooth connection with the fourth bluetooth device; the electronic device determines that the audio output device is the first bluetooth device based on the first corresponding relationship, including: the first corresponding relation also indicates that the first scene, the first application and the fourth device type correspond, and the priority of the first device type is higher than that of the fourth device type; the electronic device determines that the audio output device is the first Bluetooth device based on the first corresponding relation. The implementation mode describes that under the condition that the first scene and the first application correspond to the first device type and the fourth device type, the first bluetooth device and the fourth bluetooth device are both in bluetooth connection with the electronic device, and as the priority of the first device type is higher, the audio output device is determined to be the first bluetooth device according to the priority information.
In conjunction with the first aspect, in some embodiments, the priority of the first device type and the priority of the fourth device type are user-configured; or the priority of the first device type corresponds to the historical push times of the first device type, and the priority of the fourth device type corresponds to the historical push times of the fourth device type. Wherein, the more the history push times, the higher the priority.
In combination with the first aspect, in some embodiments, the first correspondence and the second correspondence are user-configured.
With reference to the first aspect, in some embodiments, when the electronic device detects that the electronic device is in a third scene, the electronic device determines, based on a fourth correspondence, that the audio output device is the electronic device, where the fourth correspondence indicates that the third scene, the first application, and a fifth device type are corresponding, and the fifth device type is different from the first device type and the second device type. If the connected equipment of the electronic equipment does not have equipment of the fifth equipment type, the electronic equipment is used as audio output equipment; or the device type of the electronic device is the fifth device type, the electronic device serves as an audio output device.
In some embodiments, the electronic device determines that the audio output device is the first bluetooth device based on the first correspondence, and previously further includes: the electronic equipment outputs prompt information, and the prompt information is used for prompting a user to determine that the first Bluetooth equipment is audio output equipment; the electronic equipment receives user operation aiming at the prompt information; the electronic device responds to user operation and determines that the audio output device is the first Bluetooth device. When the electronic device determines the audio output device based on the corresponding relationship, the electronic device may output a prompt message to confirm the audio output device to the user, and if a confirmation instruction triggered by the user is received, the electronic device determines the audio output device. According to the implementation mode, the audio output equipment is recommended for the user, the audio is output after the audio output equipment is confirmed, and the user experience is improved.
In combination with the first aspect, in some embodiments, the electronic device detects that the electronic device is in a first scenario, including: the electronic equipment determines that the electronic equipment is in a first scene according to the geographical position information of the electronic equipment; or the electronic device determines that the electronic device is in the first scene according to the device information of the connected Bluetooth device.
With reference to the first aspect, in some embodiments, the electronic device determines that the audio output device is the first bluetooth device based on the first corresponding relationship, and then further includes: the electronic equipment detects the current environment volume; the electronic device determines an output volume of the first bluetooth device based on a current ambient volume, the ambient volume and the output volume being associated. This implementation provides a way to determine the output volume, and the electronic device determines the audio output volume by the ambient volume, wherein the ambient volume is louder (in decibels) and the output volume is larger within a certain volume range.
In a second aspect, the present application provides an audio push system, including: the device comprises an electronic device, a first Bluetooth device and a second Bluetooth device; the electronic equipment is used for establishing Bluetooth connection with the first Bluetooth equipment and the second Bluetooth equipment; the electronic equipment is also used for detecting a first playing instruction of the first application; the electronic equipment is further used for detecting that the electronic equipment is in a first scene; the electronic device is further used for determining that the audio output device is a first Bluetooth device based on a first corresponding relation, the first corresponding relation indicates that a first scene, a first application and a first device type correspond, and the device type of the first Bluetooth device is the first device type; the electronic device is further configured to determine, when the electronic device detects that the electronic device is in a second scene, that the audio output device is a second bluetooth device based on a second correspondence, where the second correspondence indicates that the second scene, the first application, and the second device type correspond to each other, the device type of the second bluetooth device is the second device type, and the second device type is different from the first device type.
Based on the system provided by the second aspect, when the electronic device detects that there is application software (first application) that needs to output audio data, the scene where the electronic device is currently located is determined. And the electronic equipment determines the type of the pushing equipment of the application software in the current scene according to the corresponding relation. The electronic device determines an audio output device among the connected bluetooth devices (the first bluetooth device and the second bluetooth device) based on the push device type. Under different scenes, audio output equipment of the same application software may be different; for example, in a first scenario, the audio output device of the first application is a first bluetooth device, and in a second scenario, the audio output device of the first application is a second bluetooth device.
For example, when a user is at home, a smart phone (electronic device) of the user establishes a bluetooth connection with a bluetooth headset (first bluetooth device), and when the user plays music using music software (first application), the smart phone detects that a current scene is at home (first scene), and the bluetooth headset plays the music according to a corresponding relationship (first corresponding relationship); when a user wears the Bluetooth headset and comes out of a home and enters a vehicle, the smart phone of the user is connected with the vehicle-mounted device (second Bluetooth device), the smart phone detects that the current scene is the vehicle (second scene), and calls the vehicle-mounted device to play music according to the corresponding relation (second corresponding relation), and the Bluetooth headset does not play music any more.
The corresponding relation stored in the electronic equipment can be set by a user, the user only needs to set once, the subsequent electronic equipment automatically monitors audio data and automatically selects audio output equipment, and manual intervention of the user is not needed. The effect of automatic pushing of the audio is achieved, and user experience is improved.
With reference to the second aspect, in some embodiments, the electronic device is further configured to send a first instruction and audio data of the first application to the first bluetooth device after determining that the audio output device is the first bluetooth device based on the first corresponding relationship, where the first instruction is used to instruct the first bluetooth device to output the audio data of the first application.
With reference to the second aspect, in some embodiments, the audio push system further includes a third bluetooth device, and the electronic device is further configured to establish a bluetooth connection with the third bluetooth device; the electronic device is further configured to determine that the audio output device is a third bluetooth device based on a third corresponding relationship when a second play instruction of the second application is detected and the electronic device is in the first scene, where the third corresponding relationship indicates that the first scene, the second application, and a third device type correspond to each other, the device type of the third bluetooth device is the third device type, and the third device type is different from the first device type; the third correspondence is user configured. This implementation indicates that the audio output devices of different applications may also be different in the same scenario. For example, in a first scenario, the audio output device of a first application is a first bluetooth device, and in the first scenario, the audio output device of a second application is a second bluetooth device. For example, when a user sits on a vehicle, the bluetooth device 1 is a vehicle-mounted device, the bluetooth device 2 is a bluetooth headset, and a smart phone (electronic device) of the user establishes bluetooth connection with both the vehicle-mounted device (first bluetooth device) and the bluetooth headset (third bluetooth device); when a user plays music by using music software (first application), the smart phone detects that the current scene is in a vehicle (first scene), calls the vehicle-mounted equipment to play the music according to the corresponding relation (third corresponding relation), and when an incoming call (second application) occurs, the Bluetooth headset preferentially outputs an incoming call ringtone; and the vehicle-mounted equipment can not output the incoming call ringtone, so that the condition that all people in the vehicle hear the incoming call ringtone is avoided, and the user experience is improved.
With reference to the second aspect, in some embodiments, the audio push system further includes a fourth bluetooth device, where the device type of the fourth bluetooth device is a fourth device type, and the electronic device is further configured to establish a bluetooth connection with the fourth bluetooth device; the electronic device is further configured to determine that the audio output device is the first bluetooth device based on the first corresponding relationship, including: the first corresponding relation also indicates that the first scene, the first application and the fourth device type correspond, and the priority of the first device type is higher than that of the fourth device type; the electronic device is further used for determining that the audio output device is the first Bluetooth device based on the first corresponding relation. The implementation mode describes that under the condition that the first scene and the first application correspond to the first device type and the fourth device type, the first bluetooth device and the fourth bluetooth device are both in bluetooth connection with the electronic device, and as the priority of the first device type is higher, the audio output device is determined to be the first bluetooth device according to the priority information.
In combination with the second aspect, in some embodiments, the priority of the first device type and the priority of the fourth device type are user-configured; or the priority of the first device type corresponds to the historical push times of the first device type, and the priority of the fourth device type corresponds to the historical push times of the fourth device type. Wherein, the more the history push times, the higher the priority.
In combination with the second aspect, in some embodiments, the first correspondence and the second correspondence are user-configured.
With reference to the second aspect, in some embodiments, the electronic device is further configured to determine, when it is detected that the electronic device is in a third scene, that the audio output device is the electronic device based on a fourth correspondence, where the fourth correspondence indicates that the third scene, the first application, and a fifth device type are corresponding, and the fifth device type is different from the first device type and the second device type. If the connected equipment of the electronic equipment does not have equipment of the fifth equipment type, the electronic equipment is used as audio output equipment; or the device type of the electronic device is the fifth device type, the electronic device serves as an audio output device.
In some embodiments, the electronic device is further configured to output a prompt message before determining that the audio output device is the first bluetooth device based on the first corresponding relationship, where the prompt message is used to prompt the user to determine that the first bluetooth device is the audio output device; the electronic equipment is also used for receiving user operation aiming at the prompt information; the electronic device is further used for responding to user operation and determining that the audio output device is the first Bluetooth device. When the electronic device determines the audio output device based on the corresponding relationship, the electronic device may output a prompt message to confirm the audio output device to the user, and if a confirmation instruction triggered by the user is received, the electronic device determines the audio output device. According to the implementation mode, the audio output equipment is recommended for the user, the audio is output after the audio output equipment is confirmed, and the user experience is improved.
With reference to the second aspect, in some embodiments, the electronic device, further configured to detect that the electronic device is in a first scenario, includes: the electronic equipment is further used for determining that the electronic equipment is in a first scene according to the geographical position information of the electronic equipment; or the electronic equipment is also used for determining that the electronic equipment is in the first scene according to the equipment information of the connected Bluetooth equipment.
With reference to the second aspect, in some embodiments, the electronic device is further configured to detect a current ambient volume after determining that the audio output device is the first bluetooth device based on the first corresponding relationship; the electronic device is further configured to determine an output volume of the first bluetooth device based on the current ambient volume, the ambient volume being associated with the output volume. This implementation provides a way to determine the output volume, and the electronic device determines the audio output volume by the ambient volume, wherein the ambient volume is louder (in decibels) and the output volume is larger within a certain volume range.
In a third aspect, the present application provides an electronic device, which may include: one or more processors, memory; the memory is coupled to the one or more processors and is configured to store computer program code comprising computer instructions that are invoked by the one or more processors to cause the electronic device to perform the method performed in any one of the embodiments of the second or third aspect.
In a fourth aspect, the present application provides a computer-readable storage medium including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method for pushing audio provided in any one of the second aspect and the third aspect of the present application.
In a fifth aspect, the present application provides a computer program product, which when run on an electronic device, causes the electronic device to perform the method for pushing audio provided in any one of the second aspect or the third aspect of the present application.
In a sixth aspect, the present application provides a chip system, where the chip system includes a processor, configured to enable an electronic device to implement the functions recited in the first aspect, the second aspect, or the third aspect, for example, to generate or process information recited in the audio push method. In one possible design, the system-on-chip further includes a memory for storing program instructions and data necessary for the data transmission device. The chip system may be constituted by a chip, or may include a chip and other discrete devices.
Drawings
FIG. 1 is a diagram of a system architecture according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating a software architecture according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
6A-6C are a set of application interface diagrams provided by embodiments of the present application;
fig. 7 is a schematic flowchart of an audio push method according to an embodiment of the present application;
fig. 8 is a schematic diagram of a bluetooth communication system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described in detail and clearly with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Currently, bluetooth 5.0 supports piconet, which is a piconet, formed by bluetooth (Blue tooth) technology and a small network of appliances with bluetooth units (i.e., bluetooth modules embedded in appliances supporting bluetooth technology) in a small range (10-100 m). Under bluetooth 5.0 technology, one master (master) device may be connected to a plurality of slave (slave) devices. One person can own a cell-phone, has bluetooth headset simultaneously, bluetooth bracelet, bluetooth wrist-watch, bluetooth car, and the family still has bluetooth speaker.
When the mobile phone is connected with a plurality of Bluetooth devices simultaneously, the user has different choices for the most suitable Bluetooth device for outputting audio currently for different occasions and different applications. For example, when driving, the Bluetooth headset and the vehicle Bluetooth are connected with a mobile phone. When a mobile phone calls, a user only wants to push the earphone and does not play the earphone through a vehicle; when playing a music/vocal story with a mobile phone, the user wants to play only through the car, not through the headphones. When the mobile phone is at home, the Bluetooth headset and the Bluetooth sound box are connected with the mobile phone. When a mobile phone calls, a user only wants to push the earphone and does not play the earphone through the sound box; when playing music/vocal stories with a mobile phone, the user wants to push only the speaker, not play through the earphone.
When the electronic equipment detects that an application program needs to push audio, the electronic equipment selects Bluetooth equipment suitable for a current scene to push audio according to a preset pushing strategy and based on the current scene of a user and the connection state of the Bluetooth equipment.
The application programs (or application software) involved in the embodiments of the present application include third-party application programs, such as an instant messaging APP, a music APP, a video APP, or a game APP; and system programs of the electronic equipment, such as short messages, alarm clocks, memorandum and the like.
The electronic device/bluetooth device involved in the embodiments of the present application may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a virtual reality device, smart televisions, smart stereos, smart home devices, smart car-mounted devices, car machines, PDAs (Personal Digital assistants, also known as palmtop computers), portable internet devices, music players, data storage devices, cameras, wearable devices (e.g., smart watches, smart bracelets, smart glasses, wireless headsets, Head Mounted Devices (HMDs), electronic clothing, electronic bracelets, electronic necklaces, electronic accessories, electronic tattoos, and smart mirrors), and other electronic devices having a bluetooth connection function and a media playing function.
First, a system architecture provided in the embodiments of the present application is described.
As shown in fig. 1, fig. 1 illustrates an architectural diagram of a system 10 provided by the present application. The system 10 may include: an electronic device 100 and one or more bluetooth devices 200.
The electronic device 100 and the bluetooth device 200 may communicate via wireless communication modes such as Bluetooth (BT), Near Field Communication (NFC), wireless fidelity (WiFi), and WiFi direct connection. In the embodiment of the present application, bluetooth communication is taken as an example for illustration.
Specifically, the electronic device 100 and the bluetooth device 200 communicate via bluetooth technology (including classic bluetooth, Bluetooth Low Energy (BLE), and bluetooth 5.0). The electronic device 100 may be a terminal device such as a smart phone, a tablet computer, and a personal computer. The bluetooth device 200 may include bluetooth enabled devices such as a bluetooth headset 201, a smart watch 202, a bluetooth speaker 203, a smart tv 204, and an in-vehicle device 205.
Fig. 2 exemplarily provides a specific scenario of the present application, and as shown in fig. 2, the electronic device 100 is connected to a bluetooth headset 201, a bluetooth speaker 203, and an in-vehicle device 205. At time T1, when the electronic device 100 detects an incoming call, the incoming call audio needs to be output, and the electronic device 100 selects the bluetooth headset 201 to output the incoming call audio according to a pre-configured push policy, a current scene (indoor) of a user, and a connection state of multiple bluetooth devices; at a time T2, when the electronic device 100 detects that the music software needs to output audio, the electronic device 100 selects the bluetooth speaker 203 to output the audio of the music software according to a pre-configured push policy, a current scene (indoor) of a user, and a connection state of a plurality of bluetooth devices; at time T3, the electronic device 100 detects that the music software needs to output audio, and the electronic device 100 selects the in-vehicle device 205 to output the audio of the music software according to a pre-configured push policy, the current scene (driving) of the user, and the connection states of the plurality of bluetooth devices. According to the embodiment of the application, the audio equipment which is most suitable for outputting the audio is determined according to the mapping relation between the application software and the audio equipment in different scenes, dynamic message pushing between each application and the plurality of Bluetooth equipment is achieved, and user experience is improved.
An exemplary electronic device 100 provided in the following embodiments of the present application is first described below.
Fig. 3 shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the electronic device 100.
The charging management module 140 is configured to receive charging input from a charger.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor modem may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then transferred to an Application Processor (AP). When the radio frequency module of the modem is turned off (power supply to the radio frequency module is stopped), the electronic device 100 cannot receive an incoming call signal sent by the base station. The application processor AP outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves. Illustratively, the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, and the like.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
In some embodiments, a Bluetooth (BT) module or a WLAN module included in the wireless communication module 160 may transmit a signal to detect or scan a device near the electronic device 100, so that the electronic device 100 may discover the nearby device using a wireless communication technology such as bluetooth or WLAN, establish a wireless communication connection with the nearby device, and share data to the nearby device through the connection. Among other things, a Bluetooth (BT) module may provide solutions including one or more of classic Bluetooth (Bluetooth 2.1), Bluetooth Low Energy (BLE), or Bluetooth 5.0 Bluetooth communication. The WLAN module may provide solutions that include one or more of Wi-Fi direct, Wi-Fi LAN, or Wi-Fi softAP WLAN communications.
In some embodiments, the solution of wireless communication provided by the mobile communication module 150 may enable the electronic device to communicate with a device (e.g., a server) in a network, and the solution of WLAN wireless communication provided by the wireless communication module 160 may also enable the electronic device to communicate with a device (e.g., a server) in a network and to communicate with the cloud device through the device (e.g., the server) in the network. Like this, electronic equipment alright in order to discover high in the clouds equipment, transmission data to high in the clouds equipment.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. In some embodiments of the present application, the interface content currently output by the system is displayed in the display screen 194. For example, the interface content is an interface provided by an instant messaging application. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like. The ISP is used to process the data fed back by the camera 193. In some embodiments, the ISP may be provided in camera 193. The camera 193 is used to capture still images or video.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data such as music, photos, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into analog audio data for output and also to convert analog audio input into digital audio data. The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. The headphone interface 170D is used to connect a wired headphone.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal 100 determines the intensity of the pressure according to the change in the capacitance. When a touch operation is applied to the display screen 194, the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine a motion attitude of the terminal 100. In some embodiments, the angular velocity of terminal 100 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the terminal 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the terminal 100 by a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal 100 calculates an altitude from the barometric pressure measured by the barometric pressure sensor 180C to assist in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the terminal 100 is a folder, the terminal 100 may detect the opening and closing of the folder according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the terminal 100 in various directions (generally, three axes). The magnitude and direction of gravity can be detected when the terminal 100 is stationary. The method can also be used for recognizing the terminal gesture, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The terminal 100 may measure the distance by infrared or laser. In some embodiments, the scene is photographed and the terminal 100 may range using the distance sensor 180F to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal 100 emits infrared light outward through the light emitting diode. The terminal 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the terminal 100. When insufficient reflected light is detected, the terminal 100 may determine that there is no object near the terminal 100. The terminal 100 can utilize the proximity light sensor 180G to detect that the user holds the terminal 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The terminal 100 may adaptively adjust the brightness of the display 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering, and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal 100 performs a reduction in the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, terminal 100 heats battery 142 when the temperature is below another threshold to avoid a low temperature causing abnormal shutdown of terminal 100. In other embodiments, when the temperature is lower than a further threshold, the terminal 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal 100 at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The motor 191 may generate a vibration cue. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
Based on the foregoing description about the hardware structure of the electronic device 100, in the embodiment of the present application, the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100. The Android system is only an example of the system of the electronic device 100 in the embodiment of the present application, and the present application may also be applied to other types of operating systems, such as IOS, windows, and a grand montage, which is not limited in this application. The following description will use the Android system only as an example of the operating system of the electronic device 100.
Fig. 4 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into three layers, namely an application layer, a middleware layer and an operating system layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include short messages, calls, maps, navigation, music, video, gallery, and other applications.
Middleware is a type of computer software that connects software components and applications, and includes a set of services. The main function is to provide an operation and development environment for application software (application package) on the upper layer of the user, and help the user to flexibly and efficiently develop and integrate complex application software; including providing an Application Programming Interface (API) and programming framework for applications at the application layer. Middleware is a separate system software or service by which distributed application software shares resources between different technologies, resides on the operating system of the client/server, manages computer resources and network communications.
In an embodiment of the present application, the middleware provides a bluetooth audio output service module, where the bluetooth audio output service module includes an equipment information management module, an application information management module, and a decision management module. Wherein the content of the first and second substances,
the device information management module is used for discovering and recording devices and device information which have a bluetooth connection relationship with the electronic device 100 and support audio output. The bluetooth connection relationship means that the bluetooth connection is being performed with the electronic device 100 or has been established. For example, in the system 10, the electronic device 100 establishes a bluetooth connection with one or more bluetooth devices 200, and the device information management module of the electronic device 100 may acquire device information of one or more bluetooth devices 200 supporting audio output and store the device information. The device information includes device identification (e.g., name of the device and/or MAC address of the device), device attributes (e.g., audio capability of the device, interaction capability of the device, etc.), device type (e.g., wearing the device, in-vehicle device, home device, bluetooth headset, etc.), current state of the device (e.g., the device is turned on or off, turned off or on, whether the device is worn on the user, etc.), connection time of the device, and priority information of the device, etc.
As an example, as shown in table 1,
TABLE 1
Figure RE-GDA0002672128890000121
In some embodiments, the device information management module obtains device information of a device that has a bluetooth connection relationship with the electronic device 100 and supports audio output from the operating system layer, and further obtains an APP associated with the device from the application layer through a device identifier of the device (e.g., a name of the device and/or a MAC address of the device), and based on the APP associated with the device, the device information management module determines a device type of the device.
In table 1, when the APP associated with the device is exercise health, it may be determined that the device type corresponding to the device is a wearable device; when the APP associated with the equipment is an intelligent life, the equipment type corresponding to the equipment can be judged to be household equipment; when the device is not associated with other APPs, the device type of the device may be determined by a device identifier (e.g., device name) or device attribute information. The device information in the device information management module can be updated periodically.
The application information management module is configured to record application software installed on the electronic device 100 and software information corresponding to the application software. When new application software is installed in the electronic device 100 or application software is uninstalled, the software information in the application information management module is updated. The software information includes an application name (or an application ID), an associated APP, whether the audio device needs to be called, and the like.
Specifically, when a certain APP is installed for the first time, whether the APP needs to call the audio equipment or not can be detected by reading the content of the MANIFEST.XML file of the APP, and if the file declares that the audio authority is needed, the APP is determined to need to call the audio equipment; whether the APP needs to call the audio equipment can be determined through the audio field of the APP, and when the audio field writes a valid value, the APP needs to call the audio equipment.
And the decision management module is used for determining equipment for outputting the audio frequency of the application software according to a preset strategy by combining the equipment information in the equipment information management module and the application software information in the application information management module.
The decision management module stores the corresponding relation of the application software, the pushing scene and the type of the pushing equipment, and when the decision management module detects that the application software needs to call the audio equipment, the decision management module determines the current scene. Under different scenes, the same application software can correspond to different audio output devices; under the same scene, different application software can also correspond to different audio output devices. The decision management module can determine the audio output device in the currently connected devices by combining the application software needing to output the audio and the current scene.
In the embodiment of the present application, for example, the push scenario may include the following four types: driving scenes, sleeping scenes, indoor scenes and outdoor scenes. As shown in the table 2 below, the following examples,
TABLE 2
Figure RE-GDA0002672128890000131
In table 2, taking music software (for example, hua is music) as an example, correspondence between application software, a push scene, and a push device type is exemplarily shown. For Huacheng music, in a driving scene, the corresponding types of push equipment can be vehicle-mounted equipment and wearable equipment, and when the electronic equipment is connected with the vehicle-mounted equipment and the wearable equipment at the same time, the final push equipment is determined to be the vehicle-mounted equipment (the priority of the vehicle-mounted equipment is higher) according to the priority; in a sleeping scene, the corresponding push device type can be a Bluetooth headset; in an indoor scene, the types of the corresponding push devices can be home devices and wearable devices, and when the electronic device is connected with the home devices and the wearable devices at the same time, the final push device is determined to be the home device (the home device is higher in priority) according to the priority.
In some embodiments, in the case that the selectable push device types include two or more types, the final push device may also be determined by the number of times that the push has been performed. Optionally, the device which has been pushed more times is the final pushing device.
The push mode includes direct playing and voice confirmation, for example, the push mode of the home device is voice confirmation, that is, before the home device outputs audio data of Huaqi music, the voice is output first to confirm whether to confirm playing to the user, and the audio data of Huaqi music is output after the instruction of the user is obtained.
The corresponding relationship between the application software, the push scenario, and the push device type may be configured by the user, or may be configured by default in the electronic device 100.
Optionally, in some embodiments, the decision management module further stores a corresponding relationship between the environment information, the user state information, and the output volume. The decision management module can judge the output volume of the audio data through the environment information and the user state information. The environment information comprises information such as noise, weather and temperature, and the user state comprises information such as a stress state and an emotional state. As an example, as shown in table 3,
TABLE 3
Current circumstances (e.g. noise, weather, temperature) Stress state of user Suggested output volume
Quiet, heavy rain, 25 deg.C Is normal Is slightly small
Quiet, heavy rain, 25 deg.C Relax the body Is slightly small
Normal, sunny day, 25 deg.C Relax the body Is normal
Noisy and sunny day, 25 DEG C Is normal Greater and greater
In table 3, the correspondence of the environment information, the user status information, and the output volume is exemplarily shown. The current environmental noise is quiet, and the user pressure state is normal, the output volume is smaller (for example, 10-40 decibels); the current environmental noise is quiet, the pressure state of the user is relaxed, and the output volume is smaller (for example, 10-30 decibels); when the current environmental noise is normal and the user pressure state is relaxed, the output volume is normal (for example, 40-60 decibels); and so on.
Optionally, in some embodiments, the decision management module further stores a corresponding relationship between the scene information and the output volume range. For example, in a driving scene, the interior of the vehicle is a closed space, and the maximum value of the output volume does not exceed 80 decibels; for another example, in a sleeping scene, the maximum value of the output volume does not exceed 50 decibels; for example, in an outdoor scene, the output volume is not limited; and so on.
Optionally, in some embodiments of the present application, the decision management module may dynamically change the volume of the output sound according to the noise level of the environmental noise.
Optionally, in some embodiments, the decision management module can further determine the audio playing time according to the navigation/track information of the user. For example, the decision management module obtains the start time and the predicted end time of the navigation/track information, and determines the time or duration of the output audio.
The operating system layer provides management functions for hardware for managing and allocating the application programs to use various resources (CPU, memory, input-output devices, etc.) of the electronic device 100. For example, when an application needs to be run, the operating system calls the application into the memory, and allocates a memory space for the application to run and store data. And when certain application program needs to output audio data, the operating system calls the audio output equipment to provide control service for the application program to the audio output equipment, and the like.
For the convenience of understanding the embodiment of the present application, the internal modules and functions of the bluetooth apparatus 200 applied to the embodiment of the present application will be described below with reference to fig. 5.
Fig. 5 schematically shows a structural diagram of a bluetooth device 200 provided in an embodiment of the present application.
The embodiment will be specifically described below by taking the bluetooth apparatus 200 as an example. It should be understood that the bluetooth device 200 shown in fig. 5 is only an example, and the bluetooth device 200 may have more or less components than those shown in fig. 5, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits,
as shown in fig. 5, the bluetooth device 200 may include: the device comprises a processor 201, a memory 202, a Bluetooth communication module 203, an antenna 204, a power switch 205, a USB communication processing module 206 and an audio module 207. Wherein:
the processor 201 is operable to read and execute computer readable instructions. In particular implementations, the processor 201 may mainly include a controller, an operator, and a register. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a specific implementation, the hardware architecture of the processor 201 may be an Application Specific Integrated Circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.
In some embodiments, the processor 201 may be configured to parse signals received by the bluetooth communication processing module 203, such as audio information, recommendation information, and the like sent by the electronic device 100. The process 201 may be used to perform corresponding processing operations according to the parsing result, such as outputting audio information according to recommendation information, and so on.
A memory 202 is coupled to the processor 201 for storing various software programs and/or sets of instructions. In particular implementations, memory 202 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system, such as an embedded operating system like uCOS, VxWorks, RTLinux, etc. Memory 202 may also store communication programs that may be used to communicate with electronic device 100, one or more servers, or other devices.
The bluetooth communication module 203 may include a classic Bluetooth (BT) module, a Bluetooth Low Energy (BLE) module, and a bluetooth 5.0 module. In some embodiments, the bluetooth communication module 203 may listen to signals, such as probe requests, scan signals, etc., transmitted by other devices (such as the electronic device 100) and may send response signals, scan responses, etc., so that the other devices (such as the electronic device 100) may discover the bluetooth device 200 and establish wireless communication connection with the other devices (such as the electronic device 100) to communicate with the other devices (such as the electronic device 100) through bluetooth.
In other embodiments, bluetooth communication module 203 may also transmit a signal, such as a broadcast BLE signal, so that other devices (e.g., electronic device 100) may discover bluetooth device 200 and establish a wireless communication connection with other devices (e.g., electronic device 100) to communicate with other devices (e.g., electronic device 100) via bluetooth.
The wireless communication function of the bluetooth device 200 may be realized by the antenna 204, the bluetooth communication module 203, the modem processor, and the like.
Antenna 204 may be used to transmit and receive electromagnetic wave signals. Each antenna in the bluetooth device 200 may be used to cover a single or multiple communication bands.
There may be one or more antennas of the bluetooth communication module 203 in some embodiments.
The power switch 205 may be used to control the power of the power supply to the bluetooth device 200.
The USB communication processing module 206 may be used to communicate with other devices through a USB interface (not shown).
The audio module 207 can be used to output audio data through the audio output interface, which can enable the bluetooth device 200 to support audio playback. The audio module may also be configured to receive audio data via the audio input interface. The bluetooth device 200 may be a media player such as a bluetooth headset.
In some embodiments, the bluetooth device 200 may also include a display screen (not shown), wherein the display screen may be used to display images, prompts, and the like. The display screen may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED) display screen, an active-matrix organic light-emitting diode (AMOLED) display screen, a flexible light-emitting diode (FLED) display screen, a quantum dot light-emitting diode (QLED) display screen, or the like.
In some embodiments, the Bluetooth device 200 may also include a serial interface such as an RS-232 interface. The serial interface may be connected to other devices, such as audio playback devices like speakers, so that the bluetooth device 200 and the audio playback devices cooperate to play audio and video.
In some embodiments, the bluetooth device 200 may also include one or more sensors (not shown). The one or more sensors include motion sensors (e.g., acceleration sensor, gyroscope sensor, geomagnetic sensor (also called electronic compass sensor), atmospheric pressure sensor, etc.), biosensors (e.g., blood glucose sensor, blood pressure sensor, electrocardiogram sensor, electromyogram sensor, body temperature sensor, brain wave sensor, heart rate sensor, skin electricity sensor, etc.), environmental sensors (e.g., air temperature and humidity sensor, rainfall sensor, illumination sensor, wind speed and direction sensor, particulate matter sensor, etc.), and the like. The bluetooth device 200 may detect the environmental information and the health status, the exercise status, the emotional status, the stress status, etc. of the user wearing the bluetooth device 200 through the one or more sensors.
It is to be understood that the configuration illustrated in fig. 5 does not constitute a specific limitation to the bluetooth device 200. In other embodiments of the present application, the bluetooth device 200 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
In the embodiment of the application, the electronic device 100 stores the corresponding relationship among the application software, the push scene and the push device type, and when the electronic device 100 detects that the application software needs to output audio data, the current scene is determined. The electronic device 100 determines the type of the push device of the application software in the current scene according to the corresponding relationship. The electronic device 100 determines an audio output device among the connected bluetooth devices based on the push device type. Under different scenes, audio output equipment of the same application software may be different; the audio output devices of different applications may also be different in the same scenario. The corresponding relation stored in the electronic device 100 is set by the user, the user only needs to set once, and the subsequent electronic device 100 automatically monitors the audio data and automatically selects the audio output device without manual intervention of the user. The effect of automatic pushing of the audio is achieved, and user experience is improved.
In some embodiments, the correspondence stored in the electronic device 100 may also be obtained by the electronic device 100 based on big data analysis. Alternatively, the electronic device 100 may periodically update the correspondence.
The following describes the process of configuring the corresponding relationship by the electronic device 100 in detail from the user interface.
As shown in fig. 6A, fig. 6A exemplarily shows a bluetooth configuration interface 71, and the bluetooth configuration interface 71 includes options of a bluetooth switch status, a device name, a paired device, an audio output configuration, and the like, wherein,
the on-off state of bluetooth may be controlled by icon 701, which icon 701 may be described as an on-off, indicating off when the circle in icon 701 is to the left; when the circle in icon 701 is to the right, it indicates on; the closed state and the open state can be switched by single click operation. As shown in fig. 6A, the circle of the icon 701 in the line of the bluetooth on/off state at this time is on the right, indicating that the bluetooth on state is currently present. If the electronic device 100 detects a user operation (e.g., a click operation) for the icon 701, a circle of the icon 701 in a row of the on/off state of bluetooth is on the left, indicating that the current bluetooth is in the off state.
The device name indicates a name of the electronic device 100, and the name may be a name customized by a user or a name preset by the electronic device 100.
The paired devices include a device that establishes a bluetooth connection with the electronic device 100 and a device that has established a bluetooth connection. In FIG. 6A, the paired devices include the HUAWEI freesuds 3, Car-Link-235, and watch gt; the connected devices are devices which establish bluetooth connection with the electronic device 100, and include the hue freesubues 3 and Car-Link-235, and the watch gt is a device which is paired with the electronic device 100, but does not currently establish bluetooth connection with the electronic device 100. The control 703 is associated with a HUAWEI freeboxes 3, and when the electronic device 100 detects a user operation directed to the control 703, the electronic device 100 displays a specific control interface of the HUAWEI freeboxes 3; the control 704 and the control 705 work the same, and are not described in detail here.
In some embodiments, the user may select controls 703, 704, 705, etc. to manually select an audio output device. If the device HUAWEI freesuds 3 corresponding to the control 703 is selected by the user as an audio output device, the device HUAWEI freesuds 3 outputs audio data of any application software in any scene.
The audio output configuration is configured for application software, including one or more application software configuration options. The application software can be a third-party application program, such as an instant messaging APP, an online shopping APP, a music APP, a game APP and the like; or system application programs such as incoming calls, short messages, alarm clocks and the like. In fig. 6A, configuration options corresponding to the application software such as hua shi music, hua shi video, map, incoming call, etc. are exemplarily shown, where when the electronic device 100 detects a user operation for the configuration option 706, in response to the user operation, the electronic device 100 displays a specific configuration interface for hua shi music.
As shown in fig. 6B, fig. 6B exemplarily shows a configuration interface 72 for hua shi music, the configuration interface 72 includes configuration of audio output scenes, and in fig. 6B, configuration options of sleeping, driving, outdoor, indoor, and the like scenes are included. Wherein, when the electronic device detects a user operation directed to the configuration option 721, the electronic device enters the configuration interface of the sleeping scene. The strategy of the electronic device 100 for audio output for Huacheng music is also different for different scenes. The kind or type of scene may be preset by the electronic device 100.
In some embodiments, the category or type of scene may be user-defined. As shown in fig. 6B, icon 722 provides a function for manually adding a scene. When the electronic device 100 detects a user operation directed to the icon 722, and in response to the user operation, the electronic device 100 displays a parameter setting interface for a scene type, a user may set a specific parameter of the scene type that is desired to be added, for example, a motion scene that the user desires to add, and the set parameter may include data of a motion speed, a motion acceleration, a motion distance, and the like. When all the detected parameters satisfy the set data range, the electronic apparatus 100 may determine that the current scene is the motion scene.
As shown in fig. 6C, fig. 6C exemplarily shows a configuration interface 73 for a sleeping scene, where the configuration interface 73 includes a configuration of a device that supports outputting audio, and in fig. 6C, device types such as bluetooth headsets, wearable devices, home devices, and vehicle-mounted devices, and a setting control corresponding to each device type are included. The control 731 is a setting control corresponding to the bluetooth headset, and the control 731 can describe whether the bluetooth headset supports outputting audio data of Huaqi music. As shown in fig. 6C, the circle of the icon 731 in the line of the on-off state of the bluetooth headset is on the right at this time, which indicates that the bluetooth headset supports outputting audio data of whitish music; the circle of the icon 732 in the line of the on-off state of the wearing apparatus at this time is on the left, indicating that the wearing apparatus does not support outputting audio data of whitish music.
The above embodiments describe the configuration process of the user for Huaqi music, for example, in a sleeping scene, the configuration may be configured to output audio data of Huaqi music through a bluetooth headset. Corresponding configuration can be carried out in other scenes (driving, outdoor and indoor), and the embodiment is also applicable to the configuration process of other application software.
Alternatively, the user may set the priority level not only for the setting of the device type, and when the user selects two or more device types, the user may set the priority level for the selected device type, and when the electronic device 100 establishes a bluetooth connection with the two or more device types and detects that the two or more device types support output of audio data, the only one device is determined according to the priority level.
For example, taking table 2 above as an example, for the application software hua is music, in a driving scene, the electronic device 100 supports the vehicle-mounted device and the wearable device as audio output devices, when the electronic device establishes bluetooth connections with both the vehicle-mounted device and the wearable device, the electronic device 100 determines only one device according to the priority, and since the priority of the vehicle-mounted device is higher than the priority of the wearable device in the driving scene, the electronic device determines that the vehicle-mounted device is the audio output device.
Optionally, the user may also set the output mode, and set a corresponding output mode for the device type, the scene, or the application, for example, directly output the output mode, or output the output mode after receiving a confirmation instruction from the user, and the like. If the output mode is direct output, after the electronic device 100 determines the audio output device, the electronic device 100 calls the audio output device to output audio; if the output mode is outputting after receiving the confirmation instruction of the user, after the electronic device 100 determines the audio output device, outputting a prompt message to prompt the user whether to confirm to call the audio output device for audio output, and when the electronic device 100 detects the confirmation instruction of the user, the electronic device 100 calls the audio output device for audio output.
The above description describes, by way of example, correspondence between scene information, device types, and application software through display of the electronic device 100 on the user interface, and details of the dynamic audio push method according to the embodiment of the present application are described below with reference to the above system architecture and the user interface, taking the example that the bluetooth device 200 includes the bluetooth device 1 and the bluetooth device 2. In the embodiment of the present application, the bluetooth device 1 may also be referred to as a first bluetooth device, and the bluetooth device 2 may also be referred to as a second bluetooth device.
As shown in fig. 7, fig. 7 is a flow chart illustrating an audio push method.
Step S101 a: the electronic apparatus 100 and the bluetooth apparatus 1 establish a bluetooth connection.
When the electronic apparatus 100 is not paired with the bluetooth apparatus 1, after the electronic apparatus 100 turns on the bluetooth function, the electronic apparatus 100 may transmit an inquiry request (inquiry request) to the surroundings. When the bluetooth device 1 enters an inquiry scan (inquiry scan) state, the bluetooth device 1 may scan for an inquiry request transmitted by the electronic device 100. After scanning the inquiry request of the electronic device 100, the bluetooth device 1 may return an inquiry response (inquiry response) to the electronic device 100. At this time, the electronic apparatus 100 may display the device options of the bluetooth device 1 on the bluetooth device 1 interface. When the user selects the device option of the bluetooth device 1, the electronic device 100 may transmit a page request (page request) to the bluetooth device 1. The bluetooth device 1 may listen to the paging request of the electronic device 100 at a certain frequency hopping frequency within a fixed time window at a fixed period, and after listening to the paging request of the electronic device 100, the bluetooth device 1 may transmit a slave paging response (slave page response) to the electronic device 100 at the next time slot. The electronic device 100 may transmit a master page response (master page response) to the bluetooth device 1 at the next time slot after receiving the slave page response of the bluetooth device 1. Then, the bluetooth device 1 and the electronic device 100 may enter a connection state, establish an ACL link connection, and complete pairing. After the electronic device 100 and the bluetooth device 1 are paired, a connection for transmitting data (for example, a connection based on audio/video distribution transport protocol (AVDTP) or a connection based on hand-free profile (HFP)) may be established based on bluetooth capabilities supported by the electronic device 100 and the bluetooth device 1.
The pairing between the electronic device 100 and the bluetooth device 1 may be Link Management Protocol (LMP) pairing, Secure Simple Pairing (SSP) pairing, or other non-standard pairing methods. After the electronic device 100 and the bluetooth device 1 are paired, a shared key may be created: link key (link key). The link key may be used to authenticate devices to each other and to encrypt exchanged data.
When the electronic device 100 and the bluetooth device 1 are paired, the electronic device 100 and the bluetooth device 1 both store information such as a link key (MAC address) shared by both parties. When the electronic device 100 turns on the bluetooth function and the bluetooth device 1 is turned on, the bluetooth device 1 may actively send a paging request to the electronic device 100. The electronic device 100 may listen to the paging request of the bluetooth device 1 at a certain frequency hopping frequency within a fixed time window at a fixed period, and after listening to the paging request of the bluetooth device 1, the electronic device 100 may transmit a slave paging response (slave page response) to the bluetooth device 1 at the next time slot. The bluetooth device 1 may transmit a master page response (master page response) to the electronic device 100 at the next time slot after receiving the slave page response of the electronic device 100. Then, the electronic device 100 and the bluetooth device 1 may enter a connection state, establish an ACL link connection, and complete authentication of the link key. After the electronic device 100 and the bluetooth device 1 complete authentication, a connection for transmitting audio data (for example, a connection based on audio/video distribution transport protocol (AVDTP) or a connection based on handsfree profile (HFP)) may be established based on bluetooth capabilities supported by the electronic device 100 and the bluetooth device 1.
The bluetooth connection is an exemplary communication manner in the present application, and the connection manner between the electronic device 100 and the bluetooth device 1 may also be WiFi direct connection, Radio Frequency Identification (RFID), or other short-distance communication.
Step S101 b: the electronic apparatus 100 and the bluetooth apparatus 2 establish a bluetooth connection. Reference may be made to the above description of the electronic device 100 and the bluetooth device 1 establishing the bluetooth connection in step S101 a.
Step S102: the electronic apparatus 100 acquires the apparatus information of the bluetooth apparatus 1 and the bluetooth apparatus 2.
After the electronic device 100 and the bluetooth device 1 establish a bluetooth connection, the electronic device 100 obtains device information of the bluetooth device 1, where the device information includes a device identifier (e.g., a name of the device and/or a MAC address of the device), a device attribute (e.g., an audio capability of the device, an interaction capability of the device, etc.), a device type (e.g., a wearable device, an in-vehicle device, a home device, a bluetooth headset, etc.), a current state of the device (e.g., the device is turned on or off, turned off or turned on, whether the device is worn on a user, etc.), a connection time of the device, and the like.
The electronic apparatus 100 includes an apparatus information management module in which apparatuses and apparatus information that have a bluetooth connection relationship with the electronic apparatus 100 and support audio output are stored. When the electronic device 100 establishes bluetooth connection with the bluetooth device 1, the electronic device 100 acquires the device information of the bluetooth device 1 and updates the information in the device information management module.
Optionally, in some embodiments, if the electronic device 100 and the bluetooth device 1 are connected for the first time, the electronic device 100 sends a request message to the bluetooth device 1 to obtain device information, and the device management module of the electronic device 100 adds the device information of the bluetooth device 1; optionally, in some embodiments, if the electronic device 100 and the bluetooth device 1 are not connected for the first time, the electronic device 100 stores the device information of the bluetooth device 1, the electronic device 100 may search the device information of the bluetooth device 1 according to the device identifier of the bluetooth device 1, so as to obtain the device information of the bluetooth device 1, and the device management module of the electronic device 100 updates the device information of the bluetooth device 1, for example, updates the current state of the bluetooth device 1 to the connected state.
The above description is related to the electronic device 100 acquiring the device information of the bluetooth device 1, and it can be understood that the electronic device 100 acquires the device information of the bluetooth device 2 in the same way.
Step S103: the electronic device 100 detects that the first application needs to output audio data.
The first application may be a third party application, such as an instant messaging APP, an online shopping APP, a music APP, a game APP, etc.; or system application programs such as incoming calls, short messages, alarm clocks and the like. The first application may need to invoke the audio device while running. For example: in the running process of the instant messaging APP, possibly calling a loudspeaker playing device to play the received voice message; in the running process of the music APP, a loudspeaker playing device may be called to play an audio file; when an incoming call comes in, a loudspeaker playing device may be called to play the incoming call ringtone; and so on.
Optionally, in some embodiments, during the running of the first application, when the electronic device 100 detects that the first application starts an Audio Policy Service (Audio Policy Service), the electronic device 100 may determine that the first application needs to output Audio data. In this embodiment of the application, the electronic device 100 detects that the first application needs to output the audio data, which may be referred to as the electronic device 100 detecting a first play instruction of the first application. For example, a first playback instruction of a first application may initiate an audio policy service for the first application.
Step S104: the electronic device 100 detects that the current scene information is the first scene.
The electronic device 100 determines current scene information, that is, the electronic device 100 detects that the scene in which the electronic device 100 is currently located is a first scene. The scene information indicates a scene where the user using the electronic device 100 is currently located, and may be, for example, a car, a home, a library, an outdoor, and the like. Further, the scene information may also indicate a scene and a state in which a user using the electronic device 100 is currently located, such as driving, sleeping at home, reading a book in a library, exercising in a gym, and the like.
Several ways of determining the current scene information are described below.
In the first mode, the electronic device 100 determines the scene information through device information connected by bluetooth, and the like.
For example, when the name of the bluetooth device 1 connected to the electronic device 100 includes a "Car" keyword, the electronic device 100 determines that the current scene is driving; or the device type of the bluetooth device 1 connected to the electronic device 100 includes an in-vehicle device, the electronic device 100 determines that the current scene is driving. When the device information of the bluetooth device 1 connected to the electronic device 100 includes a home device, the electronic device 100 determines that the current scene is indoor or home.
In the second mode, the electronic device 100 determines the scene information according to the state information of the electronic device 100.
For example, if the electronic device detects that the smart life App is started and the desk lamp is started, and the current bluetooth-connected device comprises a home device, then the current scenario is reading at home. For example, if the electronic device detects that it is currently moving fast and the current bluetooth-connected device includes an in-vehicle device, the current scenario is driving.
And determining scene information through the image acquired by the camera.
The electronic device 100 turns on the camera, and the display interface of the electronic device 100 may not display the image captured by the camera. The electronic device 100 performs image recognition on the image collected by the camera to determine the current scene.
In the fourth mode, the position information of the electronic device 100 is acquired through the GPS information, so as to determine the scene information.
For example, when the electronic device 100 determines that the current location is a library through GPS positioning and detects that the environmental noise is lower than the threshold, the electronic device 100 determines that the current scene is in the library.
In a fifth mode, the electronic device 100 determines scene information in combination with the sensor information/motion information detected by the wearable device.
The electronic device 100 detects that the connection with the wearable device is established, and the electronic device 100 acquires the current motion information from the wearable device, so as to judge the scene information. For example, the sports watch basically comprises the sports modes of running, riding, walking, swimming and the like, and can meet the requirements of sports enthusiasts of all levels from daily sports to triathlon. The exercise mode may also include sleep, sedentary, etc. modes.
For example, the current motion mode is elliptical, indoor running, indoor bicycle, rowing machine, etc., and the current position is in the gymnasium, the current scene is gymnasium motion; if the current motion mode is outdoor running, outdoor walking, outdoor riding, swimming, mountain climbing, cross-country, triathlon and the like, the current scene is outdoor motion; when the wearable device detects that the user is in the sleep mode, the current scene is sleeping.
Specifically, the electronic device 100 sends a request message to the wearable device, and in response to the request message, the wearable device sends current motion information to the electronic device. Optionally, the wearable device periodically provides the user's motion information to the electronic device.
The five manners are only exemplary, and the electronic device 100 may select any one of the five manners, or the electronic device 100 may freely combine at least two of the five manners to comprehensively judge the scene information, so as to improve the accuracy of the scene information. Optionally, the method is not limited to the above five methods, and the scene information may also be obtained in other methods, which is not limited in the present application.
Step S105: according to the first scenario, the electronic apparatus 100 determines, among the connected bluetooth apparatuses, that the audio output apparatus supporting output of the audio data of the first application is the bluetooth apparatus 1.
The electronic device stores the corresponding relation among the application software, the scene information and the device type, and after the electronic device determines that the current scene information is a first scene, the audio output device which outputs the audio data of the first application is determined to be the Bluetooth device 1 in the connected Bluetooth devices. The first application, the first scene and the first device type correspond to each other, and the device type of the bluetooth device 1 is the first device type.
For example, the first application is Huaqi music, and the Bluetooth device 1 is an in-vehicle device. As shown in table 2, in the "driving" scene, the types of devices supporting audio output of huacheng music are the in-vehicle device and the wearable device; if the current scene is driving, the audio output device is the bluetooth device 1. Also for example, the first application is Huaqi music and the Bluetooth device 1 is a Bluetooth headset. In a sleeping scene, the type of the equipment supporting audio output of Hua as music is a Bluetooth headset; if the current scene is sleeping, the audio output device is the bluetooth device 1.
The electronic apparatus 100 determines an audio output apparatus that supports audio output of the first application among the connected bluetooth apparatuses. That is, the audio output device is a device that establishes a bluetooth connection with the electronic device 100, and is a device that supports audio output of the first application.
In some embodiments, if an application supports two or more types of bluetooth devices to output audio data in the same scene, and the two or more types of bluetooth devices are both connected to the electronic device 100, the electronic device 100 may determine only one audio output device that outputs audio data according to the priority information. For example, as shown in table 2 above, in a "driving" scene, the types of devices that support audio output of Huawei music are an in-vehicle device and a wearable device, where the priority of the in-vehicle device is higher than the priority of the wearable device, and in a case where the in-vehicle device and the wearable device are simultaneously connected to the electronic device 100, the electronic device 100 selects the in-vehicle device to output audio data of Huawei music in the driving scene. In this embodiment, the vehicle-mounted device is a first bluetooth device, the device type of the vehicle-mounted device may be referred to as a first device type, the wearable device is a fourth bluetooth device, and the device type of the wearable device may be referred to as a fourth device type.
Alternatively, only one audio output device that outputs audio data may be determined according to the distance from the electronic device 100. The electronic apparatus 100 preferentially selects an apparatus closer to the physical distance of the electronic apparatus 100 as the audio output apparatus; optionally, a unique audio output device for outputting audio data may be determined according to the historical push times, and the electronic device 100 preferentially selects a device with a higher historical push times as the audio output device; alternatively, the electronic apparatus 100 may arbitrarily select one apparatus as the audio output apparatus.
Alternatively, if there is no device type supporting the output of the audio data of the first application among the connected bluetooth devices, the electronic device 100 directly outputs the audio data of the application.
Step S106: the first instruction and the audio data of the first application are transmitted.
When the electronic device 100 determines that the audio output device is the bluetooth device 1, the electronic device 100 sends a first instruction and audio data of a first application to the bluetooth device 1, where the first instruction is used to instruct the bluetooth device 1 to output the audio data.
Step S107: the bluetooth apparatus 1 plays the audio data of the first application.
The bluetooth device 1 plays the audio data of the first application based on the first instruction.
In some embodiments, after the electronic device 100 determines that the audio output device is the bluetooth device 1, the electronic device 100 records that the historical push times of the bluetooth device 1 for the first application in the first scene is increased by one.
Step S108: the electronic device 100 detects that the current scene information is the second scene.
In some embodiments, the electronic device 100 periodically detects current context information. The electronic apparatus 100 detects that the current scene information is the second scene at the next time of step S104.
The manner of detecting the current scene information by the electronic device 100 may refer to the description of the manner of detecting the current scene information in step S104, which is not described herein again.
Step S109: according to the second scenario, the electronic device 100 determines, among the connected bluetooth devices, that the audio output device that supports outputting the audio data of the first application is the bluetooth device 2.
The electronic device 100 stores the corresponding relationship among the application software, the scene information, and the device type, and determines that the audio output device that outputs the audio data of the first application is the bluetooth device 2 when the electronic device 100 determines that the current scene information is the second scene. The first application, the second scene and the second device type correspond to each other, and the device type of the bluetooth device 2 is the second device type.
Step S110: the second instruction and the audio data of the second application are transmitted.
When the electronic device 100 determines that the audio output device is the bluetooth device 2, the electronic device sends a second instruction and the audio data of the first application to the bluetooth device 2, where the second instruction is used to instruct the bluetooth device 2 to output the audio data.
Step S111: the bluetooth device 2 plays the audio data of the first application.
The bluetooth device 2 plays the audio data of the first application based on the second instruction.
In some embodiments, after the electronic device 100 determines that the audio output device is the bluetooth device 2, the electronic device 100 records that the historical push times of the bluetooth device 2 for the first application in the second scenario is increased by one.
In the audio push method provided by the above embodiment, the electronic device establishes a connection with the bluetooth device 1 and the bluetooth device 2. When the application software runs, the electronic device 100 continuously detects whether the application software needs to call the audio device, when the electronic device 100 detects audio data of a first application, the electronic device 100 determines that current scene information is a first scene, and the electronic device 100 determines that the bluetooth device 1 outputs the audio data of the first application in the first scene according to the stored corresponding relationship between the application software, the scene information and the device type; when the electronic device 100 detects that the current scene information is changed into the second scene, the electronic device 100 determines that the bluetooth device 2 outputs the audio data of the first application in the second scene according to the stored application software, the correspondence between the scene information and the device type. According to the embodiment of the application, under different scenes, different devices can be called to output the audio data of the same application. For example, when a user is at home, a smart phone of the user establishes a bluetooth connection with a bluetooth headset, and when the user plays music using music software (first application), the smart phone detects that a current scene is at home (first scene), and the bluetooth headset plays the music according to a corresponding relationship; when a user wears the Bluetooth headset and comes out of a home and enters a car, the smart phone of the user is connected with the vehicle-mounted device, and the smart phone detects that the current scene is in the car (a second scene), the smart phone calls the vehicle-mounted device to play music, and the Bluetooth headset does not play music any more. The manual adjustment of a user is not needed, and the user experience is improved.
Optionally, in some embodiments, at time T1, when the electronic device 100 detects audio data of a first application, the electronic device 100 determines that current scene information is a first scene, and the electronic device 100 determines that, in the first scene, a first bluetooth device outputs the audio data of the first application according to a correspondence between stored application software, scene information, and device type; at time T2, when the electronic device 100 detects the audio data of the second application, the electronic device 100 determines that the third bluetooth device outputs the audio data of the second application in the first scene according to the stored correspondence between the application software, the scene information, and the device type. According to the embodiment of the application, different devices can be called to output audio data of different applications in the same scene. For example, when a user sits on a vehicle, the first bluetooth device is a vehicle-mounted device, the third bluetooth device is a bluetooth headset, and the smart phone of the user establishes bluetooth connection with the vehicle-mounted device and the bluetooth headset; when a user plays music by using music software (first application), the smart phone detects that the current scene is in a vehicle (first scene), calls the vehicle-mounted equipment to play the music according to the corresponding relation, and preferentially outputs an incoming call ringtone by the Bluetooth headset when an incoming call (second application) exists; and the vehicle-mounted equipment can not output the incoming call ringtone, so that the condition that all people in the vehicle hear the incoming call ringtone is avoided, and the user experience is improved.
With reference to the foregoing embodiments, optionally, in some embodiments, the electronic device 100 may further store a corresponding relationship between the environment information, the user state information, and the output volume. The correspondence of the environment information, the user status information, and the output volume is exemplarily shown as the foregoing table 3.
Determining the current environmental information or user status information is also included in step S104 (step S109).
The environmental information includes information such as noise, weather, temperature, etc. The electronic device 100 may collect the environmental sound by calling the microphone recording device, and detect the decibel of the collected environmental sound, where the noise is the decibel of the environmental sound. Weather, temperature, etc. information may be obtained over a network or by environmental sensors in the electronic device 100.
The user state information includes information such as stress index and emotion index of the user. If the bluetooth device connected to the electronic device 100 includes a wearable device, the electronic device 100 requests the wearable device to acquire user status information. The wearable device may obtain a stress index, an emotion index, etc. of the user through a biosensor (e.g., a pyroelectric sensor, a body temperature sensor, etc.). The wearable device sends user state information to the electronic device 100 based on the request message obtained from the electronic device 100; alternatively, the wearable device provides the user status information to the electronic device 100 continuously or periodically.
The electronic device 100 acquires the current environment information and/or user state information, and determines the output volume of the audio data of the first application (the second application) on the bluetooth device 1 (the bluetooth device 2) based on the corresponding relationship between the environment information, the user state information, and the output volume.
Correspondingly, in step S106, the electronic device 100 sends the first instruction and the audio data of the first application to the bluetooth device 1, and the electronic device 100 also sends the output volume to the bluetooth device 1; the first instruction is used to instruct the bluetooth device 1 to output the audio data of the first application at the output volume. In the embodiment of the present application, the output volume may also be referred to as a first volume.
Similarly, in step S111, the electronic device 100 sends the second instruction and the audio data of the first application to the bluetooth device 2, and the electronic device 100 also sends the output volume to the bluetooth device 2; the second instruction is for instructing the bluetooth device 2 to output the audio data of the first application at the output volume.
In some embodiments, the electronic device 100 may also determine the audio output duration based on the navigation/trajectory information of the user. When the user is driving, the electronic device 100 acquires the start time and the predicted end time of the current navigation/trajectory information, and determines the time or duration of the output audio. Correspondingly, in step S106, the electronic device 100 sends the first instruction and the audio data of the first application to the bluetooth device 1, and the electronic device 100 also sends the output time or duration to the bluetooth device 1; the first instruction is used to instruct the bluetooth device 1 to output the audio data of the first application at the output time or duration.
Similarly, in step S111, the electronic device 100 sends the second instruction and the audio data of the first application to the bluetooth device 2, and the electronic device 100 also sends the output time or duration to the bluetooth device 1; the second instruction is for instructing the bluetooth device 2 to output the audio data of the second application at the time or duration of the output.
The user operations mentioned in the embodiments of the present application include, but are not limited to, clicking, double-clicking, long-pressing, sliding, hovering gestures, voice commands, and the like.
A schematic block diagram of a bluetooth communication system provided in an embodiment of the present application is described below.
As shown in fig. 8, the bluetooth communication system 1000 may include an electronic device 100 and a bluetooth device 200. The electronic device 100 may include, but is not limited to, a processor 1010, a memory 1020, and a bluetooth chip 1030. The processor 1010 may be run with an application module 1011 and an audio output service module 1012. The memory 1020 stores audio data of the application module 1011. The bluetooth device 200 may include, but is not limited to, a bluetooth chip 1040, a Digital Signal Processor (DSP) 1050, and a speaker 1060. Wherein:
1. when the processor 1010 runs the application module 1011, if a play instruction for the audio data is received, the application module 1011 may send a play start instruction to the audio output service module 1012 and the bluetooth chip 1030 which are run by the processor 1010.
2. When the audio output service module 1012 is operated, the processor 1010 may recognize a playing scene of the audio data (e.g., sleeping, driving, indoors, outdoors, etc.), and determine that the bluetooth device outputting the audio data is the bluetooth device 200 and an output mode (e.g., output volume, output time or duration, etc.) of outputting the audio data. Next, the processor 1010 may transmit the device identification and the output mode of the bluetooth device 200 to the bluetooth chip 1030, instructing the bluetooth chip 1030 to transmit the audio data to the bluetooth device 200.
3. The bluetooth chip 1030 may acquire the audio data of the application module 1011 from the memory 1020.
4. The bluetooth chip 1030 on the electronic device 100 transmits the audio data and the output mode to the bluetooth chip 1040 on the bluetooth device 200.
5. After receiving the audio data and the output mode, the bluetooth chip 1040 on the bluetooth device 200 may send the audio data to the digital signal processor 1050 for audio decoding.
6. The digital signal processor 1050 may output the decoded audio data to a speaker 1060. The speaker 1060 outputs sound according to the output mode based on the decoded audio data.
For parts that are not described in detail in the embodiments of the present application, reference may be made to the embodiment shown in fig. 7, which is not described herein again.
Through the embodiment of the application, the electronic device 100 can dynamically determine the audio output device which outputs the audio data at present according to the application software and the current scene of the audio data, so that the requirement that the electronic device 100 plays the audio data through different Bluetooth devices in different scenes or different application software is met, user operation is reduced, and user experience is improved.
The embodiment of the application also provides a chip system. The system-on-chip may include one or more processors.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may include a modem processor and may further include an Application Processor (AP). The processor may implement or perform the methods, steps disclosed in the embodiments of the present application. The processor may also include further components, which are not limited herein.
Optionally, the system-on-chip further includes a memory, which may include read-only memory and random access memory, and provides operating instructions and data to the processor. The portion of memory may also include non-volatile random access memory.
Optionally, the memory stores executable software modules or data structures, and the processor may perform corresponding operations by calling the operation instructions stored in the memory (the operation instructions may be stored in an operating system).
Optionally, the chip system may be disposed in the electronic device/bluetooth device according to the embodiment of the present application. Optionally, the processor is configured to perform the steps of the electronic device/bluetooth device process in the embodiment shown in fig. 7. The memory is used to store data and instructions for the electronic device/bluetooth device in the embodiment shown in fig. 7.
The embodiment of the application also provides a computer readable storage medium. The methods described in the above method embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may include any medium that can communicate a computer program from one place to another. A storage media may be any available media that can be accessed by a computer.
The embodiment of the application also provides a computer program product. The methods described in the above method embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in the above method embodiments are generated in whole or in part when the above computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, a network appliance, an electronic appliance, or other programmable apparatus.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (23)

1. An audio push method is applied to an audio push system, the audio push system comprises an electronic device, a first Bluetooth device and a second Bluetooth device, and the method comprises the following steps:
the electronic equipment establishes Bluetooth connection with the first Bluetooth equipment and the second Bluetooth equipment;
the electronic equipment detects a first playing instruction of a first application;
the electronic device detects that the electronic device is in a first scene;
the electronic device determines that an audio output device is the first Bluetooth device based on a first corresponding relationship, the first corresponding relationship indicates that the first scene, the first application and a first device type are corresponding, and the device type of the first Bluetooth device is the first device type;
when the electronic device detects that the electronic device is in a second scene, the electronic device determines that an audio output device is the second bluetooth device based on a second corresponding relationship, where the second corresponding relationship indicates that the second scene, the first application, and a second device type correspond to each other, the device type of the second bluetooth device is the second device type, and the second device type is different from the first device type.
2. The method of claim 1, wherein after the electronic device determines that the audio output device is the first bluetooth device based on the first correspondence, the method further comprises:
the electronic device sends a first instruction and the audio data of the first application to the first Bluetooth device, wherein the first instruction is used for instructing the first Bluetooth device to output the audio data of the first application.
3. The method of claim 1, wherein the audio push system further comprises a third bluetooth device, the method further comprising:
the electronic equipment establishes Bluetooth connection with the third Bluetooth equipment;
when the electronic device detects a second play instruction of a second application and the electronic device is in the first scene, the electronic device determines that an audio output device is the third bluetooth device based on a third correspondence, the third correspondence indicates that the first scene, the second application and a third device type correspond to each other, the device type of the third bluetooth device is the third device type, and the third device type is different from the first device type; the third correspondence is user-configured.
4. The method of claim 1, wherein the audio push system further comprises a fourth bluetooth device, wherein the device type of the fourth bluetooth device is the fourth device type, and the electronic device establishes a bluetooth connection with the fourth bluetooth device;
the electronic device determines that the audio output device is the first bluetooth device based on the first corresponding relationship, including:
the first correspondence further indicates that the first scene, the first application and a fourth device type correspond, and the priority of the first device type is higher than the priority of the fourth device type; and the electronic equipment determines that the audio output equipment is the first Bluetooth equipment based on the first corresponding relation.
5. The method of claim 4, wherein the priority of the first device type and the priority of the fourth device type are user configured; or the priority of the first device type corresponds to the historical push times of the first device type, and the priority of the fourth device type corresponds to the historical push times of the fourth device type.
6. The method of claim 1, wherein the first correspondence and the second correspondence are user-configured.
7. The method of claim 1, further comprising:
when the electronic device detects that the electronic device is in a third scene, the electronic device determines that an audio output device is the electronic device based on a fourth corresponding relationship, the fourth corresponding relationship indicates that the third scene, the first application and a fifth device type are corresponding, and the fifth device type is different from the first device type and the second device type.
8. The method of claim 7, wherein the electronic device determines that the audio output device is the first Bluetooth device based on the first correspondence, and further comprising:
the electronic equipment outputs prompt information, and the prompt information is used for prompting a user to determine that the first Bluetooth equipment is audio output equipment;
the electronic equipment receives user operation aiming at the prompt information;
the electronic device responds to the user operation and determines that the audio output device is the first Bluetooth device.
9. The method of claim 1, wherein the electronic device detecting that the electronic device is in a first scene comprises:
the electronic equipment determines that the electronic equipment is in a first scene according to the geographical position information of the electronic equipment; or the electronic equipment determines that the electronic equipment is in the first scene according to the equipment information of the connected Bluetooth equipment.
10. The method of claim 1, wherein the electronic device determines that the audio output device is a first bluetooth device based on the first correspondence, and thereafter further comprising:
the electronic equipment detects the current environmental volume;
the electronic device determines an output volume of the first Bluetooth device based on the current ambient volume, the ambient volume being associated with the output volume.
11. An audio push system is characterized by comprising an electronic device, a first Bluetooth device and a second Bluetooth device; wherein the content of the first and second substances,
the electronic equipment is used for establishing Bluetooth connection with the first Bluetooth equipment and the second Bluetooth equipment;
the electronic equipment is further used for detecting a first playing instruction of a first application;
the electronic device is further used for detecting that the electronic device is in a first scene;
the electronic device is further configured to determine that an audio output device is the first bluetooth device based on a first corresponding relationship, where the first corresponding relationship indicates that the first scene, the first application, and a first device type correspond, and a device type of the first bluetooth device is the first device type;
the electronic device is further configured to determine, when the electronic device detects that the electronic device is in a second scene, that an audio output device is the second bluetooth device based on a second correspondence, where the second correspondence indicates that the second scene, the first application, and a second device type correspond to each other, the device type of the second bluetooth device is the second device type, and the second device type is different from the first device type.
12. The system of claim 11, wherein the electronic device is further configured to send a first instruction and the audio data of the first application to the first bluetooth device after determining that the audio output device is the first bluetooth device based on the first corresponding relationship, and wherein the first instruction is used to instruct the first bluetooth device to output the audio data of the first application.
13. The system of claim 11, wherein the audio push system further comprises a third bluetooth device, and wherein the electronic device is further configured to establish a bluetooth connection with the third bluetooth device;
the electronic device is further configured to determine, when a second play instruction of a second application is detected and the electronic device is in the first scene, that an audio output device is the third bluetooth device based on a third correspondence, where the third correspondence indicates that the first scene, the second application, and a third device type are corresponding, the device type of the third bluetooth device is the third device type, and the third device type is different from the first device type; the third correspondence is user-configured.
14. The system of claim 11, wherein the audio push system further comprises a fourth bluetooth device, the device type of the fourth bluetooth device is the fourth device type, and the electronic device is further configured to establish a bluetooth connection with the fourth bluetooth device;
the electronic device is further configured to determine that an audio output device is the first bluetooth device based on the first corresponding relationship, including:
the first correspondence further indicates that the first scene, the first application and a fourth device type correspond, and the priority of the first device type is higher than the priority of the fourth device type; the electronic device is further configured to determine that the audio output device is the first bluetooth device based on the first corresponding relationship.
15. The system of claim 14, wherein the priority of the first device type and the priority of the fourth device type are user configured; or the priority of the first device type corresponds to the historical push times of the first device type, and the priority of the fourth device type corresponds to the historical push times of the fourth device type.
16. The system of claim 11, wherein the first correspondence and the second correspondence are user-configured.
17. The system of claim 11, wherein the electronic device is further configured to determine that an audio output device is the electronic device based on a fourth correspondence when it is detected that the electronic device is in a third scene, where the fourth correspondence indicates that the third scene, the first application, and a fifth device type correspond, and the fifth device type is different from the first device type and the second device type.
18. The system of claim 17, wherein the electronic device is further configured to output a prompt message before determining that the audio output device is the first bluetooth device based on the first corresponding relationship, the prompt message being configured to prompt a user to determine that the first bluetooth device is the audio output device;
the electronic equipment is also used for receiving user operation aiming at the prompt information;
the electronic device is further configured to determine that the audio output device is the first bluetooth device in response to the user operation.
19. The system of claim 11, wherein the electronic device is further configured to detect that the electronic device is in a first scenario, comprising:
the electronic equipment is further used for determining that the electronic equipment is in a first scene according to the geographical position information of the electronic equipment; or the electronic device is further configured to determine that the electronic device is in the first scene according to the device information of the connected bluetooth device.
20. The system of claim 11, wherein the electronic device is further configured to detect a current ambient volume after determining that the audio output device is the first bluetooth device based on the first correspondence;
the electronic device is further configured to determine an output volume of the first bluetooth device based on the current ambient volume, where the ambient volume is associated with the output volume.
21. An electronic device comprising memory, one or more processors, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 1-10.
22. A chip system comprising one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is used for receiving signals from the memory and sending signals to the processor, and the signals comprise computer instructions stored in the memory; the electronic device, when executing computer instructions, implements the method of any of claims 1 to 10.
23. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-10.
CN202010899554.5A 2020-08-31 2020-08-31 Audio pushing method and audio pushing system Active CN114125791B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010899554.5A CN114125791B (en) 2020-08-31 2020-08-31 Audio pushing method and audio pushing system
PCT/CN2021/125915 WO2022042773A1 (en) 2020-08-31 2021-10-22 Audio push method and audio push system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010899554.5A CN114125791B (en) 2020-08-31 2020-08-31 Audio pushing method and audio pushing system

Publications (2)

Publication Number Publication Date
CN114125791A true CN114125791A (en) 2022-03-01
CN114125791B CN114125791B (en) 2022-12-23

Family

ID=80352717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010899554.5A Active CN114125791B (en) 2020-08-31 2020-08-31 Audio pushing method and audio pushing system

Country Status (2)

Country Link
CN (1) CN114125791B (en)
WO (1) WO2022042773A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114360206A (en) * 2022-03-21 2022-04-15 荣耀终端有限公司 Intelligent alarm method, earphone, terminal and system
CN114885317A (en) * 2022-07-08 2022-08-09 荣耀终端有限公司 Method for cooperative control between devices, communication system, electronic device, and storage medium
CN116679855A (en) * 2022-10-25 2023-09-01 荣耀终端有限公司 Data processing method and device
WO2023179123A1 (en) * 2022-03-22 2023-09-28 荣耀终端有限公司 Bluetooth audio playback method, electronic device, and storage medium
WO2023185171A1 (en) * 2022-03-31 2023-10-05 哲库科技(上海)有限公司 Data transmission method and apparatus, electronic device and computer-readable storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115038068A (en) * 2022-05-31 2022-09-09 中国第一汽车股份有限公司 Bluetooth audio playing method and device, vehicle and storage medium
CN115225121A (en) * 2022-07-04 2022-10-21 维沃移动通信有限公司 Bluetooth data output method and device, electronic equipment and storage medium
CN116405963B (en) * 2023-06-09 2023-08-22 深圳市微克科技有限公司 Bluetooth intelligent switch implementation method, system and medium based on dual-mode scheme
CN117075840B (en) * 2023-10-13 2024-01-26 小舟科技有限公司 Volume self-adaptive control method and device based on physiological signals, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103636141A (en) * 2012-11-16 2014-03-12 华为终端有限公司 Method for establishing Bluetooth connection, mobile terminal, Bluetooth devices and system
WO2019090726A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Method for selecting bluetooth device, terminal, and system
CN109819529A (en) * 2019-03-18 2019-05-28 维沃移动通信有限公司 A kind of target switching method and terminal device
CN111464689A (en) * 2020-01-22 2020-07-28 华为技术有限公司 Audio output method and terminal equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9014633B2 (en) * 2013-03-07 2015-04-21 Kin-Man TSE Bluetooth communication system and method for selectively switching modes of operation in between electronic devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103636141A (en) * 2012-11-16 2014-03-12 华为终端有限公司 Method for establishing Bluetooth connection, mobile terminal, Bluetooth devices and system
WO2019090726A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Method for selecting bluetooth device, terminal, and system
CN109819529A (en) * 2019-03-18 2019-05-28 维沃移动通信有限公司 A kind of target switching method and terminal device
CN111464689A (en) * 2020-01-22 2020-07-28 华为技术有限公司 Audio output method and terminal equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114360206A (en) * 2022-03-21 2022-04-15 荣耀终端有限公司 Intelligent alarm method, earphone, terminal and system
WO2023179123A1 (en) * 2022-03-22 2023-09-28 荣耀终端有限公司 Bluetooth audio playback method, electronic device, and storage medium
WO2023185171A1 (en) * 2022-03-31 2023-10-05 哲库科技(上海)有限公司 Data transmission method and apparatus, electronic device and computer-readable storage medium
CN114885317A (en) * 2022-07-08 2022-08-09 荣耀终端有限公司 Method for cooperative control between devices, communication system, electronic device, and storage medium
CN114885317B (en) * 2022-07-08 2022-11-25 荣耀终端有限公司 Method for cooperative control between devices, communication system, electronic device, and storage medium
CN116679855A (en) * 2022-10-25 2023-09-01 荣耀终端有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN114125791B (en) 2022-12-23
WO2022042773A1 (en) 2022-03-03

Similar Documents

Publication Publication Date Title
CN114125791B (en) Audio pushing method and audio pushing system
CN110138937B (en) Call method, device and system
CN112289313A (en) Voice control method, electronic equipment and system
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
CN110730114B (en) Method and equipment for configuring network configuration information
CN112822663B (en) Bluetooth connection method and related device
CN110198362B (en) Method and system for adding intelligent household equipment into contact
CN110401767B (en) Information processing method and apparatus
CN110417582B (en) Router configuration method, terminal and router
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN114173204A (en) Message prompting method, electronic equipment and system
WO2020216098A1 (en) Method for providing forwarding service across electronic apparatuses, apparatus, and system
CN114095599B (en) Message display method and electronic equipment
CN113821767A (en) Application program authority management method and device and electronic equipment
CN112469011A (en) Bluetooth pairing method and related device
WO2021000817A1 (en) Ambient sound processing method and related device
CN113873678A (en) Method and electronic equipment for transmitting data
WO2022095712A1 (en) Data sharing method, apparatus and system, and electronic device
CN113810532B (en) Positioning method and related device
CN115514844A (en) Volume adjusting method, electronic equipment and system
CN114006698B (en) token refreshing method and device, electronic equipment and readable storage medium
CN115119336A (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN115248693A (en) Application management method and electronic equipment
CN115525366A (en) Screen projection method and related device
WO2020062308A1 (en) Location information processing method and related device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40068156

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant