CN109348461A - The bluetooth grid means of communication, device, adjusting device and computer storage medium - Google Patents

The bluetooth grid means of communication, device, adjusting device and computer storage medium Download PDF

Info

Publication number
CN109348461A
CN109348461A CN201811340099.4A CN201811340099A CN109348461A CN 109348461 A CN109348461 A CN 109348461A CN 201811340099 A CN201811340099 A CN 201811340099A CN 109348461 A CN109348461 A CN 109348461A
Authority
CN
China
Prior art keywords
data packet
node
legal
command
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811340099.4A
Other languages
Chinese (zh)
Inventor
王二毛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumlux Lighting Suzhou Inc
Original Assignee
Lumlux Lighting Suzhou Inc
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 Lumlux Lighting Suzhou Inc filed Critical Lumlux Lighting Suzhou Inc
Priority to CN201811340099.4A priority Critical patent/CN109348461A/en
Publication of CN109348461A publication Critical patent/CN109348461A/en
Pending legal-status Critical Current

Links

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Abstract

The embodiment of the invention discloses a kind of bluetooth grid means of communication, device, adjusting device and computer readable storage mediums.Include: the node in bluetooth grid network when receiving the data packet of transmitting terminal transmission, judges whether the data packet is legal;When the data packet is legal, judge whether the data packet processes;When the data packet is untreated, parses the data packet and identify the command type of the data packet according to parsing result;It controls the node and executes order, and determined the need for according to the command type to the transmitting terminal return command implementing result.Realization decreases or even eliminates the repetitive data packet occurred in bluetooth grid network, to ensure the speed and quality of bluetooth grid communication.

Description

The bluetooth grid means of communication, device, adjusting device and computer storage medium
Technical field
The present invention relates to bluetooth grid technical field more particularly to a kind of bluetooth grid means of communication, device, adjusting device And computer readable storage medium.
Background technique
Bluetooth grid network is the low energy consumption network topology for establishing many-to-many equipment communication.Bluetooth grid network allows The catenet based on multiple equipment is created, network may include tens of, hundreds if not thousands of bluetooth grid equipments, these The transmitting of information can be mutually carried out between equipment, such a application form is without suspected of building automatic, wireless sensor network Network, asset tracking and other solutions provide ideal selection.Compared to WIFI, bluetooth supports ad hoc network, theoretically, together One network can support a nodes up to ten thousand, simultaneously as each node can be forwarded mutually, it, will not shadow even if part of nodes damages Ring the work of other nodes.And WIFI depends on router, if it exceeds 255, it is related to the division of network, it is extremely complex, together Shi Ruguo router breaks down, then whole network is paralysed.Compared to zigbee, bluetooth support is direct-connected with mobile phone, and mobile phone only needs It is connect with an equipment in blueteeth network, i.e., all devices in controllable whole network are easy to use.And zigbee It needs just be connected with mobile phone by " zigbee turns bluetooth or WIFI ", considerably increase the complexity used.
Nowadays, bluetooth grid uses the grid network technology based on Flooding agreement, and data packet is in a broadcast manner It being forwarded, each node can receive order and be forwarded, so will appear a large amount of repetitive data packets in whole network, So that the power consumption of integral device also will increase, therefore current grid is only suitable for the lesser network of scale, and there are certain drawbacks.
Summary of the invention
The embodiment of the present invention provides a kind of bluetooth grid means of communication, device, adjusting device and computer-readable storage medium Matter, for decreasing or even eliminating the repetitive data packet occurred in bluetooth grid network, to ensure the speed of bluetooth grid communication And quality.
In a first aspect, the embodiment of the invention provides a kind of bluetooth grid means of communication, this method comprises:
Node in bluetooth grid network judges whether the data packet closes when receiving the data packet of transmitting terminal transmission Method;
When the data packet is legal, judge whether the data packet processes;
When the data packet is untreated, parses the data packet and identify the life of the data packet according to parsing result Enable type;
It controls the node and executes order, and determine the need for returning to the transmitting terminal according to the command type and order Enable implementing result.
Second aspect, the embodiment of the invention also provides a kind of bluetooth grid communication device, which includes:
Validity judgement module, for the node in bluetooth grid network when receiving the data packet of transmitting terminal transmission, Judge whether the data packet is legal;
Determined property module, for judging whether the data packet processes when the data packet is legal;
Command type identification module, for parsing the data packet and according to parsing when the data packet is untreated As a result the command type of the data packet is identified;
As a result control module executes order for controlling the node, and is determined the need for according to the command type To the transmitting terminal return command implementing result.
The third aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the program realize the bluetooth grid means of communication provided in an embodiment of the present invention when being executed by processor.
Fourth aspect processor and is stored in the embodiment of the invention also provides a kind of adjusting device, including memory On reservoir and it can realize when the computer program of processor operation, the processor execute the computer program such as the present invention The bluetooth grid means of communication that embodiment provides.
The embodiment of the present invention, the node in bluetooth grid network judge institute when receiving the data packet of transmitting terminal transmission It whether legal states data packet, when the data packet is legal, judges whether the data packet processes, do not locate in the data packet It is out-of-date to manage, and parses the data packet and identifies the command type of the data packet according to parsing result, controls the node and executes Order, and determine the need for realizing and reducing even to the transmitting terminal return command implementing result according to the command type The repetitive data packet occurred in bluetooth grid network is eliminated, to ensure the speed and quality of bluetooth grid communication.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of bluetooth grid means of communication provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another bluetooth grid means of communication provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another bluetooth grid means of communication provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of bluetooth grid communication device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of adjusting device provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow diagram of the bluetooth grid means of communication provided in an embodiment of the present invention, and this method can be by Adjusting device provided in an embodiment of the present invention executes, which can be used software and/or hardware mode and realize, this method Specifically comprise the following steps:
Node in step 110, bluetooth grid network judges the data when receiving the data packet of transmitting terminal transmission Whether wrap legal;
The present invention using transmitting terminal as mobile phone, say to be illustrated for industrial and mineral headlamp by the node in bluetooth grid network It states in bluetooth grid network, the means of communication between mobile phone and node and node and node.If being shone with mobile phone control industrial and mineral For the electric power starting of bright lamp, illustratively, industrial and mineral headlamp broadcast message of the mobile phone into blueteeth network network sends data Packet, industrial and mineral headlamp is when receiving the data packet, it is necessary first to judge the legitimacy of the data packet, it can be understood as, judgement The data packet whether be the node processing data packet, if so, the data packet is legal, conversely, illegal.In the present embodiment from Three aspects judge the legitimacy of data packet, are respectively as follows: Network ID, netkey and source address and destination address.Tool Steps are as follows for body:
Industrial and mineral headlamp obtains the Network ID that data packet carries, since Network ID is to uniquely identify a net The number of network, therefore judge whether the data packet is at network locating for the industrial and mineral headlamp by the Network ID of acquisition The data packet of reason directly abandons the data packet if Network ID mismatches;If Network ID matches, data are obtained The netkey carried is wrapped, further judges whether the industrial and mineral headlamp has by the netkey of acquisition and handles the data packet Permission, if netkey mismatch, abandon the data packet;If netkey match, obtain data packet source address and Destination address further judges that mobile phone whether in the grid network of the industrial and mineral headlamp, passes through destination address by source address Judge whether the industrial and mineral headlamp is the receiving end for receiving the data packet, if source address and destination address mismatch, abandoning should Data packet;If source address and destination address all match, determine that the data packet is the legal data packet of the industrial and mineral headlamp.To sum up It is described it is found that the data packet is legal in Network ID, netkey and source address and all legal destination address.
It should be noted that destination address described herein can be a specific IP address, or an IP Address network segment indicates multiple specific IP address.
Step 120, when the data packet is legal, judge whether the data packet processes;
Industrial and mineral headlamp determines that the data packet received is legal, it can be understood as, which is the industrial and mineral headlamp Pending data packet.Since bluetooth grid uses the grid network technology based on Flooding agreement, side of the data packet to broadcast Formula is forwarded, and each node can receive order and be forwarded, so receiving in node is not the to be processed of oneself When data packet, the data packet will be forwarded in a broadcast manner, so, it may appear that some node is receiving a valid data Bao Hou can also receive this data packet that other nodes forward again.It, can be to legal data packet in view of the situation Some data bit is identified, to indicate the node received mistake legal data packet.Specific embodiment is as follows:
Each node in bluetooth grid network prestores an empty status information table respectively, and node is receiving a conjunction When method data packet, judge whether the corresponding status information table of the node is sky, if it is empty, then it represents that the node is to receive for the first time Then legal data packet obtains the mark data position of the legal data packet, be processed state by mark data bit identification, and close Connection storage mark data position is processed state, and refreshes the status information table saved to the node.In this way, be received again by it is legal When data packet, the mark data position of legal data packet is obtained, whether the mark data position that acquisition is searched in status information table has The corresponding record for being identified as processed state, if there is record, then it represents that the industrial and mineral headlamp received mistake valid data Packet, abandons the legal data packet, to avoid duplicate data packet is handled.It is understood that a node receives a legal number According to packet, then it represents that the legal data packet is in the node processing mistake.
Step 130, when the data packet is untreated, parse the data packet and the number identified according to parsing result According to the command type of packet;
Step 140, the control node execute order, and are determined the need for according to the command type to the transmission Hold return command implementing result.
In the present embodiment, legal data packet is received in node, and confirm that the legal data packet is not processed before this Out-of-date, node parses the legal data packet and identifies the command type of legal data packet, the purpose done so according to parsing result It is to determine whether transmitting terminal return command implementing result according to different command types.In order to ensure the correct of Bluetooth transmission Property and high efficiency, the present embodiment be divided into two class command types, the first order and the second order are the first order in command type When, control node executes order, and to transmitting terminal return command implementing result;When command type is the second order, only control Node executes order, does not need to transmitting terminal return command implementing result.It should be noted that first order includes at least Single node control command calls survey order and configuration order together, and second order includes at least multinode control command, wherein institute Stating single node control command includes the switch command and dimmer command to a node, and the multinode control command includes to two The switch command and dimmer command of a and more than two nodes.
Illustratively, by taking node is industrial and mineral headlamp as an example, unlatching power supply, closing electricity that an industrial and mineral headlamp is sent Source or the order for adjusting lamplight brightness belong to single node control command;Acquisition electric current, voltage are sent to an industrial and mineral headlamp Or the order of power belong to call together survey order;Current value is sent in an industrial and mineral headlamp or when voltage value reaches preset threshold, The order that industrial and mineral headlamp generates warning message belongs to configuration information, wherein calls survey order and configuration order together both for single-unit For point, i.e., the control command to single industrial and mineral headlamp.The unlatching that two or more industrial and mineral headlamps are sent The order of power supply, closing power supply or adjusting lamplight brightness belongs to multinode control command.Wherein, it is ordered since single node controls For enabling, calling survey order and configuration order together both for a node, need to transmitting terminal return command implementing result.And it is more Node control order is for two or more nodes, it is contemplated that the complexity of return course is not needed to transmission Hold return command implementing result.
The technical solution of the present embodiment, the node in bluetooth grid network when receiving the data packet of transmitting terminal transmission, Judge whether the data packet is legal, when the data packet is legal, judge whether the data packet processes, in the data When wrapping untreated, parses the data packet and identify the command type of the data packet according to parsing result, control the section Point executes order, and is determined the need for according to the command type to the transmitting terminal return command implementing result.Realization subtracts It even is eliminated the repetitive data packet occurred in bluetooth grid network less, to ensure the speed and quality of bluetooth grid communication.
Fig. 2 is that the flow diagram of another bluetooth grid means of communication provided in an embodiment of the present invention referring to fig. 2 should Method further comprises following steps:
Step 210, by the package identification be it is processed;
In the present embodiment, legal data packet is received in node, and confirm that the legal data packet is not processed before this Out-of-date, before node parses the legal data packet and identifies the command type of legal data packet according to parsing result, needing should Legal data packet is identified as processed state, and specific embodiment has been done in the corresponding explanation of step 120 of above-described embodiment It illustrates, details are not described herein.
Step 220 judges whether to need to forward the data packet;
By comparing the section of the life span parameter of transmitting terminal legal data packet and reception legal data packet in the present embodiment The size of point side life span parameter, to judge whether the node needs to forward the legal data packet received.Specifically: it is sending out The life span parameter that legal data packet is arranged in sending end is the first existence parameter, presets the life span parameter of node in node side For the second existence parameter, the first existence parameter and the second existence parameter can be in the integers between 1-256 according to the actual situation Appoint and takes a value.When node receives a legal data packet, the size of the first existence parameter with the second existence parameter is judged, If the first existence parameter is greater than the second existence parameter, which forwards the legal data packet, and the value of the first existence parameter subtracts 1, until corresponding node parses and handles the legal data packet when the first existence parameter is equal to the second existence parameter.In addition, if For first existence parameter less than the second existence parameter, then the node does not forward the legal data packet, solves to the legal data packet It analyses and handles.Data packet is before arriving at the destination location if legal, and the first existence parameter is reduced to 0, then the valid data is coated with It abandons.
If desired step 230 forwards, then other nodes being forwarded to the data packet in the bluetooth grid network;
If step 130 does not need to forward, executes the parsing data packet and the number is identified according to parsing result According to packet command type the step of.
It according to the judging result of step 220, if desired forwards, then legal data packet is forwarded in bluetooth grid network should Other nodes of near nodal, are forwarded in a broadcast manner;If not needing to forward, then it represents that the node can be to the legal number Dissection process is carried out according to packet, specifically: parsing legal data packet and the command type that legal data packet is identified according to parsing result.
The technical solution of the present embodiment, by judging whether legal data packet needs to forward, it is possible to prevente effectively from legal number According to Infinite Cyclic and transmitting-receiving of the packet in bluetooth grid network, Internet resources are saved.
Fig. 3 is that the flow diagram of another bluetooth grid means of communication provided in an embodiment of the present invention should referring to Fig. 3 Method further comprises following steps:
Node in step 310, bluetooth grid network obtains the data when receiving the data packet of transmitting terminal transmission Wrap the time control information carried;
Control time point in step 320, the acquisition time control information;
Step 330 obtains current point in time, and judges whether the current point in time and the control time point are consistent;
Step 110, when the control time point is consistent with current point in time, execute described whether judges the data packet Legal step.
In the present embodiment, before judging whether data packet that node receives is legal, data packet carrying is first obtained Time control information is preset with control time point in the time control information.Such as: mobile phone sends a control command to industrial and mineral headlamp, The control command are as follows: 18:00 starts to illuminate control A lamp at night.Wherein, evening 18:00 is exactly to control time point.In this way, if Current point in time and control time point mismatch, then industrial and mineral headlamp does not need to carry out the validity judgement of data packet, to current When time point matches with control time point, then the judgement of data packet legitimacy is carried out, and execute subsequent process.
In addition, the judgement for controlling time point and current point in time can also be put behind, it can be understood as, it is legal confirming When data packet is the pending data packet of node, if current point in time and control time point mismatch, first by the valid data Packet is stored in the node, to time is up, then executes related command.
The technical solution of the present embodiment, by introducing time control logic, method is simply easily realized, so that in bluetooth grid network The transmission of data is more intelligent.
Fig. 4 is a kind of structural schematic diagram of bluetooth grid communication device provided in an embodiment of the present invention, which is suitable for The bluetooth grid means of communication that any embodiment of that present invention provides are executed, as shown in figure 4, the device includes: validity judgement mould Block 410, determined property module 420, command type identification module 430 and result control module 440.
Validity judgement module 410, for the node in bluetooth grid network in the data packet for receiving transmitting terminal transmission When, judge whether the data packet is legal;
Determined property module 420, for judging whether the data packet processes when the data packet is legal;
Command type identification module 430, for parsing the data packet and according to solution when the data packet is untreated Analysis result identifies the command type of the data packet;
As a result control module 440 execute order for controlling the node, and determine whether need according to the command type It will be to the transmitting terminal return command implementing result.
Bluetooth grid communication device provided in this embodiment, node in bluetooth grid network are sent receiving transmitting terminal Data packet when, judge whether the data packet legal, when the data packet is legal, judge whether the data packet is handled It crosses, when the data packet is untreated, parses the data packet and identify the order class of the data packet according to parsing result Type controls the node and executes order, and determines the need for holding to the transmitting terminal return command according to the command type Row result.Realization decreases or even eliminates the repetitive data packet occurred in bluetooth grid network, to ensure the communication of bluetooth grid Speed and quality.
On the basis of the above embodiments, validity judgement module 410 includes:
Obtain Network ID, netkey and the source address and destination address that the data packet carries;
In the Network ID, netkey and source address and all legal destination address, the data packet is determined It is legal.
On the basis of the above embodiments, further includes:
Judge whether to need to forward the data packet;
If desired it forwards, then other nodes being forwarded to the data packet in the bluetooth grid network;
If not needing to forward, executes the parsing data packet and identify the life of the data packet according to parsing result The step of enabling type.
On the basis of the above embodiments, further includes:
It is processed by the package identification.
On the basis of the above embodiments, as a result control module 440 includes:
When the command type is the first order, controls the node and execute order, and return and order to the transmitting terminal Enable implementing result;
When the command type is the second order, only controls the node and execute order.
On the basis of the above embodiments, first order includes at least single node control command, calls survey order together and match Order is set, second order includes at least multinode control command, wherein the single node control command includes saving to one The switch command and dimmer command of point, the multinode control command include to two and the switch command of more than two node and Dimmer command.
On the basis of the above embodiments, further includes:
Node in bluetooth grid network obtains what the data packet carried when receiving the data packet of transmitting terminal transmission Time control information;
Obtain the control time point in the time control information;
Current point in time is obtained, and judges whether the current point in time and the control time point are consistent;
When the control time point is consistent with current point in time, the step for judging whether the data packet is legal is executed Suddenly.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the program The bluetooth grid means of communication provided such as all embodiments of the invention are realized when being executed by processor: that is, the program is processed Device is realized when executing: the node in bluetooth grid network judges the data packet when receiving the data packet of transmitting terminal transmission It is whether legal, when the data packet is legal, judge whether the data packet processes, when the data packet is untreated, It parses the data packet and identifies the command type of the data packet according to parsing result, control the node and execute order, and It is determined the need for according to the command type to the transmitting terminal return command implementing result.
It can be using one or any combination of at least two computer-readable media.Computer-readable medium can be Computer-readable signal media or computer readable storage medium.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example (non exhaustive list) of calculation machine readable storage medium storing program for executing includes: being electrically connected with one or at least two conducting wires Connect, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed it is read-only Memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on remote computer or adjusting device completely on the remote computer on the user computer. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Fig. 5 is a kind of structural schematic diagram of adjusting device provided in an embodiment of the present invention, which can collect cost hair The bluetooth grid communication device that bright embodiment provides.Referring to Fig. 5, adjusting device 500 may include: memory 510, processor 520 and the computer program that is stored on memory 510 and can be run in processor 520, the processor 520 execute the meter The bluetooth grid means of communication as described in the embodiments of the present invention are realized when calculation machine program.
Adjusting device provided in an embodiment of the present invention, the node in bluetooth grid network is in the number for receiving transmitting terminal transmission When according to packet, judges whether the data packet is legal, when the data packet is legal, judge whether the data packet processes, It when the data packet is untreated, parses the data packet and identifies the command type of the data packet according to parsing result, control It makes the node and executes order, and determined the need for executing knot to the transmitting terminal return command according to the command type Fruit.Realization decreases or even eliminates the repetitive data packet occurred in bluetooth grid network, to ensure the speed of bluetooth grid communication And quality.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of bluetooth grid means of communication characterized by comprising
Node in bluetooth grid network judges whether the data packet is legal when receiving the data packet of transmitting terminal transmission;
When the data packet is legal, judge whether the data packet processes;
When the data packet is untreated, parses the data packet and identify the order class of the data packet according to parsing result Type;
It controls the node and executes order, and determine the need for holding to the transmitting terminal return command according to the command type Row result.
2. the method according to claim 1, wherein judging whether the data packet is legal, comprising:
Obtain Network ID, netkey and the source address and destination address that the data packet carries;
In the Network ID, netkey and source address and all legal destination address, determine that the data packet is legal.
3. the method according to claim 1, wherein parsing the data packet and described in being identified according to parsing result Before the command type of data packet, further includes:
Judge whether to need to forward the data packet;
If desired it forwards, then other nodes being forwarded to the data packet in the bluetooth grid network;
If not needing to forward, executes the parsing data packet and identify the order class of the data packet according to parsing result The step of type.
4. according to the method described in claim 3, it is characterized in that, also being wrapped before judging whether to need to forward the data packet It includes:
It is processed by the package identification.
5. the method according to claim 1, wherein controlling the node executes order, and according to the order Type is determined the need for the transmitting terminal return command implementing result, comprising:
When the command type is the first order, controls the node and execute order, and held to the transmitting terminal return command Row result;
When the command type is the second order, only controls the node and execute order.
6. according to the method described in claim 5, it is characterized in that, it is described first order include at least single node control command, Call survey order and configuration order together, second order includes at least multinode control command, wherein the single node control command Including the switch command and dimmer command to a node, the multinode control command includes to two and more than two node Switch command and dimmer command.
7. the method according to claim 1, wherein before judging whether the data packet is legal, further includes:
Node in bluetooth grid network obtains the time control that the data packet carries when receiving the data packet of transmitting terminal transmission Information;
Obtain the control time point in the time control information;
Current point in time is obtained, and judges whether the current point in time and the control time point are consistent;
When the control time point is consistent with current point in time, the step for judging whether the data packet is legal is executed.
8. a kind of bluetooth grid communication device characterized by comprising
Validity judgement module, for the node in bluetooth grid network when receiving the data packet of transmitting terminal transmission, judgement Whether the data packet is legal;
Determined property module, for judging whether the data packet processes when the data packet is legal;
Command type identification module, for parsing the data packet and according to parsing result when the data packet is untreated Identify the command type of the data packet;
As a result control module executes order for controlling the node, and is determined the need for according to the command type to institute State transmitting terminal return command implementing result.
9. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that when the program is executed by processor Realize the bluetooth grid means of communication as described in any in claim 1-7.
10. a kind of adjusting device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, the processor are realized as described in any in claim 1-7 when executing the computer program The bluetooth grid means of communication.
CN201811340099.4A 2018-11-12 2018-11-12 The bluetooth grid means of communication, device, adjusting device and computer storage medium Pending CN109348461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811340099.4A CN109348461A (en) 2018-11-12 2018-11-12 The bluetooth grid means of communication, device, adjusting device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811340099.4A CN109348461A (en) 2018-11-12 2018-11-12 The bluetooth grid means of communication, device, adjusting device and computer storage medium

Publications (1)

Publication Number Publication Date
CN109348461A true CN109348461A (en) 2019-02-15

Family

ID=65315041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811340099.4A Pending CN109348461A (en) 2018-11-12 2018-11-12 The bluetooth grid means of communication, device, adjusting device and computer storage medium

Country Status (1)

Country Link
CN (1) CN109348461A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490188A (en) * 2020-03-16 2021-10-08 瑞昱半导体股份有限公司 Bluetooth mesh network system with rapid distribution network mechanism and distribution network method thereof
CN116828435A (en) * 2023-08-30 2023-09-29 北京柚果星空科技有限公司 Equipment forwarding method and system of soft Bluetooth gateway

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075029A1 (en) * 2006-09-22 2008-03-27 Sennet Communications Apparatus for opportunistic wireless mesh networks
CN102821438A (en) * 2012-09-13 2012-12-12 苏州大学 Opportunistic routing method for wireless Mesh networks and router
CN103607352A (en) * 2013-11-22 2014-02-26 上海电机学院 Multicast routing method based on network topology
CN105491508A (en) * 2015-06-30 2016-04-13 汤羽 Networking and routing algorithm based on Bluetooth technology for mobile phone ad hoc communication network CellNet
CN107801184A (en) * 2016-09-05 2018-03-13 无锡鸿飞信联科技有限公司 A kind of method for improving Mesh network security mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075029A1 (en) * 2006-09-22 2008-03-27 Sennet Communications Apparatus for opportunistic wireless mesh networks
CN102821438A (en) * 2012-09-13 2012-12-12 苏州大学 Opportunistic routing method for wireless Mesh networks and router
CN103607352A (en) * 2013-11-22 2014-02-26 上海电机学院 Multicast routing method based on network topology
CN105491508A (en) * 2015-06-30 2016-04-13 汤羽 Networking and routing algorithm based on Bluetooth technology for mobile phone ad hoc communication network CellNet
CN107801184A (en) * 2016-09-05 2018-03-13 无锡鸿飞信联科技有限公司 A kind of method for improving Mesh network security mechanism

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490188A (en) * 2020-03-16 2021-10-08 瑞昱半导体股份有限公司 Bluetooth mesh network system with rapid distribution network mechanism and distribution network method thereof
CN116828435A (en) * 2023-08-30 2023-09-29 北京柚果星空科技有限公司 Equipment forwarding method and system of soft Bluetooth gateway
CN116828435B (en) * 2023-08-30 2023-11-14 北京柚果星空科技有限公司 Equipment forwarding method and system of soft Bluetooth gateway

Similar Documents

Publication Publication Date Title
CN103023707B (en) Method, management server and network system that a kind of strategy configures
RU2658181C2 (en) Handling of traffic flows in a communication system
CN105791315A (en) Method and system for accelerating UDP protocol
CN105375969B (en) A kind of method and apparatus that mobile device is relayed
US20170085392A1 (en) System, method and apparatus for data communication
CN113595897B (en) Path detection method and device
CN103346980B (en) A kind of business scheduling method, device and the network equipment
CN111147372B (en) Downlink message sending and forwarding method and device
CN108881328A (en) Packet filtering method, device, gateway and storage medium
CN109348461A (en) The bluetooth grid means of communication, device, adjusting device and computer storage medium
CN105959906A (en) Inter-network device communication method and inter-network device communication method
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN103634214A (en) Route information generating method and device
CN105991680A (en) Internet of things smart device software automatic upgrading method and system
CN114679350B (en) SD-WAN-based link selection method, device and storage medium
CN101710864B (en) Collocation method and device for multi-gateway Linux server
CN105530185A (en) Overlay routing network, routing method based on overlay routing network, and router
CN103534991A (en) Packet forwarding method and apparatus
CN109996309B (en) Routing flow drainage system, method, device and medium
CN113873680A (en) Session management method, session management function network element and storage medium
CN108494687A (en) Power information physical system multipath networking communication means based on wifi and system
CN103716236A (en) Route calculation method based on IS-IS protocol and equipment
CN110392416B (en) Network selection method of android system
KR100868825B1 (en) Method for configuring network address translating table in mobile communication system and method for routing network address of base station
CN110601892B (en) Main module access method, device and equipment based on object-oriented protocol

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215