CN115225121A - Bluetooth data output method and device, electronic equipment and storage medium - Google Patents

Bluetooth data output method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115225121A
CN115225121A CN202210781612.3A CN202210781612A CN115225121A CN 115225121 A CN115225121 A CN 115225121A CN 202210781612 A CN202210781612 A CN 202210781612A CN 115225121 A CN115225121 A CN 115225121A
Authority
CN
China
Prior art keywords
bluetooth
electronic device
target
devices
bluetooth device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210781612.3A
Other languages
Chinese (zh)
Inventor
艾海强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210781612.3A priority Critical patent/CN115225121A/en
Publication of CN115225121A publication Critical patent/CN115225121A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • H04M1/6066Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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

Abstract

The application discloses a Bluetooth data output method, a device, an electronic device and a storage medium, belonging to the technical field of communication, wherein the method comprises the following steps: under the condition that the electronic equipment is connected with at least two Bluetooth devices and receives target data, displaying target information and sending at least two key signals to the at least two Bluetooth devices, wherein the target information is used for prompting a user to enable the electronic equipment to be close to the Bluetooth devices, and each Bluetooth device corresponds to one key signal respectively; under the condition of receiving a first signal sent by a first Bluetooth device, outputting target data through the first Bluetooth device, wherein the first Bluetooth device is a Bluetooth device, the distance between the first Bluetooth device and an electronic device is smaller than or equal to a preset threshold value, and the first signal is a feedback signal corresponding to a key signal received by the first Bluetooth device.

Description

Bluetooth data output method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a Bluetooth data output method and device, electronic equipment and a storage medium.
Background
Along with electronic equipment's continuous development, a plurality of bluetooth earphones of electronic equipment can be connected simultaneously for a plurality of bluetooth earphone access person can share an electronic equipment's audio frequency and information simultaneously, but when electronic equipment owner need carry out private communication, if connect and make a telephone call, when broadcast private pronunciation, conversation content and private content also can be shared the ear the inside of other bluetooth earphone access person, so, the security and the privacy of conversation content are relatively poor when the bluetooth is shared.
Disclosure of Invention
An object of the embodiments of the present application is to provide a bluetooth data output method, an apparatus, an electronic device, and a storage medium, which can solve the problem that security and privacy of call content are poor when bluetooth is shared.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a bluetooth data output method, where the bluetooth data output method includes: under the condition that the electronic equipment is connected with at least two Bluetooth devices and receives target data, displaying target information and sending at least two key signals to the at least two Bluetooth devices, wherein the target information is used for prompting a user to enable the electronic equipment to be close to the Bluetooth devices, and each Bluetooth device corresponds to one key signal respectively; under the condition of receiving a first signal sent by a first Bluetooth device, outputting target data through the first Bluetooth device, wherein the first Bluetooth device is a Bluetooth device, the distance between the first Bluetooth device and an electronic device is smaller than or equal to a preset threshold value, and the first signal is a feedback signal corresponding to a key signal received by the first Bluetooth device.
In a second aspect, an embodiment of the present application provides a bluetooth data output apparatus, including: the device comprises a display module, a sending module and a processing module. And the display module is used for displaying the target information under the condition that the electronic equipment is connected with at least two Bluetooth devices and receives the target data. The sending module is used for sending at least two key signals to at least two Bluetooth devices, the target information is used for prompting a user to enable the electronic device to be close to the Bluetooth devices, and each Bluetooth device corresponds to one key signal respectively. The processing module is used for outputting target data through a first Bluetooth device under the condition of receiving the first signal sent by the first Bluetooth device, wherein the first Bluetooth device is a Bluetooth device, the distance between the first Bluetooth device and the electronic device is smaller than or equal to a preset threshold value, and the first signal is a feedback signal corresponding to a key signal received by the first Bluetooth device.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this embodiment, the electronic device may display the target information when being connected to the at least two bluetooth devices and receiving the target data, prompt a user (i.e., a user using the electronic device) to bring the electronic device close to the bluetooth devices, and send the at least two key signals to the at least two bluetooth devices, and then the electronic device may output the target data through the first bluetooth device when receiving a first signal sent by a first bluetooth device, of the at least two bluetooth devices, whose distance from the electronic device is less than or equal to a preset threshold. In the scheme, when the electronic equipment receives the target data, the electronic equipment can be reminded to approach the Bluetooth equipment by the target information, so that the user can approach the electronic equipment to the Bluetooth equipment (such as the first Bluetooth equipment) which needs to output the target data by the user according to the prompt information; and the electronic device can send a key signal to each bluetooth device respectively, so that each bluetooth device feeds back a signal to the electronic device respectively, and because the first bluetooth device is a bluetooth device close to the electronic device, that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, so that the electronic device outputs target data only through the first bluetooth device, that is, when one electronic device is connected with a plurality of bluetooth devices, only the bluetooth device whose user needs to output the target data can receive the target data from the electronic device, and other bluetooth headsets cannot receive the target data from the electronic device, thereby avoiding leakage of the target data when sharing bluetooth, and improving the security and privacy of communication between the electronic device and the bluetooth devices.
Drawings
Fig. 1 is a schematic diagram of a bluetooth data output method according to an embodiment of the present application;
fig. 2 is an example schematic diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an example of signal transmission provided by an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to the second embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a bluetooth data output device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second hardware structure schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The bluetooth data output method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The Bluetooth data output method in the embodiment of the application can be applied to a scene that a plurality of Bluetooth devices are connected with one electronic device.
With the popularization of smart phones and bluetooth headsets, the situation that one electronic device is connected with a plurality of bluetooth headsets, such as music sharing, often occurs; although it is better most of the time like this, because can share a lot of audios and information, when the electronic equipment owner has telephone access or the private audio frequency needs to be opened, because can't shield other users, the private thing can be shared to other bluetooth headset accessers' inside the ear. At this time, the user can only use the telephone receiver of the mobile phone to communicate or play voice after all the bluetooth earphones are disconnected. So, on the one hand can influence the audio information that everybody is listening to, on the other hand, all break off the bluetooth headset who will connect, switch to the receiver of cell-phone also need certain time, and the process is comparatively loaded down with trivial details.
The embodiment of the invention provides a Bluetooth data output scheme, a microphone module of electronic equipment and a key interaction mode of Bluetooth equipment, when a user is an owner of the electronic equipment, the microphone of the electronic equipment is close to a used Bluetooth earphone only before a private audio is accessed, a Bluetooth earphone can resend a received key sent by the electronic equipment to the user, the microphone module of the electronic equipment is used as a receiver to decode the received key (namely the key sent by the Bluetooth earphone used by the owner of the electronic equipment), so that the Bluetooth earphone used by the owner of the electronic equipment can be determined, the audio needing private protection is subjected to specific Bluetooth channel transmission, and other Bluetooth users cannot receive the private voice.
In the solution provided in this embodiment, the electronic device may display the target information when being connected to the at least two bluetooth devices and receiving the target data, prompt a user (i.e., a user using the electronic device) to bring the electronic device close to the bluetooth devices, and send at least two key signals to the at least two bluetooth devices, and then the electronic device outputs the target data through the first bluetooth device when receiving a first signal sent by a first bluetooth device of the at least two bluetooth devices, where a distance between the electronic device and the first bluetooth device is less than or equal to a preset threshold. In the scheme, when the electronic equipment receives the target data, the electronic equipment can be reminded to approach the Bluetooth equipment by the target information, so that the user can approach the electronic equipment to the Bluetooth equipment (such as the first Bluetooth equipment) which needs to output the target data by the user according to the prompt information; and the electronic device can send a key signal to each bluetooth device, so that each bluetooth device feeds back a signal to the electronic device, and because the first bluetooth device is a bluetooth device close to the electronic device, that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, so that the electronic device only outputs the target data through the first bluetooth device, that is, when one electronic device is connected with a plurality of bluetooth devices, only the bluetooth device whose user needs to output the target data can receive the target data from the electronic device, and other bluetooth headsets cannot receive the target data from the electronic device, thereby avoiding leakage of the target data when bluetooth is shared, and improving security and privacy of communication between the electronic device and the bluetooth devices.
An embodiment of the present application provides a bluetooth data output method, and fig. 1 shows a flowchart of a bluetooth data output method provided in the embodiment of the present application. As shown in fig. 1, the bluetooth data output method provided by the embodiment of the present application may include steps 201 and 202 described below.
Step 201, when the electronic device is connected with at least two bluetooth devices and receives target data, the electronic device displays the target information and sends at least two key signals to the at least two bluetooth devices.
In this embodiment of the application, the target information is used to prompt a user to bring an electronic device close to a bluetooth device, and each of at least two bluetooth devices corresponds to one of at least two key signals.
In this embodiment, the electronic device and the at least two bluetooth devices are connected, if the electronic device receives target data, the electronic device does not directly output the target data through the at least two bluetooth devices, but displays target information, and reminds a user to bring the electronic device close to the bluetooth devices through the target information, so that the user can bring the electronic device close to a bluetooth device (for example, a first bluetooth device) whose user needs to output the target data according to prompt information, and the electronic device simultaneously sends a key signal to each of the at least two bluetooth devices, so that each bluetooth device feeds back a signal to the electronic device.
Optionally, in the embodiment of the present application, the method and the device may be applied to a phone scene, a video call scene, a voice message scene, a video sharing scene, and the like.
For example, the electronic device is a mobile phone, and the bluetooth device is a bluetooth headset. In the phone scenario: the mobile phone is connected with the at least two Bluetooth earphones, if the mobile phone has a call to answer (namely, receives target data), target information is displayed, a user is reminded to enable the mobile phone to be close to the Bluetooth earphones, the user can enable the mobile phone to be close to the Bluetooth earphones, the call of the user needs to be answered (namely, the Bluetooth earphones used by the user), in addition, the mobile phone simultaneously sends a key signal to each Bluetooth earphone in the at least two Bluetooth earphones, so that each Bluetooth earphone feeds back a signal to the mobile phone, because the Bluetooth earphones used by the user are close to the mobile phone, namely, the distance between the Bluetooth earphones and the mobile phone is smaller than or equal to a preset threshold value, the mobile phone can only receive the signal fed back by the Bluetooth earphones used by the user, the mobile phone only outputs call content through the Bluetooth earphones, namely, only the Bluetooth earphones used by the user can answer the call.
It should be noted that the above target data may be understood as audio-related data, such as audio data or video data, or may be telephone request data.
Optionally, in this embodiment of the application, the target data may be any one of the following: call data (e.g., voice call data or video call data), voice data, video data.
Optionally, in this embodiment of the present application, the electronic device may display the target information in a text form (for example, the content of the target information is that the electronic device is brought close to a bluetooth device that needs to output the target data).
Optionally, in this embodiment of the application, the electronic device may display the target information in a notification bar interface of the electronic device; alternatively, the target information is displayed on the current display interface of the electronic device (for example, a window including the target information is displayed in a floating manner on the current display interface of the electronic device).
For example, when a phone call needs to be answered (i.e. target data is received) in a case that a mobile phone shares music, as shown in fig. 2, the mobile phone may superimpose and display target information on a current display interface (e.g., "at this time, 15 bluetooth access mobile phones are available, please attach the mobile phone to its own bluetooth headset"), so that a user may bring the mobile phone close to the bluetooth headset used by the user according to the prompt information, and the mobile phone may simultaneously send a key signal to each of at least two bluetooth headsets, so that each bluetooth headset feeds back a signal to the mobile phone, where the bluetooth headset being used by the user is close to the mobile phone, that is, a distance between the mobile phone and the bluetooth headset being used by the user is less than or equal to a preset threshold, so that the mobile phone can only receive a signal fed back by the bluetooth headset being used by the user, and thus only output call content through the bluetooth headset used by the user, that only the bluetooth headset used by the user can answer the call.
Optionally, in this embodiment of the application, the key signal sent by the electronic device to each of the at least two bluetooth devices may be a signal sequence, and the signal sequence sent to each bluetooth device is different.
Optionally, in this embodiment of the application, the signal sequence sent by the electronic device to each bluetooth device may be any of the following: the Bluetooth device comprises the Bluetooth devices, and the Bluetooth devices are preset by a user, default in an electronic device system, determined by the electronic device according to the device identification of each Bluetooth device, and the like. For example: assuming that the electronic device is connected to 15 bluetooth devices, and the device identifications of the 15 bluetooth devices are 1 to 15, respectively, the electronic device may transmit a signal sequence to the 15 bluetooth devices, and the transmitted signal sequences are 1 to 15, respectively.
Optionally, in this embodiment of the application, the electronic device may send at least two key signals in the form of electromagnetic waves to at least two bluetooth devices through an antenna module of the electronic device, that is, send a key signal in the form of electromagnetic waves to each bluetooth device, where a frequency of the key signal exceeds (i.e., is greater than) 20KHz.
Optionally, in this embodiment of the application, in a case that the electronic device is connected to at least two bluetooth devices and is outputting audio data through the at least two bluetooth devices, if the electronic device receives target data, the electronic device displays the target information and sends at least two key signals to the at least two bluetooth devices.
In another case, when the electronic device is connected to at least two bluetooth devices and does not output audio data through the at least two bluetooth devices, if the electronic device receives target data, the electronic device displays the target information and sends at least two key signals to the at least two bluetooth devices.
For both cases, the electronic device sends at least two key signals with different pulse forms. Optionally, in this embodiment of the application, the "electronic device sends at least two key signals to at least two bluetooth devices" in the step 201 may specifically be implemented by the following step 201a or step 201 b.
Step 201a, in the case that the electronic device is outputting audio data through at least two bluetooth devices, the electronic device sends at least two key signals to the at least two bluetooth devices in a time-sharing pulse form.
It is understood that, in a case where the electronic device is outputting the audio data through at least two bluetooth devices, for example, sharing music through at least two bluetooth devices, the electronic device may transmit at least two key signals to the at least two bluetooth devices in a time-sharing pulse form, so that the sharing of the audio data between the electronic device and the at least two bluetooth devices is not affected.
Step 201b, under the condition that the electronic device does not output audio data through at least two Bluetooth devices, the electronic device sends at least two key signals to the at least two Bluetooth devices in a continuous pulse form.
It is understood that, in the case where the electronic device establishes a connection with at least two bluetooth devices but audio data is not output through the at least two bluetooth devices, the electronic device may transmit at least two key signals to the at least two bluetooth devices in the form of continuous pulses, so that the electronic device finishes transmitting all the key signals in the shortest time.
Step 202, under the condition that the electronic device receives the first signal sent by the first bluetooth device, the electronic device outputs the target data through the first bluetooth device.
In this embodiment of the application, the first bluetooth device is a bluetooth device whose distance from the electronic device is smaller than or equal to a preset threshold among the at least two bluetooth devices, and the first signal is a feedback signal corresponding to the key signal received by the first bluetooth device.
Optionally, in this embodiment of the application, the first signal may be an ultrasonic signal or an electromagnetic signal.
It can be understood that, after the electronic device prompts the user to bring the electronic device close to the bluetooth device (for example, the first bluetooth device) that needs to output the target data, the user may bring the electronic device close to the first bluetooth device to reduce the distance between the electronic device and the first bluetooth device, so that the distance between the electronic device and the first bluetooth device is less than or equal to the preset threshold, and thus the electronic device may receive the ultrasonic signal or the electromagnetic signal sent by the bluetooth device (that is, the first bluetooth device) whose distance from the electronic device is less than or equal to the preset threshold, and implement the private connection with the first bluetooth device, so as to implement the output of the target data only through the first bluetooth device.
Optionally, in this embodiment of the application, the electronic device may receive, through a microphone module of the electronic device, a first signal sent by the first bluetooth device, where the first signal is sent in the form of ultrasonic waves by the first bluetooth device through a speaker module of the bluetooth device, and a frequency of the first signal exceeds (i.e., is greater than) 20KHz, or the first signal is sent in the form of electromagnetic waves by the first bluetooth device through a speaker module of the bluetooth device, and a power of the first signal is small and a frequency of the first signal is high.
Alternatively, in this embodiment of the present application, the electronic device may send a key signal to each of the at least two bluetooth devices in the form of an electromagnetic wave through an antenna module of the electronic device, and after each bluetooth device receives the key signal, the electronic device may copy the received key signal to send the key signal in the form of an ultrasonic wave through a speaker module of the bluetooth device, that is, each bluetooth device feeds back an ultrasonic signal to the electronic device, however, due to the propagation characteristics of the ultrasonic wave: the frequency is high, the transmission distance is short, and the sensitivity of the microphone module of the electronic device is low (for example, during a call, a user must make close contact with the microphone of the electronic device to speak, and the counterpart user can clearly hear the content of the utterance), so the microphone module of the electronic device can only receive the ultrasonic signal fed back by the first bluetooth device (i.e., the bluetooth device whose distance from the electronic device is less than or equal to the preset threshold), but cannot receive the ultrasonic signal fed back by the bluetooth device whose distance from the electronic device is far (for example, the bluetooth device is more than 20 cm away from the electronic device); in another case, the received key signals are copied and sent out in the form of electromagnetic waves through the speaker module of the bluetooth device, that is, each bluetooth device feeds back an electromagnetic signal to the electronic device, however, because the transmission distance of the electromagnetic waves is short and the sensitivity of the microphone module of the electronic device is low under the conditions of low power and high frequency, the microphone module of the electronic device can only receive the electromagnetic signal fed back by the first bluetooth device, but cannot receive the electromagnetic signal fed back by the bluetooth device far away from the electronic device, so that the private connection with the first bluetooth device can be realized, and thus, the target data can be output only through the first bluetooth device.
It should be noted that the antenna module of the electronic device sends at least two key signals to at least two bluetooth devices, then the speaker module of the bluetooth device sends a first signal to the electronic device, the microphone module of the electronic device receives the first signal, and decodes it to determine a first bluetooth device (i.e. a bluetooth device used by a user using the electronic device), and finally the communication interface of the electronic device sends the target data to the first bluetooth device.
Illustratively, as shown in fig. 3, the mobile phone is connected to 15 bluetooth headsets, the bluetooth headset 15 is a bluetooth headset used by the user, when the mobile phone has a call to answer, target information is displayed to remind the user to bring the mobile phone close to the bluetooth headset 15 being used, so that the user can bring the mobile phone close to the bluetooth headset 15 being used according to the prompt information, and the antenna of the mobile phone can respectively send 15 key signals to the 15 bluetooth headsets, so that each bluetooth headset feeds back a signal converted from the received key signal to the mobile phone through the speaker, at this time, since the bluetooth headset 15 being used by the user is close to the mobile phone, that is, the distance between the bluetooth headset 15 and the mobile phone is less than or equal to a preset threshold (for example, the distance is less than or equal to 20 cm), the microphone 16 of the mobile phone can only receive the signal sent by the bluetooth headset 15 through the speaker, so that the mobile phone only outputs call content through the bluetooth headset 15.
Alternatively, in this embodiment of the application, the step 202 may be specifically implemented by the step 202a described below.
Step 202a, the electronic device sends target data to the first bluetooth device through the target bluetooth channel, and outputs the target data through the first bluetooth device.
In this embodiment, the target bluetooth channel is a channel between the electronic device and the first bluetooth device.
In the embodiment of the application, under the condition that the electronic equipment is connected with at least two Bluetooth devices, a Bluetooth channel is formed between each Bluetooth device of the at least two Bluetooth devices and the electronic equipment; after the electronic device determines that the first Bluetooth device is a Bluetooth device which needs to output the target data, the target data can be sent to the first Bluetooth device through a Bluetooth channel between the electronic device and the first Bluetooth device, so that the first Bluetooth device outputs the target data to a user after receiving the target data.
In the embodiment of the application, when the electronic equipment transmits data, the target data can be transmitted to the Bluetooth equipment through the Bluetooth channel between the electronic equipment and the Bluetooth equipment, so that the safety of data transmission is improved.
The embodiment of the application provides a Bluetooth data output method, wherein an electronic device can display target information when being connected with at least two Bluetooth devices and receiving target data, prompt a user (namely the user using the electronic device) to enable the electronic device to approach the Bluetooth devices, and send at least two key signals to the at least two Bluetooth devices, and then the electronic device outputs the target data through the first Bluetooth device when receiving a first signal sent by the first Bluetooth device, wherein the distance between the electronic device and the at least two Bluetooth devices is smaller than or equal to a preset threshold value. In the scheme, when the electronic equipment receives the target data, the electronic equipment can remind the user of approaching the electronic equipment to the Bluetooth equipment through the target information, so that the user can approach the electronic equipment to the Bluetooth equipment (such as the first Bluetooth equipment) which needs to output the target data by the user according to the prompt information; and the electronic device can send a key signal to each bluetooth device respectively, so that each bluetooth device feeds back a signal to the electronic device respectively, and because the first bluetooth device is a bluetooth device close to the electronic device, that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, so that the electronic device outputs target data only through the first bluetooth device, that is, when one electronic device is connected with a plurality of bluetooth devices, only the bluetooth device whose user needs to output the target data can receive the target data from the electronic device, and other bluetooth headsets cannot receive the target data from the electronic device, thereby avoiding leakage of the target data when sharing bluetooth, and improving the security and privacy of communication between the electronic device and the bluetooth devices.
Optionally, in this embodiment of the present application, before the step 201, the bluetooth data output method provided in this embodiment of the present application further includes the following step 301 and step 302, and the "electronic device display target information" in the step 201 may be specifically realized through the step 201c
Step 301, the electronic device displays a target control.
In the embodiment of the application, the target control is used for the electronic equipment to enter a target mode; and in the target mode, only the Bluetooth device with the distance to the electronic device smaller than or equal to a preset threshold value is allowed to output the target data.
In the embodiment of the application, when the electronic device is connected with at least two bluetooth devices and receives target data, the electronic device can display a target control, and a user can input the target control, trigger the electronic device to enter a target mode, simultaneously display target information and prompt the user to enable the electronic device to be close to the bluetooth devices, so that the user can enable the electronic device to be close to the bluetooth devices (such as a first bluetooth device) which the user needs to output the target data according to the prompt information; the electronic device may send a key signal to each bluetooth device, so that each bluetooth device feeds back a signal to the electronic device, and since the first bluetooth device is a bluetooth device close to the electronic device, that is, the distance between the first bluetooth device and the electronic device is less than or equal to the preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, and thus the electronic device outputs the target data only through the first bluetooth device.
Optionally, in this embodiment of the application, the electronic device may display the target control in a notification bar interface of the electronic device; or, displaying the target control in a floating mode on the current display interface of the electronic equipment in a floating mode.
Step 302, the electronic device receives a first input of a target control from a user.
Optionally, in this embodiment of the present application, the first input may be any one of the following: and the user can input any possible form of input such as click input, long-time press input, sliding input, repeated press input or double-click input and the like on the target control so as to trigger the electronic equipment to display the target information and send at least two key signals to at least two Bluetooth devices. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present application, after the user performs the first input on the target control and triggers the electronic device to enter the target mode, the user may perform the input on the target control again and trigger the electronic device to exit the target mode, where the method includes: under the condition that the target data is not output, triggering the electronic equipment to exit the target mode, namely allowing all Bluetooth equipment connected with the electronic equipment to output the target data; and under the condition that the target data output is finished, triggering the electronic equipment to exit the target mode, and enabling the first Bluetooth equipment to continue outputting the audio data with other Bluetooth equipment, for example, enabling the first Bluetooth equipment to continue playing music with other Bluetooth equipment at the same time.
Step 201c, the electronic device responds to the first input and displays the target information.
Optionally, in this embodiment of the present application, when the electronic device is connected to at least two bluetooth devices and receives target data, the target information may be directly displayed to remind a user to bring the electronic device close to the bluetooth devices, that is, the electronic device directly enters a target mode; or when the electronic device is connected with at least two bluetooth devices and receives target data, the target control is displayed first, and then the user performs first input on the target control, triggers the electronic device to enter a target mode, and simultaneously displays target information.
For example, when the mobile phone is connected to 15 bluetooth headsets and a call needs to be answered, as shown in (a) in fig. 4, the mobile phone may display a target control 17, after a user clicks the target control 17, the mobile phone enters a target mode in response to the input, and simultaneously, as shown in (B) in fig. 4, target information is displayed (for example, "at this time, 15 bluetooth headsets access the mobile phone, please attach the mobile phone to its own bluetooth headset") to prompt the user to bring the mobile phone close to the bluetooth headsets, and the mobile phone may simultaneously send a key signal to each of at least two bluetooth headsets, so that each bluetooth headset respectively feeds back a signal to the mobile phone.
It should be noted that, for the description of the display target information, reference may be made to the description in step 201, which is not described herein again.
Optionally, the bluetooth data output method provided in this embodiment of the present application may further include steps 401 and 402 described below.
Step 401, under the condition that the signals sent by the at least two bluetooth devices are not received, the electronic device continues to send at least two key signals to the at least two bluetooth devices.
Optionally, in this embodiment, after the electronic device prompts the user to bring the electronic device close to the bluetooth devices and sends the at least two key signals to the at least two bluetooth devices, if the electronic device does not receive the signal or the received signal is another signal (for example, a voice signal of a speaker around the electronic device or an interference signal), the electronic device may continue to send the at least two key signals to the at least two bluetooth devices (that is, when the electronic device does not receive the signals sent by the at least two bluetooth devices, the electronic device continues to send the at least two key signals to the at least two bluetooth devices).
And 402, under the condition of receiving a second signal sent by the second Bluetooth device, the electronic device outputs target data through the second Bluetooth device.
In an embodiment of the application, the second bluetooth device is a bluetooth device whose distance from the electronic device is smaller than or equal to a preset threshold value among the at least two bluetooth devices, and the second signal is a feedback signal corresponding to the key signal received by the second bluetooth device.
Optionally, in this embodiment of the application, after the electronic device does not receive signals sent by the at least two bluetooth devices and continues to send the at least two key signals to the at least two bluetooth devices, if a second signal sent by a second bluetooth device (that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold value among the at least two bluetooth devices) is received, the electronic device outputs the target data through the second bluetooth device.
Optionally, in this embodiment of the application, after the electronic device does not receive signals sent by the at least two bluetooth devices and continues to send the at least two key signals to the at least two bluetooth devices, if the signals sent by the at least two bluetooth devices are still not received, that is, the electronic device cannot identify the bluetooth device used by the user, that is, when the user cannot receive the target data by using its own bluetooth device, the user may select to disconnect all the bluetooth devices, and receive the target data through a receiver of the electronic device, or the electronic device still does not receive signals sent by the at least two bluetooth devices within a preset number of times, and then stops sending the at least two key signals to the at least two bluetooth devices.
It should be noted that, for the description of the second bluetooth device and the second signal, reference may be made to the description of the first bluetooth device and the first signal in step 202, which is not described herein again.
It should be noted that, in the bluetooth data output method provided in the embodiment of the present application, the execution main body may be an electronic device, or a bluetooth data output apparatus, or a control module in the bluetooth data output apparatus. In the embodiment of the present application, a method for an electronic device to execute bluetooth data output is taken as an example to describe the bluetooth data output apparatus provided in the embodiment of the present application.
Fig. 5 shows a schematic diagram of a possible structure of the bluetooth data output device in the embodiment of the present application. As shown in fig. 5, the bluetooth data output device 70 may include: a display module 71, a sending module 72 and a processing module 73.
The display module 71 is configured to display the target information when the electronic device is connected to at least two bluetooth devices and receives the target data. The sending module 72 is configured to send at least two key signals to at least two bluetooth devices, where the target information is used to prompt a user to bring an electronic device close to the bluetooth devices, and each bluetooth device corresponds to one key signal. The processing module 73 is configured to output the target data through a first bluetooth device when receiving a first signal sent by the first bluetooth device, where the first bluetooth device is a bluetooth device whose distance from the electronic device is smaller than or equal to a preset threshold value among the at least two bluetooth devices, and the first signal is a feedback signal corresponding to the key signal received by the first bluetooth device.
The embodiment of the application provides a bluetooth data output device, because when the electronic device receives the target data, the electronic device can remind the user to approach the electronic device to the bluetooth device through the target information, so that the user can approach the electronic device to the bluetooth device (such as a first bluetooth device) which the user needs to output the target data according to the prompt information; and the electronic device can send a key signal to each bluetooth device respectively, so that each bluetooth device feeds back a signal to the electronic device respectively, and because the first bluetooth device is a bluetooth device close to the electronic device, that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, so that the electronic device outputs target data only through the first bluetooth device, that is, when one electronic device is connected with a plurality of bluetooth devices, only the bluetooth device whose user needs to output the target data can receive the target data from the electronic device, and other bluetooth headsets cannot receive the target data from the electronic device, thereby avoiding leakage of the target data when sharing bluetooth, and improving the security and privacy of communication between the electronic device and the bluetooth devices.
In a possible implementation manner, the bluetooth data output apparatus provided in an embodiment of the present application further includes: and a receiving module. The display module 71 is further configured to display a target control before displaying the target information, where the target control is used for the electronic device to enter a target mode; and in the target mode, only the Bluetooth device with the distance to the electronic device smaller than or equal to a preset threshold value is allowed to output the target data. The receiving module is used for receiving a first input of a user to the target control. The display module 71 is specifically configured to display the target information in response to the first input.
In a possible implementation manner, the sending module 72 is specifically configured to send at least two key signals to at least two bluetooth devices in a time-sharing pulse form when the electronic device is outputting audio data through the at least two bluetooth devices; or, in case the electronic device does not output audio data through at least two bluetooth devices, transmitting at least two key signals to the at least two bluetooth devices in the form of continuous pulses.
In a possible implementation manner, the processing module 73 is specifically configured to send the target data to the first bluetooth device through a target bluetooth channel, and output the target data through the first bluetooth device, where the target bluetooth channel is a channel between the electronic device and the first bluetooth device.
In a possible implementation manner, the sending module 72 is further configured to continue sending the at least two key signals to the at least two bluetooth devices in a case that the signals sent by the at least two bluetooth devices are not received. The processing module 73 is further configured to output the target data through a second bluetooth device when receiving a second signal sent by the second bluetooth device, where the second bluetooth device is a bluetooth device whose distance from the electronic device is smaller than or equal to a preset threshold value among the at least two bluetooth devices, and the second signal is a feedback signal corresponding to the key signal received by the second bluetooth device.
The bluetooth data output device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. The Mobile electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Storage), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The bluetooth data output device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The bluetooth data output device provided in the embodiment of the present application can implement each process implemented by the above method embodiments, and is not repeated here for avoiding repetition.
Optionally, as shown in fig. 6, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901 and a memory 902, where the memory 902 stores a program or an instruction that can be executed on the processor 901, and when the program or the instruction is executed by the processor 901, the steps of the foregoing embodiment of the bluetooth data output method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 106 is configured to display the target information when the electronic device is connected to at least two bluetooth devices and receives the target data.
The radio frequency unit 101 is configured to send at least two key signals to at least two bluetooth devices, where the target information is used to prompt a user to bring an electronic device close to the bluetooth devices, and each bluetooth device corresponds to one key signal.
The processor 110 is configured to output the target data through a first bluetooth device when receiving a first signal sent by the first bluetooth device, where the first bluetooth device is a bluetooth device whose distance from an electronic device is smaller than or equal to a preset threshold value among at least two bluetooth devices, and the first signal is a feedback signal corresponding to a key signal received by the first bluetooth device.
The embodiment of the application provides an electronic device, and when receiving target data, the electronic device can remind a user to enable the electronic device to be close to a Bluetooth device through target information, so that the user can enable the electronic device to be close to the Bluetooth device (such as a first Bluetooth device) which is required by the user to output the target data according to prompt information; and the electronic device can send a key signal to each bluetooth device, so that each bluetooth device feeds back a signal to the electronic device, and because the first bluetooth device is a bluetooth device close to the electronic device, that is, a bluetooth device whose distance from the electronic device is less than or equal to a preset threshold, the electronic device can only receive the signal fed back by the first bluetooth device, so that the electronic device only outputs the target data through the first bluetooth device, that is, when one electronic device is connected with a plurality of bluetooth devices, only the bluetooth device whose user needs to output the target data can receive the target data from the electronic device, and other bluetooth headsets cannot receive the target data from the electronic device, thereby avoiding leakage of the target data when bluetooth is shared, and improving security and privacy of communication between the electronic device and the bluetooth devices.
Optionally, the display unit 106 is further configured to display a target control before displaying the target information, where the target control is used for the electronic device to enter a target mode; and in the target mode, only the Bluetooth device with the distance to the electronic device smaller than or equal to a preset threshold value is allowed to output the target data. The user input unit 107 is configured to receive a first input of the target control from a user. The display unit 106 is specifically configured to display the target information in response to the first input.
Optionally, the radio frequency unit 101 is specifically configured to send at least two key signals to at least two bluetooth devices in a time-sharing pulse form when the electronic device is outputting audio data through the at least two bluetooth devices; or, in case the electronic device does not output audio data through the at least two bluetooth devices, transmitting the at least two key signals to the at least two bluetooth devices in the form of continuous pulses.
Optionally, the processor 110 is specifically configured to send the target data to the first bluetooth device through a target bluetooth channel, and output the target data through the first bluetooth device, where the target bluetooth channel is a channel between the electronic device and the first bluetooth device.
Optionally, the radio frequency unit 101 is further configured to continue to send at least two key signals to the at least two bluetooth devices when the signals sent by the at least two bluetooth devices are not received. The processor 110 is further configured to output the target data through a second bluetooth device when receiving a second signal sent by the second bluetooth device, where the second bluetooth device is a bluetooth device whose distance from the electronic device is smaller than or equal to a preset threshold value among the at least two bluetooth devices, and the second signal is a feedback signal corresponding to the key signal received by the second bluetooth device.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, can achieve the same technical effect, and is not repeated herein for avoiding repetition.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing embodiment of the bluetooth data output method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (12)

1. A bluetooth data output method, characterized in that the method comprises:
under the condition that electronic equipment is connected with at least two Bluetooth devices and target data is received, target information is displayed and at least two key signals are sent to the at least two Bluetooth devices, the target information is used for prompting a user to enable the electronic equipment to be close to the Bluetooth devices, and each Bluetooth device corresponds to one key signal respectively;
under the condition of receiving a first signal sent by a first Bluetooth device, outputting the target data through the first Bluetooth device, where the first Bluetooth device is a Bluetooth device, of the at least two Bluetooth devices, whose distance from the electronic device is smaller than or equal to a preset threshold, and the first signal is a feedback signal corresponding to a key signal received by the first Bluetooth device.
2. The method of claim 1, wherein prior to displaying the target information, the method further comprises:
displaying a target control, wherein the target control is used for the electronic equipment to enter a target mode; in the target mode, only Bluetooth devices with the distance to the electronic device being less than or equal to the preset threshold value are allowed to output the target data;
receiving a first input of the target control by a user;
the display target information includes:
in response to the first input, displaying the target information.
3. The method of claim 1 or 2, wherein said sending at least two key signals to said at least two bluetooth devices comprises:
transmitting the at least two key signals to the at least two Bluetooth devices in a time-division pulse form under the condition that the electronic device is outputting audio data through the at least two Bluetooth devices;
alternatively, the first and second electrodes may be,
transmitting the at least two key signals to the at least two Bluetooth devices in a continuous pulse form if the electronic device does not output audio data through the at least two Bluetooth devices.
4. The method of claim 1, wherein the outputting the target data by the first Bluetooth device comprises:
and sending the target data to the first Bluetooth device through a target Bluetooth channel, and outputting the target data through the first Bluetooth device, wherein the target Bluetooth channel is a channel between the electronic device and the first Bluetooth device.
5. The method of claim 1, further comprising:
under the condition that the signals sent by the at least two Bluetooth devices are not received, continuing to send the at least two key signals to the at least two Bluetooth devices;
under the condition that a second signal sent by a second Bluetooth device is received, outputting the target data through the second Bluetooth device, wherein the second Bluetooth device is a Bluetooth device, of the at least two Bluetooth devices, of which the distance from the electronic device is smaller than or equal to the preset threshold value, and the second signal is a feedback signal corresponding to the key signal received by the second Bluetooth device.
6. A bluetooth data output apparatus, characterized in that the bluetooth data output apparatus comprises: the device comprises a display module, a sending module and a processing module;
the display module is used for displaying target information under the condition that the electronic equipment is connected with at least two Bluetooth devices and receives target data;
the sending module is used for sending at least two key signals to the at least two Bluetooth devices, the target information is used for prompting a user to enable the electronic device to be close to the Bluetooth devices, and each Bluetooth device corresponds to one key signal respectively;
the processing module is configured to output the target data through a first bluetooth device when receiving a first signal sent by the first bluetooth device, where the first bluetooth device is a bluetooth device, of the at least two bluetooth devices, whose distance from the electronic device is smaller than or equal to a preset threshold, and the first signal is a feedback signal corresponding to a key signal received by the first bluetooth device.
7. The apparatus of claim 6, wherein the Bluetooth data output means further comprises: a receiving module;
the display module is further configured to display a target control before the target information is displayed, where the target control is used for the electronic device to enter a target mode; in the target mode, only Bluetooth devices with the distance to the electronic device being less than or equal to the preset threshold value are allowed to output the target data;
the receiving module is used for receiving a first input of a user to the target control;
the display module is specifically configured to display the target information in response to the first input.
8. The apparatus according to claim 6 or 7, wherein the sending module is specifically configured to send the at least two key signals to the at least two bluetooth devices in time-sharing pulses when the electronic device is outputting audio data through the at least two bluetooth devices;
alternatively, the first and second liquid crystal display panels may be,
transmitting the at least two key signals to the at least two Bluetooth devices in a continuous pulse form if the electronic device does not output audio data through the at least two Bluetooth devices.
9. The apparatus according to claim 6, wherein the processing module is specifically configured to send the target data to the first bluetooth device through a target bluetooth channel, and output the target data through the first bluetooth device, where the target bluetooth channel is a channel between the electronic device and the first bluetooth device.
10. The apparatus of claim 6, wherein the method further comprises:
the sending module is further configured to continue to send the at least two key signals to the at least two bluetooth devices when the signals sent by the at least two bluetooth devices are not received;
the processing module is further configured to output the target data through a second bluetooth device when receiving a second signal sent by the second bluetooth device, where the second bluetooth device is a bluetooth device of the at least two bluetooth devices, where a distance between the second bluetooth device and the electronic device is smaller than or equal to the preset threshold, and the second signal is a feedback signal corresponding to the key signal received by the second bluetooth device.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the bluetooth data output method of any one of claims 1 to 5.
12. A readable storage medium, characterized in that a program or instructions are stored thereon, which program or instructions, when executed by a processor, implement the steps of the bluetooth data output method according to any one of claims 1 to 5.
CN202210781612.3A 2022-07-04 2022-07-04 Bluetooth data output method and device, electronic equipment and storage medium Pending CN115225121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210781612.3A CN115225121A (en) 2022-07-04 2022-07-04 Bluetooth data output method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210781612.3A CN115225121A (en) 2022-07-04 2022-07-04 Bluetooth data output method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115225121A true CN115225121A (en) 2022-10-21

Family

ID=83609333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210781612.3A Pending CN115225121A (en) 2022-07-04 2022-07-04 Bluetooth data output method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115225121A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710297A (en) * 2011-03-28 2012-10-03 句容今太科技园有限公司 Method for transmitting data among electronic equipment
WO2013142913A1 (en) * 2012-03-28 2013-10-03 Xped Holdings Pty Ltd Method and apparatus for forming associations and communicating between devices
CN104391808A (en) * 2014-10-23 2015-03-04 成都卓微科技有限公司 Data transmission method
EP3226585A1 (en) * 2016-04-02 2017-10-04 Intel IP Corporation Bluetooth voice pairing apparatus and method
CN107249170A (en) * 2017-06-13 2017-10-13 天地融科技股份有限公司 A kind of method and system of bluetooth equipment secure communication
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method
CN108834121A (en) * 2018-07-02 2018-11-16 中国联合网络通信集团有限公司 A kind of bluetooth equipment ad hoc network method and system
WO2019090726A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Method for selecting bluetooth device, terminal, and system
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
EP3629594A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Bluetooth earphone connecting method, electronic device and storage medium
CN113329347A (en) * 2021-06-11 2021-08-31 上海传兴科技有限公司 Processing method of Bluetooth device, mobile terminal and storage medium
CN113347560A (en) * 2021-05-24 2021-09-03 荣耀终端有限公司 Bluetooth connection method, electronic device and storage medium
WO2022042773A1 (en) * 2020-08-31 2022-03-03 荣耀终端有限公司 Audio push method and audio push system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710297A (en) * 2011-03-28 2012-10-03 句容今太科技园有限公司 Method for transmitting data among electronic equipment
WO2013142913A1 (en) * 2012-03-28 2013-10-03 Xped Holdings Pty Ltd Method and apparatus for forming associations and communicating between devices
CN104391808A (en) * 2014-10-23 2015-03-04 成都卓微科技有限公司 Data transmission method
EP3226585A1 (en) * 2016-04-02 2017-10-04 Intel IP Corporation Bluetooth voice pairing apparatus and method
CN107249170A (en) * 2017-06-13 2017-10-13 天地融科技股份有限公司 A kind of method and system of bluetooth equipment secure communication
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method
CN110168942A (en) * 2017-11-10 2019-08-23 华为技术有限公司 Select method, terminal and the system of bluetooth equipment
WO2019090726A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Method for selecting bluetooth device, terminal, and system
CN108834121A (en) * 2018-07-02 2018-11-16 中国联合网络通信集团有限公司 A kind of bluetooth equipment ad hoc network method and system
EP3629594A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Bluetooth earphone connecting method, electronic device and storage medium
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
WO2020211733A1 (en) * 2019-04-18 2020-10-22 华为技术有限公司 Bluetooth connection method, device and system
WO2022042773A1 (en) * 2020-08-31 2022-03-03 荣耀终端有限公司 Audio push method and audio push system
CN113347560A (en) * 2021-05-24 2021-09-03 荣耀终端有限公司 Bluetooth connection method, electronic device and storage medium
CN113329347A (en) * 2021-06-11 2021-08-31 上海传兴科技有限公司 Processing method of Bluetooth device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
EP4109863A1 (en) Method and apparatus for masking sound, and terminal device
EP2698787B1 (en) Method for providing voice call using text data and electronic device thereof
KR20110126277A (en) Apparatus and method for improving a call voice quality in portable terminal
US10073672B2 (en) Method, system, and computer storage medium for voice control of a split-screen terminal
CN107785027B (en) Audio processing method and electronic equipment
CN112751971A (en) Voice playing method and device and electronic equipment
CN112185388B (en) Speech recognition method, device, equipment and computer readable storage medium
CN111369994B (en) Voice processing method and electronic equipment
WO2023151526A1 (en) Audio acquisition method and apparatus, electronic device and peripheral component
CN111447223A (en) Call processing method and electronic equipment
CN111093137A (en) Volume control method, volume control equipment and computer readable storage medium
CN108668018B (en) Mobile terminal, volume control method and related product
CN107958038B (en) Sound box control method and device
WO2020097927A1 (en) Call control method and device, computer-readable storage medium and electronic device
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
CN110708494A (en) Video conference display control method, terminal and readable storage medium
CN115225121A (en) Bluetooth data output method and device, electronic equipment and storage medium
CN109155803B (en) Audio data processing method, terminal device and storage medium
WO2021238824A1 (en) Screen control method and apparatus
CN112996138B (en) Communication establishing method, device and storage medium
CN111460424B (en) Interaction method, terminal and computer storage medium for lock screen configuration
CN112134997B (en) Audio channel state control method and device, electronic equipment and readable storage medium
CN113329203A (en) Call control method, call control device, electronic device and readable storage medium
CN114268691A (en) Call method, device, terminal equipment and readable storage medium
CN112969147A (en) Call method and 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