CN110519731A - Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment - Google Patents
Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment Download PDFInfo
- Publication number
- CN110519731A CN110519731A CN201810495744.3A CN201810495744A CN110519731A CN 110519731 A CN110519731 A CN 110519731A CN 201810495744 A CN201810495744 A CN 201810495744A CN 110519731 A CN110519731 A CN 110519731A
- Authority
- CN
- China
- Prior art keywords
- ble
- data
- equipment
- module
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 claims description 52
- 230000015654 memory Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000005055 memory storage Effects 0.000 claims description 4
- 230000006855 networking Effects 0.000 abstract description 6
- 239000012141 concentrate Substances 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 238000013480 data collection Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of data communications method based on BLE bluetooth and system, BLE Bluetooth gateway, BLE equipment, is in communication with each other between BLE equipment by carrying out data broadcasting;BLE Bluetooth gateway can monitor the broadcast data that at least one BLE equipment is sent, and the broadcast data is forwarded to Internet of Things background server.Of the invention data communications method and system, BLE Bluetooth gateway, BLE equipment based on BLE bluetooth can be realized one-to-many, multi-to-multi data broadcasting, and can concentrate and carry out data acquisition, to realize the Internet of Things networking of BLE networked communication method and BLE equipment.
Description
Technical field
The present invention relates to the technical fields of bluetooth, more particularly to a kind of data communications method based on BLE bluetooth and are
System, BLE Bluetooth gateway, BLE equipment.
Background technique
Bluetooth low energy consumption (Bluetooth Low Energy, BLE) technology be low cost, short distance, interoperable Shandong
Stick wireless technology works in the 2.4GHz ISM radio frequency band for exempting from license.BLE is designed as ultra-low power consumption wireless from the beginning
Technology reduces power consumption using many intelligent means to the maximum extent.BLE technology is using variable Connection Time interval, this interval
It can be set to several milliseconds to several seconds according to concrete application to differ.In addition, because BLE technology uses very quick connection side
Formula, therefore usually may be at " disconnected ".Both link ends only know other side each other at this time, only just open if necessary
Then link closes link in the shortest possible time, to save the energy to the maximum extent.
The operating mode of BLE technology is highly suitable for the micro wireless sensor or use of the data of exchange in every half second
Other peripheral hardwares such as the remote controler of completely asynchronous communication transmit data.The data volume that these equipment are sent is considerably less, usually only several
A byte, and transmission times is also seldom, for example, it is per second arrive once every minute several times, or even it is less.
Compared to conventional Bluetooth, maximum break through of BLE bluetooth is exactly the support and utilization increased to broadcast communication, regulation
3 broadcast channels and 37 data channels.BLE equipment can be found using broadcasting packet, connect other equipment.Once connection is built
After vertical, data message can be begun to use.
Specifically, the type of BLE broadcast is generally divided into following four:
(1) attachable non-directional broadcast (Connectable Undirected Event Type)
This is a kind of broadcast type that purposes is most wide, including broadcast data and scanning response data, it indicates current device
It can receive the connection request of other any equipment.
It should be noted that in a broadcast event, previous " ADV_IND PDUs's " starts to adjacent next
The time at the beginning of a " ADV_IND PDUs " is less than equal to 10ms.Such broadcast type application is most including following several
Kind situation:
The first situation: only broadcast PDUs.
Second situation: there are " SCAN_REQ " and " SCAN_RSP PDUs " in the centre of broadcast event.
The third situation: there are " SCAN_REQ " and " SCAN_RSP PDUs " in the ending of broadcast event.
4th kind of situation: " CONNECT_REQ PDU " is received in the centre of broadcast event.In this case, broadcast event
It can close, will not continue to broadcast on next channel.
(2) attachable directional broadcasting (Connectable Directed Event Type)
Directional broadcasting type is in order to which as fast as possible establishes connection.This message includes two addresses: the ground of broadcaster
The address of location and promoter.After promoter receives the directional broadcasting message for issuing oneself, connection request work can be sent immediately
To respond.
Directional broadcasting type has special timing requirements.Complete broadcast event must every 3.75ms be repeated once.This
It is required that so that scanning device need to only scan 3.75ms and can receive the message of directional broadcasting equipment.
Certainly, so fast transmission can allow message to be flooded with broadcast channel, so cause other equipment in the region without
Method is broadcasted.Therefore, directional broadcasting cannot continue the time of 1.28s or more.If host does not have initiative stopping, or
Person's connection is not established, and controller can all be automatically stopped broadcast.Once having arrived 1.28s, host just can only use interval much longer
Connect non-directional broadcast allow other equipment to connect.
When using directional broadcasting, equipment cannot be actively scanned.In addition, can not band in the payload of directional broadcasting message
There are other additional datas.The payload can only include two necessary addresses.
(3) not attachable non-directional broadcast (Non-connectable Undirected Event Type)
The broadcast is used only for sending broadcast data.
(4) scannable non-directional broadcast (Scannable Undirected Event Type)
This broadcast cannot be used for initiating the connection, but other equipment is allowed to scan the broadcasting equipment.This means that the equipment
It can be found, can both send broadcast data, scanning can also be responded and send scanning response data, but connection cannot be established.
This is a kind of forms of broadcasting suitable for broadcast data, and dynamic data may include among broadcast data, and static data can
To be contained among scanning response data.
It should be noted that it is so-called orientation and non-directional be directed to broadcast object, i.e., for specific object into
Row broadcast (can include the MAC of target object in broadcast packet PDU) is exactly directional broadcasting, otherwise is exactly non-directional.Can connect and
It can not connect and refer to whether receive connection request, if it is not attachable broadcast type, it will not respond connection request.It can sweep
It retouches broadcast type and refers to response scan request.
However, the existing data communication based on BLE bluetooth is usually one-to-one realization, lead to inefficiency, backstage
Processing is complicated.Therefore, how based on using BLE bluetooth realize one-to-many data broadcasting become great prospect project.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of data based on BLE bluetooth
Communication means and system, BLE Bluetooth gateway, BLE equipment, can be realized one-to-many, multi-to-multi data broadcasting, and can concentrate
Data acquisition is carried out, to realize the Internet of Things networking of BLE networked communication method and BLE equipment.
In order to achieve the above objects and other related objects, the present invention provides a kind of data communications method based on BLE bluetooth,
Applied to BLE Bluetooth gateway, comprising the following steps: monitor the broadcast data that at least one BLE equipment is sent;By the broadcast
Data forwarding is to Internet of Things background server.
It further include handling the broadcast data in one embodiment of the invention, it will treated broadcast data
It is forwarded to Internet of Things background server.
Accordingly, the present invention provides a kind of data communication system based on BLE bluetooth, is applied to BLE Bluetooth gateway, including
Monitor module and forwarding module;
The monitoring module is for monitoring the broadcast data that at least one BLE equipment is sent;
The forwarding module is used to the broadcast data being forwarded to Internet of Things background server.
The present invention provides a kind of BLE Bluetooth gateway, comprising: processor, memory;
The memory, for storing computer program;
The processor, for executing the computer program of the memory storage, so that the BLE Bluetooth gateway executes
The above-mentioned data communications method based on BLE bluetooth.
Accordingly, the present invention provides a kind of data communication system based on BLE bluetooth, including above-mentioned BLE Bluetooth gateway
With at least one BLE equipment;
The BLE equipment is for sending broadcast data.
In one embodiment of the invention, the BLE equipment includes power module, BLE processing module and external equipment module;
The power module is used to power for the BLE processing module;The BLE processing module be used for the BLE Bluetooth gateway into
It row Bluetooth communication and is communicated and is controlled with the external equipment module.
In one embodiment of the invention, the BLE Bluetooth gateway includes power module, BLE processing module and Internet of Things mould
Block;The power module is used to power for the BLE processing module;The BLE processing module is used for listening broadcast data;It is described
Internet of Things module is used to the broadcast data being forwarded to Internet of Things background server.
The present invention provides a kind of data communications method based on BLE bluetooth, is applied to BLE equipment, comprising the following steps:
Broadcast data is sent, so that BLE Bluetooth gateway or other BLE equipment are monitored;
Receive the broadcast data of other BLE equipment transmission.
In one embodiment of the invention, the broadcast data uses self-defining data format.
Accordingly, the present invention provides a kind of data communication system based on BLE bluetooth, is applied to BLE equipment, including send
Module and receiving module;
The sending module is for sending broadcast data, so that BLE Bluetooth gateway or other BLE equipment are monitored;
The receiving module is used to receive the broadcast data of other BLE equipment transmission.
Finally, the present invention provides a kind of BLE equipment, comprising: processor, memory;
The memory, for storing computer program;
The processor, for executing the computer program of the memory storage, so that BLE equipment execution is above-mentioned
The data communications method based on BLE bluetooth.
As described above, the data communications method and system of the invention based on BLE bluetooth, BLE Bluetooth gateway, BLE equipment,
It has the advantages that
(1) it can be realized one-to-many, multi-to-multi data broadcasting between BLE equipment, to realize BLE networked communication
The Internet of Things networking of method and BLE equipment;
(2) data collection and the processing that multiple BLE equipment are realized by BLE Bluetooth gateway, reduce system complexity.
Detailed description of the invention
Fig. 1 is shown as flow chart of the data communications method of the invention based on BLE bluetooth in an embodiment;
Fig. 2 is shown as structural schematic diagram of the data communication system of the invention based on BLE bluetooth in an embodiment;
Fig. 3 is shown as the structural schematic diagram of BLE Bluetooth gateway of the invention in an embodiment;
Fig. 4 is shown as structural schematic diagram of the data communication system of the invention based on BLE bluetooth in another embodiment;
Fig. 5 is shown as the structural schematic diagram of BLE equipment of the invention in an embodiment;
Fig. 6 is shown as the structural schematic diagram of BLE Bluetooth gateway of the invention in an embodiment;
Fig. 7 is shown as flow chart of the data communications method of the invention based on BLE bluetooth in another embodiment;
Fig. 8 is shown as structural schematic diagram of the data communication system of the invention based on BLE bluetooth in another embodiment;
Fig. 9 is shown as the structural schematic diagram of BLE equipment of the invention in an embodiment.
Component label instructions
21 monitor module
22 forwarding modules
31 processors
32 memories
41 BLE Bluetooth gateways
411 power modules
412 BLE processing modules
413 Internet of Things modules
414 display modules
42 BLE equipment
421 power modules
422 BLE processing modules
423 external equipment modules
81 sending modules
82 receiving modules
91 processors
92 memories
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.
It should be noted that the basic conception that only the invention is illustrated in a schematic way is illustrated provided in the present embodiment,
Then only shown in schema with it is of the invention in related component rather than component count, shape and size when according to actual implementation draw
System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also
It can be increasingly complex.
Of the invention data communications method and system, BLE Bluetooth gateway, BLE equipment based on BLE bluetooth can be realized one
To more, multi-to-multi data broadcasting, data collection and the processing of multiple BLE equipment can be realized, to realize BLE networking
The Internet of Things networking of communication means and BLE equipment, high practicability.
As shown in Figure 1, the data communications method of the invention based on BLE bluetooth is applied to BLE bluetooth in an embodiment
Gateway, specifically includes the following steps:
Step S11, the broadcast data that at least one BLE equipment is sent is monitored.
In the present invention, BLE equipment sends broadcast data according to the first predeterminated frequency, and BLE Bluetooth gateway is pre- according to second
If frequency monitors the broadcast data that BLE equipment in source is sent, so as to based on BLE Bluetooth gateway while listening for obtaining at least
The broadcast data of one BLE equipment realizes one-to-many data collection.Wherein, first predeterminated frequency and described second
Predeterminated frequency can be identical, is also possible to different, need to be determined according to the actual situation.
In one embodiment of the invention, the broadcast data uses self-defining data format.That is, each BLE is set
It is standby that the format for needing customized broadcast data, strong flexibility can be transmitted according to the data of itself, to be suitable for different demands
BLE equipment.
Step S12, the broadcast data is forwarded to Internet of Things background server.
Specifically, after the BLE Bluetooth gateway listens to broadcast data, the broadcast data is forwarded to Internet of Things backstage
Server, to realize the data communication between BLE equipment and Internet of Things background server.
In one embodiment of the invention, the data communications method of the invention based on BLE bluetooth further includes to the broadcast
Data are handled, and by treated, broadcast data is forwarded to Internet of Things background server.Specifically, the BLE bluetooth network
It closes after listening to broadcast data, the broadcast data is handled according to preset rules, then will that treated is described wide
Multicast data is forwarded, to meet the requirement of data transmission.It, can be to multiple BLE by the processing to the broadcast data
The broadcast data of equipment is for statistical analysis, compared to one-to-one processing mode, significantly reduces system complexity, is promoted
Treatment effeciency.
As shown in Fig. 2, the data communication system of the invention based on BLE bluetooth is applied to BLE bluetooth in an embodiment
Gateway, including monitor module 21 and forwarding module 22.
Module 21 is monitored for monitoring the broadcast data that at least one BLE equipment is sent.
In the present invention, BLE equipment sends broadcast data according to the first predeterminated frequency, and BLE Bluetooth gateway is pre- according to second
If frequency monitors the broadcast data that BLE equipment in source is sent, so as to based on BLE Bluetooth gateway while listening for obtaining at least
The broadcast data of one BLE equipment realizes one-to-many data collection.Wherein, first predeterminated frequency and described second
Predeterminated frequency can be identical, is also possible to different, need to be determined according to the actual situation.
In one embodiment of the invention, the broadcast data uses self-defining data format.That is, each BLE is set
It is standby that the format for needing customized broadcast data, strong flexibility can be transmitted according to the data of itself, to be suitable for different demands
BLE equipment.
Forwarding module 22 is connected with module 21 is monitored, for the broadcast data to be forwarded to Internet of Things background server.
Specifically, after the BLE Bluetooth gateway listens to broadcast data, the broadcast data is forwarded to Internet of Things backstage
Server, to realize the data communication between BLE equipment and Internet of Things background server.
In one embodiment of the invention, the data communication system of the invention based on BLE bluetooth further includes processing module, is used
It is handled in the broadcast data, by treated, broadcast data is forwarded to Internet of Things background server.Specifically, institute
BLE Bluetooth gateway is stated after listening to broadcast data, the broadcast data is handled according to preset rules, then will processing
The broadcast data afterwards is forwarded, to meet the requirement of data transmission.It, can be with by the processing to the broadcast data
It is for statistical analysis to the broadcast data of multiple BLE equipment, compared to one-to-one processing mode, it is multiple to significantly reduce system
Miscellaneous degree, improves treatment effeciency.
It should be noted that it should be understood that the modules of apparatus above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing element calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing element calls software.For example, x module can be
The processing element individually set up also can integrate and realize in some chip of above-mentioned apparatus, in addition it is also possible to program generation
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing element of above-mentioned apparatus and is executed the above x mould
The function of block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also be only
It is vertical to realize.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.During realization,
Each step of the above method or the above modules can be by the integrated logic circuits of the hardware in processor elements or soft
The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), or, one
Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP), or, one or more field-programmable gate array
Arrange (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, when some above module is dispatched by processing element
When the form of program code is realized, which can be general processor, such as central processing unit
(CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can
To integrate, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
As shown in figure 3, BLE Bluetooth gateway of the invention includes: processor 31 and memory 32 in an embodiment.
The memory 32 is for storing computer program.
The memory 32, which includes: that ROM, RAM, magnetic disk, USB flash disk, storage card or CD etc. are various, can store program generation
The medium of code.
The processor 31 is connected with the memory 32, the computer program stored for executing the memory 32,
So that the BLE Bluetooth gateway executes the above-mentioned data communications method based on BLE bluetooth.
Preferably, the processor 31 can be general processor, including central processing unit
(CentralProcessingUnit, abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can be with
It is digital signal processor (DigitalSignalProcessor, abbreviation DSP), specific integrated circuit
(ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field-
ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components.
As shown in figure 4, the data communication system of the invention based on BLE bluetooth includes above-mentioned BLE in an embodiment
Bluetooth gateway 41 and at least one BLE equipment 42, i.e. BLE equipment 1, BLE equipment 2 ... BLE equipment n.
The BLE equipment 42 is for sending broadcast data, for BLE Bluetooth gateway monitoring.Therefore, the BLE is set
Standby 42 broadcast datas sent can be collected and be handled by the BLE Bluetooth gateway 41.
In one embodiment of the invention, as shown in figure 5, the BLE equipment 42 includes power module 421, BLE processing module
422 and external equipment module 423;The power module 421 is used to power for the BLE processing module 422;The BLE processing
Module 422 be used to carry out Bluetooth communication with the BLE Bluetooth gateway 41 and communicate with the external equipment module 423 and
Control.
In one embodiment of the invention, as shown in fig. 6, the BLE Bluetooth gateway 41 includes power module 411, BLE processing
Module 412 and Internet of Things module 413;The power module 411 is used to power for the BLE processing module 412;At the BLE
Reason module 412 is for monitoring and forwarding broadcast data;The Internet of Things module 413 is used to the broadcast data being sent to Internet of Things
Preferably, the BLE Bluetooth gateway 41 further includes display module 414 to net background server, for showing gateway relevant information, from
And convenient for the relevant information for understanding gateway in time.
It following is a brief introduction of the concrete application of the data communication system of the invention based on BLE bluetooth.For example, BLE
Equipment uses BLE Intelligent bracelet, is that each child in class, kindergarten wears a BLE Intelligent bracelet.BLE Intelligent bracelet
The detection data of each child is sent to BLE Bluetooth gateway by way of broadcast.Therefore, the BLE Bluetooth gateway can be adopted
Collect the detection data of each child, and can focus on, so that the one-to-one bluetooth for solving single child is built
The cumbersome processes such as vertical connection, realize while acquiring and handling the detection data of multiple children.Meanwhile the BLE bluetooth
The detection data can also be sent to logistics net background server by gateway, to carry out big data analysis and processing.
As shown in fig. 7, the data communications method of the invention based on BLE bluetooth is set applied to BLE in another embodiment
It is standby, comprising the following steps:
Step S71, broadcast data is sent, so that BLE Bluetooth gateway or other BLE equipment are monitored.
Specifically, BLE equipment sends broadcast data according to predeterminated frequency, other BLE equipment and BLE Bluetooth gateway can be monitored
The broadcast data, to obtain required information.
Step S72, the broadcast data of other BLE equipment transmission is received.
Specifically, other BLE equipment send broadcast data according to predeterminated frequency, and the BLE equipment can monitor the broadcast
Data, to realize the data communication between other BLE equipment.
Therefore, BLE equipment of the invention can be communicated by way of sending broadcast data with other BLE equipment,
Broadcast data can also be sent to BLE Bluetooth gateway, to realize the centralized collection and processing of data.
In one embodiment of the invention, the broadcast data uses self-defining data format.That is, each BLE is set
It is standby that the format for needing customized broadcast data, strong flexibility can be transmitted according to the data of itself, to be suitable for different demands
BLE equipment.
As shown in figure 8, the data communication system of the invention based on BLE bluetooth is set applied to BLE in another embodiment
It is standby, including sending module 81 and receiving module 82.
Sending module 81 is for sending broadcast data, so that BLE Bluetooth gateway or other BLE equipment are monitored.
Specifically, BLE equipment sends broadcast data according to predeterminated frequency, other BLE equipment and BLE Bluetooth gateway can be monitored
The broadcast data, to obtain required information.
Receiving module 82 is used to receive the broadcast data of other BLE equipment transmission.
Specifically, other BLE equipment send broadcast data according to predeterminated frequency, and the BLE equipment can monitor the broadcast
Data, to realize the data communication between other BLE equipment.
Therefore, BLE equipment of the invention can be communicated by way of sending broadcast data with other BLE equipment,
Broadcast data can also be sent to BLE Bluetooth gateway, to realize the centralized collection and processing of data.
In one embodiment of the invention, the broadcast data uses self-defining data format.That is, each BLE is set
It is standby that the format for needing customized broadcast data, strong flexibility can be transmitted according to the data of itself, to be suitable for different demands
BLE equipment.
It should be noted that it should be understood that the modules of apparatus above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing element calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing element calls software.For example, x module can be
The processing element individually set up also can integrate and realize in some chip of above-mentioned apparatus, in addition it is also possible to program generation
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing element of above-mentioned apparatus and is executed the above x mould
The function of block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also be only
It is vertical to realize.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.During realization,
Each step of the above method or the above modules can be by the integrated logic circuits of the hardware in processor elements or soft
The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), or, one
Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP), or, one or more field-programmable gate array
Arrange (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, when some above module is dispatched by processing element
When the form of program code is realized, which can be general processor, such as central processing unit
(CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can
To integrate, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
As shown in figure 9, BLE Bluetooth gateway of the invention includes: processor 91 and memory 92 in an embodiment.
The memory 92 is for storing computer program.
The memory 92, which includes: that ROM, RAM, magnetic disk, USB flash disk, storage card or CD etc. are various, can store program generation
The medium of code.
The processor 91 is connected with the memory 92, the computer program stored for executing the memory 92,
So that the BLE equipment executes the above-mentioned data communications method based on BLE bluetooth.
Preferably, the processor 91 can be general processor, including central processing unit
(CentralProcessingUnit, abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can be with
It is digital signal processor (DigitalSignalProcessor, abbreviation DSP), specific integrated circuit
(ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field-
ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components.
In conclusion the data communications method and system of the invention based on BLE bluetooth, BLE Bluetooth gateway, BLE equipment
It can be realized one-to-many, multi-to-multi data broadcasting between BLE equipment, to realize BLE networked communication method and BLE is set
Standby Internet of Things networking;Data collection and the processing that multiple BLE equipment are realized by BLE Bluetooth gateway, reduce system complexity.
So the present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (11)
1. a kind of data communications method based on BLE bluetooth is applied to BLE Bluetooth gateway, it is characterised in that: including following step
It is rapid:
Monitor the broadcast data that at least one BLE equipment is sent;
The broadcast data is forwarded to Internet of Things background server.
2. the data communications method according to claim 1 based on BLE bluetooth, it is characterised in that: further include to described wide
Multicast data is handled, and by treated, broadcast data is forwarded to Internet of Things background server.
3. a kind of data communication system based on BLE bluetooth is applied to BLE Bluetooth gateway, it is characterised in that: including monitoring module
And forwarding module;
The monitoring module is for monitoring the broadcast data that at least one BLE equipment is sent;
The forwarding module is used to the broadcast data being forwarded to Internet of Things background server.
4. a kind of BLE Bluetooth gateway characterized by comprising processor, memory;
The memory, for storing computer program;
The processor, for executing the computer program of the memory storage, so that the BLE Bluetooth gateway perform claim
It is required that the data communications method based on BLE bluetooth described in 1 or 2.
5. a kind of data communication system based on BLE bluetooth, it is characterised in that: including BLE Bluetooth gateway as claimed in claim 4
With at least one BLE equipment;
The BLE equipment is for sending broadcast data.
6. the data communication system according to claim 5 based on BLE bluetooth, it is characterised in that: the BLE equipment includes
Power module, BLE processing module and external equipment module;The power module is used to power for the BLE processing module;It is described
BLE processing module be used to carry out Bluetooth communication with the BLE Bluetooth gateway and communicate with the external equipment module and
Control.
7. the data communication system according to claim 5 based on BLE bluetooth, it is characterised in that: the BLE Bluetooth gateway
Including power module, BLE processing module and Internet of Things module;The power module is used to power for the BLE processing module;Institute
BLE processing module is stated for listening broadcast data;The Internet of Things module is for after being forwarded to Internet of Things for the broadcast data
Platform server.
8. a kind of data communications method based on BLE bluetooth is applied to BLE equipment, it is characterised in that: the following steps are included:
Broadcast data is sent, so that BLE Bluetooth gateway or other BLE equipment are monitored;
Receive the broadcast data of other BLE equipment transmission.
9. the data communications method according to claim 8 based on BLE bluetooth, it is characterised in that: the broadcast data is adopted
With self-defining data format.
10. a kind of data communication system based on BLE bluetooth, be applied to BLE equipment, it is characterised in that: including sending module and
Receiving module;
The sending module is for sending broadcast data, so that BLE Bluetooth gateway or other BLE equipment are monitored;
The receiving module is used to receive the broadcast data of other BLE equipment transmission.
11. a kind of BLE equipment characterized by comprising processor, memory;
The memory, for storing computer program;
The processor, for executing the computer program of the memory storage, so that the BLE equipment perform claim requires
Data communications method based on BLE bluetooth described in 8 or 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810495744.3A CN110519731A (en) | 2018-05-22 | 2018-05-22 | Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810495744.3A CN110519731A (en) | 2018-05-22 | 2018-05-22 | Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110519731A true CN110519731A (en) | 2019-11-29 |
Family
ID=68622250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810495744.3A Pending CN110519731A (en) | 2018-05-22 | 2018-05-22 | Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519731A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343614A (en) * | 2019-12-31 | 2020-06-26 | 东南大学 | BLE active scanning-oriented rapid discovery mechanism |
CN111801955A (en) * | 2020-02-07 | 2020-10-20 | 深圳市汇顶科技股份有限公司 | Data transmission method, low-power-consumption Bluetooth device and low-power-consumption Bluetooth chip |
CN112270450A (en) * | 2020-11-04 | 2021-01-26 | 江苏交控智慧城市技术有限公司 | Real-time bus dispatching and predicting system under support of Internet of things |
CN116266905A (en) * | 2022-11-29 | 2023-06-20 | 浙江绍兴苏泊尔生活电器有限公司 | Data processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106507273A (en) * | 2016-10-09 | 2017-03-15 | 广州创想科技股份有限公司 | Bluetooth BLE communicator and the method for carrying out Control on Communication using the device |
US20170171798A1 (en) * | 2015-12-10 | 2017-06-15 | Lg Electronics Inc. | Method and apparatus for transmitting and receiving data in wireless communication system |
CN106878926A (en) * | 2017-02-08 | 2017-06-20 | 泰凌微电子(上海)有限公司 | A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system |
CN106993261A (en) * | 2016-12-12 | 2017-07-28 | 建荣半导体(深圳)有限公司 | A kind of low-power consumption bluetooth data communications method, equipment and system |
CN208424788U (en) * | 2018-05-22 | 2019-01-22 | 袁功胜 | Data communication system, BLE Bluetooth gateway, BLE equipment based on BLE bluetooth |
-
2018
- 2018-05-22 CN CN201810495744.3A patent/CN110519731A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170171798A1 (en) * | 2015-12-10 | 2017-06-15 | Lg Electronics Inc. | Method and apparatus for transmitting and receiving data in wireless communication system |
CN106507273A (en) * | 2016-10-09 | 2017-03-15 | 广州创想科技股份有限公司 | Bluetooth BLE communicator and the method for carrying out Control on Communication using the device |
CN106993261A (en) * | 2016-12-12 | 2017-07-28 | 建荣半导体(深圳)有限公司 | A kind of low-power consumption bluetooth data communications method, equipment and system |
CN106878926A (en) * | 2017-02-08 | 2017-06-20 | 泰凌微电子(上海)有限公司 | A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system |
CN208424788U (en) * | 2018-05-22 | 2019-01-22 | 袁功胜 | Data communication system, BLE Bluetooth gateway, BLE equipment based on BLE bluetooth |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343614A (en) * | 2019-12-31 | 2020-06-26 | 东南大学 | BLE active scanning-oriented rapid discovery mechanism |
CN111801955A (en) * | 2020-02-07 | 2020-10-20 | 深圳市汇顶科技股份有限公司 | Data transmission method, low-power-consumption Bluetooth device and low-power-consumption Bluetooth chip |
CN111801955B (en) * | 2020-02-07 | 2023-09-22 | 深圳市汇顶科技股份有限公司 | Data transmission method, low-power-consumption Bluetooth device and low-power-consumption Bluetooth chip |
CN112270450A (en) * | 2020-11-04 | 2021-01-26 | 江苏交控智慧城市技术有限公司 | Real-time bus dispatching and predicting system under support of Internet of things |
CN112270450B (en) * | 2020-11-04 | 2021-07-23 | 江苏交控智慧城市技术有限公司 | Real-time bus dispatching and predicting system under support of Internet of things |
CN116266905A (en) * | 2022-11-29 | 2023-06-20 | 浙江绍兴苏泊尔生活电器有限公司 | Data processing method |
CN116266905B (en) * | 2022-11-29 | 2024-01-30 | 浙江绍兴苏泊尔生活电器有限公司 | Data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110519731A (en) | Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment | |
CN107371206B (en) | Method and equipment for data transmission | |
CN107852351A (en) | The method and apparatus of transmission based on monitoring | |
CN208424788U (en) | Data communication system, BLE Bluetooth gateway, BLE equipment based on BLE bluetooth | |
CN101136822A (en) | Electronic apparatus and device detection method | |
CN107635258A (en) | A kind of transmission of data or signaling, transmission method and device | |
CN109217995A (en) | A kind of data processing method, terminal and base station | |
JP7364036B2 (en) | Communications system | |
JP2023126926A (en) | Communication system | |
CN107306456A (en) | A kind of terminal association AP method, apparatus and system | |
EP4447583A1 (en) | Downlink transmission method and apparatus | |
CN108810975A (en) | The method and apparatus for being used for transmission buffer status report | |
CN106658389B (en) | A kind of method and apparatus for being paged and establishing D2D and connecting | |
CN103179588B (en) | The data processing equipment and method of wireless access point | |
CN210112292U (en) | 5G small base station device | |
CN103391531B (en) | A kind of method for sending information, device, the state transfer method of terminal and terminal | |
CN113766590B (en) | Method and wireless device for application in wireless networking | |
CN108834204A (en) | Paging method, system and the network equipment | |
CN104639530B (en) | A kind of nebula network communication protocol, communication means and communication protocol packet | |
CN109451597B (en) | WiFi amplifier automatic networking system and method thereof | |
CN107466018A (en) | The data transferring method and terminal device of a kind of terminal device | |
CN103458491B (en) | Communication means between a kind of WLAN interior joint and terminal and equipment | |
CN106793024A (en) | The method and wireless device of a kind of wireless device response wireless terminal | |
CN114258058A (en) | Measuring method, measuring device, terminal and network equipment | |
CN113543286A (en) | Receiving chain opening state switching method and first multi-link equipment |
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 |