CN116647829A - Communication link configuration method, device, equipment, system and storage medium - Google Patents
Communication link configuration method, device, equipment, system and storage medium Download PDFInfo
- Publication number
- CN116647829A CN116647829A CN202310703273.1A CN202310703273A CN116647829A CN 116647829 A CN116647829 A CN 116647829A CN 202310703273 A CN202310703273 A CN 202310703273A CN 116647829 A CN116647829 A CN 116647829A
- Authority
- CN
- China
- Prior art keywords
- bluetooth device
- communication
- slave
- master
- communication link
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 227
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000001360 synchronised effect Effects 0.000 claims abstract description 72
- 230000004044 response Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a communication link configuration method, a device, equipment, a system and a storage medium, wherein the method is applied to a master Bluetooth device in a Bluetooth system, the Bluetooth system comprises the master Bluetooth device and a slave Bluetooth device, and the master Bluetooth device and the slave Bluetooth device establish synchronous data stream connection of low-power consumption Bluetooth, and the method comprises the following steps: the master Bluetooth device determines communication environment parameters between the master Bluetooth device and the slave Bluetooth device; and configuring the number of connected synchronous stream communication links according to the communication environment parameters. According to the technical scheme, the communication reliability between the master Bluetooth device and the slave Bluetooth device can be improved.
Description
Technical Field
The present application relates to the field of bluetooth communications, and in particular, to a method, apparatus, device, system, and storage medium for configuring a communication link.
Background
Bluetooth is a standard wireless communication technology, which is used to exchange data between devices within a short distance, so as to simplify the data interaction process between electronic devices. With the continuous evolution of technology, the bluetooth technology has iterated from early bluetooth 1.0 to bluetooth 5.3, and bluetooth 5.3 focuses on bluetooth Audio with low energy (LE Audio), so that the limitation that conventional bluetooth cannot point-to-multi transmission synchronous stream data can be broken, multi-stream transmission can be realized, and in addition, broadcast Audio sharing can be combined, and bluetooth Audio experience can be enhanced.
One of the connection modes based on bluetooth low energy is a bluetooth low energy synchronous data stream connection (LE Connected Isochronous Stream, LE-CIS), in which any packets not transmitted within a specified time window are discarded. The connected synchronization group (Connected Isochronous Groups, CIG) mode may support one-master-multi-slave multi-connection data streaming, and each connected synchronization group may include a plurality of connected synchronization streams (Connected Isochronous Stream, CIS). The communication link parameters of the same connected synchronization group are applied to all connected synchronization flows, then, the communication environments of each connected synchronization flow are different, so that the communication states are also different, the receiving results of the data packets are also different, the communication reliability of the connected synchronization flows cannot be effectively ensured, if the communication link parameters are modified, all the connected synchronization flows under the connected synchronization group are affected, and the communication reliability may be further reduced.
Disclosure of Invention
The application provides a communication link configuration method, a device, equipment, a system and a storage medium, which are used for solving the technical problem of lower communication reliability caused by different connected synchronous stream communication environments.
In a first aspect, the present application provides a communication link configuration method, which is applied to a master bluetooth device in a bluetooth system, where the bluetooth system includes the master bluetooth device and a slave bluetooth device, and the master bluetooth device and the slave bluetooth device establish a synchronous data stream connection of bluetooth with low energy; the communication link configuration method comprises the following steps: determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device; and configuring the number of connected synchronous stream communication links according to the communication environment parameters.
Optionally, the determining a communication environment parameter between the master bluetooth device and the slave bluetooth device includes: receiving a first communication data packet of the slave Bluetooth device; and determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device according to the first communication data packet.
Optionally, the first communication data packet includes: and receiving any one or more of signal strength indication, link quality and packet loss rate in a preset time range.
Optionally, the determining a communication environment parameter between the master bluetooth device and the slave bluetooth device includes: transmitting a second communication data packet to the slave Bluetooth device; receiving a response packet of the slave Bluetooth device for the second communication data packet; and determining the communication environment parameters of the master Bluetooth device and the slave Bluetooth device according to the response packet.
Optionally, the second communication data packet includes: any one or more of a received signal strength indication, a link quality, and an error rate within a preset time range.
Optionally, when the number of connected synchronous stream communication links is greater than or equal to two, the communication link configuration method further includes: setting a corresponding connected synchronous flow identification for each connected synchronous flow communication link configured.
Optionally, the connected synchronous flow identifier is a non-continuous identifier.
In a second aspect, a communication link configuration apparatus is provided, which is applied to the communication link configuration method described in the first aspect, and the communication link configuration apparatus includes: the determining module is used for determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device; and the configuration module is used for configuring the number of connected synchronous stream communication links according to the communication environment parameters.
In a third aspect, there is provided a bluetooth device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the bluetooth device to implement a communication link configuration method as described in the first aspect.
In a fourth aspect, a computer readable storage medium is provided, characterized in that the computer readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the communication link configuration method according to the first aspect.
In a fifth aspect, a bluetooth system is provided, which comprises a master bluetooth device and a slave bluetooth device, wherein the master bluetooth device is configured to perform the communication link configuration method according to the first aspect.
The application can realize the following technical effects: the master Bluetooth device determines the communication environment parameters of the master Bluetooth device and the slave Bluetooth device, and sets the number of connected synchronous stream communication links according to the communication environment parameters, so that the communication quality of the slave Bluetooth device with poor communication environment can be improved by configuring more communication links. Because the number of communication links in the same connected synchronization group does not influence the synchronization of data, the communication link number is increased, and the communication reliability between the master Bluetooth device and the slave Bluetooth device is correspondingly improved.
Drawings
FIG. 1 is a schematic diagram of a synchronization process of a plurality of connected synchronous streams according to an embodiment of the present application;
fig. 2 is a schematic diagram of a transmission and response process of a master bluetooth device and a slave bluetooth device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a bluetooth system according to an embodiment of the present application;
fig. 4 is a schematic diagram of another bluetooth system according to an embodiment of the present application;
fig. 5 is a flow chart of a communication link configuration method according to an embodiment of the present application;
fig. 6 is a schematic diagram of data transmission according to a connected synchronization flow identifier according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication link configuration according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The technical scheme of the application is suitable for a Bluetooth communication scene, in particular for an application scene that a master Bluetooth device and a slave Bluetooth device communicate by using a low-power-consumption synchronous data stream connection in the Bluetooth communication scene. The main Bluetooth device searches surrounding Bluetooth devices and selects Bluetooth devices to be connected for pairing connection; a slave bluetooth device refers to a device waiting to be searched for a connection by a master bluetooth device in a bluetooth communication scenario. Specifically, the main bluetooth device may be a mobile phone, a notebook computer, etc.; the slave bluetooth device may be an earphone, an intelligent sound, etc., and the present application is not limited. It should be appreciated that a bluetooth device may either initiate a communication connection as a master bluetooth device or receive a communication connection as a slave bluetooth device; one bluetooth device can also serve as a master bluetooth device and a slave bluetooth device at the same time.
As a possible implementation manner, in the synchronous data stream connection mode of the low-power consumption Bluetooth, the master Bluetooth device and the slave Bluetooth device perform two-way communication and synchronously process data, so that the problem that the Bluetooth left and right earphone devices are not synchronous can be solved. A single connected synchronization stream provides point-to-point synchronization communication and multiple connected synchronization streams may be processed in synchronization as shown in fig. 1. A connected synchronization group may comprise a plurality of connected synchronization streams, all connected synchronization streams within the synchronization group jointly adhering to the same communication link parameter setting. The data synchronization process can be achieved by configuring the same communication link parameters for all connected synchronization streams.
In one possible implementation, within the same connected synchronization group, the occurrence interval of each event for each connected synchronization stream, referred to as an event time interval (sub-interval), is divided into one or more sub-events, each event may refer to a communication set of a master bluetooth device and all slave bluetooth devices, and a sub-event may refer to a single communication procedure of the master bluetooth device and a single slave bluetooth device. The interval between two adjacent connected synchronization group anchors, called ISO-interval (ISO-interval), may be specified in the time range of 5ms to 4s. In the sub-event of the bluetooth low energy synchronous data stream connection transmission mode, the transmission and reply of the master bluetooth device and the slave bluetooth device may be as shown in fig. 2. In the embodiment of the application, each connected synchronous stream link of the slave Bluetooth device can be allocated with a unique identifier, and the communication period can be determined according to the ISO time interval.
Within the same connected synchronization group, the communication status of different connected synchronization flows may be different, for example, a slave bluetooth device further away from the master bluetooth device may receive a data packet with a worse result than a slave bluetooth device closer to the master bluetooth device, or a slave bluetooth device with an interference source in the surroundings may receive a data packet with a worse result than a slave bluetooth device without an interference source in the surroundings. Since the communication link parameters of each connected synchronization flow are the same in the connected synchronization group, if the communication link parameters are modified, the communication reliability between the devices may not be improved, but normal communication between the devices may be affected.
In view of this, the present application proposes a communication link configuration scheme that can improve the reliability of communication between devices by configuring the number of communication links without modifying the parameters of the communication links. The technical solution of the present application may be applied to the bluetooth system shown in fig. 3, and as shown in fig. 3, the bluetooth system 30 may include a master bluetooth device 301 and a slave bluetooth device 302, where the master bluetooth device 301 may simultaneously communicate with a plurality of slave bluetooth devices 302, and establish a low-power synchronous data stream connection with the plurality of slave bluetooth devices 302.
In one possible implementation, the slave bluetooth device 302 and the master bluetooth device 301 may establish a low energy synchronous data stream connection by: firstly, it is ensured that bluetooth of the master bluetooth device 301 and bluetooth of the slave bluetooth device 302 are both opened, then, in bluetooth setting of the master bluetooth device 301, a search function of the device is started to search for nearby devices capable of supporting low-power synchronous data stream connection, after searching, the master bluetooth device 301 lists nearby devices capable of establishing low-power synchronous data stream connection, a user can select a device to be connected from the list and pair with the selected device, once pairing is successful, the master bluetooth device 301 establishes low-power bluetooth connection with the slave bluetooth device 302 first, and on the basis of establishing a low-power bluetooth connection link, the master bluetooth device 301 initiates a low-power synchronous data stream connection establishment request to the slave bluetooth device 302, and after configuring relevant communication parameters, the establishment of the low-power synchronous data stream connection is completed.
In one possible manner, the master bluetooth device 301 may transfer data between devices after establishing a low power synchronized data stream connection with the slave bluetooth device 302. This may be bi-directional, with information being sent and received between the devices. When the data transfer is complete or the low power isochronous data stream connection is no longer needed, the master bluetooth device 301 or the slave bluetooth device 302 may choose to disconnect the low power isochronous data stream connection. This may be performed in the device settings or the connection between the devices may be automatically broken after a period of inactivity.
It should be noted that the exact steps of establishing a synchronous data stream connection with low power consumption may vary from device to device and from operating system to operating system. The above methods provide a general overview, and the specific methods may vary somewhat from device to device and operating system to operating system, as the application is not limited in this regard.
In a possible implementation manner, as shown in fig. 4, the bluetooth system may be a mobile phone, where the master bluetooth device shown in fig. 4 is a slave bluetooth device, and the slave bluetooth devices are respectively E1, E2 and E3, where it can be seen that the slave bluetooth device is located in different communication environments, where the slave bluetooth device E1 is closer to the master bluetooth device, where the slave bluetooth device E3 is farther from the master bluetooth device, where an interference source exists near the slave bluetooth device E2, where all of the slave bluetooth devices E1, E2 and E3 may establish a low-power synchronous data stream connection with the master bluetooth device.
The following describes the technical solution of the present application in detail with reference to the systems shown in fig. 3 and 4.
Referring to fig. 5, fig. 5 is a schematic flow chart of a communication link configuration method according to an embodiment of the present application, where the communication link configuration method may be applied to a bluetooth system, and the bluetooth system may be as shown in fig. 3 and fig. 4. As shown in fig. 5, the communication link configuration method includes the steps of:
s501, a master bluetooth device determines a communication environment parameter between the master bluetooth device and a slave bluetooth device.
Optionally, the communication environment parameter refers to a parameter for evaluating communication quality between the master bluetooth device and the slave bluetooth device, and the communication environment parameter may include multi-dimensional environment data, such as a distance value between devices, signal strength, and the like.
In one possible embodiment, the determining the communication environment parameter between the master bluetooth device and the slave bluetooth device includes: receiving a first communication data packet of the slave Bluetooth device; and determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device according to the first communication data packet.
In one possible embodiment, the first communication data packet includes: and receiving any one or more of signal strength indication, link quality and packet loss rate in a preset time range.
For example, in the process of establishing a low-power-consumption synchronous data stream connection with the slave bluetooth device, the master bluetooth device may send a first communication data packet to the master bluetooth device, where the first communication data packet may include parameters such as a received signal strength indication, a link quality, a packet loss rate within a preset time range, and the like, and the master bluetooth device receives the first communication data packet, comprehensively evaluates a current communication environment according to the parameters in the first communication data packet, and determines a communication environment parameter between the master bluetooth device and the slave bluetooth device.
The received signal strength indicator (Received Signal Strength Indicator, RSSI) is related to the signal strength, and reflects the attenuation degree of the signal, where the unit is dBm, the received signal strength indicator is a negative value, and a larger value indicates a stronger signal, and may indicate a better communication quality, and a corresponding communication environment parameter may be higher. In general, the larger the received signal strength indication is, the less susceptible to interference, and ideally the signal will not be attenuated when the received signal strength indication is 0.
The Link Quality (LQ) can be used to evaluate the quality of the current received signal, the value range is 0-255, and is generally related to the frequency of signal modulation, and the better the link quality is, the greater the link quality is, the higher the corresponding communication environment parameter can be represented, otherwise, the smaller the communication quality is, and the manufacturer can customize the measurement standard of the link quality value and map the measurement standard into the value range.
The packet loss rate in the preset time range is the transmission times of repeated packets in all transmission packets of the main Bluetooth device in a certain time, and generally, the higher the packet loss rate is, the worse the communication quality is represented, the lower the corresponding communication environment parameter can be, otherwise, the lower the packet loss rate is, and the higher the corresponding communication environment parameter can be.
In a possible implementation, the determining the communication environment parameter between the master bluetooth device and the slave bluetooth device may further be: transmitting a second communication data packet to the slave bluetooth device; receiving a response packet of the slave Bluetooth device for the second communication data packet; and determining the communication environment parameters of the master Bluetooth device and the slave Bluetooth device according to the response packet.
In one possible embodiment, the second communication data packet includes: any one or more of a received signal strength indication, a link quality, and an error rate within a preset time range.
For example, in the process of establishing a low-power-consumption synchronous data stream connection with the slave bluetooth device, the master bluetooth device may send a second communication data packet to the slave bluetooth device, where the second communication data packet may include parameters such as a received signal strength indication, a link quality, an error rate within a preset time range, and the like, the slave bluetooth device may evaluate a current communication environment according to the parameters in the second communication packet, and send a response packet to the master bluetooth device for the second communication data packet, and the slave bluetooth device may determine a communication environment parameter according to the response packet, so as to perform further configuration of the number of communication links.
Wherein the error rate is the ratio of the number of errors to the total number of transmitted codes, and referring to the error rate of each packet or the average error rate of a plurality of packets, in bluetooth, a forward error correction (Forward Error Correction, FEC) function is provided, including 1/3FEC, which is a repetition code, each information bit is repeatedly transmitted three times, and a slave device checks whether three values are consistent, the latter is a hamming code, and 10 information bits generate 15 bits after polynomial operation, so that all odd-numbered bits can be corrected and all even-numbered bits can be detected. The error rate and/or the average error rate may be counted by FEC.
In a possible implementation manner, in order to accurately determine the communication environment parameter, a professional testing tool and equipment can be used for performing auxiliary tests, such as a signal intensity meter, a spectrum analyzer and the like, so that the progress of data measurement can be further improved, and the accuracy of a data result can be improved.
S502, the main Bluetooth equipment configures the number of connected synchronous stream communication links according to the communication environment parameters.
For example, the master bluetooth device may set a different number of communication links for each connected synchronization stream according to the communication environment parameters. As shown in fig. 4, one connected synchronous stream communication link may be configured between the slave bluetooth device E1 and the master bluetooth device, two connected synchronous stream communication links may be configured between the slave bluetooth device E2 and the master bluetooth device, and three connected synchronous stream communication links may be configured between the slave bluetooth device E3 and the master bluetooth device. Because the slave bluetooth devices E1, E2 and E3 belong to the same connected synchronization group, no matter how many communication links are, the data are synchronous, and the data are not affected by the number of links, and the communication reliability of the slave bluetooth device with poor communication environment is correspondingly improved due to the increase of the communication links with the master bluetooth device, and meanwhile, the communication states of other slave bluetooth devices are not affected.
In a possible embodiment, when the number of connected synchronous stream communication links is greater than or equal to two, the communication link configuration method further includes: setting a corresponding connected synchronous flow identification for each connected synchronous flow communication link configured.
It should be noted that the connected synchronous stream identification (CIS-ID) is used to uniquely identify the corresponding connected synchronous stream communication link. When data transmission is performed, the master bluetooth device may sequentially transmit data according to the sequence of the connected synchronous stream identifiers.
In a possible embodiment, the connected synchronization flow identification is a non-continuous identification.
For example, when the same slave bluetooth device has multiple connected synchronous stream communication links with the master bluetooth device, the connected synchronous stream identifiers of the multiple connected synchronous stream communication links may preferably be a non-continuous identifier, i.e., with the connected synchronous stream identifiers in-between for communication with other slave bluetooth devices. For example, in fig. 4, the slave bluetooth device E1 has one connected synchronous stream communication link, the corresponding connected synchronous stream is identified as 1, the slave bluetooth device E2 has two connected synchronous stream communication links, the corresponding connected synchronous stream is identified as 2 and 4, and the slave bluetooth device E3 has three connected synchronous stream communication links, and the corresponding connected synchronous stream is identified as 3, 5 and 6.
In a possible implementation manner, the master bluetooth device may perform communication with a plurality of the slave bluetooth devices according to a time division multiplexing manner, and sequentially transmit the connected synchronous stream identifiers of the communication links according to the connected synchronous stream identifiers of the communication links, as shown in fig. 6, stagger the connected synchronous stream identifiers of the connected synchronous stream communication links of the same slave bluetooth device, if the slave bluetooth device E2 has corresponding connected synchronous stream identifiers of 2 and 4, and the slave bluetooth device E3 has corresponding connected synchronous stream identifiers of 3, 5 and 6, and during data transmission, the master bluetooth device may transmit according to the label sequence of the identifiers, so as to prevent excessive interference at a certain moment from causing data receiving failure, which is beneficial to further improving the reliability of communication.
In a possible implementation, the slave bluetooth device may preset itself to support communication through multiple connected synchronous stream channels to ensure efficient transmission of data.
By implementing the embodiment of the application, the master Bluetooth device determines the communication environment parameters of the master Bluetooth device and the slave Bluetooth device and sets the number of connected synchronous stream communication links according to the communication environment parameters, so that the communication quality of the slave Bluetooth device with poor communication environment can be improved by configuring more communication links. Because the number of communication links in the same connected synchronization group does not influence the synchronization of data, the communication link number is increased, and the communication reliability between the master Bluetooth device and the slave Bluetooth device is correspondingly improved.
The method of the present application is described above and the apparatus of the present application is described below.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a communication link configuration apparatus according to an embodiment of the present application, which is applied to a master bluetooth device in a bluetooth system, where the bluetooth system may be shown in fig. 3 and fig. 4. As shown in fig. 7, the communication link configuration apparatus 70 is applied to the communication link configuration method described in any of the above embodiments, and includes:
a determining module 701, configured to determine a communication environment parameter between the master bluetooth device and the slave bluetooth device.
A configuration module 702, configured to configure the number of connected synchronous stream communication links according to the communication environment parameters.
In one possible design, the determining module 701 is configured to, when determining a communication environment parameter between the master bluetooth device and the slave bluetooth device, specifically: receiving a first communication data packet of the slave Bluetooth device; and determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device according to the first communication data packet.
In one possible design, the first communication data packet includes: and receiving any one or more of signal strength indication, link quality and packet loss rate in a preset time range.
In one possible design, the determining module 701 is configured to, when determining a communication environment parameter between the master bluetooth device and the slave bluetooth device, specifically: transmitting a second communication data packet to the slave Bluetooth device; receiving a response packet of the slave Bluetooth device for the second communication data packet; and determining the communication environment parameters of the master Bluetooth device and the slave Bluetooth device according to the response packet.
In one possible design, the second communication data packet includes: any one or more of a received signal strength indication, a link quality, and an error rate within a preset time range.
In one possible design, when the number of connected synchronous stream communication links is greater than or equal to two, the configuration module 702 is further configured to: setting a corresponding connected synchronous flow identification for each connected synchronous flow communication link configured.
In one possible design, the connected synchronous flow identification is a non-continuous identification.
It should be noted that, in the embodiment corresponding to fig. 7, the details not mentioned in the foregoing description of the method embodiment may be referred to, and will not be repeated here.
According to the device, the communication environment parameters of the master Bluetooth device and the slave Bluetooth device are determined, and the number of connected synchronous stream communication links is set according to the communication environment parameters, so that the communication quality of the slave Bluetooth device with poor communication environment can be improved by configuring more communication links. Because the number of communication links in the same connected synchronization group does not influence the synchronization of data, the communication link number is increased, and the communication reliability between the master Bluetooth device and the slave Bluetooth device is correspondingly improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application, where the bluetooth device 80 includes a processor 801, a memory 802, and a transceiver 803. The memory 802 is connected to the processor 801, for example, through a bus to the processor 801.
The processor 801 is configured to support the bluetooth device 80 to perform the corresponding functions in the method in the communication link configuration method embodiments described above. The processor 801 is a control center of the bluetooth device 80, connects various parts of the entire bluetooth device using various interfaces and lines, and performs various functions of the bluetooth device 80 and processes data by running or executing software programs and/or modules stored in the memory 802, and calling data stored in the memory 802, thereby performing overall monitoring of the bluetooth device 80. In the alternative, processor 801 may include one or more processing units. The processor 801 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP), a hardware chip or any combination thereof. The hardware chip may be an application specific integrated circuit (application specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The memory 802 may be used to store software programs and modules, and the processor 801 performs various functional applications and data processing of the bluetooth device 80 by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data) created according to the use of the bluetooth device 80, and the like. Further, the memory 802 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 802 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD) or a Solid State Drive (SSD); memory 802 may also include combinations of the above types of memory.
A Transceiver (transmitter) 803 is a device or module for wireless communication that can implement transmission (Transmit) and reception (Receive) functions in the bluetooth device 80. The transceiver 803 may convert an electronic signal into a wireless signal to transmit, receive a wireless signal from another device, and convert the wireless signal into an electronic signal to process. In wireless communication, the transceiver 803 is responsible for converting data into a signal suitable for transmission and decoding the received signal to recover the data. The transceiver is typically composed of a Radio Frequency (RF) front end, a Digital Signal Processing (DSP) and a baseband processing section. The memory 802 may be used by the transceiver 803 for transmitting data, in particular the transceiver 803 is a bluetooth transceiver.
When the bluetooth device is used as the master bluetooth device, the processor 801 may call the program code to:
determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device;
and configuring the number of connected synchronous stream communication links according to the communication environment parameters.
Although not shown, it is understood that the bluetooth device 80 may also include a touch screen, a power source, a speaker, a headset, a camera, a wireless communication module, a communication interface, etc., which are not described herein.
In a possible implementation, the bluetooth device 80 may use bluetooth communication, and in other application scenarios, a cellular mobile data network communication, WIFI, or wired communication may also be used, which the present application is not limited in any way.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the communication link configuration method as described in the previous embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs stored in a computer-readable storage medium, which when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a random-access memory (Random Access memory, RAM), or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.
Claims (11)
1. The communication link configuration method is characterized by being applied to a master Bluetooth device in a Bluetooth system, wherein the Bluetooth system comprises the master Bluetooth device and a slave Bluetooth device, and the master Bluetooth device and the slave Bluetooth device establish synchronous data stream connection of low-power consumption Bluetooth; the communication link configuration method comprises the following steps:
determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device;
and configuring the number of connected synchronous stream communication links according to the communication environment parameters.
2. The communication link configuration method according to claim 1, wherein said determining a communication environment parameter between the master bluetooth device and the slave bluetooth device includes:
receiving a first communication data packet of the slave Bluetooth device;
and determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device according to the first communication data packet.
3. The communication link configuration method according to claim 2, wherein the first communication data packet includes: and receiving any one or more of signal strength indication, link quality and packet loss rate in a preset time range.
4. The communication link configuration method according to claim 1, wherein said determining a communication environment parameter between the master bluetooth device and the slave bluetooth device includes:
transmitting a second communication data packet to the slave Bluetooth device;
receiving a response packet of the slave Bluetooth device for the second communication data packet;
and determining the communication environment parameters of the master Bluetooth device and the slave Bluetooth device according to the response packet.
5. The communication link configuration method according to claim 4, wherein the second communication data packet includes: any one or more of a received signal strength indication, a link quality, and an error rate within a preset time range.
6. The communication link configuration method according to claim 1, wherein when the number of connected synchronous stream communication links is greater than or equal to two, the communication link configuration method further comprises:
setting a corresponding connected synchronous flow identification for each connected synchronous flow communication link configured.
7. The communication link configuration method of claim 6, wherein the connected synchronization flow identification is a non-continuity identification.
8. A communication link configuration apparatus applied to the communication link configuration method according to any one of claims 1 to 7, the communication link configuration apparatus comprising:
the determining module is used for determining communication environment parameters between the master Bluetooth device and the slave Bluetooth device;
and the configuration module is used for configuring the number of connected synchronous stream communication links according to the communication environment parameters.
9. A bluetooth device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the bluetooth device to implement the communication link configuration method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the communication link configuration method according to any of claims 1-7.
11. A bluetooth system comprising a master bluetooth device and a slave bluetooth device, wherein the master bluetooth device is configured to perform the communication link configuration method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310703273.1A CN116647829A (en) | 2023-06-14 | 2023-06-14 | Communication link configuration method, device, equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310703273.1A CN116647829A (en) | 2023-06-14 | 2023-06-14 | Communication link configuration method, device, equipment, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116647829A true CN116647829A (en) | 2023-08-25 |
Family
ID=87639897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310703273.1A Pending CN116647829A (en) | 2023-06-14 | 2023-06-14 | Communication link configuration method, device, equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116647829A (en) |
-
2023
- 2023-06-14 CN CN202310703273.1A patent/CN116647829A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110445511B (en) | Self-adaptive synchronous frequency hopping method and device, wireless AP and communication system | |
CN105208635B (en) | A kind of read method of system information, dispatching method and device | |
CN111435844A (en) | Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication | |
WO2018201926A1 (en) | Uplink carrier switching method, network device, and terminal device | |
US12107677B2 (en) | Rate matching method, device and storage medium | |
US8565672B2 (en) | Communication | |
CN108768507B (en) | Link switching method and system for RRU (radio remote unit) ring network | |
KR20160021264A (en) | Communication method and device | |
CN114727352B (en) | Information transmission method, device, storage medium and electronic equipment | |
WO2021062634A1 (en) | Physical downlink shared channel transmission method and communication device | |
WO2018028675A1 (en) | Random access signal configuration method, apparatus, device, system and storage medium | |
CN111970669A (en) | Bluetooth connection method and device and Bluetooth equipment | |
US10609630B2 (en) | Discovery message processing method and apparatus | |
CN111357210B (en) | Processing equipment and method thereof | |
KR20230088910A (en) | Information transmission processing method, device and terminal | |
US10091088B2 (en) | Mode selection for a communications session | |
WO2023197856A1 (en) | Information transmission method and apparatus, and storage medium and electronic apparatus | |
CN108400802B (en) | Bluetooth receiving method, system and electronic equipment | |
CN116647829A (en) | Communication link configuration method, device, equipment, system and storage medium | |
JP2007521721A (en) | Method and apparatus for reducing the average time required for a communication unit to connect to a communication network | |
CN111586732A (en) | Terminal test method, terminal test device, test equipment and storage medium | |
WO2019136730A1 (en) | Link reconfiguration processing method and related products | |
US10200845B2 (en) | D2D signal detecting method and device | |
WO2022151895A1 (en) | Resource determination method and apparatus | |
US11917043B2 (en) | Data transmission method and apparatus |
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 |