Bluetooth communication method and communication system, server-side equipment and management-side equipment

By introducing the first adaptive adjustment protocol stack in low-power Bluetooth technology and dynamically adjusting transmission parameters, the problem of insufficient flexibility and power consumption management of protocol stack in the prior art is solved, and more efficient communication and lower energy consumption are achieved.

CN119562237APending Publication Date: 2025-03-04BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411660603.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

Existing Bluetooth low-power technologies have shortcomings in protocol stack flexibility and power consumption management, resulting in low communication efficiency and high equipment energy consumption.

Method used

The first adaptive adjustment protocol stack is adopted to dynamically adjust and update transmission parameters by monitoring the data change rate and transmission auxiliary parameters, thereby improving communication efficiency and reducing energy consumption.

Benefits of technology

It effectively improves the communication efficiency of server-side equipment, reduces the energy consumption of equipment, extends the battery life of equipment, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562237A_ABST
    Figure CN119562237A_ABST
Patent Text Reader

Abstract

The invention discloses a Bluetooth communication method, a Bluetooth communication system, server-side equipment and management-side equipment, and the Bluetooth communication method of one embodiment is applied to the server-side equipment. Comprising the following steps: a server-side device sends a monitoring data message comprising monitoring data and transmission auxiliary parameters to a management-side device according to transmission parameters configured by a first adaptive adjustment protocol stack; the first adaptive adjustment protocol stack judges whether the data change rate of the monitoring data exceeds a preset change threshold value or not; if yes, the transmission parameters are adjusted and updated through a first self-adaptive adjustment protocol stack of the server equipment according to the data change rate and the transmission auxiliary parameters, and the monitoring data message is continuously sent according to the adjusted transmission parameters; otherwise, continuing to send the monitoring data message. According to the embodiment provided by the invention, the transmission parameter of the server-side equipment is dynamically adjusted according to the data change rate of the monitoring data of the monitoring data message by the first adaptive adjustment protocol stack of the server-side equipment, so that the communication efficiency is effectively improved and the energy consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and in particular to a Bluetooth communication method and system, a server device, and a management device. Background Art

[0002] With the popularity of IoT devices, the demand for low-power, efficient and flexible wireless communication technologies is increasing. Bluetooth Low Energy (BLE) technology has become one of the main communication technologies for IoT devices due to its low energy consumption, easy integration and wide device compatibility. However, the existing Bluetooth Low Energy technology still has some shortcomings in some specific application scenarios, especially in terms of protocol stack flexibility and power consumption management. Therefore, those skilled in the art are in urgent need of improving the communication efficiency of Bluetooth Low Energy technology and reducing the energy consumption of the devices on both sides of the communication. Summary of the invention

[0003] In order to solve at least one of the above problems, a first embodiment of the present invention provides a Bluetooth communication method, which is applied to a server device, wherein the server device includes a first adaptive adjustment protocol stack, and the Bluetooth communication method includes:

[0004] The server device sends a monitoring data message to the management device according to the transmission parameters, where the transmission parameters are configured by the first adaptive adjustment protocol stack for the server device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0005] The first adaptive adjustment protocol stack determines whether a data change rate of the monitoring data exceeds a preset change threshold;

[0006] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0007] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0008] For example, in the Bluetooth communication method provided in some embodiments of the present application, the transmission auxiliary parameters include the power of the server device, the data transmission frequency, the data transmission stability and the environmental interference, and the first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, further comprising:

[0009] The first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter and according to the priority of the transmission auxiliary parameter.

[0010] For example, in the Bluetooth communication method provided in some embodiments of the present application, the first adaptive adjustment protocol stack includes a physical layer, a link layer and a general access specification layer, and the transmission parameters include the transmission power of the physical layer, the number of retransmissions of the link layer, and the connection time interval and slave delay of the general access specification layer;

[0011] Before the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, the Bluetooth communication method includes: generating a transmission parameter configuration table according to the priority of the transmission auxiliary parameter, the transmission parameter configuration table including a plurality of parameter configuration items, each parameter configuration item including a different parameter combination of the transmission power, the number of retransmissions, the connection time interval and the slave delay;

[0012] The first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, further comprising: finding corresponding parameter configuration items in the transmission parameter configuration table according to the priority of the transmission auxiliary parameters, and using the parameter configuration items to adjust and update the transmission parameters.

[0013] For example, in the Bluetooth communication method provided in some embodiments of the present application, before the server device sends the monitoring data message to the management device according to the transmission parameter, the Bluetooth communication method further includes:

[0014] The server device performs a first initialization configuration in response to a power-on operation, wherein the first initialization configuration includes configuring a transmission parameter of the server device according to a preset initialization parameter by the first adaptive adjustment protocol stack;

[0015] The server device sends a broadcast message and starts a service, wherein the broadcast message includes an identifier of the server device;

[0016] The server-side device establishes a low-power Bluetooth communication connection with the management-side device in response to the received connection request, where the connection request is generated after the management-side device scans the broadcast message.

[0017] For example, in the Bluetooth communication method provided in some embodiments of the present application, after the server device performs a first initialization configuration in response to a power-on operation, and before the server device sends a monitoring data message to the management device according to the transmission parameters, the Bluetooth communication method further includes:

[0018] The first adaptive adjustment protocol stack configures the transmission parameters of the server device according to an application scenario of the server device.

[0019] For example, in the Bluetooth communication method provided in some embodiments of the present application, the management terminal device includes a second adaptive adjustment protocol stack,

[0020] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter, further comprising:

[0021] The server device generates a parameter adjustment message according to the updated transmission parameters and sends it to the management device, so that the second adaptive adjustment protocol stack adjusts and updates the transmission parameters of the management device according to the transmission parameters of the server.

[0022] A second embodiment of the present invention provides a Bluetooth communication method, which is applied to a management terminal device, wherein the management terminal device includes a second adaptive adjustment protocol stack, and the Bluetooth communication method includes:

[0023] The management end device performs a second initialization configuration in response to a power-on operation, wherein the second initialization configuration includes configuring a transmission parameter of the management end device according to a preset initialization parameter by the second adaptive adjustment protocol stack;

[0024] The management end device performs scanning, sends a connection request to the server end according to a broadcast message sent by the server end device to be connected, and establishes a low-power Bluetooth communication connection with the server end device, wherein the broadcast message includes an identifier of the server end device;

[0025] The management-end device receives the monitoring data message sent by the server-end device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server-end device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

[0026] For example, in the Bluetooth communication method provided in some embodiments of the present application,

[0027] The management end device receives a parameter adjustment message sent by the server end device, where the parameter adjustment message is generated after the server end device adjusts and updates the transmission parameters of the server end device according to the first adaptive adjustment protocol stack;

[0028] The second adaptive adjustment protocol stack of the management end device adjusts and updates the transmission parameters of the management end device according to the transmission parameters of the server in the parameter adjustment message.

[0029] A third embodiment of the present invention provides a Bluetooth communication system, comprising a management end device and at least one server end device, wherein the server end device comprises a first adaptive adjustment protocol stack, and the server end device is configured as follows:

[0030] Sending a monitoring data message to the management end device according to a transmission parameter, wherein the transmission parameter is configured by the first adaptive adjustment protocol stack for the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0031] Using the first adaptive adjustment protocol stack to determine whether the data change rate of the monitoring data exceeds a preset change threshold,

[0032] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0033] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0034] A fourth embodiment of the present invention provides a server device, comprising a first communication unit and a first adaptive adjustment unit, wherein:

[0035] The first communication unit is configured to send a monitoring data message to the management end device according to a transmission parameter of the server end device, wherein the transmission parameter is configured for the server end device by a first adaptive adjustment protocol stack of the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0036] The first adaptive adjustment unit is configured to use the first adaptive adjustment protocol stack to determine whether a data change rate of the monitoring data exceeds a preset change threshold.

[0037] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0038] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0039] A fifth embodiment of the present invention provides a management terminal device, including a second communication unit and a second adaptive adjustment unit, wherein

[0040] The second adaptive adjustment unit is configured to perform a second initialization configuration in response to a power-on operation of the management terminal device, wherein the second initialization configuration includes configuring a transmission parameter of the management terminal device according to a preset initialization parameter using a second adaptive adjustment protocol stack;

[0041] The second communication unit is configured to scan, send a connection request to the server according to a broadcast message sent by the server device to be accessed, and establish a low-power Bluetooth communication connection with the server device, wherein the broadcast message includes an identifier of the server device; receive a monitoring data message sent by the server device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

[0042] A sixth embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon.

[0043] When the program is executed by a processor, the method described in the first embodiment is implemented;

[0044] or

[0045] When the program is executed by a processor, the method described in the second embodiment is implemented.

[0046] A seventh embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0047] When the processor executes the program, the method described in the first embodiment is implemented;

[0048] or

[0049] When the processor executes the program, the method described in the second embodiment is implemented.

[0050] The beneficial effects of the present invention are as follows:

[0051] In view of the existing problems, the present invention develops a Bluetooth communication method and communication system, a server device and a management device. According to the monitoring data in the monitoring data message sent by the server device to the management device, the data change rate of the monitoring data and the preset change threshold are compared through the first adaptive adjustment protocol stack of the server device, and the transmission parameters of the server device are dynamically adjusted according to the comparison results, so as to effectively improve the communication efficiency of the server device and reduce the energy consumption of the server device. In particular, according to the transmission parameters adjusted by the server device, the transmission parameters of the management device are adjusted through the second adaptive adjustment protocol stack of the management device, so as to further reduce the energy consumption of the server device. The embodiments of the present invention effectively make up for the problems existing in the prior art, effectively improve the battery life of the server device, and have broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0053] Figure 1 A flowchart showing a Bluetooth communication method according to an embodiment of the present invention is shown;

[0054] Figure 2 A schematic diagram showing the structure of a low-power Bluetooth protocol stack;

[0055] Figure 3 A schematic diagram showing the structure of a Bluetooth communication system according to an embodiment of the present invention is shown;

[0056] Figure 4 A swim lane diagram showing a Bluetooth communication method according to an embodiment of the present invention;

[0057] Figure 5 A structural block diagram of a server device according to an embodiment of the present invention is shown;

[0058] Figure 6 A flowchart showing a Bluetooth communication method according to another embodiment of the present invention;

[0059] Figure 7 A structural block diagram of a management terminal device according to an embodiment of the present invention is shown;

[0060] Figure 8 A schematic structural diagram of a computer device according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0061] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present invention.

[0062] In the related art, the Bluetooth Low Energy (BLE) protocol stack has the following problems:

[0063] First, the protocol stack lacks scalability. Currently, most BLE devices use a predefined fixed protocol stack structure, and the functions and parameters of each layer from the application layer to the physical layer are determined when the device is manufactured. The fixed protocol stack structure cannot be flexibly configured according to different application requirements, resulting in the device being unable to achieve optimal performance in different application scenarios. For example, in high-frequency data transmission and low-frequency data transmission scenarios, the fixed protocol stack configuration is difficult to meet the needs of both at the same time.

[0064] Second, power consumption management is not sophisticated enough. The power consumption management of existing BLE devices mainly relies on preset modes, such as sleep mode, active mode, and standby mode. The switching of these modes is triggered by predefined conditions and cannot be adaptively adjusted according to real-time application needs. Fixed power consumption modes are difficult to adapt to the changing needs of devices during actual use, resulting in inefficient energy consumption management and failure to maximize battery life.

[0065] Third, the limitation of communication performance. Since the protocol stack parameters have been determined in the design stage, the existing BLE devices cannot improve the communication performance by dynamically adjusting the parameters when facing complex communication environments (such as high interference and long-distance transmission). This leads to the limitation of the reliability and real-time performance of data transmission, especially in scenarios with frequent data transmission and large environmental changes.

[0066] Fourth, there is a lack of intelligent adjustment mechanism. The existing technology lacks a mechanism for intelligent adjustment based on real-time communication needs and device status. For example, when the device battery is low, the protocol stack cannot be automatically adjusted to reduce power consumption; when environmental interference increases, the parameters of the link layer and physical layer cannot be dynamically adjusted to improve transmission stability.

[0067] In response to the above problems, Figure 1 As shown, an embodiment of the present invention provides a Bluetooth communication method, which is applied to a server device, wherein the server device includes a first adaptive adjustment protocol stack, and the Bluetooth communication method includes:

[0068] The server device sends a monitoring data message to the management device according to the transmission parameters, where the transmission parameters are configured by the first adaptive adjustment protocol stack for the server device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0069] The first adaptive adjustment protocol stack determines whether a data change rate of the monitoring data exceeds a preset change threshold;

[0070] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0071] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0072] In this embodiment, the two parties communicating using the low-power Bluetooth protocol stack are a server device and a management device, for example, one or more server devices are connected and communicated with a management device via low-power Bluetooth technology. The server device is a service device in an IoT device, especially a small, independently usable, and movable device, such as smart temperature sensors, smart bulbs, and smart sockets in the field of smart homes, smart watches and smart bracelets in the field of wearable devices, and smart blood pressure monitors and smart electrocardiogram monitors in the field of medical monitoring.

[0073] In this embodiment, in response to the low power consumption requirement of the server-side device, the server-side device generates a monitoring data message based on the specific monitoring data and transmission auxiliary parameters monitored, and sends the message to the management-side device through the transmission parameters set by the first adaptive adjustment protocol stack; at the same time, the first adaptive adjustment protocol stack monitors the data change rate of the monitoring data in the monitoring data message. Specifically, the data change rate is compared with a preset change threshold. When the data change rate is greater than the change threshold, the first adaptive adjustment protocol stack dynamically adjusts and updates the transmission parameters based on the data change rate and the transmission auxiliary parameters, and uses the updated transmission parameters to continue to communicate with the management-side device at preset time intervals. When the data change rate is less than or equal to the change threshold, the current transmission parameters continue to be used to communicate with the management-side device at preset time intervals.

[0074] This embodiment monitors the data change rate of the monitoring data in real time through the first adaptive adjustment protocol stack of the server device, and dynamically adjusts the transmission parameters of the server device when the data change rate exceeds the change threshold, thereby effectively improving the communication efficiency of the server device and reducing the energy consumption of the server device, effectively improving the battery life of the server device, and improving the user experience.

[0075] In an optional embodiment, the transmission auxiliary parameters include the power of the server device, the data transmission frequency, the data transmission stability and the environmental interference, and the first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters further includes:

[0076] The first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter and according to the priority of the transmission auxiliary parameter.

[0077] In this embodiment, the transmission auxiliary parameters are parameters for the normal and stable operation of the server device, such as but not limited to the power of the server device, data transmission frequency, data transmission stability, and environmental interference. On the premise of ensuring the stable operation of the server device, the power of the server device is taken as the first reference factor, that is, the highest priority, and the data transmission frequency, data transmission stability, and environmental interference of the server device are set as priorities respectively, so that the first adaptive adjustment protocol stack adjusts the transmission parameters according to the priority of each factor, thereby further reducing the power consumption of the server device and improving the stability of the server device.

[0078] It is worth noting that this embodiment is only used to illustrate the specific implementation method of the present application. Those skilled in the art should select appropriate transmission auxiliary parameters and set corresponding priorities according to actual application requirements to ensure the stable operation of the server-side device as the design criterion, which are all within the protection scope of the present application and will not be repeated here.

[0079] In an optional embodiment, the first adaptive adjustment protocol stack includes a physical layer, a link layer and a common access specification layer, and the transmission parameters include the transmission power of the physical layer, the number of retransmissions of the link layer, and the connection time interval and slave delay of the common access specification layer.

[0080] like Figure 2As shown in the figure, it is a schematic diagram of the structure of the low-power Bluetooth protocol stack (BLE Protocol Stack), specifically, it includes a host (Host), a host control interface (HCI) and a controller (Controller), wherein the host (Host) includes the logical link control and adapter protocol (Logical Link Control and Adaption Protocol, L2CAP), the security management layer (Security Manager, SM), the generic access profile layer (Generic Access Profile, GAP), the attribute protocol layer (Attribute Protocol, ATT), the generic attribute profile layer (Generic Attribute Profile, GATT), and the controller (Controller) includes the physical layer (Physical Layer, PHY) and the link layer (Link Layer, LL). The main function of the BLE protocol stack is to package the data sent by the user into the format of a low-power Bluetooth data packet and send it out, and to parse the received data according to the format of the low-power Bluetooth data packet. Among them, the physical layer PHY is used to specify the wireless frequency band (2.4GHz) used by BLE, the modulation and demodulation mode (GFSK Gaussian frequency shift keying), the transmission power, etc. Whether the PHY layer is well done will directly determine the power consumption, sensitivity and other radio frequency indicators of the BLE chip. The link layer LL is the core of the entire BLE protocol stack. The LL layer defines how two devices use radio to transmit information. It includes detailed definitions of messages, broadcasts, and data channels. It also specifies the process of discovering other devices, broadcast data, connection establishment, connection management, and data transmission during the connection.

[0081] In this embodiment, according to the structure of the low-power Bluetooth protocol stack, an extensible protocol stack management mechanism is introduced. During operation, the monitoring data is monitored in real time and the transmission parameters are dynamically adjusted according to the data change rate of the monitoring data and the transmission auxiliary parameters. That is, the parameters of each layer module are dynamically adjusted and updated according to real-time needs to achieve flexible configuration of the protocol stack. Specifically, the transmission parameters include the transmission power of the physical layer, the number of retransmissions of the link layer, and the connection time interval and slave delay of the general access specification layer. This embodiment aims at the adaptability of the server device in different application scenarios to ensure that the best performance can be achieved under high-frequency data transmission, low-frequency data transmission and different environmental interference conditions. At the same time, it supports flexible loading and unloading of protocol stack modules according to application requirements to optimize system resource utilization.

[0082] Specifically, the BLE specification stipulates that the maximum transmit power is +20dBM and the minimum transmit power is -20dBM. This embodiment is divided into the following four power levels according to the maximum output power supported by the server device: [10, 20]dBM is power level 1, [4, 10]dBM is power level 1.5, [0, 4]dBM is power level 2, and [-20, 0]dBM is power level 3. Considering that the server device has low power consumption and low transmit power, which may lead to it not being discovered by other devices; the server device has high power consumption and high transmit power, which is easy to be discovered by other devices, the setting is made. For example, the transmission power of the two devices in BLE communication is set according to the application scenarios and environments of different devices: for devices that are not convenient to connect to the power supply but are in a fixed place, the surrounding environment is simple, and the distance to the scanning device is close, in order to reduce power consumption and save power, the transmission power is set to success rate level 2 or power level 3 during the device initialization stage; for devices that are connected to the power supply, the location is not fixed, the position changes frequently, and the distance to the scanning device is far away, because there is no need to consider power consumption and power saving, to ensure that the device can be successfully scanned and discovered, the transmission power is set to success rate level 1 or power level 1.5.

[0083] At the same time, the BLE specification uses an ACK mechanism to confirm the received data packets. After the sender successfully sends a data packet, the receiver will return an ACK signal to indicate that the data packet has been successfully received. If the sender does not receive an ACK within a certain period of time, it will be considered that the data packet is lost and then try to resend it. The default number of retransmissions in the general protocol stack is 1. The number of retransmissions in this embodiment can be set according to the device in different scenarios. For example, if it is a motion scene and high-frequency data transmission is required, the number of retransmissions is set to 5 times to ensure data transmission reliability. For example, if it is a static scene and high-frequency data transmission is not required, the number of retransmissions is set to 1 time to reduce power consumption.

[0084] At the same time, the BLE specification defines the general access specification layer to limit the connection between the two communicating parties, and limits it through the connection time interval and slave latency. Specifically, the connection interval (Connection Interval): represents the time interval between two connection events. A shorter connection interval means that data packets can be transmitted more frequently, but it also leads to increased energy consumption; if the connection interval is long, the communication frequency is reduced, the waiting time for data transmission is longer, and the power consumption is reduced. The time range of the connection time interval is 7.5ms~4.0s. For example, when the device is turned on, considering that the device needs to transmit data at a high frequency, the time interval is set to 10ms; when the device needs to consider power consumption, the time interval is set to 3s or 4s. Slave Latency (Slave Latency): represents the number of connection events that the slave device can skip. When the slave latency is set to 3, it means that the master device sends 4 requests and the slave device responds 1 time. A small slave latency means that the host data packet needs to be replied in each connection event, there is a problem of increased power consumption, but the data transmission speed is increased. A large slave latency reduces power consumption and reduces data transmission speed. In this embodiment, the value range of the slave delay is 0 to 499. When the device is turned on, it is set to 0 when the device has requirements for data transmission speed and does not consider power consumption. If the device has no requirements for data transmission speed but has requirements for power consumption, it is set to 20. During operation, the slave delay can be dynamically adjusted according to the actual situation of the device.

[0085] In an optional embodiment, before the first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, the Bluetooth communication method includes: generating a transmission parameter configuration table according to the priority of the transmission auxiliary parameters, the transmission parameter configuration table including multiple parameter configuration items, each parameter configuration item including a different parameter combination of the transmission power, the number of retransmissions, the connection time interval and the slave delay;

[0086] The first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, further comprising: finding corresponding parameter configuration items in the transmission parameter configuration table according to the priority of the transmission auxiliary parameters, and using the parameter configuration items to adjust and update the transmission parameters.

[0087] In this embodiment, multiple transmission scenarios are preformed according to the priority of transmission auxiliary parameters, and different transmission parameters are defined for different transmission scenarios, that is, one transmission scenario corresponds to a group of transmission parameters, and a transmission parameter configuration table is formed corresponding to multiple transmission scenarios, and one parameter configuration item in the transmission parameter configuration table includes a group of transmission parameters. In actual application, the first adaptive adjustment protocol stack obtains the corresponding parameter configuration item from the transmission parameter configuration table according to the real-time monitoring of the corresponding transmission scenario, and sets it according to the parameter configuration item, thereby realizing dynamic adjustment of the transmission parameters.

[0088] To further illustrate the specific implementation of this embodiment, a specific example is used for illustration. Figure 3 The Bluetooth communication system of the present application is shown, including a management terminal device and at least one server device. The server device of this embodiment is a smart temperature sensor in a smart home device, and the management terminal device is a desktop computer. Figure 4 As shown, the following steps are included:

[0089] In the first step, the server device performs a first initialization configuration in response to a power-on operation, wherein the first initialization configuration includes configuring the transmission parameters of the server device according to preset initialization parameters by the first adaptive adjustment protocol stack.

[0090] In this embodiment, the intelligent temperature sensor is used as a server device and is set indoors. After startup, the server device is initialized through the first adaptive adjustment protocol stack, including the setting of the server device's own parameters and the setting of transmission parameters. For example, after startup, the transmission power is set to power level 1.5, the number of retransmissions is 3 times, the connection time interval is 15ms, and the slave delay is 0.

[0091] It is worth noting that in this embodiment, for the desktop computer as the management terminal device, after booting up, the second adaptive adjustment protocol stack is used to configure the transmission parameters of the management terminal device according to the preset initialization parameters, such as setting the own parameters and transmission parameters of the management terminal device. Those skilled in the art should set it according to the actual application requirements, which will not be repeated here.

[0092] In the second step, the server device sends a broadcast message and starts the service, wherein the broadcast message includes the identifier of the server device.

[0093] In this embodiment, after completing initialization, the server device sends a broadcast message including its own identification, such as a device ID that can uniquely identify the server device, so that the management device can scan it; at the same time, the service is started, that is, the intelligent temperature sensor senses the temperature.

[0094] It is worth noting that in this embodiment, after the desktop computer is initialized, it starts to scan the surrounding server devices, for example, it scans the broadcast message sent by the smart temperature sensor, and generates a connection request according to the device ID in the broadcast message and sends it to the server device.

[0095] In the third step, the server device establishes a low-power Bluetooth communication connection with the management device in response to the received connection request, wherein the connection request is generated after the management device scans the broadcast message.

[0096] In this embodiment, the server device establishes a connection with the management device based on the connection request sent by the management device. After receiving the connection reply message sent by the management, such as an ACK message, it indicates that the server device establishes a low-power Bluetooth communication connection with the management device, that is, the smart temperature sensor establishes a connection with the desktop computer.

[0097] In the fourth step, the server device sends a monitoring data message to the management device according to the transmission parameters, where the transmission parameters are configured by the first adaptive adjustment protocol stack for the server device, and the monitoring data message includes monitoring data and transmission auxiliary parameters.

[0098] In this embodiment, after the smart temperature sensor is connected to the desktop computer via low-power Bluetooth, the smart temperature sensor sends a monitoring data message to the management end according to a preset time interval and the transmission parameters set initially. The monitoring data message includes monitoring data formed by the real-time temperature sensed by the smart temperature sensor, as well as parameters such as the power of the smart temperature sensor itself, data transmission frequency, data transmission stability, and environmental interference. Among them, the data transmission frequency is obtained based on the amount of message data sent at a preset time interval, and the data transmission stability and environmental interference are obtained based on the message sending success rate.

[0099] It is worth noting that the transmission auxiliary parameters of this embodiment can also be obtained by monitoring and obtaining parameters such as the communication traffic, data packet size, transmission frequency and energy consumption of the server device through the first adaptive adjustment protocol stack. Those skilled in the art should select appropriate monitoring parameters according to actual application requirements, and obtain transmission auxiliary parameters as the basic criterion, which will not be repeated here.

[0100] In the fifth step, the first adaptive adjustment protocol stack determines whether the data change rate of the monitoring data exceeds a preset change threshold; if the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, and jumps to the server-side device to send a monitoring data message to the management-side device according to the transmission parameters; if the data change rate does not exceed the change threshold, jumps to the server-side device to send a monitoring data message to the management-side device according to the transmission parameters.

[0101] In this embodiment, the first adaptive adjustment protocol stack monitors the rate of change of the real-time temperature of the intelligent temperature sensor. For example, when the real-time temperature changes greatly within a preset time period, the data transmission frequency increases. For example, the ambient temperature monitored changes from 10 degrees to 15 degrees within a preset time period of 30s, and the temperature change rate is greater than 50%. The increase in the data transmission frequency causes the power consumption of the intelligent temperature sensor to increase accordingly. In view of this situation, considering that the intelligent temperature sensor is powered by a battery, frequent transmission directly affects the consumption of battery power. In order to ensure the use time of the intelligent temperature sensor, the existing power of the intelligent temperature sensor is considered as the first priority. For this application scenario, the corresponding parameter configuration items are obtained from the transmission parameter configuration table, such as reducing the transmission power, reducing the transmission power to power level 3, setting the number of retransmissions to 0, setting the connection time interval to 4s, and setting the slave delay to 400; using the first adaptive adjustment protocol stack to dynamically adjust the transmission parameters, and using the adjusted transmission parameters to communicate with the desktop computer, on the basis of increasing the data transmission frequency, the transmission parameters are adjusted to reduce power consumption, ensure the stable operation of the intelligent temperature sensor, and increase the battery life of the intelligent temperature sensor. If the rate of change of the ambient temperature does not exceed the change threshold and the data transmission frequency is in a stable state, the current transmission parameters are maintained without adjustment.

[0102] It is worth noting that during the normal communication between the smart temperature sensor and the desktop computer, when there is environmental interference, the transmission parameters are dynamically adjusted when the current power is sufficient, for example, greater than or equal to 70%, such as increasing the transmission power, reducing the transmission power to power level 1, setting the number of retransmissions to 5, setting the connection time interval to 10ms, and setting the slave delay to 5, that is, dynamically adjusting the transmission parameters according to the application scenario of the server device to ensure the normal operation of the server device and the management device under environmental interference; when there is environmental interference and the current power is 40%, dynamically adjusting the transmission parameters, such as slightly increasing the transmission power, reducing the transmission power to power level 2, setting the number of retransmissions to 3, setting the connection time interval to 10ms, and setting the slave delay to 3, that is, dynamically adjusting the transmission parameters according to the application scenario of the server device to ensure the normal operation of the server device and the management device under environmental interference and low power. This embodiment improves the configuration flexibility of the low-power Bluetooth protocol stack, improves the reliability and real-time performance of data transmission, and finely manages the power consumption of the server device to maximize battery life by adjusting the transmission parameters in different application scenarios when the data change rate exceeds the change threshold, and making different degrees of dynamic adjustments according to the priority of the transmission auxiliary parameters.

[0103] At this point, the communication process between the intelligent temperature sensor as a server-side device and the desktop computer as a management-side device is realized, including the initialization stage, the communication connection stage, the normal communication stage and the dynamic adjustment of transmission parameters stage, etc. The real-time monitoring and dynamic adjustment of the server-side device are realized through the first adaptive adjustment protocol stack, which effectively improves the communication efficiency of the server-side device and reduces the energy consumption of the server-side device.

[0104] Considering that the same server device is set in different environments, in an optional embodiment, after the server device performs a first initialization configuration in response to a power-on operation, and before the server device sends a monitoring data message to the management device according to the transmission parameters, the Bluetooth communication method further includes:

[0105] The first adaptive adjustment protocol stack configures the transmission parameters of the server device according to an application scenario of the server device.

[0106] In this embodiment, after the server device is initialized and configured according to the default settings, before communicating with the management device, it can perform more detailed settings through the first adaptive adjustment protocol stack. For example, the intelligent temperature sensor of the above embodiment is set in a room of an ordinary residence and in a mine shaft of a coal mine. Different application scenarios are formed according to different factors such as the temperature environment, communication environment and geographical location set by the server device, and transmission parameters corresponding to different application scenarios are set, thereby realizing detailed and personalized settings of the server device, flexibly configuring and effectively expanding the low-power Bluetooth protocol stack, realizing refined power consumption management, and real-time and reliable communication performance. The application scenario configuration of this embodiment can be after the server device is initialized and configured, before sending a broadcast message and starting a service, or after sending a message and starting a service. This embodiment does not specifically limit this.

[0107] It is worth noting that, in this embodiment, different power consumption modes are set for the same server device in different time periods, such as working periods and non-working periods in industrial scenarios, through the first adaptive adjustment protocol stack. For example, an active mode is set during the working period, and the transmission parameters corresponding to the active mode are used to communicate with the management device, and then real-time dynamic adjustments are made according to the data change rate of the monitoring data; in the non-working period, the transmission parameters corresponding to the standby mode are used, or the transmission parameters corresponding to the sleep mode are used to communicate with the management device, and then real-time dynamic adjustments are made according to the data change rate of the monitoring data, thereby further improving the flexible configuration and fine management performance of the low-power Bluetooth protocol stack.

[0108] To further improve power consumption management, in an optional embodiment, as Figure 3 and Figure 4 As shown, the management terminal device includes a second adaptive adjustment protocol stack,

[0109] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter, further comprising:

[0110] The server device generates a parameter adjustment message according to the updated transmission parameters and sends it to the management device, so that the second adaptive adjustment protocol stack adjusts and updates the transmission parameters of the management device according to the transmission parameters of the server.

[0111] In this embodiment, for the updated transmission parameters of the server device, the server device sends the updated transmission parameters to the management device by forming a parameter adjustment message, so that the second adaptive adjustment protocol stack of the management device can make corresponding adjustments to the transmission parameters of the management device. While dynamically adjusting the management device, it further cooperates with the transmission rhythm of the server device to improve the use stability of the server device and reduce the power consumption of the server device.

[0112] To facilitate the description of the specific implementation of the present application, a smart bracelet of a wearable device is used as a server device and a desktop computer is used as a management device as an example, including the following steps:

[0113] In the initialization stage, after the smart bracelet is turned on, the preset initialization parameters are loaded through the first adaptive adjustment protocol stack, that is, the transmission parameters are configured according to the preset initialization parameters. For example, the smart bracelet is in a static state by default, and the first adaptive adjustment protocol stack is configured to a low-frequency transmission state including heart rate monitoring data, for example, the data transmission frequency of the initialization parameters is configured to a lower frequency and the link layer activity is lower. Specifically, the transmission power of the smart bracelet is set to power level 2, the number of retransmissions is 1, the connection time interval is 20ms, and the slave delay is 3.

[0114] During the communication connection stage, the smart bracelet sends a broadcast message and starts the service to facilitate the management device to identify and establish a low-power Bluetooth communication connection.

[0115] In the communication stage, the smart bracelet monitors through built-in sensors, such as accelerometers, heart rate sensors, etc., and generates monitoring data messages with monitoring data and transmission auxiliary parameters such as power, and sends them to the desktop computer according to the set transmission parameters. For example, when the smart bracelet changes from a static state to a moving state, such as walking at a constant speed, the data transmission frequency increases and enters the dynamic adjustment stage.

[0116] In the dynamic adjustment stage, the smart bracelet dynamically adjusts the transmission parameters of the smart bracelet according to the monitored user status and uses the first adaptive adjustment protocol stack to extend the battery life and battery life of the smart bracelet. Specifically, the transmission power of the smart bracelet is set to power level 2, the number of retransmissions is 2, the connection time interval is 10ms, and the slave delay is 2. After adjusting and updating the transmission parameters, the smart bracelet continues to send monitoring data messages to the desktop computer. For another example, when the monitoring data of the smart bracelet changes, the first adaptive adjustment protocol stack monitors in real time and determines that the user is in a fast running state, and dynamically adjusts the transmission parameters of the smart bracelet, and sets the transmission power of the smart bracelet to power level 1.5, the number of retransmissions is 5, the connection time interval is 7.5ms, and the slave delay is 0. For another example, when the power state of the smart bracelet is low, for example, when the power is less than or equal to 30%, the first adaptive adjustment protocol stack dynamically adjusts and updates the transmission parameters, and sets the transmission power of the smart bracelet to power level 3, the number of retransmissions is 0, the connection time interval is 4s, and the slave delay is 400. That is, when the user is in motion, the data transmission frequency increases, and the transmission power and the number of retransmissions are adjusted and updated to ensure the stable transmission of the monitoring data. Specifically, when the user is in motion, the data transmission frequency of the heart rate data and motion data increases, and the number of retransmissions of the link layer is dynamically increased to ensure the real-time and accuracy of the data; when the user is stationary, the data transmission frequency is reduced, the number of retransmissions of the link layer is dynamically reduced, and the low power consumption mode is entered to extend the battery life. Similarly, the first adaptive adjustment protocol stack sets the power consumption mode according to the user's activity status, enters the standby mode or even the sleep mode when the user is stationary, and regularly wakes up the smart bracelet at predetermined time intervals to synchronize data to the desktop computer, and maintains the standby mode or sleep mode after data synchronization; enters the active mode when the user is in motion, improves the data transmission efficiency and dynamically adjusts the transmission parameters to ensure the long-term stable operation of the smart bracelet.

[0117] Taking into account the situation where the server device has a backup battery, in an optional embodiment, the backup battery is managed through a first adaptive adjustment protocol stack, that is, when the battery power of the server device reaches a preset warning value, it switches to the backup battery, and the transmission parameters of the server device are dynamically adjusted according to the power of the backup battery through the first adaptive adjustment protocol stack to further improve the communication efficiency of the server device, reduce the power consumption of the server device, and extend the use time of the server device.

[0118] Based on the Bluetooth communication method of the above embodiment, an embodiment of the present invention further provides a server device, such as Figure 5 As shown, it includes a first communication unit and a first adaptive adjustment unit, wherein,

[0119] The first communication unit is configured to send a monitoring data message to the management end device according to a transmission parameter of the server end device, wherein the transmission parameter is configured for the server end device by a first adaptive adjustment protocol stack of the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0120] The first adaptive adjustment unit is configured to use the first adaptive adjustment protocol stack to determine whether a data change rate of the monitoring data exceeds a preset change threshold.

[0121] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0122] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0123] In this embodiment, in response to the low power consumption requirement of the server device, the server device communicates with the management device through the first communication unit, monitors the data change rate of the monitoring data in real time through the first adaptive adjustment protocol stack of the first adaptive adjustment unit, and dynamically adjusts the transmission parameters of the server device when the data change rate exceeds the change threshold, thereby effectively improving the communication efficiency of the server device and reducing the energy consumption of the server device, effectively improving the battery life of the server device, and improving the user experience.

[0124] like Figure 6 As shown, an embodiment of the present invention further provides a Bluetooth communication method, which is applied to a management terminal device, wherein the management terminal device includes a second adaptive adjustment protocol stack, and the Bluetooth communication method includes:

[0125] The management end device performs a second initialization configuration in response to a power-on operation, wherein the second initialization configuration includes configuring a transmission parameter of the management end device according to a preset initialization parameter by the second adaptive adjustment protocol stack;

[0126] The management end device performs scanning, sends a connection request to the server end according to a broadcast message sent by the server end device to be connected, and establishes a low-power Bluetooth communication connection with the server end device, wherein the broadcast message includes an identifier of the server end device;

[0127] The management-end device receives the monitoring data message sent by the server-end device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server-end device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

[0128] In this embodiment, the management-end device sets the transmission parameters in the initialization phase through the second adaptive adjustment protocol stack, identifies the server-end device and establishes a low-power Bluetooth communication connection in the scanning phase, and receives the monitoring data message of the server-end device dynamically adjusted by the first adaptive adjustment protocol stack in the communication phase, thereby effectively improving the communication efficiency and power consumption management of both devices in the low-power Bluetooth communication and improving the user experience.

[0129] In an optional embodiment, the management end device receives a parameter adjustment message sent by the server end device, where the parameter adjustment message is generated after the server end device adjusts and updates the transmission parameters of the server end device according to the first adaptive adjustment protocol stack;

[0130] The second adaptive adjustment protocol stack of the management end device adjusts and updates the transmission parameters of the management end device according to the transmission parameters of the server in the parameter adjustment message.

[0131] In this embodiment, the management-end device adjusts the transmission parameters of the management-end device accordingly through the second adaptive adjustment protocol stack according to the updated transmission parameters of the server-end device and the parameter adjustment message including the adjusted transmission parameters sent by the server-end device. While dynamically adjusting the management-end device, it further cooperates with the transmission rhythm of the server-end device to improve the communication efficiency and power consumption management of both devices in the low-power Bluetooth communication.

[0132] It is worth noting that the second adaptive adjustment protocol of the management-end device of this embodiment also supports dynamic adjustment of the management-end device. For example, when the management-end device is a non-power-connected device, such as a smart phone, mobile monitoring device, etc., the second adaptive adjustment protocol can also be used according to the power of the management-end device, data transmission frequency, data transmission stability, environmental interference and other transmission auxiliary parameters, and the transmission data of the management-end device. The transmission parameters of the management-end device can be dynamically adjusted, thereby effectively improving the communication efficiency of the management-end device and reducing the energy consumption of the management-end device, effectively improving the battery life of the server-end device, and improving the user experience.

[0133] Based on the Bluetooth communication method of the above embodiment, an embodiment of the present invention further provides a management terminal device, such as Figure 7 As shown, it includes a second communication unit and a second adaptive adjustment unit, wherein

[0134] The second adaptive adjustment unit is configured to perform a second initialization configuration in response to a power-on operation of the management terminal device, wherein the second initialization configuration includes configuring a transmission parameter of the management terminal device according to a preset initialization parameter using a second adaptive adjustment protocol stack;

[0135] The second communication unit is configured to scan, send a connection request to the server according to a broadcast message sent by the server device to be accessed, and establish a low-power Bluetooth communication connection with the server device, wherein the broadcast message includes an identifier of the server device; receive a monitoring data message sent by the server device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

[0136] In this embodiment, the management-end device sets the transmission parameters in the initialization phase through the second adaptive adjustment protocol stack of the second adaptive adjustment unit, identifies the server-end device and establishes a low-power Bluetooth communication connection through the second communication unit in the scanning phase, and receives the monitoring data message of the server-end device dynamically adjusted by the first adaptive adjustment protocol stack in the communication phase, thereby effectively improving the communication efficiency and power consumption management of both devices in the low-power Bluetooth communication and improving the user experience.

[0137] like Figure 3 As shown, an embodiment of the present invention further provides a Bluetooth communication system, including a management end device and at least one server end device, wherein the server end device includes a first adaptive adjustment protocol stack, and the server end device is configured as follows:

[0138] Sending a monitoring data message to the management end device according to a transmission parameter, wherein the transmission parameter is configured by the first adaptive adjustment protocol stack for the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters;

[0139] Using the first adaptive adjustment protocol stack to determine whether the data change rate of the monitoring data exceeds a preset change threshold,

[0140] If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter;

[0141] If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

[0142] In this embodiment, in response to the low power consumption requirements of the server device, the first adaptive adjustment protocol stack is used to monitor the data change rate of the monitoring data in real time, and dynamically adjust the transmission parameters of the server device when the data change rate exceeds the change threshold, thereby effectively improving the communication efficiency of the server device and reducing the energy consumption of the server device, effectively increasing the battery life of the server device, and improving the user experience.

[0143] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements a Bluetooth communication method when executed by a processor.

[0144] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0145] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0146] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0147] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0148] like Figure 8 As shown, a structural schematic diagram of a computer device provided by another embodiment of the present invention. Figure 8 The computer device T12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0149] like Figure 8 As shown, the computer device T12 is in the form of a general-purpose computing device. The components of the computer device T12 may include, but are not limited to: one or more processors or processing units T16, a system memory T28, and a bus T18 connecting different system components (including the system memory T28 and the processing unit T16).

[0150] Bus T18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0151] The computer device T12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device T12, including volatile and non-volatile media, removable and non-removable media.

[0152] The system memory T28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) T30 and / or cache memory T32. The computer device T12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system T34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 not shown, usually called a "hard drive"). Although Figure 8 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to the bus T18 via one or more data medium interfaces. The memory T28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0153] A program / utility T40 having a set (at least one) of program modules T42 may be stored in, for example, memory T28, such program modules T42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules T42 typically perform the functions and / or methods of the embodiments described herein.

[0154] The computer device T12 may also communicate with one or more external devices T14 (e.g., keyboard, pointing device, display T24, etc.), one or more devices that enable a user to interact with the computer device T12, and / or any device that enables the computer device T12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface T22. Furthermore, the computer device T12 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) via a network adapter T20. Figure 8 As shown, the network adapter T20 communicates with other modules of the computer device T12 via the bus T18. Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with computer device T12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0155] The processor unit T16 executes various functional applications and data processing by running programs stored in the system memory T28, such as implementing a Bluetooth communication method provided by an embodiment of the present invention.

[0156] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.

Claims

1. A Bluetooth communication method, characterized in that: Applied to a server device, the server device includes a first adaptive adjustment protocol stack, and the Bluetooth communication method includes: The server device sends a monitoring data message to the management device according to the transmission parameters, where the transmission parameters are configured by the first adaptive adjustment protocol stack for the server device, and the monitoring data message includes monitoring data and transmission auxiliary parameters; The first adaptive adjustment protocol stack determines whether a data change rate of the monitoring data exceeds a preset change threshold; If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter; If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

2. The Bluetooth communication method according to claim 1, characterized in that: The transmission auxiliary parameters include the power of the server device, the data transmission frequency, the data transmission stability and the environmental interference, and the first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, further comprising: The first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter and according to the priority of the transmission auxiliary parameter.

3. The Bluetooth communication method according to claim 2, characterized in that: The first adaptive adjustment protocol stack includes a physical layer, a link layer and a general access specification layer, and the transmission parameters include the transmission power of the physical layer, the number of retransmissions of the link layer, and the connection time interval and slave delay of the general access specification layer; Before the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, the Bluetooth communication method includes: generating a transmission parameter configuration table according to the priority of the transmission auxiliary parameter, the transmission parameter configuration table including a plurality of parameter configuration items, each parameter configuration item including a different parameter combination of the transmission power, the number of retransmissions, the connection time interval and the slave delay; The first adaptive adjustment protocol stack adjusts and updates the transmission parameters according to the data change rate and the transmission auxiliary parameters, further comprising: finding corresponding parameter configuration items in the transmission parameter configuration table according to the priority of the transmission auxiliary parameters, and using the parameter configuration items to adjust and update the transmission parameters.

4. The Bluetooth communication method according to claim 1, characterized in that: Before the server device sends the monitoring data message to the management device according to the transmission parameters, the Bluetooth communication method further includes: The server device performs a first initialization configuration in response to a power-on operation, wherein the first initialization configuration includes configuring a transmission parameter of the server device according to a preset initialization parameter by the first adaptive adjustment protocol stack; The server device sends a broadcast message and starts a service, wherein the broadcast message includes an identifier of the server device; The server-side device establishes a low-power Bluetooth communication connection with the management-side device in response to the received connection request, where the connection request is generated after the management-side device scans the broadcast message.

5. The Bluetooth communication method according to claim 4, characterized in that: After the server device performs the first initialization configuration in response to the power-on operation, and before the server device sends the monitoring data message to the management device according to the transmission parameters, the Bluetooth communication method further includes: The first adaptive adjustment protocol stack configures the transmission parameters of the server device according to an application scenario of the server device.

6. The Bluetooth communication method according to claim 1, characterized in that: The management terminal device includes a second adaptive adjustment protocol stack, If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter, further comprising: The server device generates a parameter adjustment message according to the updated transmission parameters and sends it to the management device, so that the second adaptive adjustment protocol stack adjusts and updates the transmission parameters of the management device according to the transmission parameters of the server.

7. A Bluetooth communication method, characterized in that: Applied to a management terminal device, the management terminal device includes a second adaptive adjustment protocol stack, and the Bluetooth communication method includes: The management end device performs a second initialization configuration in response to a power-on operation, wherein the second initialization configuration includes configuring a transmission parameter of the management end device according to a preset initialization parameter by the second adaptive adjustment protocol stack; The management end device performs scanning, sends a connection request to the server end according to a broadcast message sent by the server end device to be connected, and establishes a low-power Bluetooth communication connection with the server end device, wherein the broadcast message includes an identifier of the server end device; The management-end device receives the monitoring data message sent by the server-end device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server-end device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

8. The Bluetooth communication method according to claim 7, characterized in that: The management end device receives a parameter adjustment message sent by the server end device, where the parameter adjustment message is generated after the server end device adjusts and updates the transmission parameters of the server end device according to the first adaptive adjustment protocol stack; The second adaptive adjustment protocol stack of the management end device adjusts and updates the transmission parameters of the management end device according to the transmission parameters of the server in the parameter adjustment message.

9. A Bluetooth communication system, characterized in that: The system comprises a management end device and at least one server end device, wherein the server end device comprises a first adaptive adjustment protocol stack, and the server end device is configured as follows: Sending a monitoring data message to the management end device according to a transmission parameter, wherein the transmission parameter is configured by the first adaptive adjustment protocol stack for the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters; Using the first adaptive adjustment protocol stack to determine whether the data change rate of the monitoring data exceeds a preset change threshold, If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter; If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

10. A server device, characterized in that: It includes a first communication unit and a first adaptive adjustment unit, wherein: The first communication unit is configured to send a monitoring data message to the management end device according to a transmission parameter of the server end device, wherein the transmission parameter is configured for the server end device by a first adaptive adjustment protocol stack of the server end device, and the monitoring data message includes monitoring data and transmission auxiliary parameters; The first adaptive adjustment unit is configured to use the first adaptive adjustment protocol stack to determine whether a data change rate of the monitoring data exceeds a preset change threshold. If the data change rate exceeds the change threshold, the first adaptive adjustment protocol stack adjusts and updates the transmission parameter according to the data change rate and the transmission auxiliary parameter, and jumps to the server device to send a monitoring data message to the management device according to the transmission parameter; If the data change rate does not exceed the change threshold, the process jumps to the server device to send a monitoring data message to the management device according to the transmission parameters.

11. A management terminal device, characterized in that: It includes a second communication unit and a second adaptive adjustment unit, wherein The second adaptive adjustment unit is configured to perform a second initialization configuration in response to a power-on operation of the management terminal device, wherein the second initialization configuration includes configuring a transmission parameter of the management terminal device according to a preset initialization parameter using a second adaptive adjustment protocol stack; The second communication unit is configured to scan, send a connection request to the server according to a broadcast message sent by the server device to be accessed, and establish a low-power Bluetooth communication connection with the server device, wherein the broadcast message includes an identifier of the server device; receive a monitoring data message sent by the server device, wherein the monitoring data message is sent by the server according to the set transmission parameters, and the monitoring data message includes monitoring data and transmission auxiliary parameters, and the transmission parameters are dynamically configured in real time by the first adaptive adjustment protocol stack of the server device according to the data change rate of the monitoring data and the transmission auxiliary parameters.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented; or When the program is executed by a processor, the method according to claim 7 or 8 is implemented.

13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented; or When the processor executes the program, the method according to claim 7 or 8 is implemented.