CN113068161A - Bluetooth low-energy-consumption communication method, device and system and storage medium - Google Patents

Bluetooth low-energy-consumption communication method, device and system and storage medium Download PDF

Info

Publication number
CN113068161A
CN113068161A CN202010002007.2A CN202010002007A CN113068161A CN 113068161 A CN113068161 A CN 113068161A CN 202010002007 A CN202010002007 A CN 202010002007A CN 113068161 A CN113068161 A CN 113068161A
Authority
CN
China
Prior art keywords
accessed
mode
label
network
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010002007.2A
Other languages
Chinese (zh)
Other versions
CN113068161B (en
Inventor
陈府庭
刘玉平
陈凌伟
李志铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Bozhilin Robot Co Ltd
Original Assignee
Guangdong Bozhilin Robot Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN202010002007.2A priority Critical patent/CN113068161B/en
Publication of CN113068161A publication Critical patent/CN113068161A/en
Application granted granted Critical
Publication of CN113068161B publication Critical patent/CN113068161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a Bluetooth low energy consumption communication method, a device, a system and a storage medium. The method comprises the following steps: acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed; determining an access mode of a label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode; and sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode. According to the technical scheme of the embodiment of the invention, when the label to be accessed is accessed to the network for the first time, the self requirement of the label to be accessed and the current network load of the base station are fully considered, the system resource and the bandwidth are utilized to the maximum extent, the network access requirement of the label is met, the load of the direct connection quantity of the base station is reduced, and the user experience is improved to the maximum extent.

Description

Bluetooth low-energy-consumption communication method, device and system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of wireless data transmission, in particular to a Bluetooth low-energy-consumption communication method, device and system and a storage medium.
Background
At present, in the market, communication connection is carried out to basic station and label accessible Bluetooth Low Energy (BLE)'s mode, specifically is directly to link the mode or the broadcast mode. The direct connection mode has the advantages of low time delay and applicability to scenes with high real-time requirements, but has the defect of limited connection resources; the opposite is true of the broadcast approach, which has the advantage of simultaneously accessing more tags, with the disadvantages of higher latency and the possibility of data loss. In summary, at present, a single BLE communication method cannot utilize system resources and bandwidth to the maximum extent, and user experience needs to be improved.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth low energy consumption communication method, a device, a system and a storage medium, which aim to realize the effect of Bluetooth low energy consumption communication under the condition of utilizing system resources and bandwidth to the maximum extent.
In a first aspect, an embodiment of the present invention provides a bluetooth low energy communication method, which may include:
acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed;
determining an access mode of a label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode;
and sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode.
Optionally, the parameter information includes a tag permission level, and the tag permission level corresponds to a real-time attribute of a tag to be accessed; correspondingly, determining the access mode of the tag to be accessed according to the broadcast message and the current network load may include:
if the label authority level meets the preset level condition and the current network load meets the first preset idle condition according to the broadcast message, the access mode of the label to be accessed is a direct connection mode;
otherwise, the access mode of the label to be accessed is a broadcast mode.
Optionally, the bluetooth low energy communication method may further include:
and when the current network load meets a second preset idle condition, sending the idle broadcast message of the current network to an accessed label accessed to the network in a broadcast mode, so that the access mode of the accessed label accessed to the network in the broadcast mode is switched from the broadcast mode to a direct connection mode.
Optionally, switching the access mode of the accessed tag, which is accessed to the network through the broadcast mode, from the broadcast mode to the direct connection mode may include:
if a plurality of accessed labels accessed to the network in a broadcasting mode exist, the labels to be switched are screened out from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority level and the network access sequence, so that the access mode of the labels to be switched is switched from the broadcasting mode to the direct connection mode.
Optionally, the step of screening out the tag to be switched from a plurality of accessed tags accessed to the network in a broadcast manner according to the tag permission level and the network access sequence may include:
if the label authority levels of a plurality of accessed labels accessed to the network in a broadcasting mode are not consistent, screening out labels to be switched from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority levels;
otherwise, the label to be switched is screened out from a plurality of accessed labels accessed to the network in a broadcasting mode according to the network access sequence.
Optionally, the current network load includes the number of accessed base stations and/or accessed tags that access the network in a direct connection manner.
Optionally, the first preset idle condition and/or the second preset idle condition include that the current network load is smaller than the preset network load.
In a second aspect, an embodiment of the present invention further provides a bluetooth low energy communication apparatus, where the apparatus may include:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, and the broadcast message comprises parameter information of the tag to be accessed;
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining an access mode of a label to be accessed according to a broadcast message and a current network load, and the access mode comprises a direct connection mode or a broadcast mode;
and the access module is used for sending the access mode to the label to be accessed so that the label to be accessed is accessed to the network according to the access mode.
In a third aspect, an embodiment of the present invention further provides a system, where the system may include:
the base station is used for receiving a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, determining an access mode of the tag to be accessed according to the broadcast message and a current network load, and sending the access mode to the tag to be accessed, wherein the broadcast message comprises parameter information of the tag to be accessed, and the access mode comprises a direct connection mode or a broadcast mode;
and the label to be accessed is used for accessing the network according to the received access mode.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth low energy communication method provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the base station acquires the broadcast message broadcasted by the label to be accessed in the preset distance in a Bluetooth low energy consumption mode, and determines the access mode of the label to be accessed according to the broadcast message and the current network load of the base station, so that system resources and bandwidth can be utilized to the maximum extent, and the load of the direct connection quantity of the base station is reduced while the network access requirement of the label is met; and further, sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode. According to the technical scheme, when the label to be accessed is accessed into the network for the first time, the self requirement of the label to be accessed and the current network load of the base station are fully considered, system resources and bandwidth are utilized to the maximum extent, the network access requirement of the label is met, meanwhile, the load of the direct connection quantity of the base station is reduced, and the user experience is improved to the maximum extent.
Drawings
Fig. 1 is a schematic diagram of a wireless communication networking framework in an embodiment of the invention;
fig. 2 is a flowchart of a bluetooth low energy communication method according to one embodiment of the present invention;
fig. 3 is a flowchart of a bluetooth low energy communication method according to a second embodiment of the present invention;
fig. 4 is a block diagram of a bluetooth low energy communication apparatus according to a third embodiment of the present invention;
fig. 5 is an architecture diagram of a bluetooth low energy communication system in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before the embodiment of the present invention is described, an application scenario of the embodiment of the present invention is exemplarily described: each embodiment of the present invention can be implemented based on a wireless communication networking framework, as shown in fig. 1, it is not limited to three links, nor to the communication modes of cascade and wireless Mesh network (Mesh), and is more extensible, that is, the wireless communication networking framework is not the communication mode of Mesh, and it is a communication mode in which a server determines the cascade relationship of base stations, and is different from the mode of Mesh random access network.
On this basis, the wireless communication networking framework may include (1) a service terminal, (2) device a1, (3) device B1, (4) device a2, (5) device B2, (6) device An, (7) device Bn, (8) tag C1, (9) tag C2, (10) tag Cn, and the like. The label can be set on the device according to the requirement, and the specific configuration and setting of the base station can be determined by the server. Moreover, for a device with a BLE communication mode, as long as the device can communicate with each other within a signal coverage range, for example, a base station and a base station, a base station and a tag, a tag and a tag, a base station and a server, and each device can communicate through BLE, and a specific communication mode may be a broadcast mode or a direct connection mode, which is determined by specific situations.
Example one
Fig. 2 is a flowchart of a bluetooth low energy communication method according to an embodiment of the present invention. The embodiment can be applied to the situation of determining the access mode of the label to be accessed to the network for the first time, and is particularly applicable to the situation of determining the access mode of the label to be accessed to the network for the first time according to the current network load of the base station. The method can be executed by the bluetooth low energy communication device provided by the embodiment of the invention, the device can be realized by software and/or hardware, and the device can be integrated on a base station.
Referring to fig. 2, the method of the embodiment of the present invention specifically includes the following steps:
s110, obtaining a broadcast message broadcasted by the tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed.
When the tag to be accessed or the device to be accessed provided with the tag to be accessed is accessed to the network for the first time, the tag to be accessed can be broadcasted in a Bluetooth Low Energy (BLE) mode, so that the base station which is scanning within the preset distance can receive the broadcasted broadcast message. Optionally, the broadcast message may be a network access request of the tag to be accessed, or may be parameter information of the tag to be accessed. The parameter information may be a tag permission level, and the tag permission level may correspond to a real-time property of the tag to be accessed, that is, it may present a level of a real-time requirement of the tag to be accessed on data transmission. Illustratively, if the requirement of the tag to be accessed on the real-time performance is high, the tag permission level can be high; otherwise, its tag permission level may be lower.
And S120, determining an access mode of the label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode.
After acquiring the broadcast message broadcasted by the tag to be accessed, the base station may determine the access mode of the tag to be accessed in combination with the current network load, where the current network load may include data transmission amount, bandwidth and/or connection number, and the connection number may be a direct connection number connected to the base station in a direct connection manner, or a broadcast connection number connected to the base station in a broadcast manner.
The reason for setting the current network load is that the preset network load of the base station chip is certain and is limited by the base station chip, and the preset network load can be the maximum network load or a network load very close to the maximum network load, so that whether the tag to be accessed can be accessed to the network or not and which access mode to access to the network can be determined according to the relationship among the current network load, the preset network load and the broadcast message. For example, if the current network load is equal to the preset network load, that is, it is difficult for the base station to load more devices, the tag to be accessed may not be able to access the network.
As another example, the current network load may be a number of direct connections connected to the base station in a direct connection manner, for example, a number of direct connections between the base station and/or a number of direct connections between the base station and the tag, in other words, the current network load may be a number of accessed base stations and/or accessed tags that access the network in a direct connection manner. Therefore, the preset network load can be a preset connection number connected to the base station in a direct connection mode, and when the current network load is basically consistent with the preset network load, the access label is difficult to access the network in the direct connection mode. On the basis, optionally, the parameter information of the tag to be accessed can be further considered, taking the parameter information as the tag permission level as an example, if the tag permission level is determined to meet the preset level condition and the current network load meets the first preset idle condition according to the broadcast message, the access mode of the tag to be accessed is a direct connection mode; otherwise, the access mode of the label to be accessed is a broadcast mode.
The first preset idle condition may be that the current network load is smaller than the preset network load, and the current network load may be the number of direct connections connected to the base station in a direct connection manner, that is, when the current network load meets the first preset idle condition, the base station may access more tags to be accessed in the direct connection manner. Therefore, when the labels to be accessed are labels with lower label authority levels, such as workmanship cards, bracelets, common materials and the like, which are used by personnel, the labels can be accessed to the network in a broadcasting mode due to lower real-time requirements; correspondingly, when the labels to be accessed are labels with higher label authority levels such as robots and navigation, the labels can be accessed to the network in a direct connection mode due to higher real-time requirements. That is to say, when the current network load is idle, the tag to be accessed, which has a high requirement on real-time performance, can be accessed to the network in a direct connection manner. However, when the current network load is not idle, even tags to be accessed, which have high requirements on real-time performance, can only access the network in a broadcast manner.
The method has the advantages that the base station makes a decision through the decision means about the base station when the label to be accessed is firstly accessed, and the base station can make a decision through the current network load of the base station and the label authority level of the label to be accessed on the premise of ensuring the stability of the current system, judge whether the access mode of the label to be accessed is a broadcasting mode or a direct connection mode, realize the best access mode of the label at present, utilize system resources and bandwidth to the maximum extent, meet the requirement of the label for accessing the network and reduce the load of the direct connection quantity of the base station.
S130, the access mode is sent to the label to be accessed, so that the label to be accessed accesses the network according to the access mode.
After determining the access mode of the label to be accessed according to the broadcast message and the current network load, the base station can send the access mode to the label to be accessed, and at the moment, the label to be accessed can be accessed to the network according to the received access mode to complete the network access operation.
According to the technical scheme of the embodiment of the invention, the base station acquires the broadcast message broadcasted by the label to be accessed in the preset distance in a Bluetooth low energy consumption mode, and determines the access mode of the label to be accessed according to the broadcast message and the current network load of the base station, so that system resources and bandwidth can be utilized to the maximum extent, and the load of the direct connection quantity of the base station is reduced while the network access requirement of the label is met; and further, sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode. According to the technical scheme, when the label to be accessed is accessed into the network for the first time, the self requirement of the label to be accessed and the current network load of the base station are fully considered, system resources and bandwidth are utilized to the maximum extent, the network access requirement of the label is met, meanwhile, the load of the direct connection quantity of the base station is reduced, and the user experience is improved to the maximum extent.
Example two
Fig. 3 is a flowchart of a bluetooth low energy communication method according to a second embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the bluetooth low energy consumption communication method may further include: and when the current network load meets a second preset idle condition, sending the idle broadcast message of the current network to an accessed label accessed to the network in a broadcast mode, so that the access mode of the accessed label accessed to the network in the broadcast mode is switched from the broadcast mode to a direct connection mode. The same or corresponding terms as those in the above embodiments are not explained in detail herein.
Referring to fig. 3, the method of this embodiment may specifically include the following steps:
s210, obtaining a broadcast message broadcasted by the tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed.
S220, determining an access mode of the label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode.
And S230, sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode.
And S240, when the current network load meets a second preset idle condition, sending the idle broadcast message of the current network to the accessed label accessed to the network in a broadcast mode, so that the access mode of the accessed label accessed to the network in the broadcast mode is switched from the broadcast mode to a direct connection mode.
The base station may periodically collect the current network load of the base station itself, and may send the idle broadcast message of the current network to the accessed tag and/or the accessed device within the preset distance, especially the accessed tag accessed to the network in a broadcast manner, when the current network load is in a state of being idle, for example, when the current network load meets a second preset idle condition. It should be noted that the second preset idle condition may be the same as or different from the first preset idle condition, for example, the second preset idle condition may be that the previous network load is smaller than the preset network load.
On the basis, when the accessed label accessed to the network in the broadcasting mode receives the broadcast message of the current network idle state, the access mode of the access network can be switched to the direct connection mode from the broadcasting mode so as to be convenient for being directly connected with the base station in a BLE mode, and after the operation of direct connection of the BLE mode is completed, data transmission can be carried out between the data channel directly connected with the base station and the base station, so that the self-adaptive selection of the data channel of the base station and the label is realized. The method has the advantages that the base station informs the current network load condition of the base station to the label in the preset distance in a mode of broadcasting the self-adaptive message which is regularly allocated, and under the condition of meeting the lower current network load, the accessed label which is accessed into the network in a broadcasting mode is changed into a direct connection mode, so that the self-adaptive BLE switching of the communication mode is realized, the requirement of the label on higher real-time data can be met, the local network delay is reduced, the bandwidth and the resources of the system network are exerted to the maximum extent, and the user experience is improved to the maximum extent.
On the basis, optionally, if a plurality of accessed labels accessed to the network in a broadcasting mode exist, the labels to be switched can be screened from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority level and the network access sequence, so that the access mode of the labels to be switched is switched from the broadcasting mode to the direct connection mode. According to the scheme, the label authority level can be considered preferentially, and when the label authority levels are consistent, the network access sequence is considered, so that system resources and bandwidth can be utilized to the maximum extent, and the network access requirement of the label with higher data real-time requirement can be met as far as possible.
For example, if the tag permission levels of a plurality of accessed tags accessed to the network through the broadcast mode are not consistent, a tag to be switched can be screened from the plurality of accessed tags accessed to the network through the broadcast mode according to the tag permission levels, that is, a tag to be switched with a higher tag permission level is screened from the plurality of accessed tags accessed to the network through the broadcast mode; and if a plurality of accessed labels which have higher label authority level and are accessed to the network in a broadcasting mode exist, the labels to be switched can be screened from the plurality of accessed labels which are accessed to the network in the broadcasting mode according to the network access sequence.
For example, the label permission levels include a and B, where a is higher than B, for 10 accessed labels accessed to the network in a broadcast manner, if the label permission levels of the labels 1 to 4 are a and the label permission levels of the labels 5 to 10 are B, the switching from the broadcast manner to the direct connection manner is firstly implemented according to the network access sequence of the labels 1 to 4, and of course, the switching process is premised on that the current network load is low; and then, switching from the broadcast mode to the direct connection mode is realized according to the network access sequence of the tags 5-10, so that the scheme can utilize system resources and bandwidth to the maximum extent and improve the user experience.
According to the technical scheme of the embodiment of the invention, when the current network load meets the second preset idle condition, the idle broadcast message of the current network is sent to the accessed label accessed to the network in a broadcast mode, so that the access mode of the accessed label accessed to the network in the broadcast mode is switched from the broadcast mode to a direct connection mode, the problems that the system resources and the bandwidth cannot be utilized to the maximum extent and the user experience degree needs to be improved in the conventional single BLE communication mode are solved, and on the basis, the effects of meeting the network access requirement of the label with higher data real-time performance and reducing the local network delay are achieved.
EXAMPLE III
Fig. 4 is a block diagram of a bluetooth low energy communication apparatus according to a third embodiment of the present invention, where the bluetooth low energy communication apparatus can be configured in a base station and is used to perform the bluetooth low energy communication method according to any of the embodiments. The device and the bluetooth low energy communication method of the above embodiments belong to the same inventive concept, and details not described in detail in the embodiments of the bluetooth low energy communication device may refer to the embodiments of the bluetooth low energy communication method. Referring to fig. 4, the apparatus may specifically include: an acquisition module 310, a determination module 320, and an access module 330.
The acquiring module 310 is configured to acquire a broadcast message broadcasted by a tag to be accessed within a preset distance in a bluetooth low energy consumption manner, where the broadcast message includes parameter information of the tag to be accessed;
a determining module 320, configured to determine an access manner of a tag to be accessed according to a broadcast message and a current network load, where the access manner includes a direct connection manner or a broadcast manner;
the access module 330 is configured to send the access mode to the tag to be accessed, so that the tag to be accessed accesses the network according to the access mode.
Optionally, the parameter information includes a tag permission level, and the tag permission level corresponds to a real-time attribute of a tag to be accessed; correspondingly, the determining module 320 may specifically include:
the direct connection unit is used for determining that the label authority level meets a preset level condition and the current network load meets a first preset idle condition according to the broadcast message, and the access mode of the label to be accessed is a direct connection mode;
and the broadcasting unit is used for judging whether the access mode of the label to be accessed is a broadcasting mode or not.
Optionally, on the basis of the above apparatus, the apparatus may further include:
and the switching module is used for sending the idle broadcast message of the current network to the accessed label accessed to the network in a broadcast mode when the current network load meets a second preset idle condition so as to switch the access mode of the accessed label accessed to the network in the broadcast mode from the broadcast mode to a direct connection mode.
Optionally, the switching module may specifically include:
and the screening unit is used for screening the labels to be switched from the accessed labels accessed to the network in the broadcasting mode according to the label authority level and the network access sequence if a plurality of accessed labels accessed to the network in the broadcasting mode exist, so that the access mode of the labels to be switched is switched from the broadcasting mode to the direct connection mode.
Optionally, the screening unit may be specifically configured to:
if the label authority levels of a plurality of accessed labels accessed to the network in a broadcasting mode are not consistent, screening out labels to be switched from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority levels;
otherwise, the label to be switched is screened out from a plurality of accessed labels accessed to the network in a broadcasting mode according to the network access sequence.
Optionally, the current network load includes the number of accessed base stations and/or accessed tags that access the network in a direct connection manner.
Optionally, the first preset idle condition and/or the second preset idle condition include that the current network load is smaller than the preset network load.
According to the Bluetooth low energy consumption communication device provided by the third embodiment of the invention, the broadcast message broadcasted by the label to be accessed in the preset distance in a Bluetooth low energy consumption mode can be acquired through the acquisition module; the determining module can determine the access mode of the label to be accessed according to the broadcast message and the current network load of the determining module, so that system resources and bandwidth can be utilized to the maximum extent, and the load of the number of direct connections of the base station is reduced while the network access requirement of the label is met; the access module can send the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode. When the label to be accessed is accessed into the network for the first time, the device fully considers the self requirement of the label to be accessed and the current network load of the base station, utilizes system resources and bandwidth to the maximum extent, reduces the load of the direct connection quantity of the base station while meeting the network access requirement of the label, and improves the user experience to the maximum extent.
The Bluetooth low energy consumption communication device provided by the embodiment of the invention can execute the Bluetooth low energy consumption communication method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the bluetooth low energy communication apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 5 is an architecture diagram of a bluetooth low energy communication system according to a fourth embodiment of the present invention, as shown in fig. 5, the system may include a base station 410 and a tag 420.
The base station 410 is configured to receive a broadcast message broadcasted by a to-be-accessed tag in a preset distance in a bluetooth low energy consumption manner, determine an access manner of the to-be-accessed tag according to the broadcast message and a current network load, and send the access manner to the to-be-accessed tag, where the broadcast message includes parameter information of the to-be-accessed tag, and the access manner includes a direct connection manner or a broadcast manner;
and the to-be-accessed label 420 is used for accessing the network according to the received access mode.
The bluetooth low energy communication system provided by the fourth embodiment of the present invention is capable of executing the bluetooth low energy communication method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
EXAMPLE five
An embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a bluetooth low energy communication method, including:
acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed;
determining an access mode of a label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode;
and sending the access mode to the label to be accessed so that the label to be accessed accesses the network according to the access mode.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the bluetooth low energy communication method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. With this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A Bluetooth low energy communication method is applied to a base station and comprises the following steps:
acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, wherein the broadcast message comprises parameter information of the tag to be accessed;
determining an access mode of the label to be accessed according to the broadcast message and the current network load, wherein the access mode comprises a direct connection mode or a broadcast mode;
and sending the access mode to the label to be accessed so that the label to be accessed is accessed to the network according to the access mode.
2. The method of claim 1, wherein the parameter information comprises a tag permission level, and the tag permission level corresponds to a real-time property of the tag to be accessed; the determining the access mode of the label to be accessed according to the broadcast message and the current network load comprises:
if the label authority level meets a preset level condition and the current network load meets a first preset idle condition according to the broadcast message, the access mode of the label to be accessed is a direct connection mode;
otherwise, the access mode of the label to be accessed is a broadcast mode.
3. The method of claim 2, further comprising:
and when the current network load meets a second preset idle condition, sending the idle broadcast message of the current network to an accessed label accessed to the network in a broadcast mode, so that the access mode of the accessed label accessed to the network in the broadcast mode is switched from the broadcast mode to a direct connection mode.
4. The method according to claim 3, wherein switching the access mode of the accessed tag accessing the network by the broadcast mode from the broadcast mode to the direct mode comprises:
if a plurality of accessed labels accessed to the network in the broadcasting mode exist, the labels to be switched are screened out from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority level and the network access sequence, so that the access mode of the labels to be switched is switched from the broadcasting mode to the direct connection mode.
5. The method according to claim 4, wherein the step of screening the tags to be switched from the plurality of accessed tags accessed to the network in the broadcast manner according to the tag permission level and the network access sequence comprises:
if the label authority levels of the plurality of accessed labels accessed to the network in the broadcasting mode are not consistent, screening out labels to be switched from the plurality of accessed labels accessed to the network in the broadcasting mode according to the label authority levels;
otherwise, the label to be switched is screened out from the plurality of accessed labels accessed to the network in the broadcasting mode according to the network access sequence.
6. The method of claim 3, wherein the current network load comprises a number of accessed base stations and/or accessed tags accessing a network by a direct connection.
7. The method according to claim 6, wherein the first preset idle condition and/or the second preset idle condition comprises that the current network load is less than a preset network load.
8. A bluetooth low energy communication device, configured in a base station, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, and the broadcast message comprises parameter information of the tag to be accessed;
a determining module, configured to determine an access manner of the tag to be accessed according to the broadcast message and a current network load, where the access manner includes a direct connection manner or a broadcast manner;
and the access module is used for sending the access mode to the label to be accessed so as to enable the label to be accessed to access a network according to the access mode.
9. A bluetooth low energy communication system, comprising:
the base station is used for receiving a broadcast message broadcasted by a tag to be accessed within a preset distance in a Bluetooth low energy consumption mode, determining an access mode of the tag to be accessed according to the broadcast message and a current network load, and sending the access mode to the tag to be accessed, wherein the broadcast message comprises parameter information of the tag to be accessed, and the access mode comprises a direct connection mode or a broadcast mode;
and the label to be accessed is used for accessing the network according to the received access mode.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the bluetooth low energy communication method according to any one of claims 1 to 7.
CN202010002007.2A 2020-01-02 2020-01-02 Bluetooth low-energy-consumption communication method, device and system and storage medium Active CN113068161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010002007.2A CN113068161B (en) 2020-01-02 2020-01-02 Bluetooth low-energy-consumption communication method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010002007.2A CN113068161B (en) 2020-01-02 2020-01-02 Bluetooth low-energy-consumption communication method, device and system and storage medium

Publications (2)

Publication Number Publication Date
CN113068161A true CN113068161A (en) 2021-07-02
CN113068161B CN113068161B (en) 2022-12-13

Family

ID=76558196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010002007.2A Active CN113068161B (en) 2020-01-02 2020-01-02 Bluetooth low-energy-consumption communication method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN113068161B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115515255A (en) * 2022-08-03 2022-12-23 阿波罗智联(北京)科技有限公司 Method, device, equipment and storage medium for establishing wireless connection
CN116234008A (en) * 2023-03-07 2023-06-06 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358137A (en) * 2015-07-14 2017-01-25 普天信息技术有限公司 Slave unit access method in Bluetooth networking, slave unit and Bluetooth communication system
WO2018120390A1 (en) * 2016-12-28 2018-07-05 华为技术有限公司 Method for establishing communication, and terminal
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358137A (en) * 2015-07-14 2017-01-25 普天信息技术有限公司 Slave unit access method in Bluetooth networking, slave unit and Bluetooth communication system
WO2018120390A1 (en) * 2016-12-28 2018-07-05 华为技术有限公司 Method for establishing communication, and terminal
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115515255A (en) * 2022-08-03 2022-12-23 阿波罗智联(北京)科技有限公司 Method, device, equipment and storage medium for establishing wireless connection
CN116234008A (en) * 2023-03-07 2023-06-06 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof
CN116234008B (en) * 2023-03-07 2023-09-29 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof

Also Published As

Publication number Publication date
CN113068161B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN113766588B (en) Cell reselection method and related equipment
US10624115B2 (en) Radio resource scheduling method, device and system
US11284347B2 (en) Activation system information transmission method, apparatus, and device
RU2594177C2 (en) Methods and systems for general support of multiple radio access technologies
CN112399484B (en) Data transmission method and device, storage medium and electronic equipment
CN113068161B (en) Bluetooth low-energy-consumption communication method, device and system and storage medium
US20220264675A1 (en) System and method for processing data
US20230134357A1 (en) Radio frequency resource allocation method and apparatus, and electronic device
CN113316218A (en) Access method and device
CN115119324A (en) Resource scheduling method and device
CN111741512A (en) Private network access method and device
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
US8855693B2 (en) Method and apparatus for controlling wireless devices
CN111918288A (en) Communication method, communication device and electronic equipment
US20230046573A1 (en) Communication method and apparatus
CN111278140A (en) Resource scheduling method and related product
CN111246398A (en) Low-energy-consumption communication method, device and system and storage medium
CN108293189A (en) A kind of accidental access method and device
US20220272737A1 (en) Method and apparatus for determining frequency domain resource
CN110933756B (en) Resource processing method and device
EP4138481A1 (en) Resource management method and apparatus, server, and storage medium
EP4255100A1 (en) Service response method and apparatus, terminal, and storage medium
US20210211223A1 (en) Wireless communication method and terminal device
WO2021026925A1 (en) Wireless communication method and terminal device
CN115665887A (en) Connection establishing method, device, equipment and storage medium

Legal Events

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