CN103684938A - Industrial bluetooth network system and networking method - Google Patents

Industrial bluetooth network system and networking method Download PDF

Info

Publication number
CN103684938A
CN103684938A CN201310566493.0A CN201310566493A CN103684938A CN 103684938 A CN103684938 A CN 103684938A CN 201310566493 A CN201310566493 A CN 201310566493A CN 103684938 A CN103684938 A CN 103684938A
Authority
CN
China
Prior art keywords
bluetooth
slave station
main website
network
netkey
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
CN201310566493.0A
Other languages
Chinese (zh)
Other versions
CN103684938B (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201310566493.0A priority Critical patent/CN103684938B/en
Publication of CN103684938A publication Critical patent/CN103684938A/en
Application granted granted Critical
Publication of CN103684938B publication Critical patent/CN103684938B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an industrial bluetooth network system and a networking method. A bluetooth network system contains a master station and a plurality of slave stations. Each slave station has a network key device used for storing encrypted bluetooth safety networking filtration parameters. Before networking, a bluetooth primary station sets search filtering parameters according to piconet ID so as to ensure that a slave station which meets requirements can be searched; a bluetooth secondary station sets the piconet ID to be a device type of the bluetooth secondary station itself and sets connection filtering parameters according to bluetooth address of the primary station so as to ensure that the bluetooth secondary station can be searched by its affiliated primary station and only the primary station is allowed to be connected with the bluetooth secondary station. During networking, the bluetooth primary and secondary stations establish ACL link according to the set networking filtering parameters so as to prevent unauthorized or illegal bluetooth equipment from being added into the network. After networking, data communication in the bluetooth piconet is encrypted by a sequential cryptographic algorithm so as to prevent illegal equipment from monitoring. According to the invention, security, robustness, maintainability and flexibility of the network are improved.

Description

A kind of industrial blue-tooth network system and network-building method
Technical field
The present invention relates to wireless network networking technology, be specifically related to a kind of blueteeth network system and network-building method that is applicable to industrial environment.
Background technology
Along with the develop rapidly of wireless technology with reach its maturity, increasing industrial site adopts wireless technology supplementing as cable technology, special in some inconvenient occasions that connects up, as the communication between the equipment of mobile or rotation, communication between the equipment on opposite, stream, highway or railway opposite etc., wireless technology is widely used.Adopt wireless technology to have following advantage: wiring is simple, the system operating period is long, reliability is high.The wireless technology that is applied at present industrial occasions has WIFI, bluetooth, ZigBee etc., WIFI is applicable to the transfer of data of remote two-forty, bluetooth is applicable to the higher transfer of data of reliability requirement of short distance medium-rate, ZigBee is applicable to the transfer of data of low rate multinode, and engineer can adopt different wireless technologys according to the demand of different application scene.
Bluetooth is a kind of short-distance wireless communication technology of global general-use, and its device type is divided into two classes: Class1 and Class2 according to communication distance, the communication distance of corresponding 100 meters and 10 meters respectively, and different application scenarios adopts dissimilar bluetooth equipment.Bluetooth is operated in 2.4GHz frequency range, and this frequency range is freely for industry, medical science and scientific research field.Yi Ge bluetooth main website can keep asynchronous without connecting link (Asynchronous Connectionless Link simultaneously and between seven movable bluetooth slave stations, ACL), be bluetooth main website can with communicate with seven slave stations, Yi Ge main website and a plurality of slave station have formed a micro bluetooth network.For the reliability of ACL link communication, bluetooth physical layer has adopted the mechanism such as frequency hopping strategy, forward error correction, code optimization, makes that bluetooth communications link anti-interference is good, reliability is high.Above mechanism Bluetooth technology can meet centralized control and the reliability requirement of commercial Application.Yet, bluetooth applications is also needed to solve following problem in industrial production: how to design bluetooth equipment networking mechanism to guarantee the fail safe of Bluetooth communication, and the robustness and the maintainability that how to improve network.
Summary of the invention
The network-building method and the system that the object of this invention is to provide a kind of blueteeth network, be intended to meet industrial fail safe, robustness and maintainable demand.
According to one aspect of the present invention, a kind of industrial blue-tooth network system is provided, communication for industrial site, it comprises bluetooth main website and by a plurality of bluetooth slave stations of its management, and each bluetooth slave station possesses a corresponding netkey device (NETWORK_KEY, be called for short N_K), wherein
Described netkey device for realize networking filtration parameter between a plurality of bluetooth slave stations of described bluetooth main website and its management alternately;
Described bluetooth main website, slave station include:
Central control unit (MCU), controls bluetooth module by the filtration parameter of storing in described netkey device and carries out network management and wireless data transceiving; And
Bluetooth module, is used for moving bluetooth protocol repertory, and is accepted the control command of described central control unit and received other bluetooth main website or radio frames that slave station sends over by HCI (Host Controller Interface, HCI);
And described bluetooth main website also comprises:
Network configuration interface circuit, is used for arranging the logical address of current piconet ID, slave station and the slave station number of main website management; And RS485/CAN bus interface circuit, for this bluetooth main website, set up into cable network with other piconet main websites in network.
As improvement of the present invention, described N_K is nonvolatile storage, by bus and described bluetooth main website or slave station, communicates, and the networking filtration parameter that it stores after encryption, comprises current piconet ID, main website Bluetooth address and slave station logical address.
According to another aspect of the present invention, a kind of method that above-mentioned industrial blue-tooth network system is carried out networking of applying is provided, wherein, described bluetooth main website carries out following steps:
1) the corresponding N_K of all bluetooth slave stations that configuration Yu Gai bluetooth main website manages, encrypts main website Bluetooth address, current piconet ID and slave station logical address to write the N_K that each bluetooth slave station is corresponding;
2) the search filtration parameter of central control unit bluetooth module is set to current piconet ID, order it to carry out search operation: if slave station device type (CLASS_of_DEVICE) information that bluetooth module searches does not meet search filtration parameter, the Bluetooth address information of this slave station not to be uploaded to central control unit; After bluetooth module search, if the slave station Bluetooth address information number that central control unit obtains is less than the slave station number that bluetooth main website should manage, order bluetooth module to re-execute search operation, otherwise carry out the 3rd) step;
3) described bluetooth main website sends ACL request for building link frame one by one to all slave stations that search, and waits for that all slave stations receive this request foundation and the ACL link between it, and main website and slave station form a piconet thus.
As improvement of the present invention,, described step 1) is specially:
1a) after powering on, between central control unit and bluetooth module, set up BCSP link;
1b) described bluetooth main website detects itself whether to have inserted N_K, if so, carries out 1c) step, otherwise carry out the 2nd) step;
1c) central control unit reads the main website Bluetooth address of bluetooth module by HCI instruction, and the logical address that reads the current piconet ID that arranges by described network configuration interface circuit and arrange for the corresponding bluetooth slave station of the N_K with described insertion, these information encryptions are stored into the N_K of described insertion, then wait for user's power operation, pull up the N_K of this insertion, the corresponding N_K of other bluetooth slave stations that Ruo Gai bluetooth main website should manage not yet configures complete, continue to insert the corresponding N_K of other bluetooth slave stations, finally return to step 1a).
As improvement of the present invention, each in described a plurality of bluetooth slave stations is all carried out following steps:
1) will insert this slave station with the corresponding N_K of this bluetooth slave station, power-up initializing, whether central control unit detects has N_K to insert, if nothing is not carried out any operation, otherwise carries out the 2nd) step;
2) central control unit and bluetooth module are set up BCSP link, read and decipher the networking filtering information in the N_K of described insertion, and by a series of HCI instruction, bluetooth module execution parameter is configured, comprise the device type of this slave station (CLASS_of_DEVICE) is set to the current piconet ID in described N_K, the filtration parameter of connection request is set to the main website Bluetooth address in the N_K of described insertion;
3) described bluetooth slave station enters wait state, search operation and the request for building link of response main website; If receive request for building link frame, judge whether the address, source of this frame is consistent with the filtration parameter of described connection request (being the Bluetooth address of main website), if consistent, set up ACL link with main website; Otherwise abandon this frame.
As improvement of the present invention, adopt block encryption algorithm to be encrypted logical address and the main website Bluetooth address of the current piconet ID storing in described N_K, bluetooth slave station; Adopt stream cipher algorithm to be encrypted the transmission data on described ACL link.
As improvement of the present invention, ACL link security mechanism is set in described bluetooth main website: the chain rupture event of the monitoring of bluetooth main website and slave station, starting device search operation, when chain rupture reason is eliminated, main website again searches this slave station and carries out and reconnects accordingly operation, to recover and its ACL link.
As improvement of the present invention, by following steps, realize the plug and play that slave station is changed: the N_K on original slave station is extracted and be inserted into the new slave station after replacing, after new slave station powers on, automatically perform described parameter configuration, make self can be searched and set up with it ACL link by described bluetooth main website.
As improvement of the present invention, two bluetooths are from standing in the prerequisite of continuous electricity, by exchange each other corresponding N_K realize the exchange of piconet membership.
As improvement of the present invention, the concrete steps of piconet membership exchange are: during slave station charging operation, if change N_K, this slave station is compared the information coming from new N_K with original information, if consistent, does not carry out any operation; If inconsistent, this slave station initiatively disconnects current link, and carries out initialization and device type (CLASS_of_DEVICE) is set according to the information in new N_K, waits for subsequently the request for building link frame from main website.
The present invention can be set up principal and subordinate's piconet a plurality of and that deposit in same working region, and each piconet slave station has clear and definite membership, can prevent that unauthorized or illegal bluetooth equipment from adding network; For the data of transmitting in important information in N_K and micro bluetooth network, be encrypted, eavesdropping and the deciphering of prevention external equipment, meet the security requirement of industrial communication; Link security mechanism and plug and play characteristic that the network of setting up has, the robustness, maintainability and the flexibility that have improved network.
Accompanying drawing explanation
Fig. 1 has shown the hardware structure diagram of bluetooth main website.
Fig. 2 has shown the protocol stack that bluetooth main website and slave station adopt.
Fig. 3 has shown the main program flow chart of bluetooth main website and slave station.
Fig. 4 has shown special mechanism flow chart in bluetooth main website and slave station.
Fig. 5 has shown many piconets the application scenarios of depositing.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.In addition,, in each execution mode of described the present invention, involved technical characterictic just can not combine mutually as long as do not form each other conflict.
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The protocol stack of 1 bluetooth equipment hardware configuration and employing
The bluetooth equipment of the present invention's design has bluetooth main website, bluetooth slave station and N_K, first the hardware configuration of these equipment and function thereof is introduced below.
With reference to figure 1, wherein dotted portion is the hardware configuration schematic diagram of bluetooth main website, and it comprises following components:
1) central control unit (MCU), is used for controlling the operation of bluetooth module and carries out the mutual of information with main website other assembly.In the present embodiment, MCU can adopt single-chip microcomputer.
2) bluetooth module, is used for moving bluetooth protocol repertory, carries out the mutual of information with the bluetooth module of other website and the MCU of this website, for the MCU of main website provides HCI (Host Controller Interface, HCI).
3) network configuration interface circuit, is used for arranging the logical address of current piconet ID, slave station and the slave station number of main website management.In the present embodiment, this configuration interface circuit can be toggle switch.
4) RS485/CAN bus interface circuit, for setting up into a cable network with other piconet main websites, realizes the fusion of wire communication and radio communication.
5) power management module, is used to bluetooth module, MCU and other assembly power supply.
The difference of bluetooth slave station and main website is: slave station does not have network configuration interface circuit and RS485/CAN bus interface circuit.Also, bluetooth slave station comprises equally:
Central control unit (MCU), is used for controlling the operation of bluetooth module, and carries out the mutual of information with other assembly of slave station; And
Bluetooth module, is used for moving bluetooth protocol repertory, carries out the mutual of information, for described central control unit provides HCI (Host Controller Interface, HCI) with the bluetooth module of other website and the central control unit of this website.
As for netkey device (NETWORK_KEY), its storage chip is nonvolatile storage, FLASH or EEPROM that for example can power-off save data.Netkey device is connected with the MCU of bluetooth equipment by I2C bus.Described N_K for realize networking filtration parameter between a plurality of bluetooth slave stations of described bluetooth main website and its management alternately.
Fig. 2 is the protocol stack schematic diagram that bluetooth equipment adopts.In the figure, bluetooth host refers to MCU, bluetooth controller refers to bluetooth module, by HCI interface, undertaken alternately between the two, so-called HCI refers to the unified instruction mode of its hardware of access that bluetooth provides, by this instruction, user can control the operation of local bluetooth hardware and control itself and being connected of the link layer of other bluetooth equipment.In the present invention, bluetooth host is realized special network organizing and data-transformation facility by a series of HCI instruction.
In Fig. 2, MCU is connected by UART line with bluetooth module, that on UART circuit, transmit is BCSP form (BlueCore Serial Protocol, for transmitting a kind of allowed protocol of HCI packet between Bluetooth equipment and system) Frame, the control frame that MCU exchanges mutually with bluetooth module and Frame are all with BCSP form package.Blueteeth network is set up complete, MCU and bluetooth module are with L2CAP(Logical Link Control and Adaptation Protocol, it is the core protocol in Bluetooth system, be responsible for the upper-layer protocol in adaptive base band) form packet data frame, then data are sent by bluetooth module or will receive data upload to MCU from bluetooth module.
2 bluetooth group processes are introduced
It is upper that all programs of the present invention's design all operate in MCU, and by HCI interface, bluetooth module is operated.Program flow diagram in bluetooth master-salve station as shown in Figure 3.
In the described scene of Fig. 5, exist Liang Ge bluetooth main website (BS1, BS2), six bluetooth slave stations (C1_1, C1_2, C1_3, C2_1, C2_2, C2_3), each bluetooth slave station has a corresponding N_K.The network-building method that utilizes the present invention to propose, these bluetooth equipments can form two non-interfering safe piconets.Take piconet N1 as example, and concrete networking step is as follows:
Wherein the execution step of BS1 is as follows:
1) according to demand, set the network configuration interface circuit (toggle switch) on BS1, then it is powered on, now between MCU and bluetooth module, according to certain mechanism, set up BCSP link, then carry out second step.
2) BS1 detects itself whether to have inserted N_K, if so, carries out the 3rd step, otherwise carries out the 4th step.
3) MCU carries out following operation: the local address that reads bluetooth module by HCI instruction; Read the logical address of the slave station C1_1 of toggle switch setting; Read the current piconet ID that toggle switch arranges; Store these information encryptions into slave station C1_1 corresponding N_K11; Program is carried out idle loop, waits for user's power operation.
Adopt same step to store information into N_K12, N_K13, wherein slave station logical address is different, and other information are identical.
4) BS1 is by MCU initialization bluetooth module, and the search filtration parameter using piconet ID as bluetooth module, orders it to carry out search operation.If slave station device type (CLASS_of_DEVICE) information that bluetooth module searches does not meet search filtration parameter, the Bluetooth address information of this slave station is not uploaded to MCU; Bluetooth module search is complete, if the address information number that MCU obtains is less than the slave station number that main website should manage, MCU order bluetooth module re-executes search operation, otherwise carries out the 5th step.
5) BS1 sends ACL request for building link frame one by one to all slave stations that search, wait for that all slave stations receive this request foundation and the link between it, main website and slave station form a piconet thus, now between bluetooth master station and follow station, can carry out exchanges data.
The execution step following (C1_2 and C1_3 adopt same step) of bluetooth slave station C1_1:
1) N_K11 of storage information is inserted to C1_1, then power on, now between MCU and bluetooth module, set up BCSP link, then C1_1 starts to carry out initialization operation, carries out second step operation.If detect when it powers on, do not connect N_K11, do not carry out any operation.
2) initialization operation refers to: MCU operates bluetooth module by a series of HCI instruction, comprises that the CLASS_of_DEVICE of slave station is set to the piconet ID in N_K11, and the filtration parameter of connection request is set to main website Bluetooth address.
3), after initialization, C1_1, in wait state, responds search operation and the request for building link of main website.If receive request for building link frame, whether the address, source that judges this frame is consistent with the filtration parameter (being BS1 Bluetooth address) of self connection request, if consistent, sets up ACL link with main website; Otherwise abandon this frame.
By above-mentioned steps, make BS1 only set up a micro bluetooth network with satisfactory C1_1, C1_2, C1_3, stoped adding of interior other bluetooth nodes of Same Scene, realized the exclusiveness of bluetooth group.
The security mechanisms of 3 networks
By aforesaid operations, make to have set up respectively an ACL link between bluetooth main website and all slave stations of its subordinate, thereby formed a micro bluetooth network.The present invention has also designed the fail safe that two kinds of mechanism guarantee this network, meets industrial wireless communication demand.These two kinds of mechanism are as follows:
The exclusiveness of 3.1 network constructions
Due to the existence of hopping, make to only have the slave station ability Yu Qi main website clock synchronous of having set up link the frequency hop sequences table that obtains main website, thus the exchanges data of realization and main website.Do not add the equipment of network owing to knowing the communication channel that network used at any time, cannot network service not monitored or be disturbed.Therefore the fail safe that the exclusiveness network-building method that, the present invention proposes can improve piconet.
The exclusiveness of so-called bluetooth group, refers to that the bluetooth master station and follow station that only meets particular requirement could set up into a piconet.Contrast Fig. 5, supposing needs to realize following function: in same scene, exist two piconets, the piconet N1You BS1 of main website and slave station C1_1, C1_2, C1_3 forms, the piconet N2You BS2 of main website and slave station C2_1, C2_2, C2_3 forms.When wherein each bluetooth is moved from standing in, self is with a corresponding N_K.
Known according to the step described in Fig. 3, before bluetooth master station and follow station all powers on establishment piconet, there is following features:
1) the query filter parameter of bluetooth main website is consistent with the CLASS_of_DEVICE of bluetooth slave station itself, and its value is for to arrange by toggle switch in main website, is written to the piconet ID numerical value among N_K.
2) the connection filtration parameter of bluetooth slave station is consistent with the Bluetooth address of bluetooth main website itself, and its value has also write N_K.
According to These characteristics, how lower surface analysis realizes the exclusiveness of network organizing:
1) slave station is selected by bluetooth main website: the query filter parameter value of bluetooth main website and the CLASS_of_DEVICE of bluetooth slave station are on all four.In Fig. 5, although C1_1 and C2_3 in the communication range in BS1, only have the CLASS_of_DEVICE of C1_1 to meet the filter condition of BS1 inquiry, therefore, BS1, in query script, only can obtain the address of C1_1, during BS1 building network, only can send request for building link frame to C1_1.Therefore realize main website and selected slave station.
2) bluetooth slave station is selected main website, and in networking process, the connection filtration parameter of bluetooth slave station and the Bluetooth address of main website are in full accord.Take Fig. 5 as example, when supposing to cause C1_1 to receive the request for building link frame of BS1 due to fortuitous event, also receive the request for building link frame of BS2.Whether C1_1 is consistent with its connection filtration parameter by the address, source that judges claim frame, due to the connection filtration parameter of the C1_1 Bluetooth address that is BS1.C1_1 will abandon the link request frame that BS2 sends, and receives the link request frame of BS1.Therefore realized the function of slave station selection main website.
From upper surface analysis, can find out, operator can realize the exclusiveness of networking by N_K and the toggle switch that main website is set, and bluetooth equipment not authorized and authentication cannot be joined in blueteeth network and go, to improve the fail safe of network.
3.2 encryption mechanism
By networking exclusiveness, improved the fail safe of blueteeth network, but 2 fail safe hidden danger below still existing in network: first, the important information of storing in N_K is not done any processing, if external staff has obtained N_K equipment, by information in N_K, may analyze networking mechanism and the parameter of piconet; Secondly, the data of transmitting on ACL link are not done any encryption yet, and these data still have and may be stolen by external equipment.To this, the present invention proposes corresponding solution.
1) in N_K canned data be current piconet ID, from the logical address of node and the Bluetooth address of bluetooth main website, the length of these information is fixed, therefore, adopt the block cipher in cryptographic algorithm to encrypt it, data after encrypting are stored in N_K, slave station reads parameter deciphering in N_K, then these parameters are operated for network construction.In the present invention, N_K message length is 11 bytes, is extended for 16 bytes, adopts DES algorithm can be encrypted to the ciphertext of 16 new bytes.N_K is encrypted and deciphering requires bluetooth master station and follow station to adopt same key.
2) data on ACL link for transmission, because these data lengths are unfixed, so can not adopt grouping algorithm to be encrypted it, therefore utilize stream cipher algorithm (also claiming stream cipher arithmetic) to be encrypted the data flow transmitting.In the present invention, adopted the RC4 algorithm of byte-oriented, this algorithm is because the features such as it is simple in structure, highly-efficient treatment are widely used in wireless communication field.Master-salve station only need adopt same key can realize the encryption and decryption to data.
In the present invention, by N_K storage information being encrypted, utilizing N_K information to carry out, after exclusive formula networking, networking, the data of transmitting in network are encrypted to this three layers of security strategies in networking before networking, can prevent that unauthorized and illegal equipment from stealing the information of micro bluetooth network and the data of transmission thereof, the fail safe that has improved greatly network.
Due to the existence of hopping, the data communication between adjacent piconets is not interfere with each other, add exclusiveness networking mechanism and the corresponding encryption mechanism of the present invention's design, realized the function of the piconet of setting up a plurality of and safety that deposit in Same Scene.
The maintainability of 4 networks and Dexterity analysis
After having improved the fail safe of piconet communication, the robustness and the maintainability that need further improvement system, specifically refer to can realize chain rupture Auto-reconnect and this operation does not impact, is easy to change fault slave station to the communication of other intact link and under not power-off prerequisite the hot plug by N_K realize the change that bluetooth slave station is subordinate to piconet.Below in conjunction with Fig. 5, explain the realization of above-mentioned mechanism.
1) bluetooth main website is designed with ACL link security mechanism, if for example because transient electromagnetic disturbs or slave station power-off, caused the ACL link between BS1 and C1_1 to disconnect, main website can monitor this chain rupture event, and starting device search operation, when disturbing disappearance or slave station to re-power, main website can again search this slave station and carry out and reconnect accordingly operation, to recover the ACL link between BS1 and C1_1.Main website, when carrying out scanning and attended operation, can not have influence on the ACL link communication between itself and C1_2, C1_3.Concrete security mechanism flow chart is as shown in Fig. 4 (a), and this link security mechanism has improved the robustness of micro bluetooth network, has strengthened antijamming capability and the failover capability of system.
2) above-mentioned link security mechanism can improve the maintainability of network, for example in Fig. 5 there is permanent fault in C1_1, the slave station that need to more renew, BS1 detects the disconnection of this ACL link, start search operation and carry out network operation by corresponding state indicating reminders operator, operator now only need extract the N_K on fault slave station insert among the new slave station after replacing, after powering on, new slave station can automatically perform parameter configuration, make oneself can by BS1, be scanned and set up ACL link with it, realize the plug and play that slave station is changed.
3) at slave station place, designed a kind of mechanism that improves networking flexibility: as shown in Figure 5, if within the scope of C1_3 and the C2_1 efficient communication in BS1 and BS2 simultaneously, two slave stations can be realized the exchange of piconet membership under the prerequisite of not power-off by exchange N_K each other.This machine-processed flow chart is as shown in Fig. 4 (b), detailed process is as follows: during slave station charging operation, if change N_K, inserting N_K constantly, MCU produces interrupt signal, and in interrupt service routine, slave station is compared the information coming from new N_K with original information, if consistent, do not carry out any operation; If inconsistent, slave station initiatively disconnects current link, and carries out initialization and CLASS_of_DEVICE is set according to the information in new N_K, waits for subsequently the request for building link frame from main website.And after current main website receives link disconnection information, with regard to the operation of carrying out in link security mechanism, recover link, by above-mentioned operating process, the exchange of piconet under C1_3 and C2_1 realize, these operations do not affect communicating by letter of N1 and other normal link in N2, have improved the flexibility of networking.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an industrial blue-tooth network system, for the network service of industrial site, it comprises bluetooth main website and by a plurality of bluetooth slave stations of its management, and each bluetooth slave station possesses a corresponding netkey device (NETWORK_KEY), wherein,
Described netkey device for realize networking filtration parameter between a plurality of bluetooth slave stations of described bluetooth main website and its management alternately;
Described bluetooth main website, slave station include:
Central control unit (MCU), controls bluetooth module by the filtration parameter of storing in described netkey device and carries out network management and wireless data transceiving; And
Bluetooth module, is used for moving bluetooth protocol repertory, and accepts by HCI (Host Controller Interface, HCI) radio frames that the control command of described central control unit and other main website or slave station send over;
And described bluetooth main website also comprises:
Network configuration interface circuit, is used for arranging the logical address of current piconet ID, slave station and the slave station number of main website management; And
RS485/CAN bus interface circuit, sets up into cable network for this bluetooth main website with other piconet main websites in network.
2. system according to claim 1, wherein, described netkey device is nonvolatile storage, by bus and described bluetooth main website or slave station, communicates, the networking filtration parameter that it stores after encryption, comprises current piconet ID, main website Bluetooth address and slave station logical address.
3. be applied to a network-building method for the industrial blue-tooth network system described in claim 1-2 any one, wherein, described bluetooth main website carries out following steps:
1) the corresponding netkey device of all bluetooth slave stations that configuration Yu Gai bluetooth main website manages, encrypts main website Bluetooth address, current piconet ID and slave station logical address to write the netkey device that each bluetooth slave station is corresponding;
2) the search filtration parameter of central control unit bluetooth module is set to current piconet ID, order it to carry out search operation: if slave station device type (CLASS_of_DEVICE) information that bluetooth module searches does not meet search filtration parameter, the Bluetooth address information of this slave station not to be uploaded to central control unit; After bluetooth module search, if the slave station Bluetooth address information number that central control unit obtains is less than the slave station number that bluetooth main website should manage, order bluetooth module to re-execute search operation, otherwise carry out the 3rd) step;
3) described bluetooth main website sends ACL request for building link frame one by one to all slave stations that search, and waits for that all slave stations receive this request foundation and the ACL link between it, and main website and slave station form a piconet thus.
4. network-building method according to claim 3, wherein, described step 1) is specially:
1a) after powering on, between central control unit and bluetooth module, set up BCSP link;
1b) described bluetooth main website detects itself whether to have inserted netkey device, if so, carries out 1c) step, otherwise carry out the 2nd) step;
1c) central control unit reads the main website Bluetooth address of bluetooth module by HCI instruction, and the logical address that reads the current piconet ID that arranges by described network configuration interface circuit and arrange for the corresponding bluetooth slave station of the netkey device with described insertion, these information encryptions are stored into the netkey device of described insertion, then wait for user's power operation, pull up the netkey device of this insertion, the corresponding netkey device of other bluetooth slave stations that Ruo Gai bluetooth main website should manage not yet configures complete, continue to insert the corresponding netkey device of other bluetooth slave stations, finally return to step 1a).
5. according to the network-building method described in claim 3 or 4, wherein, each in described a plurality of bluetooth slave stations is all carried out following steps:
1) will insert this slave station with the corresponding netkey device of this bluetooth slave station, power-up initializing, whether central control unit detects has netkey device to insert, if nothing is not carried out any operation, otherwise carries out the 2nd) step;
2) central control unit and bluetooth module are set up BCSP link, read and decipher the networking filtering information in the netkey device of described insertion, and by a series of HCI instruction, bluetooth module execution parameter is configured, comprise the device type of this slave station (CLASS_of_DEVICE) is set to the current piconet ID in described netkey device, the filtration parameter of connection request is set to the main website Bluetooth address in the netkey device of described insertion;
3) described bluetooth slave station enters wait state, search operation and the request for building link of response main website; If receive request for building link frame, judge whether the address, source of this frame is consistent with the filtration parameter of described connection request (being the Bluetooth address of main website), if consistent, set up ACL link with main website; Otherwise abandon this frame.
6. according to the network-building method described in any one in claim 3-5, wherein, adopt block encryption algorithm to be encrypted logical address and the main website Bluetooth address of the current piconet ID storing in described netkey device, bluetooth slave station; Adopt stream cipher algorithm to be encrypted the transmission data on described ACL link.
7. according to the network-building method described in any one in claim 3-6, wherein, ACL link security mechanism is set in described bluetooth main website: the chain rupture event of the monitoring of bluetooth main website and slave station, starting device search operation, when chain rupture reason is eliminated, main website again searches this slave station and carries out and reconnects accordingly operation, to recover and its ACL link.
8. according to the network-building method described in any one in claim 5-7, wherein, by following steps, realize the plug and play that slave station is changed: the new slave station after replacing is extracted and be inserted into the netkey device on original slave station, after new slave station powers on, automatically perform described parameter configuration, make self can be searched and set up with it ACL link by described bluetooth main website.
9. according to the network-building method described in any one in claim 5-8, wherein, two bluetooths are from standing in the prerequisite of continuous electricity, by exchange each other corresponding netkey device realize the exchange of piconet membership.
10. network-building method according to claim 9, wherein, the concrete steps of piconet membership exchange are:
During slave station charging operation, if change netkey device, this slave station is compared the information coming from new netkey device with original information, if consistent, does not carry out any operation; If inconsistent, this slave station initiatively disconnects current link, and carry out initialization and device type (CLASS_of_DEVICE) is set according to the information in new netkey device, main website establishes the link with this slave station again according to described ACL link security mechanism subsequently.
CN201310566493.0A 2014-01-26 2014-01-26 A kind of industrial bluetooth network system and network-building method Expired - Fee Related CN103684938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310566493.0A CN103684938B (en) 2014-01-26 2014-01-26 A kind of industrial bluetooth network system and network-building method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310566493.0A CN103684938B (en) 2014-01-26 2014-01-26 A kind of industrial bluetooth network system and network-building method

Publications (2)

Publication Number Publication Date
CN103684938A true CN103684938A (en) 2014-03-26
CN103684938B CN103684938B (en) 2017-03-08

Family

ID=50321317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310566493.0A Expired - Fee Related CN103684938B (en) 2014-01-26 2014-01-26 A kind of industrial bluetooth network system and network-building method

Country Status (1)

Country Link
CN (1) CN103684938B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202299A (en) * 2014-08-06 2014-12-10 北京中金国信科技有限公司 System and method of identity authentication based on Bluetooth
CN104637262A (en) * 2014-12-31 2015-05-20 华中科技大学 Loss preventing system and loss preventing method based on Bluetooth device and intelligent mobile terminal
CN105050035A (en) * 2015-08-26 2015-11-11 苏州佩林网络科技有限公司 Dynamic infinite networking method based on Bluetooth BLE4.0
CN105050033A (en) * 2015-07-01 2015-11-11 惠州Tcl移动通信有限公司 Piconet networking interconnection method and system based on low-power-dissipation Bluetooth and traditional Bluetooth
CN105228085A (en) * 2015-08-26 2016-01-06 苏州佩林网络科技有限公司 A kind of unlimited group network system based on bluetooth BLE4.0 and information transmitting methods
CN109150681A (en) * 2018-09-07 2019-01-04 深圳市雷赛控制技术有限公司 RTEX bus networking method and system
CN111223285A (en) * 2020-03-13 2020-06-02 昆明理工大学 Wireless eddy current detection system and method based on sparse representation
CN113068163A (en) * 2021-02-20 2021-07-02 麒盛科技股份有限公司 Bluetooth networking method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003054574A1 (en) * 2001-12-21 2003-07-03 Nokia Corporation A method for identifying an individual module for short range wireless communication
CN1631004A (en) * 2001-10-16 2005-06-22 索尼株式会社 Communication system and method, and information processing apparatus and method
CN101232425A (en) * 2007-01-26 2008-07-30 京信通信系统(中国)有限公司 Bus type distributed control system master-salve station opposite terminal control method
CN102684753A (en) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 Wireless terminal, short-range SNS (social networking services) system and implementation method based on Bluetooth technology
CN202720043U (en) * 2012-07-25 2013-02-06 贵州省计量测试院 Weight automatic verification device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1631004A (en) * 2001-10-16 2005-06-22 索尼株式会社 Communication system and method, and information processing apparatus and method
WO2003054574A1 (en) * 2001-12-21 2003-07-03 Nokia Corporation A method for identifying an individual module for short range wireless communication
CN101232425A (en) * 2007-01-26 2008-07-30 京信通信系统(中国)有限公司 Bus type distributed control system master-salve station opposite terminal control method
CN102684753A (en) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 Wireless terminal, short-range SNS (social networking services) system and implementation method based on Bluetooth technology
CN202720043U (en) * 2012-07-25 2013-02-06 贵州省计量测试院 Weight automatic verification device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202299A (en) * 2014-08-06 2014-12-10 北京中金国信科技有限公司 System and method of identity authentication based on Bluetooth
CN104637262A (en) * 2014-12-31 2015-05-20 华中科技大学 Loss preventing system and loss preventing method based on Bluetooth device and intelligent mobile terminal
US9924304B2 (en) 2015-07-01 2018-03-20 Huizhou Tcl Mobile Communication Co., Ltd. Interconnection method and system of networking of piconet based on bluetooth low energy and conventional bluetooth
CN105050033A (en) * 2015-07-01 2015-11-11 惠州Tcl移动通信有限公司 Piconet networking interconnection method and system based on low-power-dissipation Bluetooth and traditional Bluetooth
WO2017000619A1 (en) * 2015-07-01 2017-01-05 惠州Tcl移动通信有限公司 Piconet networking interconnection method and system based on low-power-consumption bluetooth and conventional bluetooth
CN105228085A (en) * 2015-08-26 2016-01-06 苏州佩林网络科技有限公司 A kind of unlimited group network system based on bluetooth BLE4.0 and information transmitting methods
CN105050035A (en) * 2015-08-26 2015-11-11 苏州佩林网络科技有限公司 Dynamic infinite networking method based on Bluetooth BLE4.0
CN109150681A (en) * 2018-09-07 2019-01-04 深圳市雷赛控制技术有限公司 RTEX bus networking method and system
CN109150681B (en) * 2018-09-07 2021-03-16 深圳市雷赛控制技术有限公司 RTEX bus networking method and system
CN111223285A (en) * 2020-03-13 2020-06-02 昆明理工大学 Wireless eddy current detection system and method based on sparse representation
CN113068163A (en) * 2021-02-20 2021-07-02 麒盛科技股份有限公司 Bluetooth networking method and system
WO2022174694A1 (en) * 2021-02-20 2022-08-25 麒盛科技股份有限公司 Bluetooth networking method and system
CN113068163B (en) * 2021-02-20 2023-07-07 麒盛科技股份有限公司 Bluetooth networking method and system thereof

Also Published As

Publication number Publication date
CN103684938B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN103684938A (en) Industrial bluetooth network system and networking method
CN102325322B (en) Multi-way access gateway device supporting wireless network and certification method
CN104050742A (en) Intelligent door and control method and system thereof
US10263960B2 (en) Wireless communication system and wireless communication method
EP2605566B1 (en) System for transmitting a data signal in a network, method, mobile transmitting device and network device
CN104735747A (en) Information transferring and receiving method and internet-of-things equipment
CN105657639A (en) Dual-mode device and synchronous communication realizing method thereof
CN102415046A (en) Method for securing communications in a wireless network, and resource-restricted device therefor
CN103763107A (en) Intelligent household appliance system secret key control method and intelligent household appliance system
CN104618204A (en) Intelligent home system for guaranteeing safe and remote control based on security modules and realization method thereof
CN106452999B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
WO2008044155A2 (en) Secure key exchange algorithm for wireless protocols
CN104661171B (en) Small data secure transmission method and system for MTC (machine type communication) equipment group
CN104658090B (en) A kind of smart lock of built-in security module and ZigBee wireless communication modules
JP2014155224A (en) Limited control method of radio network area based on nfc technique, and system
CN104618899A (en) ZigBee router with built-in safety module
CN100581125C (en) Access method suitable for WPAN
WO2018113402A1 (en) Method and device for joining access node group
CN115669022A (en) Method for providing ranging-based service by electronic equipment and electronic equipment
CN102685786A (en) Method and system for accessing wireless sensor network (WSN) to telecommunication network
CN105187479A (en) Method and system for controlling multiple intelligent devices, and controller
CN103781071B (en) The method of access points and relevant device
Mehmood et al. Communication technology that suits IoT-a critical review
CN101867795A (en) Mobile system and method of high definition video network extender
CN204887029U (en) Novel configuration system of router is connected to WIFI chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170308

CF01 Termination of patent right due to non-payment of annual fee