CN117319974A - Bluetooth device configuration method and device, electronic device and storage medium - Google Patents

Bluetooth device configuration method and device, electronic device and storage medium Download PDF

Info

Publication number
CN117319974A
CN117319974A CN202210725571.6A CN202210725571A CN117319974A CN 117319974 A CN117319974 A CN 117319974A CN 202210725571 A CN202210725571 A CN 202210725571A CN 117319974 A CN117319974 A CN 117319974A
Authority
CN
China
Prior art keywords
identification information
bluetooth device
combination identification
target
combination
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
CN202210725571.6A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210725571.6A priority Critical patent/CN117319974A/en
Priority to PCT/CN2022/142138 priority patent/WO2023246055A1/en
Publication of CN117319974A publication Critical patent/CN117319974A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/35Network arrangements, protocols or services for addressing or naming involving non-standard use of addresses for implementing network functionalities, e.g. coding subscription information within the address or functional addressing, i.e. assigning an address to a function
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a Bluetooth device configuration method, a Bluetooth device configuration device, electronic equipment and a storage medium. The method is applied to a first Bluetooth device, and comprises the following steps: receiving first combination identification information sent by second Bluetooth equipment, wherein the first combination identification information is used for indicating a first Bluetooth equipment set; determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set; and configuring the combination identification information of the first Bluetooth device as the target combination identification information, wherein the target combination identification information is equal to or not equal to the first combination identification information. The Bluetooth equipment configuration method, the Bluetooth equipment configuration device, the electronic equipment and the storage medium can dynamically and flexibly add the Bluetooth equipment into the Bluetooth equipment set for use, and the use requirements of users are met.

Description

Bluetooth device configuration method and device, electronic device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a bluetooth device configuration method, a device, an electronic device, and a storage medium.
Background
Bluetooth is a radio technology supporting short-range communication of devices, and can realize wireless information exchange among a plurality of electronic devices supporting Bluetooth transmission, so that data transmission among the electronic devices is quicker and more efficient. Many bluetooth devices on the market can be combined into a device set for use, for example, a bluetooth headset, a bluetooth sound box system and the like all work cooperatively in a bluetooth device set mode. How to effectively configure new bluetooth devices into a bluetooth device set for use becomes a technical problem to be solved.
Disclosure of Invention
The embodiment of the application discloses a Bluetooth device configuration method, a Bluetooth device configuration device, electronic equipment and a storage medium, which can dynamically and flexibly add Bluetooth devices into a Bluetooth device set for use, so as to meet the use requirements of users.
The embodiment of the application discloses a Bluetooth device configuration method, which is applied to a first Bluetooth device, and comprises the following steps:
receiving first combination identification information sent by second Bluetooth equipment, wherein the first combination identification information is used for indicating a first Bluetooth equipment set;
determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set;
And configuring the combination identification information of the first Bluetooth device as the target combination identification information, wherein the target combination identification information is equal to or not equal to the first combination identification information.
The embodiment of the application discloses a Bluetooth device configuration method, which is applied to a second Bluetooth device, and comprises the following steps:
acquiring first combination identification information, wherein the first combination identification information is used for indicating a first Bluetooth device set;
and sending the first combination identification information to a first Bluetooth device, so that the first Bluetooth device determines target combination identification information according to the first combination identification information and a preset rule, and configures the combination identification information of the first Bluetooth device as the target combination identification information, wherein the target combination identification information is used for indicating a target Bluetooth device set, and the target combination identification information is equal to or not equal to the first combination identification information.
The embodiment of the application discloses a Bluetooth device configuration method, which is applied to a Bluetooth device system, wherein the Bluetooth device system comprises a first Bluetooth device and a second Bluetooth device, and the method comprises the following steps:
the second Bluetooth device sends first combination identification information to the first Bluetooth device, wherein the first combination identification information is used for indicating a first Bluetooth device set; the first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode;
The first Bluetooth device sends second combination identification information to the second Bluetooth device, wherein the second combination identification information is used for indicating a second Bluetooth device set; the second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode;
the first Bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configures the combination identification information of the first Bluetooth device as the target combination identification information;
the second Bluetooth device determines the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configures the combination identification information of the second Bluetooth device as the target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set.
The embodiment of the application discloses bluetooth device configuration device is applied to first bluetooth device, and the device includes:
the combined identification receiving module is used for receiving first combined identification information sent by the second Bluetooth device, and the first combined identification information is used for indicating a first Bluetooth device set;
The combination identification determining module is used for determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set;
and the configuration module is used for configuring the combination identification information of the first Bluetooth device into the target combination identification information, wherein the target combination identification information is equal to or not equal to the first combination identification information.
The embodiment of the application discloses bluetooth device configuration device is applied to second bluetooth device, and the device includes:
the combined identification acquisition module is used for acquiring first combined identification information, wherein the first combined identification information is used for indicating a first Bluetooth equipment set;
the combined identification sending module is used for sending the first combined identification information to a first Bluetooth device, so that the first Bluetooth device determines target combined identification information according to the first combined identification information and a preset rule, the combined identification information of the first Bluetooth device is configured to be the target combined identification information, the target combined identification information is used for indicating a target Bluetooth device set, and the target combined identification information is equal to or not equal to the first combined identification information.
The embodiment of the application discloses bluetooth equipment configuration device is applied to bluetooth equipment system, bluetooth equipment system includes first bluetooth equipment and second bluetooth equipment, the device includes:
the combined identification transmitting module is used for transmitting first combined identification information to the first Bluetooth device through the second Bluetooth device, and the first combined identification information is used for indicating a first Bluetooth device set; the first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode;
the combined identification transmitting module is further used for transmitting second combined identification information to the second Bluetooth device through the first Bluetooth device, and the second combined identification information is used for indicating a second Bluetooth device set; the second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode;
the configuration module is used for determining target combination identification information from the first combination identification information and the second combination identification information through the first Bluetooth device according to a preset rule, and configuring the combination identification information of the first Bluetooth device as the target combination identification information;
The configuration module is further configured to determine, by the second bluetooth device, the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configure the combination identification information of the second bluetooth device as the target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set.
The embodiment of the application discloses electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to realize the method as described in any one of the above.
The present embodiments disclose a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the above.
According to the Bluetooth equipment configuration method, device, electronic equipment and storage medium, the first Bluetooth equipment receives first combination identification information sent by the second Bluetooth equipment, the first combination identification information is used for indicating a first Bluetooth equipment set, the first Bluetooth equipment determines target combination identification information according to the first combination identification information and a preset rule, the combination identification information of the first Bluetooth equipment is configured to be the target combination identification information, the target combination identification information is equal to or not equal to the first combination identification information, the target combination identification information is used for indicating a target Bluetooth equipment set, the first Bluetooth equipment can be successfully added into the target Bluetooth equipment set after the combination identification information is configured, the first Bluetooth equipment can configure the combination identification information according to the first combination identification information sent by the second Bluetooth equipment and the preset rule, and the first Bluetooth equipment can be dynamically and flexibly added into the target Bluetooth equipment set for use, so that the use requirement of a user is met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1A is an application scenario diagram of a bluetooth device configuration method in one embodiment;
fig. 1B is an application scenario diagram of a bluetooth device configuration method according to another embodiment;
fig. 2 is a timing diagram of a bluetooth device configuration method according to an embodiment;
FIG. 3 is a flow chart of a method of configuration of a Bluetooth device in one embodiment;
fig. 4 is a flowchart of a bluetooth device configuration method in another embodiment;
fig. 5 is a timing diagram of a bluetooth device configuration method according to another embodiment;
fig. 6A is a timing diagram of a bluetooth device configuration method according to another embodiment;
fig. 6B is a timing diagram of a bluetooth device configuration method according to another embodiment;
fig. 6C is a timing diagram illustrating a method for configuring a bluetooth device according to another embodiment;
fig. 6D is a schematic structural diagram of an LE Audio broadcast signal in an embodiment;
Fig. 7 is a flowchart of a bluetooth device configuration method in yet another embodiment;
fig. 8 is a flowchart of a bluetooth device configuration method in yet another embodiment;
FIG. 9 is a block diagram of a Bluetooth device configuration apparatus in one embodiment;
fig. 10 is a block diagram of a bluetooth device configuration apparatus in another embodiment;
fig. 11 is a block diagram of a bluetooth device configuration apparatus in yet another embodiment;
fig. 12 is a block diagram of an electronic device in one embodiment.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments and figures herein are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first bluetooth device may be referred to as a second bluetooth device, and similarly, a second bluetooth device may be referred to as a first bluetooth device, without departing from the scope of the present application. Both the first bluetooth device and the second bluetooth device are bluetooth devices, but they are not the same bluetooth device. The term "plurality" as used herein refers to two and more than two. The term "and/or" as used herein refers to one of, or any combination of, the various schemes therein.
In the related art, for a plurality of bluetooth devices (for example, two bluetooth headsets in a bluetooth headset) belonging to the same bluetooth device set, the same combination identification information is generally written into each bluetooth device during production, so that the plurality of bluetooth devices can be ensured to be cooperatively used as the same bluetooth device set. When one Bluetooth device in the set of Bluetooth devices fails or is lost, the situation that the newly purchased Bluetooth device cannot be successfully added into the original Bluetooth device set often occurs, because the combination identification information written by the newly purchased Bluetooth device during production is different from the combination identification information written by the Bluetooth device during production, and the use requirement of the user cannot be met.
For example, when the user loses the left earphone in the bluetooth earphone and purchases one left earphone alone, a situation that the newly purchased left earphone cannot be matched with the original right earphone often occurs.
In the embodiment of the application, a Bluetooth device configuration method, a Bluetooth device configuration device, an electronic device and a storage medium are provided, so that Bluetooth devices can be dynamically and flexibly added into a Bluetooth device set for use, and the use requirements of users are met.
Fig. 1A is an application scenario diagram of a bluetooth device configuration method in one embodiment. As shown in fig. 1A, the first bluetooth device 110 and the second bluetooth device 120 may establish a communication connection, and the first bluetooth device 110 and the second bluetooth device 120 may include, but are not limited to, an earphone, a mobile phone, a wearable device, a speaker device, a smart home device, and other electronic devices supporting bluetooth communication functions. The first bluetooth device 110 and the second bluetooth device 120 may be the same bluetooth device or may be different bluetooth devices, for example, the first bluetooth device 110 and the second bluetooth device 120 may be TWS (True Wireless Stereo ) headphones, or the like. Further, the first bluetooth device 110 and the second bluetooth device 120 may be bluetooth devices capable of pairing and synchronously coordinating for use, for example, the first bluetooth device 110 and the second bluetooth device 120 may be headphones, the first bluetooth device 110 may be a left headphone, the second bluetooth device 120 may be a right headphone, or the first bluetooth device 110 may be a right headphone, the second bluetooth device 120 may be a left headphone, or the like, but not limited thereto.
The communication connection established between the first bluetooth device 110 and the second bluetooth device 120 may include, but is not limited to, a bluetooth communication connection such as a classical bluetooth connection, a BLE (Bluetooth Low Energy ) connection, etc., and the communication connection may also be a physical connection manner such as a contact communication connection, etc., or other wireless communication connection manners, and the specific communication connection manner is not specifically limited in the embodiments of the present application.
Each Bluetooth device can be configured with combination identification information, the combination identification information can be used for identifying a Bluetooth device set to which the Bluetooth device belongs, bluetooth devices belonging to different Bluetooth device sets can correspond to different combination identification information, bluetooth devices belonging to the same Bluetooth device set can correspond to the same combination identification information, and external devices can identify a plurality of Bluetooth devices as one Bluetooth device set through the combination identification information, so that the purpose that the Bluetooth devices belonging to the same Bluetooth device set can coordinate and synchronously use is achieved. For example, for different pairs of bluetooth headsets, different combination identification information is respectively corresponding, so that the situation that confusion can not occur when the bluetooth headsets are used can be ensured, and each pair of bluetooth headsets is different from other pairs of bluetooth headsets.
In this embodiment of the present application, the second bluetooth device 120 may send the first combination identifier information to the first bluetooth device 110, where the first bluetooth device 110 receives the first combination identifier information sent by the second bluetooth device 120, and may determine target combination identifier information according to the first combination identifier information and a preset rule, and configure the combination identifier information of the first bluetooth device 110 as the target combination identifier information, that is, successfully join the first bluetooth device 110 into the target bluetooth device set indicated by the target combination identifier information. After the first bluetooth device 110 configures the combination identifier as the target combination identifier, the first bluetooth device may form the target bluetooth device set with bluetooth devices that are also configured with the target combination identifier, where each bluetooth device in the target bluetooth device set configures the target combination identifier.
In some embodiments, the second bluetooth device 120 may also configure the combination identifier of the second bluetooth device 120 as the target combination identifier according to a preset rule, and after the first bluetooth device 110 and the second bluetooth device 120 both configure their combination identifier as the target combination identifier, they may be identified as belonging to the target bluetooth device set, so that the first bluetooth device 110 and the second bluetooth device 120 can coordinate and use in steps.
When the Bluetooth devices belonging to the same Bluetooth device set are used, each Bluetooth device in the Bluetooth device set can send Bluetooth broadcast signals based on the same combined identification information, and after the external device scans at least one Bluetooth broadcast signal of one Bluetooth device and establishes Bluetooth connection with the Bluetooth device according to an operation instruction, if the Bluetooth broadcast signals corresponding to the same combined identification information are continuously scanned, a Bluetooth connection request is initiated to the Bluetooth device sending the Bluetooth broadcast signals. After the external device establishes a connection with all bluetooth devices in the set of bluetooth devices, each bluetooth device is assigned a potentially different role (e.g., left earpiece plays left channel audio, right earpiece plays right channel audio).
Illustratively, fig. 1B is an application scenario diagram of a bluetooth device configuration method in another embodiment. As shown in fig. 1B, taking the first bluetooth device 110 as a first headset and the second bluetooth device 120 as a second headset, the first headset may establish a communication connection with the second headset. The second earphone may send first combination identification information to the first earphone, the first earphone may send second combination identification information to the second earphone, the first combination identification information may be combination identification information currently configured by the second earphone or generated by the second earphone according to a second preset manner, and the second combination identification information may be combination identification information currently configured by the first earphone or generated by the first earphone according to the first preset manner. The first earphone may determine target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the first earphone as the target combination identification information, and the second earphone may determine target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the second earphone as the target combination identification information. The first earphone and the second earphone both configure their own combined identification information as the target combined identification information, and the combined identification information of the first earphone and the second earphone is the same, so that the first earphone and the second earphone can be identified as belonging to the same Bluetooth device set (namely, the target Bluetooth device set indicated by the target combined identification information), and the first earphone and the second earphone can be used in a coordinated and same step mode.
It should be noted that, the number of bluetooth devices included in one bluetooth device set is not specifically limited in the embodiments of the present application.
Fig. 2 is a timing diagram of a bluetooth device configuration method according to an embodiment. As shown in fig. 2, the bluetooth device configuration method may include the steps of:
step 1, a second Bluetooth device acquires first combination identification information, wherein the first combination identification information is used for indicating a first Bluetooth device set.
And step 2, the second Bluetooth device sends the first combination identification information to the first Bluetooth device.
And 3, the first Bluetooth device receives the first combination identification information sent by the second Bluetooth device, and determines target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set, and the target combination identification information is equal to or not equal to the first combination identification information.
And 4, the first Bluetooth device configures the combination identification information as target combination identification information.
In some embodiments, the first bluetooth device may determine, according to a preset rule, target combination identification information from first combination identification information and second combination identification information, where the second combination identification information is combination identification information currently configured by the first bluetooth device or generated by the first bluetooth device according to a first preset manner, and the second combination identification information is used to indicate the second bluetooth device set.
Further, the first bluetooth device may send second combination identification information to the second bluetooth device, and the second bluetooth device may determine target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the second bluetooth device as the target combination identification information. The first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode.
As shown in fig. 3, in one embodiment, a bluetooth device configuration method is provided and may be applied to the first bluetooth device, where the method may include the following steps:
step 310, receiving first combination identification information sent by a second bluetooth device.
The first bluetooth device may establish a communication connection with the second bluetooth device, which may include, but is not limited to, a classical bluetooth connection, a BLE connection, etc. bluetooth communication connection.
As one embodiment, a user may perform a connection operation on the first bluetooth device or the second bluetooth device to trigger the first bluetooth device to establish a bluetooth communication connection with the second bluetooth device. Taking the connection operation performed by the user on the second bluetooth device as an example, the first bluetooth device may be a device with a bluetooth scanning function, and the first bluetooth device may be capable of scanning bluetooth devices existing around. When the second Bluetooth device detects the connection operation performed by the user, a Bluetooth connection request can be sent, the Bluetooth connection request can carry a Bluetooth address of the second Bluetooth device, the first Bluetooth device can start an inquiry scanning mode of Bluetooth, scan and acquire the Bluetooth connection request sent by the second Bluetooth device, and establish Bluetooth communication connection with the second Bluetooth device according to device identification information (such as Bluetooth address and the like) carried in the Bluetooth connection request. The specific operation manner of the connection operation is not limited in the embodiment of the present application, and the connection operation may include, but is not limited to, touch operation, gesture operation, voice operation, etc., for example, a connection button may be disposed on the first bluetooth device and the second bluetooth device, and the user performs the connection operation by pressing the connection button, which is not limited thereto.
As another embodiment, the user may perform the target triggering operation on an electronic device other than the first bluetooth device and the second bluetooth device, and trigger the first bluetooth device to establish bluetooth communication connection with the second bluetooth device through the electronic device, where the electronic device is an electronic device capable of simultaneously establishing communication connection with the first bluetooth device and the second bluetooth device. Specifically, the electronic device may be a device that is used together with the first bluetooth device and the second bluetooth device, for example, the first bluetooth device and the second bluetooth device are both bluetooth speakers, and then the electronic device may be a remote controller for controlling the bluetooth speakers, for example, the first bluetooth device and the second bluetooth device are both headphones, and then the electronic device may be a headphone case or the like. The user performs a target triggering operation on the electronic device, the electronic device can respond to the target triggering operation to generate a target instruction, and the target instruction is sent to the first Bluetooth device and/or the second Bluetooth device, and the target instruction can be used for indicating the first Bluetooth device to establish Bluetooth communication connection with the second Bluetooth device and triggering the first Bluetooth device and the second Bluetooth device to perform a configuration flow of the combined identification information.
Taking the example that the electronic device sends the target instruction to the first bluetooth device and the second bluetooth device respectively, the first bluetooth device can receive the target instruction sent by the electronic device, and establish communication connection with the second bluetooth device according to the target instruction. The target instruction sent by the electronic device may carry device identification information (such as a bluetooth address) corresponding to the first bluetooth device and the second bluetooth device, respectively. After the first Bluetooth device receives the target instruction, bluetooth connection can be established with the second Bluetooth device according to the device identification information of the second Bluetooth device carried by the target instruction. Similarly, after the second Bluetooth device receives the target instruction, bluetooth communication connection can be established with the first Bluetooth device according to the device identification information of the first Bluetooth device carried by the target instruction.
It should be noted that, the electronic device may send a target instruction only to one of the first bluetooth device and the second bluetooth device, where the target instruction carries device identification information of the other bluetooth device, and the electronic device sends the first instruction only to the first bluetooth device, where the target instruction may carry device identification information of the second bluetooth device, and the first bluetooth device may send a bluetooth connection request to the second bluetooth device according to a bluetooth address of the second bluetooth device carried by the target instruction, so as to establish bluetooth communication connection with the second bluetooth device.
The specific operation manner of the target triggering operation is not limited in the embodiment of the present application, for example, a specific key may be provided on the electronic device, where the specific key may be a virtual key or a physical key, and the target triggering operation may be a preset operation (such as long pressing a period of time, clicking a specific key, double clicking a specific key, etc.) on the specific key; for another example, the target triggering operation may be any one of a touch operation, a gesture operation, a voice operation, etc., and the electronic device may detect the triggering operation through a corresponding sensor (e.g., a preset pressing operation through a pressure sensor, a preset gesture operation through a distance sensor, a preset voice content through a voice sensor, etc.), but is not limited thereto.
As a specific embodiment, the first bluetooth device may include a first earphone, the second bluetooth device may include a second earphone, the electronic device may include an earphone box, and the first earphone may receive a target instruction sent by the earphone box when the first earphone and the second earphone are placed in the earphone box, where the target instruction may be sent by the earphone box in response to a target trigger operation. The second earphone can also receive a target instruction sent by the earphone box, and the first earphone and the second earphone can be in communication connection. For example, the target triggering operation may be a long-press of a pairing key on the earphone box, which is not limited herein. The user only needs to put two earphones to be combined into the earphone box and operate the earphone box, so that the two earphones can be successfully paired and used in a coordinated manner, the operation is simpler and more convenient, and the user experience is improved.
The second bluetooth device may obtain the first combined identification information, and after the first bluetooth device establishes a communication connection with the second bluetooth device, the second bluetooth device may send the first combined identification information to the first bluetooth device, where the first combined identification information may be used to indicate the first bluetooth device set. Alternatively, the first combined identification information may be combined identification information currently configured by the second bluetooth device, or the first combined identification information may be combined identification information generated by the second bluetooth device according to a second preset manner or stored in advance, which is different from the combined identification information currently configured by the second bluetooth device.
Further, after receiving a target instruction sent by the electronic device, the second bluetooth device may establish communication connection with the first bluetooth device according to the target instruction, and may further obtain first combination identification information according to the target instruction and send the first combination identification information to the first bluetooth device.
Step 320, determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set.
After the first bluetooth device receives the first combination identification information sent by the second bluetooth device, target combination identification information can be determined according to the first combination identification information and a preset rule, the target combination identification information can be equal to or not equal to the first combination identification information, if the target combination identification information is equal to the first combination identification information, the target bluetooth device set is the first bluetooth device set, and if the target combination identification information is not equal to the first combination identification information, the target bluetooth device set is different from the first bluetooth device set.
The preset rule may be set according to actual requirements, and as an implementation manner, the preset rule may include directly determining the first combination identification information sent by the second bluetooth device as target combination identification information, where the target combination identification information is equal to the first combination identification information.
As another embodiment, the first bluetooth device may determine the target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, where the second combination identification information may be used to indicate the second bluetooth device set.
Alternatively, the preset rule may include determining a larger or smaller of the first combination identification information and the second combination identification information as the target combination identification information, and the target combination identification information may be equal to the first combination identification information or equal to the second combination identification information. The second combination identification information may be combination identification information currently configured by the first bluetooth device (i.e., combination identification information configured by the first bluetooth device when the first combination identification information is received), or the second combination identification information may be combination identification information generated or stored in advance by the first bluetooth device according to a first preset manner, which is different from the combination identification information currently configured by the first bluetooth device.
As yet another embodiment, the preset rule may include modifying a specific field in the first combination identification information to obtain the target combination identification information, and the target combination identification information is not equal to the first combination identification information. The specific field may be a certain field preset in the combination identification information, for example, the first combination identification information may include a randomly generated field, and the randomly generated field may be modified to obtain the target combination identification information.
Step 330, the combination identification information of the first bluetooth device is configured as target combination identification information.
In some embodiments, after the first bluetooth device determines the target combination identifier information, it may be determined whether the combination identifier information currently configured by the first bluetooth device is the same as the target combination identifier information, and if not, the combination identifier information of the first bluetooth device may be configured as the target combination identifier information. If the combination identification information is the same, the first Bluetooth device can not configure the combination identification information of the first Bluetooth device.
After the first bluetooth device configures the own combined identification information as the target combined identification information, the combined identification information used by the first bluetooth device is the same as the combined identification information used by other bluetooth devices in the target bluetooth device set, and if the external terminal device scans the first bluetooth device and the other bluetooth devices at the same time, the first bluetooth device and the other bluetooth devices can be used cooperatively as a bluetooth device set because the combined identification information of the first bluetooth device and the other bluetooth devices is the same as the target combined identification information.
In some embodiments, BLE Audio (Bluetooth Low Energy Audio ) technology is a mainstream technology that is being largely implemented by bluetooth in recent years, and can bring wireless Audio services with lower power consumption, lower cost, higher quality, and lower delay to people. CSIP (Coordinated Set Identification Profile, coordination set identification protocol) is provided in BLE Audio technology, so that a plurality of Bluetooth devices belonging to the same Bluetooth device set can achieve the purpose of coordination and synchronization when interacting with external devices. In CSIP, the same SIRK (Set Identity Resolving Key, combined identification resolution value) may be used for a plurality of bluetooth devices belonging to the same bluetooth device set, i.e. bluetooth devices having the same SIRK are identified as the same bluetooth device set.
In the related technology, when one bluetooth device in the set of bluetooth devices fails or is lost, the SIRK written by the user when the newly purchased bluetooth device is different from the SIRK used by the bluetooth device in the original set of bluetooth devices, so that the newly purchased bluetooth device cannot be successfully added into the original set of bluetooth devices.
In this embodiment of the present application, the first combination identifier information may include a first SIRK, the target combination identifier information may include a target SIRK, the second bluetooth device may acquire the first SIRK and send the first SIRK to the first bluetooth device, the first bluetooth device may determine the target SIRK according to the first SIRK and a preset rule, where the target SIRK is equal to the first SIRK or not equal to the first SIRK, and then configure its SIRK as the target SIRK, so that the first bluetooth device may be successfully added into the target bluetooth device set indicated by the target SIRK. Each Bluetooth device in the target Bluetooth device set is configured with the target SIRK, and when each Bluetooth device in the target Bluetooth device set interacts with external terminal devices, the external terminal devices can coordinate and synchronously use each Bluetooth device in the target Bluetooth device set due to the fact that the same target SIRK is configured.
In the embodiment of the application, the first Bluetooth device can configure the combination identification information according to the first combination identification information sent by the second Bluetooth device and the preset rule, so that the first Bluetooth device can be dynamically and flexibly added into the target Bluetooth device set for use, and the use requirement of a user is met.
In some embodiments, the second bluetooth device may be a bluetooth device that the user desires to pair with the first bluetooth device and can perform synchronous coordination for use, and the second bluetooth device may also configure its own combined identification information as the target combined identification information, that is, the first bluetooth device and the second bluetooth device are both configured with the same combined identification information, and may be identified by an external terminal device as belonging to the same bluetooth device set. As shown in fig. 4, a bluetooth device configuration method is provided, which can be applied to the first bluetooth device, and the method may include the following steps:
step 402, receiving first combination identification information sent by a second bluetooth device.
The second bluetooth device may acquire the first combination identification information before transmitting the first combination identification information to the first bluetooth device. The first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode.
As an implementation manner, the second bluetooth device may generate the first combination identifier according to the second preset manner before sending the first combination identifier to the first bluetooth device. Whether the second Bluetooth device is currently configured with the combination identification information or not, the second Bluetooth device generates the first combination identification information according to a second preset mode, and then sends the generated first combination identification information to the first Bluetooth device.
As another implementation manner, when the combination identification information currently configured by the second bluetooth device is empty, the second bluetooth device generates the first combination identification information according to a second preset mode; and/or under the condition that the combination identification information of the current configuration of the second Bluetooth device is not null, acquiring the combination identification information of the current configuration of the second Bluetooth device as the first combination identification information.
Further, the second bluetooth device may determine whether the currently configured combination identifier information is null, if the currently configured combination identifier information is null, may generate the first combination identifier information according to the second preset manner, and if the currently configured combination identifier information is not null, may acquire the currently configured combination identifier information as the first combination identifier information.
When the second Bluetooth device leaves the factory, the combination identification information can not be written in, namely, the second Bluetooth device does not configure the combination identification information when leaving the factory. When the user needs to use the second bluetooth device, the second bluetooth device may reproduce the combination identification information and perform configuration. When the second bluetooth device and the first bluetooth device need to be configured to be used in coordination with the same bluetooth device set, the second bluetooth device may or may not be configured with the combination identification information. Therefore, the second bluetooth device may determine whether the currently configured combination identification information is empty before transmitting the first combination identification information to the first bluetooth device. If the combination identification information currently configured by the second bluetooth device is null, which indicates that the second bluetooth device is not currently configured with the combination identification information, the first combination identification information can be generated according to a second preset mode and sent to the first bluetooth device. If the combination identification information currently configured by the second bluetooth device is not null, which indicates that the second bluetooth device is currently configured with the combination identification information, the combination identification information currently configured can be sent to the first bluetooth device as the first combination identification information. When the second Bluetooth device leaves the factory, the combination identification information does not need to be written in, so that the production cost can be reduced, and the subsequent use of the second Bluetooth device is more flexible.
In some embodiments, the second bluetooth device generates the first combination identification information according to a second preset manner, which may include, but is not limited to, any one of the following manners:
one mode is to randomly generate one combination identification information as the first combination identification information.
Each field of the combination identification information may be stored in the second bluetooth device in advance, and a field value in each field may be randomly generated, so as to obtain the unique first combination identification information.
And generating first combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to the first Bluetooth device or a BLE address corresponding to the second Bluetooth device.
The second bluetooth device may obtain the target BLE address and generate the first combined identification information according to the target BLE address in a specific manner. Alternatively, the specific manner may be to directly use the target BLE address as a partial field of the first combination identification information to generate the first combination identification information. Further, the target BLE address may be used as a part field of the first combined identification information, and the part field may be combined with a first preset field to generate the first combined identification information, where the first preset field may refer to field information specified in the combined identification information in advance, or may be field information generated randomly. For example, the first combination identification information may include a first SIRK, which may be 128 bytes, and the target BLE address (48 bytes) may be directly used as a part of the first SIRK field, for example, sirk=ble address iifirst preset field.
Alternatively, the specific manner may be to perform hash calculation on the target BLE address, and use the calculation result as a part of the field of the first combination identification information to generate the first combination identification information. Further, the calculation result may be combined with a second preset field to generate the target combination identification information, for example, sirk=hash iisecond preset field, where HASH represents the calculation result of performing HASH calculation on the target BLE address. The first preset field and the second preset field may be the same or different, and may be set according to actual situations. Because the target BLE address is unique, the generated first combined identification information is also unique, and can not be confused with the combined identification information of other Bluetooth equipment sets, so that the accuracy of the use of the Bluetooth equipment sets is improved.
In one embodiment, the second bluetooth device may receive a target instruction sent by the electronic device, obtain the first combination identifier information according to the target instruction, and establish a communication connection with the first bluetooth device according to the target instruction. It should be noted that, the second bluetooth device may acquire the first combination identifier information before the communication connection is established with the first bluetooth device, or after the communication connection is established with the first bluetooth device, which is not limited in this embodiment of the present application.
Step 404, determining target combination identification information from the first combination identification information and the second combination identification information according to a preset rule.
The first bluetooth device may acquire the second combination identification information before determining the target combination identification information from the first combination identification information and the second combination identification information according to a preset rule. The second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode.
In one embodiment, the first bluetooth device may generate the second combination identifier according to the first preset manner before determining the target combination identifier from the first combination identifier and the second combination identifier according to the preset rule. Whether the first Bluetooth device is currently configured with the combination identification information or not, the first Bluetooth device generates second combination identification information according to a first preset mode, and then determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule.
As another implementation manner, before determining the target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, the first bluetooth device generates the second combination identification information according to a first preset mode when the combination identification information currently configured by the first bluetooth device is empty; and/or taking the combination identification information currently configured by the first Bluetooth device as the second combination identification information under the condition that the combination identification information currently configured by the first Bluetooth device is not empty.
Further, the first bluetooth device may determine whether the currently configured combination identifier information is null, if the currently configured combination identifier information of the first bluetooth device is null, the second combination identifier information may be generated according to the first preset manner, and if the currently configured combination identifier information is not null, the currently configured combination identifier information may be obtained as the second combination identifier information.
Similar to the second bluetooth device, the first bluetooth device may not write the combination identification information when shipped from the factory, i.e., the first bluetooth device may not be configured with the combination identification information when shipped from the factory. When the user needs to use the first bluetooth device, the first bluetooth device may reproduce the combination identification information and perform configuration. When the first bluetooth device and the second bluetooth device need to be configured to be used in coordination with the same bluetooth device set, the first bluetooth device may be configured with the combination identification information, or may not be configured with the combination identification information. Therefore, the first bluetooth device may determine whether the currently configured combination identification information is empty before determining the target combination identification information. If the combination identification information currently configured by the first bluetooth device is null, which indicates that the first bluetooth device is not currently configured with the combination identification information, the second combination identification information can be generated according to a first preset mode. If the combination identification information currently configured by the first bluetooth device is not null, which indicates that the first bluetooth device is currently configured with the combination identification information, the combination identification information currently configured can be used as second combination identification information. When the first Bluetooth device leaves the factory, the combination identification information does not need to be written in, so that the production cost can be reduced, and the subsequent use of the first Bluetooth device is more flexible.
In some embodiments, the first bluetooth device generates the second combined identification information according to the first preset manner, which may include, but is not limited to, any one of the following manners:
one mode is to randomly generate one combination identification information as the second combination identification information.
Each field of the combination identification information may be stored in the first bluetooth device in advance, and a field value in each field may be randomly generated to obtain the unique second combination identification information.
And generating second combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to the first Bluetooth device or a BLE address corresponding to the second Bluetooth device.
The first bluetooth device may obtain the target BLE address and generate the second combined identification information according to the target BLE address in a specific manner. Alternatively, the specific manner may be to directly use the target BLE address as a partial field of the second combination identification information to generate the second combination identification information. Further, the target BLE address may be used as a partial field of the second combination identification information, and the partial field may be combined with the first preset field to generate the second combination identification information. For example, the second combination identification information may include a second SIRK, which may be 128 bytes, and the target BLE address (48 bytes) may be directly used as a part of the second SIRK field.
Alternatively, the specific manner may be to perform hash calculation on the target BLE address, and use the calculation result as a part of the field of the second combination identification information, so as to generate the second combination identification information. Further, the calculation result and the second preset field may be combined to generate the target combination identification information.
Further, in order to make the first combination identification information and the second combination identification information different, the second bluetooth device and the first bluetooth device may respectively select different target BLE addresses, for example, may each use its own BLE address as the target BLE address, the first bluetooth device generates the second combination identification information according to the BLE address of the first bluetooth device, and the second bluetooth device generates the first combination identification information according to the BLE address of the second bluetooth device; alternatively, the BLE address of the other party may be used as the target BLE address, the first bluetooth device generates the second combination identification information according to the BLE address of the second bluetooth device, and the second bluetooth device generates the first combination identification information according to the BLE address of the first bluetooth device. Optionally, the target BLE address selected by the second bluetooth device and the first bluetooth device may not be limited, but the second bluetooth device and the first bluetooth device may respectively use field contents of different first preset fields or respectively use field contents of different second preset fields, so as to ensure that the generated first combination identification information and the generated second combination identification information are different.
It should be noted that, the first preset manner of generating the second combined identification information by the first bluetooth device may be different from or the same as the second preset manner of generating the first combined identification information by the second bluetooth device, for example, the first bluetooth device and the second bluetooth device may both generate the combined identification information in a random manner, or the first bluetooth device may generate the second combined identification information in a random manner, and the second bluetooth device generates the first combined identification information based on the target BLE address.
As a specific embodiment, the first bluetooth device may receive a target instruction sent by the electronic device, obtain the second combination identifier information according to the target instruction, and establish a communication connection with the second bluetooth device according to the target instruction. It should be noted that, the first bluetooth device may acquire the second combination identifier information before the communication connection is established with the second bluetooth device, or after the communication connection is established with the second bluetooth device, which is not limited in this embodiment of the present application.
The first bluetooth device may determine the target combination identification information from the first combination identification information and the second combination identification information according to a preset rule. Optionally, the preset rule may include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information. After the first bluetooth device receives the first combination identification information transmitted by the second bluetooth device, the first combination identification information may be compared with the second combination identification information, and a larger or smaller one of the first combination identification information and the second combination identification information may be determined as the target combination identification information. Whether the larger or smaller is selected as the target combination identification information may be agreed in advance, for example, if the larger is selected as the target combination identification information, the first combination identification information may be determined as the target combination identification information if the first combination identification information is greater than the second combination identification information, and the second combination identification information may be determined as the target combination identification information if the second combination identification information is greater than the first combination identification information. For another example, if a smaller one is selected as the target combination identification information, the first combination identification information may be determined as the target combination identification information if the first combination identification information is smaller than the second combination identification information, and the second combination identification information may be determined as the target combination identification information if the second combination identification information is smaller than the first combination identification information.
Step 406, configuring the combination identification information of the first bluetooth device as target combination identification information.
After the first bluetooth device determines the target combination identification information, it may be determined whether the combination identification information currently configured by the first bluetooth device is the same as the target combination identification information, and if not, the combination identification information of the first bluetooth device may be configured as the target combination identification information. If the combination identification information is the same, the first Bluetooth device can not configure the combination identification information of the first Bluetooth device.
Step 408, the second combination identification information is sent to the second bluetooth device, so that the second bluetooth device determines the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configures the combination identification information of the second bluetooth device as the target combination identification information.
In order to enable the first bluetooth device and the second bluetooth device to use in synchronous coordination, the second bluetooth device also needs to configure the combination identification information as target combination identification information, so that the combination identification information can be identified by an external terminal device as belonging to the target bluetooth device set together with the first bluetooth device. The first bluetooth device may send second combination identification information to the second bluetooth device, and the second bluetooth device may determine target combination identification information from the first combination identification information and the second combination identification information according to the same preset rule. For example, the second bluetooth device and the first bluetooth device may both determine the same target combination identification information as the first bluetooth device according to a rule that the larger one of the first combination identification information and the second combination identification information is determined as the target combination identification information, or the second bluetooth device and the first bluetooth device may both determine the smaller one of the first combination identification information and the second combination identification information as the target combination identification information, thereby ensuring that the first bluetooth device and the second bluetooth device determine the same target combination identification information.
After the second bluetooth device determines the target combination identification information, it may be determined whether the combination identification information currently configured by the second bluetooth device is the same as the target combination identification information, and if not, the combination identification information of the second bluetooth device may be configured as the target combination identification information. If the combination identification information is the same, the second Bluetooth device can not configure the combination identification information of the second Bluetooth device.
It should be noted that, the first bluetooth device may send the second combined identification information to the second bluetooth device, before the second bluetooth device sends the first combined identification information to the first bluetooth device, after the second bluetooth device sends the first combined identification information to the first bluetooth device, or both, which is not limited in the execution sequence of step 408 in the embodiment of the present application.
Fig. 5 is a timing diagram illustrating a bluetooth device configuration method according to another embodiment. As shown in fig. 5, the second bluetooth device receives a target instruction sent by the electronic device, and may determine whether the currently configured combination identifier information is empty in response to the target instruction, if so, generate first combination identifier information, and if not, acquire the currently configured combination identifier information as the first combination identifier information. The first Bluetooth device can also receive a target instruction sent by the electronic device, and can respond to the target instruction to judge whether the currently configured combination identification information is empty, if so, second combination identification information is generated, and if not, the currently configured combination identification information is acquired as the second combination identification information. Communication connection can be established between the first Bluetooth device and the second Bluetooth device, the second Bluetooth device can send first combination identification information to the first Bluetooth device, and the first Bluetooth device can send second combination identification information to the second Bluetooth device. After the first bluetooth device receives the first combination identification information sent by the second bluetooth device, the first bluetooth device can determine target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the first bluetooth device as the target combination identification information. After receiving the second combination identification information sent by the first Bluetooth device, the second Bluetooth device can determine target combination identification information from the first combination identification information and the second combination identification information according to the same preset rule, and configure the combination identification information of the second Bluetooth device as the target combination identification information. After the combined identification information of the first Bluetooth device and the second Bluetooth device is configured as the target combined identification information, the first Bluetooth device and the second Bluetooth device can be identified as belonging to the same target Bluetooth device set, so that synchronous cooperative use of the first Bluetooth device and the second Bluetooth device can be realized.
Fig. 6A is a timing diagram illustrating a bluetooth device configuration method according to another embodiment. As shown in fig. 6A, taking the first bluetooth device as a first earphone and the second bluetooth device as a second earphone as an example, the first combination identification information may include a first SIRK, and the second combination identification information may include a second SIRK. The user can place the first earphone and the second earphone into the earphone box and press the pairing key on the earphone box to enable the first earphone and the second earphone to enter pairing. When the earphone box detects the pressing operation of the pairing key, a target instruction for indicating to enter pairing can be sent to the first earphone and the second earphone respectively. After receiving the target instruction sent by the earphone box, the second earphone can judge whether the SIRK configured currently is empty, if so, SIRK1 (namely, the first SIRK) can be generated according to a second preset mode, and if not, the SIRK configured currently by the second earphone can be acquired as SIRK1. After the first earphone receives the target instruction sent by the earphone box, whether the SIRK configured currently is empty or not can be judged, if yes, SIRK2 (namely, second SIRK) can be generated according to a first preset mode, and if not, the SIRK configured currently by the first earphone can be obtained to be SIRK2. The first earpiece may establish a communication connection with the second earpiece, the first earpiece may send SIRK2 to the second earpiece, and the second earpiece may send SIRK1 to the first earpiece. The first earphone can determine target SIRK from SIRK1 and SIRK2 according to a preset rule, and configure own SIRK as the target SIRK, and the second earphone can also determine target SIRK from SIRK1 and SIRK2 according to a preset rule, and configure own SIRK as the target SIRK. The first earphone and the second earphone are configured with the same target SIRK, and can be identified by external terminal equipment to belong to the same Bluetooth equipment set, so that synchronous and coordinated use of the first earphone and the second earphone is realized.
Fig. 6B is a timing diagram illustrating a bluetooth device configuration method according to another embodiment. As shown in fig. 6B, as an application scenario, the first earphone and the second earphone are both first-used earphones, and since SIRKs are not written into the first earphone and the second earphone when leaving the factory, SIRKs of the first earphone and the second earphone are NULL (NULL) in the application scenario, and the application scenario is a scenario in which two new earphones are combined and used in coordination. The user can place the first earphone and the second earphone into the earphone box and press the pairing key on the earphone box to enable the first earphone and the second earphone to enter pairing. When the earphone box detects the pressing operation of the pairing key, a target instruction for indicating to enter pairing can be sent to the first earphone and the second earphone respectively. After receiving the target instruction sent by the earphone box, the second earphone can judge whether the SIRK configured at present is empty, and if so, SIRK1 (namely, the first SIRK) can be generated according to a second preset mode. After receiving the target instruction sent by the earphone box, the first earphone can judge whether the SIRK configured at present is empty, and if so, SIRK2 (namely, second SIRK) can be generated according to a first preset mode. The first earphone and the second earphone can establish communication connection and send SIRK generated by the first earphone to the opposite side, the first earphone sends SIRK2 to the second earphone, and the second earphone sends SIRK1 to the first earphone. Taking a preset rule as an example of selecting the smaller of the SIRK1 and the SIRK2 as the target SIRK, the first earphone can judge whether the SIRK1 is larger than or equal to the SIRK2, if so, the SIKR2 is used as the target SIRK, the SIRK is configured as the target SIRK (namely the SIRK 2), if not, the SIRK1 is used as the target SIRK, and the SIRK is configured as the target SIRK (namely the SIRK 1). Similarly, the second earphone may also determine whether SIRK1 is greater than or equal to SIRK2, if so, regarding SIKR2 as the target SIRK and configuring its own SIRK as the target SIRK (i.e., SIRK 2), and if not, regarding SIRK1 as the target SIRK and configuring its own SIRK as the target SIRK (i.e., SIRK 1).
Fig. 6C is a timing diagram illustrating a bluetooth device configuration method according to another embodiment. As shown in fig. 6C, as another application scenario, the first earphone is a first-used earphone, the second earphone is a used old earphone, the first earphone is not written with SIRK when shipped, the second earphone is configured with SIRK, and the application scenario is a scenario in which two old and new earphones are combined for coordinated use. The user can place the first earphone and the second earphone into the earphone box and press the pairing key on the earphone box to enable the first earphone and the second earphone to enter pairing. When the earphone box detects the pressing operation of the pairing key, a target instruction for indicating to enter pairing can be sent to the first earphone and the second earphone respectively. After receiving the target instruction sent by the earphone box, the second earphone can judge whether the SIRK configured currently is empty, and if not, the SIRK1 (namely the first SIRK) configured currently is obtained. After receiving the target instruction sent by the earphone box, the first earphone can judge whether the SIRK configured at present is empty, and if so, SIRK2 (namely, second SIRK) can be generated according to a first preset mode. The first earphone and the second earphone can establish communication connection and send SIRK of the first earphone and the second earphone to the opposite side, the first earphone sends SIRK2 to the second earphone, and the second earphone sends SIRK1 to the first earphone. Taking a preset rule as an example of selecting the smaller of the SIRK1 and the SIRK2 as the target SIRK, the first earphone can judge whether the SIRK1 is larger than or equal to the SIRK2, if so, the SIKR2 is used as the target SIRK, the SIRK is configured as the target SIRK (namely the SIRK 2), if not, the SIRK1 is used as the target SIRK, and the SIRK is configured as the target SIRK (namely the SIRK 1).
Similarly, the second earphone may also determine whether SIRK1 is greater than or equal to SIRK2, if so, regarding SIKR2 as the target SIRK and configuring its own SIRK as the target SIRK (i.e., SIRK 2), and if not, regarding SIRK1 as the target SIRK and configuring its own SIRK as the target SIRK (i.e., SIRK 1). Further, the second earphone may determine whether the currently configured SIRK is the same as the target SIRK, and if not, configure the SIRK of the second earphone to be the target SIRK, and if so, the second earphone may not need to be reconfigured, for example, if the target SIRK is SIRK1, the second earphone may not need to be reconfigured.
In some embodiments, after the first bluetooth device and the second bluetooth device both configure the SIRK as the target SIRK, the first bluetooth device and the second bluetooth device may interact with an external terminal device according to a rule in the CSIP to achieve an effect of coordinating synchronous use, and the first bluetooth device and the second bluetooth device may both use the target SIRK to send the LE Audio broadcast signal.
The first bluetooth device may transmit the LE Audio broadcast signal based on the target SIRK after configuring its SIRK as the target SIRK. The terminal device that receives the LE Audio broadcast signal sent by the first bluetooth device may establish LE Audio bluetooth connection with the first bluetooth device, and obtain a SIRK (i.e., a target SIRK) corresponding to the first bluetooth device.
As an implementation manner, the terminal device may receive the SIRK sent by the first bluetooth device during the process of establishing the LE Audio bluetooth connection with the first bluetooth device. The LE Audio bluetooth connection is established on the basis of the BLE connection, and the process of establishing the LE Audio bluetooth connection may include performing a query for some device parameters on the basis of the BLE connection, where the query for device parameters may include a SIRK query for the bluetooth device. After the LE Audio bluetooth connection is established, when there is a service demand, a CIS (Connected Isochronous Streams, based on connection synchronization data stream) channel may be established again for service transmission. The terminal device may receive SIRK sent by the first bluetooth device when the LE Audio bluetooth connection is established with the first bluetooth device. As another implementation manner, the terminal device may directly parse the LE Audio broadcast signal sent by the first bluetooth device to obtain the SIRK corresponding to the first bluetooth device.
The second bluetooth device belonging to the target bluetooth device set may also transmit the LE Audio broadcast signal using the target SIRK. The terminal equipment can receive the LE Audio broadcast signal sent by the second Bluetooth equipment, judge whether the second Bluetooth equipment and the first Bluetooth equipment belong to the same Bluetooth equipment set according to the LE Audio broadcast signal sent by the second Bluetooth equipment, and if the first Bluetooth equipment and the second Bluetooth equipment are determined to be the same Bluetooth equipment set, the terminal equipment can automatically establish LE Audio Bluetooth connection with the second Bluetooth equipment, synchronously output Audio data to the first Bluetooth equipment and the second Bluetooth equipment respectively, and the like, so that the coordination synchronous use between the first Bluetooth equipment and the second Bluetooth equipment is realized.
It should be noted that, the first bluetooth device and the second bluetooth device adopt the target SIRK to send the LE Audio broadcast signal, and may directly send the target SIRK as a part of content in the LE Audio broadcast signal, or may calculate and generate a target field in the LE Audio broadcast signal according to the target SIRK, and then generate the LE Audio broadcast signal according to the target field.
As an embodiment, the LE Audio broadcast signal transmitted by the second bluetooth device may include a target field generated based on target SIRK calculation. After receiving the LE Audio broadcast signal sent by the second bluetooth device, the terminal device may parse the LE Audio broadcast signal sent by the second bluetooth device to obtain target specific broadcast information and a target field carried by the LE Audio broadcast signal, and calculate a target specimen local value according to SIRK (i.e. target SIRK) corresponding to the first bluetooth device and the target specific broadcast information, where if the target specimen local value is the same as the target field, it may be determined that the first bluetooth device and the second bluetooth device are the same bluetooth device set.
Specifically, as shown in fig. 6D, the LE Audio broadcast signal may include an RSI (resolvable Set Identifier ), which may include two parts: 1. a hash sequence 610 generated by a SIRK corresponding to the bluetooth device; 2. a random sequence 620 of random numbers is generated. Wherein the hash sequence 610 may be represented by the formula: hash= sih (SIKR, prand), the hash representing the hash sequence 610 and prand representing the random sequence 620. The target specific broadcast information obtained by the electronic device analyzing the LE Audio broadcast signal sent by the second bluetooth device may be a random sequence of an RSI, and the target field may be a hash sequence of the RSI carried by the LE Audio broadcast signal. The electronic device can calculate the target local value according to the SIRK corresponding to the first Bluetooth device and the random sequence in the RSI obtained by analysis through the formula, and compare the target local value with the hash sequence of the RSI obtained by analysis, if the target local value is consistent with the hash sequence of the RSI obtained by analysis, the SIKR of the first Bluetooth device is identical with the SIRK of the second Bluetooth device (both are target SIRKs), and then the first Bluetooth device and the second Bluetooth device can be determined to belong to the same Bluetooth device set.
In the embodiment of the application, the first bluetooth device and the second bluetooth device can follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure the own combination identification information as the target combination identification information, so that the first bluetooth device and the second bluetooth device are successfully added into the target bluetooth device set, the first bluetooth device and the second bluetooth device can be synchronously coordinated for use, the effect of dynamically and flexibly adding the bluetooth device into the bluetooth device set for use is realized, and the use requirement of a user is met.
As shown in fig. 7, in one embodiment, another bluetooth device configuration method is provided and may be applied to the second bluetooth device, where the method may include the following steps:
step 710, obtain first combined identification information. Wherein the first combined identification information is used to indicate the first set of bluetooth devices.
In one embodiment, step 710 includes: receiving a target instruction sent by electronic equipment, wherein the target instruction is generated by the electronic equipment in response to a target triggering operation; acquiring first combination identification information according to a target instruction; the method further comprises the steps of: and establishing communication connection with the first Bluetooth device according to the target instruction.
In one embodiment, the electronic device comprises a headset box, the first bluetooth device comprises a first headset, and the second bluetooth device comprises a second headset; the step of receiving a target instruction sent by the electronic equipment comprises the following steps: and receiving a target instruction sent by the earphone box under the condition that the first earphone and the second earphone are both arranged in the earphone box, wherein the target instruction is generated by the earphone box in response to a target triggering operation.
In one embodiment, step 710 includes: and generating the first combination identification information according to a second preset mode.
In one embodiment, step 710 includes: generating first combined identification information according to a second preset mode under the condition that the combined identification information currently configured by the second Bluetooth device is empty; and/or under the condition that the combination identification information of the current configuration of the second Bluetooth device is not null, acquiring the combination identification information of the current configuration of the second Bluetooth device as the first combination identification information.
In one embodiment, the step of generating the first combined identification information according to the second preset manner includes: generating first combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to a first Bluetooth device or a BLE address corresponding to a second Bluetooth device; or, one combination identification information is randomly generated as the first combination identification information.
In one embodiment, the step of generating the first combined identification information based on the target BLE address may comprise: taking the target BLE address as a part field of the first combination identification information to generate the first combination identification information; or, hash calculation is performed on the target BLE address, and the calculation result is used as a part field of the first combination identification information, so as to generate the first combination identification information.
Step 720, sending the first combination identification information to the first bluetooth device, so that the first bluetooth device determines target combination identification information according to the first combination identification information and a preset rule, and configures the combination identification information of the first bluetooth device as the target combination identification information, where the target combination identification information is used to indicate a target bluetooth device set. Wherein the target combination identification information is equal to or different from the first combination identification information.
In one embodiment, step 720 includes: and sending the first combination identification information to the first Bluetooth device, so that the first Bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configures the combination identification information of the first Bluetooth device as the target combination identification information. The second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode.
In one embodiment, the method further comprises: receiving second combined identification information sent by the first Bluetooth device; and determining target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configuring the combination identification information of the second Bluetooth device as the target combination identification information. Wherein the second combined identification information is used to indicate a second set of bluetooth devices.
In one embodiment, the preset rules include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information.
In one embodiment, the first combination identification information may include a first SIRK and the target combination identification information may include a target SIRK.
It should be noted that, the description of the bluetooth device configuration method applied to the second bluetooth device provided in the embodiment of the present application may refer to the related description of the bluetooth device configuration method applied to the first bluetooth device provided in each embodiment, and the detailed description is not repeated here.
In the embodiment of the application, the first Bluetooth device can configure the combination identification information according to the first combination identification information sent by the second Bluetooth device and the preset rule, so that the first Bluetooth device can be dynamically and flexibly added into the target Bluetooth device set for use, and the use requirement of a user is met.
In addition, the first bluetooth device and the second bluetooth device may follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure their own combination identification information as the target combination identification information, so that the first bluetooth device and the second bluetooth device are successfully added into the target bluetooth device set, so that the first bluetooth device and the second bluetooth device can be synchronously coordinated for use.
As shown in fig. 8, in one embodiment, another bluetooth device configuration method is provided and may be applied to a bluetooth device system, where the bluetooth device system includes a first bluetooth device and a second bluetooth device, and the method may include the following steps:
in step 810, the second bluetooth device transmits first combination identification information to the first bluetooth device. Wherein the first combined identification information is used to indicate the first set of bluetooth devices. The first combination identification information is combination identification information currently configured by the second Bluetooth device or is generated by the second Bluetooth device according to a second preset mode.
In one embodiment, prior to step 810, the method further comprises: and the second Bluetooth equipment generates first combination identification information according to the second preset mode.
In one embodiment, prior to step 810, the method further comprises: under the condition that the combination identification information currently configured by the second Bluetooth device is empty, the second Bluetooth device generates first combination identification information according to a second preset mode; and/or, under the condition that the combination identification information currently configured by the second Bluetooth device is not empty, taking the combination identification information currently configured by the second Bluetooth device as the first combination identification information.
In one embodiment, the generating, by the second bluetooth device, the first combination identification information according to the second preset manner may include: the second Bluetooth device generates first combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to the first Bluetooth device or a BLE address corresponding to the second Bluetooth device; or, one combination identification information is randomly generated as the first combination identification information.
In one embodiment, the second bluetooth device generating the first combined identification information based on the target BLE address may include: the second Bluetooth device takes the target BLE address as a part of field of the first combination identification information to generate the first combination identification information; or, the second bluetooth device performs hash calculation on the target BLE address, and takes the calculation result as a part of fields of the first combination identification information to generate the first combination identification information.
In step 820, the first bluetooth device transmits second combined identification information to the second bluetooth device. Wherein the second combined identification information is used to indicate a second set of bluetooth devices. The second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode.
In one embodiment, prior to step 820, the method further comprises: and the first Bluetooth equipment generates second combination identification information according to the first preset mode.
In one embodiment, prior to step 820, the method further comprises: under the condition that the combination identification information currently configured by the first Bluetooth device is empty, the first Bluetooth device generates second combination identification information according to a first preset mode; and/or, under the condition that the combination identification information currently configured by the first Bluetooth device is not empty, taking the combination identification information currently configured by the first Bluetooth device as second combination identification information.
In one embodiment, the first bluetooth device generates the second combination identification information according to the first preset manner, which may include: the first Bluetooth device generates second combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to the first Bluetooth device or a BLE address corresponding to the second Bluetooth device; or, one combination identification information is randomly generated as the second combination identification information.
In one embodiment, the first bluetooth device generating the second combined identification information based on the target BLE address may include: the first Bluetooth device takes the target BLE address as a part of field of the second combination identification information to generate the second combination identification information; or, the first bluetooth device performs hash calculation on the target BLE address, and takes the calculation result as a part of fields of the second combination identification information to generate the second combination identification information.
In step 830, the first bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configures the combination identification information of the first bluetooth device as the target combination identification information.
Step 840, the second bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configures the combination identification information of the second bluetooth device as target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set. The target combination identification information is equal to the first combination identification information or the target combination identification information is equal to the second combination identification information.
In one embodiment, the preset rules include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information.
In one embodiment, the first combination identification information comprises a first SIRK, the second combination identification information comprises a second SIRK, and the target combination identification information may comprise a target SIRK.
In one embodiment, the method further comprises: the method comprises the steps that a first Bluetooth device and a second Bluetooth device respectively receive a target instruction sent by an electronic device, wherein the target instruction is generated by the electronic device in response to target triggering operation; the target instruction is used for indicating the first Bluetooth device to establish communication connection with the second Bluetooth device and sending second combined identification information to the second Bluetooth device, and the target instruction is used for indicating the second Bluetooth device to establish communication connection with the first Bluetooth device and sending first combined identification information to the first Bluetooth device.
It should be noted that, the description of the bluetooth device configuration method applied to the bluetooth device system provided in the embodiment of the present application may refer to the related description of the bluetooth device configuration method applied to the first bluetooth device provided in each embodiment, and the detailed description is not repeated here.
In the embodiment of the application, the first bluetooth device system and the second bluetooth device system can follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure the own combination identification information as the target combination identification information, so that the first bluetooth device system and the second bluetooth device system are successfully added into the target bluetooth device set, the first bluetooth device system and the second bluetooth device system can be synchronously coordinated for use, the effect of dynamically and flexibly adding the bluetooth devices into the bluetooth device set for use is realized, and the use requirement of a user is met.
As shown in fig. 9, in one embodiment, a bluetooth device configuration apparatus 900 is provided and may be applied to the first bluetooth device described above, where the bluetooth device configuration apparatus 900 may include a combination identifier receiving module 910, a combination identifier determining module 920, and a configuration module 930.
The combined identifier receiving module 910 is configured to receive first combined identifier information sent by the second bluetooth device, where the first combined identifier information is used to indicate the first bluetooth device set.
The combination identifier determining module 920 is configured to determine target combination identifier information according to the first combination identifier information and a preset rule, where the target combination identifier information is used to indicate a target bluetooth device set.
A configuration module 930, configured to configure the combination identifier of the first bluetooth device as target combination identifier, where the target combination identifier is equal to or not equal to the first combination identifier.
In one embodiment, the first combination identification information includes a first SIRK.
In one embodiment, the combination identifier determining module 920 is further configured to determine, according to a preset rule, target combination identifier information from first combination identifier information and second combination identifier information, where the second combination identifier information is combination identifier information currently configured by the first bluetooth device or generated by the first bluetooth device according to a first preset manner, and the second combination identifier information is used to indicate a second bluetooth device set.
In one embodiment, the bluetooth device configuration apparatus 900 further includes a connection module.
The connection module is used for receiving a target instruction sent by the electronic equipment, wherein the target instruction is generated by the electronic equipment in response to a target triggering operation; and establishing communication connection with the second Bluetooth device according to the target instruction, and acquiring second combination identification information according to the target instruction.
In one embodiment, the electronic device comprises a headset box, the first bluetooth device comprises a first headset, and the second bluetooth device comprises a second headset. The connection module is further used for receiving a target instruction sent by the earphone box under the condition that the first earphone and the second earphone are placed in the earphone box, wherein the target instruction is generated by the earphone box in response to a target triggering operation.
In one embodiment, the bluetooth device configuration apparatus 900 further includes a combined identification transmission module.
The combination identifier sending module is used for sending second combination identifier information to the second Bluetooth device, so that the second Bluetooth device determines target combination identifier information from the first combination identifier information and the second combination identifier information according to a preset rule, and configures the combination identifier information of the second Bluetooth device as target combination identifier information. The first combination identification information is combination identification information currently configured by the second Bluetooth device or is generated by the second Bluetooth device according to a second preset mode.
In one embodiment, the preset rules include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information.
In one embodiment, the bluetooth device configuration apparatus 900 further includes a combination identifier acquisition module.
And the combination identifier acquisition module is used for generating the second combination identifier information according to the first preset mode.
In one embodiment, the combination identifier obtaining module is further configured to generate, when the combination identifier information currently configured by the first bluetooth device is empty, second combination identifier information according to a first preset manner; and/or, under the condition that the combination identification information currently configured by the first Bluetooth device is not empty, taking the combination identification information currently configured by the first Bluetooth device as second combination identification information.
In one embodiment, the combination identifier obtaining module is further configured to generate the second combination identifier information based on a target BLE address, where the target BLE address includes a BLE address corresponding to the first bluetooth device or a BLE address corresponding to the second bluetooth device; or, one combination identification information is randomly generated as the second combination identification information.
In one embodiment, the combined identifier obtaining module is further configured to use the target BLE address as a part field of the second combined identifier information to generate the second combined identifier information; or, hash calculation is performed on the target BLE address, and the calculation result is used as a part field of the second combination identification information, so as to generate the second combination identification information.
In the embodiment of the application, the first Bluetooth device can configure the combination identification information according to the first combination identification information sent by the second Bluetooth device and the preset rule, so that the first Bluetooth device can be dynamically and flexibly added into the target Bluetooth device set for use, and the use requirement of a user is met.
In addition, the first bluetooth device and the second bluetooth device may follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure their own combination identification information as the target combination identification information, so that the first bluetooth device and the second bluetooth device are successfully added into the target bluetooth device set, so that the first bluetooth device and the second bluetooth device can be synchronously coordinated for use.
As shown in fig. 10, in one embodiment, a bluetooth device configuration apparatus 1000 is provided and may be applied to the second bluetooth device, where the bluetooth device configuration apparatus 1000 may include a combination identifier obtaining module 1010 and a combination identifier sending module 1020.
The combined identifier obtaining module 1010 is configured to obtain first combined identifier information, where the first combined identifier information is used to indicate a first bluetooth device set.
In one embodiment, the combined identifier obtaining module 1010 is further configured to receive a target instruction sent by the electronic device, where the target instruction is generated by the electronic device in response to a target trigger operation; and acquiring the first combination identification information according to the target instruction.
In one embodiment, the bluetooth device configuration apparatus 1000 further includes a connection module, where the connection module is configured to establish a communication connection with the first bluetooth device according to the target instruction.
In one embodiment, the electronic device comprises a headset box, the first bluetooth device comprises a first headset, and the second bluetooth device comprises a second headset; the combined identifier obtaining module 1010 is further configured to receive a target instruction sent by the earphone box when the first earphone and the second earphone are both placed on the earphone box, where the target instruction is generated by the earphone box in response to a target triggering operation.
The first combination identification information is combination identification information currently configured by the second Bluetooth device or is generated by the second Bluetooth device according to a second preset mode.
In one embodiment, the combined identifier obtaining module 1010 is further configured to generate the first combined identifier information according to a second preset manner.
In one embodiment, the combined identifier obtaining module 1010 is further configured to generate, when the combined identifier currently configured by the second bluetooth device is empty, first combined identifier information according to a second preset manner; and/or under the condition that the combination identification information of the current configuration of the second Bluetooth device is not null, acquiring the combination identification information of the current configuration of the second Bluetooth device as the first combination identification information.
In one embodiment, the combination identifier obtaining module 1010 is further configured to generate the first combination identifier information based on a target BLE address, where the target BLE address includes a BLE address corresponding to the first bluetooth device or a BLE address corresponding to the second bluetooth device; or, one combination identification information is randomly generated as the first combination identification information.
In one embodiment, the combined identifier obtaining module 1010 is further configured to use the target BLE address as a part field of the first combined identifier information to generate the first combined identifier information; or, hash calculation is performed on the target BLE address, and the calculation result is used as a part field of the first combination identification information, so as to generate the first combination identification information.
The combined identifier sending module 1020 is configured to send first combined identifier information to the first bluetooth device, so that the first bluetooth device determines target combined identifier information according to the first combined identifier information and a preset rule, and configures the combined identifier information of the first bluetooth device as the target combined identifier information, where the target combined identifier information is used to indicate a target bluetooth device set, and the target combined identifier information is equal to or not equal to the first combined identifier information.
In one embodiment, the combined identifier sending module 1020 is further configured to send the first combined identifier information to the first bluetooth device, so that the first bluetooth device determines the target combined identifier information from the first combined identifier information and the second combined identifier information according to a preset rule, and configures the combined identifier information of the first bluetooth device as the target combined identifier information. The second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode.
In one embodiment, the bluetooth device configuration apparatus 1000 further includes a combined identity receiving module and a configuration module.
The combined identification receiving module is used for receiving second combined identification information sent by the first Bluetooth device.
The configuration module is used for determining target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configuring the combination identification information of the second Bluetooth device as the target combination identification information.
In one embodiment, the preset rules include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information.
In one embodiment, the first combination identification information may include a first SIRK and the target combination identification information may include a target SIRK.
In the embodiment of the application, the first Bluetooth device can configure the combination identification information according to the first combination identification information sent by the second Bluetooth device and the preset rule, so that the first Bluetooth device can be dynamically and flexibly added into the target Bluetooth device set for use, and the use requirement of a user is met.
In addition, the first bluetooth device and the second bluetooth device may follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure their own combination identification information as the target combination identification information, so that the first bluetooth device and the second bluetooth device are successfully added into the target bluetooth device set, so that the first bluetooth device and the second bluetooth device can be synchronously coordinated for use.
As shown in fig. 11, in one embodiment, a bluetooth device configuration apparatus 1100 is provided and applied to a bluetooth device system, where the bluetooth device system includes a first bluetooth device and a second bluetooth device, and the bluetooth device configuration apparatus 1100 includes a combination identifier sending module 1110 and a configuration module 1120.
The combined identifier sending module 1110 is configured to send, by the second bluetooth device, first combined identifier information to the first bluetooth device, where the first combined identifier information is used to indicate the first bluetooth device set. The first combination identification information is combination identification information currently configured by the second bluetooth device or generated by the second bluetooth device according to a second preset mode,
the combined identifier sending module 1110 is further configured to send, by the first bluetooth device, second combined identifier information to the second bluetooth device, where the second combined identifier information is used to indicate the second bluetooth device set. The second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode.
In one embodiment, the bluetooth device configuration apparatus 1100 further includes a combined identity acquisition module.
In one embodiment, the combination identifier obtaining module is configured to generate, by using a second bluetooth device, first combination identifier information according to the second preset manner.
The combination identifier obtaining module is further configured to generate second combination identifier information according to the first preset manner by using the first bluetooth device.
In one embodiment, the combination identifier obtaining module is further configured to generate, by the second bluetooth device, the first combination identifier information according to a second preset manner, if the combination identifier information currently configured by the second bluetooth device is empty; and/or, under the condition that the combination identification information currently configured by the second Bluetooth device is not empty, taking the combination identification information currently configured by the second Bluetooth device as the first combination identification information.
The combination identifier obtaining module is further configured to generate second combination identifier information by the first bluetooth device according to a first preset mode when the combination identifier information currently configured by the first bluetooth device is empty; and/or, under the condition that the combination identification information currently configured by the first Bluetooth device is not empty, taking the combination identification information currently configured by the first Bluetooth device as second combination identification information.
In one embodiment, the combination identifier obtaining module is further configured to generate, by the second bluetooth device, first combination identifier information based on a target BLE address, where the target BLE address includes a BLE address corresponding to the first bluetooth device or a BLE address corresponding to the second bluetooth device; or, randomly generating a combination identification information as the first combination identification information by the second Bluetooth device.
The combination identifier obtaining module is further configured to generate, by the first bluetooth device, second combination identifier information based on a target BLE address, where the target BLE address includes a BLE address corresponding to the first bluetooth device or a BLE address corresponding to the second bluetooth device; or, randomly generating one combination identification information as the second combination identification information through the first Bluetooth device.
In one embodiment, the combined identifier obtaining module is further configured to use, by the second bluetooth device, the target BLE address as a part of a field of the first combined identifier information, so as to generate the first combined identifier information; or, performing hash calculation on the target BLE address through the second Bluetooth device, and taking the calculation result as a part of fields of the first combination identification information to generate the first combination identification information.
The combination identifier acquisition module is further used for taking the target BLE address as a part field of second combination identifier information through the first Bluetooth device so as to generate the second combination identifier information; or, performing hash calculation on the target BLE address through the first Bluetooth device, and taking the calculation result as a part of fields of the second combination identification information to generate the second combination identification information.
The configuration module 1120 is configured to determine, by the first bluetooth device, target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the first bluetooth device as the target combination identification information.
The configuration module 1120 is further configured to determine, by the second bluetooth device, target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configure the combination identification information of the second bluetooth device as the target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set.
In one embodiment, the preset rules include: the larger or smaller of the first combination identification information and the second combination identification information is determined as the target combination identification information.
In one embodiment, the first combination identification information comprises a first SIRK, the second combination identification information comprises a second SIRK, and the target combination identification information may comprise a target SIRK.
In one embodiment, the bluetooth device configuration apparatus 1100 further includes an instruction receiving module.
The instruction receiving module is used for respectively receiving target instructions sent by the electronic equipment through the first Bluetooth equipment and the second Bluetooth equipment, wherein the target instructions are generated by the electronic equipment in response to target triggering operation; the target instruction is used for indicating the first Bluetooth device to establish communication connection with the second Bluetooth device and sending second combined identification information to the second Bluetooth device, and the target instruction is used for indicating the second Bluetooth device to establish communication connection with the first Bluetooth device and sending first combined identification information to the first Bluetooth device.
In the embodiment of the application, the first bluetooth device and the second bluetooth device can follow the same preset rule, determine the target combination identification information from the first combination identification information and the second combination identification information, and configure the own combination identification information as the target combination identification information, so that the first bluetooth device and the second bluetooth device are successfully added into the target bluetooth device set, the first bluetooth device and the second bluetooth device can be synchronously coordinated for use, the effect of dynamically and flexibly adding the bluetooth device into the bluetooth device set for use is realized, and the use requirement of a user is met.
Fig. 12 is a block diagram of an electronic device in one embodiment. As shown in fig. 12, the electronic device 1200 may include one or more of the following components: processor 1210, memory 1220 coupled to processor 1210, wherein memory 1220 may store one or more computer programs that, when executed by one or more processors 1210, may be configured to implement the bluetooth device configuration methods as described in the various embodiments above.
Processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect various portions of the overall electronic device 1200, perform various functions of the electronic device 1200, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1220, and invoking data stored in the memory 1220. Alternatively, the processor 1210 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1210 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1210 and may be implemented solely by a single communication chip.
The Memory 1220 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Memory 1220 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data or the like created by the electronic device 1200 in use.
The electronic device 1200 may also include a bluetooth module that may be used to provide bluetooth communication functionality, establish a bluetooth connection with a second electronic device, and perform bluetooth data transmission. The bluetooth module may support one or more bluetooth protocols, such as classical bluetooth, BLE Audio, etc., but is not limited thereto and may vary with the development of the bluetooth protocol.
The present embodiments disclose a computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a bluetooth device configuration method applied to a first bluetooth device as described in the above embodiments.
The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the bluetooth device configuration method applied to a bluetooth device system as described in the above embodiments.
The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the bluetooth device configuration method applied to a headset device as described in the above embodiments.
The embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, which when executed by a processor, implements a bluetooth device configuration method as described in the above embodiments as applied to a first bluetooth device.
The embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, which when executed by a processor, implements a bluetooth device configuration method as described in the above embodiments as applied to a second bluetooth device.
The embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, which when executed by a processor, implements a bluetooth device configuration method applied to a bluetooth device system as described in the above embodiments.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Wherein the storage medium may be a magnetic disk, an optical disk, a ROM, etc.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory can include ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory can include random access memory (random access memory, RAM), which acts as external cache memory. By way of illustration and not limitation, RAM may take many forms, such as Static RAM (SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDR SDRAM), enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), synchronous Link DRAM (SLDRAM), memory bus Direct RAM (Rambus DRAM), and Direct memory bus dynamic RAM (DRDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments and that the acts and modules referred to are not necessarily required in the present application. It should be noted that the term "plurality" in this application includes "two or more".
In various embodiments of the present application, it should be understood that the size of the sequence numbers of the above processes does not mean that the execution sequence of the processes is necessarily sequential, and the execution sequence of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The method, the device, the electronic device and the storage medium for configuring the bluetooth device disclosed in the embodiments of the present application are described in detail, and specific examples are applied to illustrate the principles and the implementation manners of the present application, where the description of the foregoing examples is only used to help understand the method and the core idea of the present application. Meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (30)

1. A bluetooth device configuration method, applied to a first bluetooth device, the method comprising:
receiving first combination identification information sent by second Bluetooth equipment, wherein the first combination identification information is used for indicating a first Bluetooth equipment set;
determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set;
and configuring the combination identification information of the first Bluetooth device as the target combination identification information, wherein the target combination identification information is equal to or not equal to the first combination identification information.
2. The method of claim 1, wherein the determining the target combination identification information according to the first combination identification information and a preset rule comprises:
determining target combination identification information from the first combination identification information and second combination identification information according to the preset rule, wherein the second combination identification information is combination identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode, and the second combination identification information is used for indicating a second Bluetooth device set.
3. The method according to claim 2, wherein the method further comprises:
the second combination identification information is sent to the second Bluetooth device, so that the second Bluetooth device determines the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, the combination identification information of the second Bluetooth device is configured as the target combination identification information, and the first combination identification information is currently configured combination identification information of the second Bluetooth device or is generated by the second Bluetooth device according to a second preset mode.
4. The method according to claim 2, wherein the method further comprises:
receiving a target instruction sent by electronic equipment, wherein the target instruction is generated by the electronic equipment in response to a target triggering operation;
and establishing communication connection with the second Bluetooth device according to the target instruction, and acquiring the second combined identification information according to the target instruction.
5. The method of claim 4, wherein the electronic device comprises a headset box, the first bluetooth device comprises a first headset, and the second bluetooth device comprises a second headset;
The receiving the target instruction sent by the electronic equipment comprises the following steps:
and receiving a target instruction sent by the earphone box under the condition that the first earphone and the second earphone are placed in the earphone box, wherein the target instruction is generated by the earphone box in response to a target triggering operation.
6. The method according to any one of claims 2 to 5, wherein the preset rule comprises:
the greater or lesser of the first combination identification information and the second combination identification information is determined as the target combination identification information.
7. The method of claim 2, wherein prior to said determining target combination identification information from said first combination identification information and second combination identification information according to said preset rule, said method further comprises:
and generating the second combination identification information according to the first preset mode.
8. The method of claim 2, wherein prior to said determining target combination identification information from said first combination identification information and second combination identification information according to said preset rule, said method further comprises:
generating the second combined identification information according to the first preset mode under the condition that the combined identification information currently configured by the first Bluetooth device is empty; and/or
And under the condition that the combination identification information currently configured by the first Bluetooth device is not null, taking the combination identification information currently configured by the first Bluetooth device as the second combination identification information.
9. The method according to claim 7 or 8, wherein the generating the second combined identification information according to the first preset manner comprises:
generating the second combined identification information based on a target BLE address, the target BLE address comprising a BLE address of the first bluetooth device or a BLE address of the second bluetooth device; or alternatively, the first and second heat exchangers may be,
a combination identification information is randomly generated as the second combination identification information.
10. The method of claim 9, wherein the generating the second combined identification information based on a target BLE address comprises:
taking the target BLE address as a partial field of the second combination identification information to generate the second combination identification information; or alternatively, the first and second heat exchangers may be,
and carrying out hash calculation on the target BLE address, and taking a calculation result as a part field of the second combination identification information to generate the second combination identification information.
11. The method according to any one of claims 1-5, 7-8, wherein the first combination identity information comprises a first combination identity resolution value, SIRK.
12. A bluetooth device configuration method, applied to a second bluetooth device, the method comprising:
acquiring first combination identification information, wherein the first combination identification information is used for indicating a first Bluetooth device set;
and sending the first combination identification information to a first Bluetooth device, so that the first Bluetooth device determines target combination identification information according to the first combination identification information and a preset rule, and configures the combination identification information of the first Bluetooth device as the target combination identification information, wherein the target combination identification information is used for indicating a target Bluetooth device set, and the target combination identification information is equal to or not equal to the first combination identification information.
13. The method of claim 11, wherein the sending the first combination identification information to the first bluetooth device to enable the first bluetooth device to configure the combination identification information of the first bluetooth device as target combination identification information according to the first combination identification information and a preset rule, comprises:
the first combination identification information is sent to a first Bluetooth device, so that the first Bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and the combination identification information of the first Bluetooth device is configured as the target combination identification information; the second combination identification information is used for indicating a second bluetooth device set, the second combination identification information is combination identification information currently configured by the first bluetooth device or generated by the first bluetooth device according to a first preset mode, and the first combination identification information is combination identification information currently configured by the second bluetooth device or generated by the second bluetooth device according to a second preset mode.
14. The method of claim 13, wherein the method further comprises:
receiving the second combined identification information sent by the first Bluetooth device;
and determining target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configuring the combination identification information of the second Bluetooth device as the target combination identification information.
15. The method according to claim 13 or 14, wherein the preset rules comprise:
the greater or lesser of the first combination identification information and the second combination identification information is determined as the target combination identification information.
16. The method of claim 13, wherein the obtaining the first combined identification information comprises:
and generating the first combination identification information according to the second preset mode.
17. The method of claim 13, wherein the obtaining the first combined identification information comprises:
generating the first combined identification information according to a second preset mode under the condition that the combined identification information currently configured by the second Bluetooth device is empty; and/or the number of the groups of groups,
And under the condition that the combination identification information of the current configuration of the second Bluetooth device is not null, acquiring the combination identification information of the current configuration of the second Bluetooth device as the first combination identification information.
18. The method according to claim 16 or 17, wherein said generating said first combined identification information according to a second preset manner comprises:
generating the first combination identification information based on a target BLE address, wherein the target BLE address comprises a BLE address corresponding to the first bluetooth device or a BLE address corresponding to the second bluetooth device; or alternatively, the first and second heat exchangers may be,
a combination identification information is randomly generated as the first combination identification information.
19. The method of claim 18, wherein the generating the first combined identification information based on a target BLE address comprises:
taking the target BLE address as a partial field of the first combination identification information to generate the first combination identification information; or alternatively, the first and second heat exchangers may be,
and carrying out hash calculation on the target BLE address, and taking a calculation result as a part field of the first combination identification information to generate the first combination identification information.
20. A bluetooth device configuration method, applied to a bluetooth device system, where the bluetooth device system includes a first bluetooth device and a second bluetooth device, the method includes:
The second Bluetooth device sends first combination identification information to the first Bluetooth device, wherein the first combination identification information is used for indicating a first Bluetooth device set; the first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode;
the first Bluetooth device sends second combination identification information to the second Bluetooth device, wherein the second combination identification information is used for indicating a second Bluetooth device set; the second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode;
the first Bluetooth device determines target combination identification information from the first combination identification information and the second combination identification information according to a preset rule, and configures the combination identification information of the first Bluetooth device as the target combination identification information;
the second Bluetooth device determines the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configures the combination identification information of the second Bluetooth device as the target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set.
21. The method of claim 20, wherein the preset rule comprises:
the greater or lesser of the first combination identification information and the second combination identification information is determined as the target combination identification information.
22. The method of claim 20, wherein prior to the second bluetooth device transmitting the first combined identification information to the first bluetooth device, the method further comprises:
the second Bluetooth device generates first combination identification information according to the second preset mode;
before the first bluetooth device sends the second combined identification information to the second bluetooth device, the method further comprises:
and the first Bluetooth equipment generates second combined identification information according to the first preset mode.
23. The method of claim 20, wherein prior to the second bluetooth device transmitting the first combined identification information to the first bluetooth device, the method further comprises:
under the condition that the combination identification information currently configured by the second Bluetooth device is empty, the second Bluetooth device generates first combination identification information according to a second preset mode; and/or, under the condition that the combination identification information currently configured by the second Bluetooth device is not empty, taking the combination identification information currently configured by the second Bluetooth device as the first combination identification information;
Before the first bluetooth device sends the second combined identification information to the second bluetooth device, the method further comprises:
under the condition that the combination identification information currently configured by the first Bluetooth device is empty, the first Bluetooth device generates second combination identification information according to a first preset mode; and/or, under the condition that the combination identification information currently configured by the first Bluetooth device is not empty, taking the combination identification information currently configured by the first Bluetooth device as the second combination identification information.
24. The method according to any one of claims 20 to 23, further comprising:
the first Bluetooth device and the second Bluetooth device respectively receive target instructions sent by electronic equipment, wherein the target instructions are generated by the electronic equipment in response to target triggering operation;
the target instruction is used for indicating the first Bluetooth device to establish communication connection with the second Bluetooth device and sending the second combination identification information to the second Bluetooth device, and the target instruction is used for indicating the second Bluetooth device to establish communication connection with the first Bluetooth device and sending the first combination identification information to the first Bluetooth device.
25. The method of any one of claims 20-23, wherein the first combined identification information comprises a first SIRK and the second combined identification information comprises a second SIRK.
26. A bluetooth device configuration apparatus, for use with a first bluetooth device, the apparatus comprising:
the combined identification receiving module is used for receiving first combined identification information sent by the second Bluetooth device, and the first combined identification information is used for indicating a first Bluetooth device set;
the combination identification determining module is used for determining target combination identification information according to the first combination identification information and a preset rule, wherein the target combination identification information is used for indicating a target Bluetooth device set;
and the configuration module is used for configuring the combination identification information of the first Bluetooth device into the target combination identification information, wherein the target combination identification information is equal to or not equal to the first combination identification information.
27. A bluetooth device configuration apparatus, characterized by being applied to a second bluetooth device, the apparatus comprising:
the combined identification acquisition module is used for acquiring first combined identification information, wherein the first combined identification information is used for indicating a first Bluetooth equipment set;
The combined identification sending module is used for sending the first combined identification information to a first Bluetooth device, so that the first Bluetooth device determines target combined identification information according to the first combined identification information and a preset rule, the combined identification information of the first Bluetooth device is configured to be the target combined identification information, the target combined identification information is used for indicating a target Bluetooth device set, and the target combined identification information is equal to or not equal to the first combined identification information.
28. A bluetooth device configuration apparatus, characterized in that it is applied to a bluetooth device system, the bluetooth device system including a first bluetooth device and a second bluetooth device, the apparatus comprising:
the combined identification transmitting module is used for transmitting first combined identification information to the first Bluetooth device through the second Bluetooth device, and the first combined identification information is used for indicating a first Bluetooth device set; the first combination identification information is combination identification information currently configured by the second Bluetooth device or generated by the second Bluetooth device according to a second preset mode;
the combined identification transmitting module is further used for transmitting second combined identification information to the second Bluetooth device through the first Bluetooth device, and the second combined identification information is used for indicating a second Bluetooth device set; the second combined identification information is combined identification information currently configured by the first Bluetooth device or generated by the first Bluetooth device according to a first preset mode;
The configuration module is used for determining target combination identification information from the first combination identification information and the second combination identification information through the first Bluetooth device according to a preset rule, and configuring the combination identification information of the first Bluetooth device as the target combination identification information;
the configuration module is further configured to determine, by the second bluetooth device, the target combination identification information from the first combination identification information and the second combination identification information according to the preset rule, and configure the combination identification information of the second bluetooth device as the target combination identification information; the target combination identification information is used for indicating a target Bluetooth device set.
29. An electronic device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to implement a method as claimed in any one of claims 1 to 11 or 12 to 19 or 20 to 25.
30. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any one of claims 1-11 or 12-19 or 20-25.
CN202210725571.6A 2022-06-23 2022-06-23 Bluetooth device configuration method and device, electronic device and storage medium Pending CN117319974A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210725571.6A CN117319974A (en) 2022-06-23 2022-06-23 Bluetooth device configuration method and device, electronic device and storage medium
PCT/CN2022/142138 WO2023246055A1 (en) 2022-06-23 2022-12-27 Bluetooth device configuration method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210725571.6A CN117319974A (en) 2022-06-23 2022-06-23 Bluetooth device configuration method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117319974A true CN117319974A (en) 2023-12-29

Family

ID=89241366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210725571.6A Pending CN117319974A (en) 2022-06-23 2022-06-23 Bluetooth device configuration method and device, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN117319974A (en)
WO (1) WO2023246055A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507037B (en) * 2014-12-12 2017-11-28 飞天诚信科技股份有限公司 A kind of method realized intelligent key apparatus and bluetooth binding is carried out with mobile device
CN108513716B (en) * 2017-02-25 2020-08-07 华为技术有限公司 Method, device and terminal for establishing connection
CN111615090B (en) * 2020-04-27 2023-07-14 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device
CN112105010B (en) * 2020-09-22 2024-04-26 深圳市汇顶科技股份有限公司 Method for address exchange among Bluetooth devices, communication system and Bluetooth headset

Also Published As

Publication number Publication date
WO2023246055A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
US10728647B2 (en) Data transmitting method and system
US11812485B2 (en) Bluetooth communication method and terminal
EP3169086B1 (en) Connection method for multimedia playing device, master device, control terminal, and system
WO2024016948A1 (en) Information updating method and apparatus, audio sharing method and system, and electronic device
CN110830970B (en) Audio transmission method, device, equipment and storage medium between Bluetooth equipment
CN111447600A (en) Audio sharing method for wireless earphone, terminal device and storage medium
WO2023160212A1 (en) Connection establishment method and apparatus, device, storage medium, and program product
CN110147557A (en) The charging box and storage medium of a kind of interpretation method, system and wireless headset
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN108513196A (en) A kind of wireless headset and its matching method
CN106095132B (en) Playback equipment keypress function setting method and device
WO2024055738A1 (en) Method and apparatus for audio data sharing, and electronic device and storage medium
WO2024066694A1 (en) Connection method and apparatus for audio devices, and storage medium and device
CN117319974A (en) Bluetooth device configuration method and device, electronic device and storage medium
CN117319975A (en) Bluetooth device configuration method and device, electronic device and storage medium
CN105682010B (en) Bluetooth connection control method, device and playback equipment in audio frequency broadcast system
CN116320859A (en) State control method and device of earphone device, earphone device and storage medium
CN114885261A (en) Earphone assembly, wireless audio playing system and communication method thereof
WO2023093328A1 (en) Bluetooth back-connection method and apparatus, information storage method and apparatus, and terminal device
WO2022237353A1 (en) Method, apparatus, and device for configuring earphones in earphone holding case, and program product
WO2023185147A1 (en) Service query processing method and apparatus, device, storage medium, and program product
WO2023098423A1 (en) Bluetooth connection method and apparatus, and bluetooth address configuration method and apparatus
WO2024016885A1 (en) Bluetooth connection method and apparatus, electronic device, and computer readable storage medium
WO2024066688A1 (en) Device connection method and apparatus, bluetooth device, and storage medium
CN115022391B (en) Service discovery method and device for Bluetooth device, terminal device and storage medium

Legal Events

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