CN103944980A - WSID information sensing system and method used for container Internet of Things controlling - Google Patents

WSID information sensing system and method used for container Internet of Things controlling Download PDF

Info

Publication number
CN103944980A
CN103944980A CN201410146838.1A CN201410146838A CN103944980A CN 103944980 A CN103944980 A CN 103944980A CN 201410146838 A CN201410146838 A CN 201410146838A CN 103944980 A CN103944980 A CN 103944980A
Authority
CN
China
Prior art keywords
wsid
node
label
bunch
signal
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
CN201410146838.1A
Other languages
Chinese (zh)
Other versions
CN103944980B (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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201410146838.1A priority Critical patent/CN103944980B/en
Publication of CN103944980A publication Critical patent/CN103944980A/en
Application granted granted Critical
Publication of CN103944980B publication Critical patent/CN103944980B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a WSID information sensing system and method used for container Internet of Things of controlling. The method includes the steps that a WSID label is divided into a WSID label cluster head and a WSID label cluster member through a clustering algorithm; a WSID base station sends a system starting command to a WSID relay node, and the WSID relay node sends a signal to a WSID gateway; the WSID gateway conducts time synchronization processing on the WSID node and the WSID label cluster head, and the WSID label cluster head conducts time synchronization on the WSID label cluster member; if a vibration signal collected by the WSID label cluster member is larger than a preset threshold value, the vibration signal, a container ID and other information are sent to the WSID label cluster head, and an ad-hoc network of the WSID label cluster head and the WSID node sends the signal to a monitoring terminal. After a mobile onboard GPS/WSID information collecting node installed on a mobile mechanical lifting head receives the signal of the WSID label, horizontal position information is collected through a GPS module and sent to the monitoring terminal, the monitoring terminal determines the three-dimensional position of a container according to the virtual reality technology, the GIS technology and other technologies, and safe monitoring, tracking and positioning of the container are achieved.

Description

For the WSID information Perception system and method for container network of things management and control
Technical field
The present invention relates to container management-control method, especially a kind of for for example container network of things management and control, the management and control of third party's container cargo distribution, and WSID information Perception system and the cognitive method of the occasion such as class goods logistics management and control.
Background technology
At present, the management of container is mainly divided into 2 parts: 1, the use of container and dispatching management, comprise the distribution, scheduling of container, the management of on hire, the container service information such as throw a lease, insure, repair, report lost property to the authorities; 2, the management of container real time information, comprises in the positional information, classified information, casing of container goods etc.For a lot of real time information in part 2, in most cases solve by increasing a large amount of human costs.
Just because of the systematicness management lacking part 2 information, Nowadays, Container shipping transportation system exists following obvious defect:
1. because container self is carrying information not, in transportation, cannot know at any time the situation of goods, cannot determine at any time container residing position in whole piece supply chain, the flow direction to container and identification can only be leaned on manual operation, have greatly affected transport, handling and the efficiency of management.
2. the inaccurate problem of container space in stockyard, in the time of owner of cargo's suitcase, stockyard personnel are difficult to provide case position accurately, generally only provide in certain region, therefore cause the owner of cargo, tally-man to search everywhere, have extended the time of owner of cargo's suitcase, reduce storage yard operation efficiency.Cannot realize the real time job of the complete transparent of transportation and " seamless connection formula ", also restrict more and more the development of Worldwide Shipping supply chain.
3. container occurs now and then and occurs and can not notify at once and processed to monitoring management personnel as the abnormal conditions such as stolen, destroyed, causes any property loss.
Summary of the invention
Goal of the invention: provide a kind of WSID sensory perceptual system and method for container management and control, at least part of problem existing to solve prior art.
Technical scheme: a kind of WSID information Perception system for container network of things management and control, comprising:
WSID label, is arranged on container, for ID, the state information of perception container and the essential information of storage container of storage container; WSID label is divided into WSID label bunch head and WSID label bunch member by cluster algorithm, and the vibration signal collecting is sent to WSID label bunch head by WSID label bunch member;
WSID node, the mounting points that is arranged on stockyard lighting standard or sets up temporarily, for a WSID label bunch MANET and wireless signal transmitting-receiving;
WSID gateway, powered by basis, stockyard power supply facilities, for WSID node and a WSID label bunch head are done to time synchronizing, WSID gateway is always in the state of intercepting, as the root node of WSID node and WSID label bunch head, be responsible for receiving WSID node and the WSID label bunch signal that a MANET transmits;
Each WSID node and WSID label bunch head transfer to WSID gateway by the method for MANET by signal, WSID gateway does time synchronizing to WSID label bunch head and WSID node, ensure that each WSID label bunch head and WSID node time are synchronous, WSID label bunch head adopts two-way pair-wise synchronization algorithms to do time synchronizing to a WSID label bunch member again, be WSID gateway as time reference point, ensure whole network time synchronization;
WSID via node, is powered by basis, stockyard power supply facilities, receives the signal of WSID gateway and is responsible for forwarding the packet between WSID gateway and WSID base station;
WSID base station, is arranged in the Control Room of storage yard, is connected, as the tie point of WSID network and local monitoring terminals by serial ports with the local monitoring terminals in Control Room; No. ID, container that WSID via node transmits and the vibration signal of container are received by wireless communication module in WSID base station, and container is mail to local monitoring terminals with the vibration signal of container by serial ports No. ID;
Mobile airborne GPS/WSID information gathering node, be installed on the centre position of hanging head, when it is received after the signal from the broadcast of WSID label, the GPS module triggering on mobile airborne GPS/WSID information gathering node is obtained the positional information of container in stockyard, and the identity of other essential informations by No. ID that is arranged on that WSID label on container transmits and positional information and container is traced to the source after merging and is sent to mobile airborne GPS/WSID information processing transmission node, be sent to monitor terminal by the 2G/3G module in mobile airborne GPS/WSID information processing transmission node, monitor terminal software is determined container positional information accurately according to the data that receive by the technology such as virtual reality technology and GIS,
Mobile airborne GPS/WSID information processing transmission node, be installed in mechanically moving driver's cabin, for receiving the information that gathers and forward from mobile airborne GPS/WSID information gathering node, or directly receive from the signal of WSID label, and trigger GPS module collection position information, will after signal fused, transfer to the monitor terminal at harbour by 2G/3G module.
For a WSID information sensing method for container network of things management and control, the information Perception system based on above-mentioned, and comprise the steps:
1.1.WSID label, WSID node, WSID gateway, WSID via node, WSID base station, mobile airborne GPS/WSID information gathering node, mobile airborne GPS/WSID information processing transmission node power-up initializing;
1.1.1.WSID system pretrigger packet is sent to WSID via node in base station, goes to 1.6;
1.1.2.WSID label gathers vibration signal, if the R< threshold value M of vibration signal, the weights of WSID tag computation self judge whether to serve as a bunch head, and start sub-clustering timer Timer1, go to 1.2; If the R> threshold value M of vibration signal, goes to 1.11.2;
1.2.WSID the sub-clustering timer Timer1 time of label arrives, judge whether to serve as a bunch head according to the weights Weight of self, wherein Weight=Energy/ (count+1), Energy is the energy of label, count is the number of times of having served as bunch head, whether serves as a bunch head according to following rule judgment;
If 1.2.1. Weight value is all larger than the Weight value of the neighbor node of receiving, oneself is made as to leader cluster node, count adds 1, a bunch mark position 1;
If 1.2.2. Weight value is less than the Weight value of certain neighbor node of receiving, oneself is made as to a bunch member node, a bunch mark position 0;
If 1.2.3. in Weight value and neighbor node maximum Weight value equate, compare No. ID, No. ID little leader cluster node that is made as, a bunch mark position 1, ID is greatly made as a bunch member node, a bunch mark position 0;
1.3.WSID label bunch head broadcast leader cluster node message, find bunch member node:
1.3.1.WSID label bunch member receives after the message of bunch head, according to signal strength signal intensity, selects the leader cluster node of the strong node of signal as self, and is recorded in Head, enters bunch mark position 1, leader cluster node is fed back into a bunch information simultaneously;
1.3.2.WSID label bunch head is received entering after bunch message of bunch member, joins MemberList in member's list by No. ID of member node; According in MemberList bunch of member's number, WSID label bunch head produces a tdma slot table, and scheduling bunch interior nodes sends data time, enters bunch mark position 1;
1.4. after sub-clustering completes, a WSID label bunch airtime synchronization request message;
1.5.WSID after node power-up initializing, radio receiving transmitting module is in the state of intercepting; If receive the time synchronized request message of WSID label bunch head, broadcast forwards this time synchronized request message;
1.6.WSID via node is received after system pretrigger packet, and system log-on data bag is forwarded to WSID gateway, and keeps the state of intercepting;
1.7.WSID gateway is received after system log-on data bag, keeps the state of intercepting;
If 1.7.1. do not receive a WSID node or WSID label bunch time synchronized request message, continue to keep intercepting shape;
If 1.7.2. receive, a WSID node or WSID label bunch time synchronized request message starts WSID node and a WSID label bunch head to make time synchronizing, goes to 1.8;
1.8.WSID gateway broadcasts hierarchical message, the level level1(of WSID gateway refers to taking WSID gateway as root node, the level number in the network that WSID node and WSID label bunch head are child node) be 0;
1.8.1.WSID node and a WSID label bunch head are received after hierarchical message, obtain level in oneself level level1(packet number+1 according to the level in hierarchical message number), and record the ID of uploading nodes;
1.8.2.WSID node and WSID label bunch head obtain after the level level1 of oneself, then broadcast hierarchical message to lower level node, if receive the hierarchical message of lower level node broadcast, record the biography node down of WSID node;
1.9. each WSID node and WSID label bunch head have oneself level number and uploading nodes and under pass after node, WSID gateway broadcasts synchronization message, with the synchronous ground floor node of two-way pair-wise synchronization algorithms, same ground floor node is with the synchronous second layer node of same method, and upper layer node is with the synchronous lower level node of two-way pair-wise synchronization algorithms;
1.10.WSID label bunch head, according to the tdma slot table producing, is made time synchronizing to a WSID label bunch member with two-way pair-wise synchronization algorithms; Now ensure the time synchronized of the whole network; Now, WSID label is opened sub-clustering time synchronized timer Timer3;
1.10.1. the sub-clustering time synchronized timer Timer3 time does not arrive, if the signal of WSID label bunch head collection self abnormal signal of intercepting bunch member; If a WSID label bunch member closes transceiver module, enter sleep state;
1.10.2. the sub-clustering time synchronized timer Timer3 time arrives, and WSID label a bunch member wake up, and the network layer number of WSID label bunch head sets to 0, and enters next round sub-clustering and time synchronized, goes to 1.1.2;
1.11.WSID label collects vibration signal:
1.11.1.WSID the vibration signal R< threshold value M that label bunch member collects, a WSID label bunch member continues to keep sleep state; The vibration signal R< threshold value M that WSID label bunch head collects, does not forward;
1.11.2.WSID the vibration signal R> threshold value M that label bunch member collects, WSID label bunch member's transceiver module wakes up, signal is sent to the leader cluster node of this node; If the signal that WSID label bunch head collects, signal is sent to WSID gateway by WSID label bunch head and WSID node MANET, is sent to WSID base station by WSID via node; If the leader cluster node of record oneself and itself neither leader cluster node in WSID label, broadcasts abnormal signal, WSID node and WSID label bunch head (bunch head of non-this WSID label) receive that this abnormal signal forwards, until be sent to WSID base station; Signal is sent to monitor terminal by WSID base station, goes to 1.12;
1.12.WSID label bunch member is sent to the leader cluster node of this node or WSID label bunch head and WSID node hoc network by signal signal is sent to after WSID gateway, broadcasts No. ID and the vibration signal of self; Mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node are received the signal of WSID label broadcast, send and feed back signal to WSID label;
If 1.12.1. WSID label receives the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, continue broadcast; When after the vibration signal R< threshold value M gathering, calculate the weights of self, broadcast request into clusters signal goes to 1.1.2;
If 1.12.2. WSID label does not listen to the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, go to 1.11;
If 1.13. move airborne GPS/WSID information gathering node and listen to the signal of WSID label, mobile airborne GPS/WSID information gathering node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to mobile airborne GPS/WSID information processing transmission node, be sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node;
If 1.14. move airborne GPS/WSID information processing transmission node and listen to the signal of WSID label, mobile airborne GPS/WSID information processing transmission node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node; If mobile airborne GPS/WSID information processing transmission node listens to the signal of mobile airborne GPS/WSID information gathering node, signal is sent to harbour monitor terminal by 2G/3G module;
If 1.15. monitor terminal receives the data of WSID base station, whether be normal scheduling operation according to this container that judges for No. ID obtaining in packet, if this container of No. ID is not in operation plan table, monitor terminal starts corresponding alarm signal and reminds staff to go to scene check and take appropriate measures; If monitor terminal is received the signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, monitor terminal software is determined container positional information accurately according to the data that receive by the technology such as virtual reality, GIS.
Beneficial effect: the present invention has solved container subregion for the information sensing method of container, divide row's horizontal two-dimension location, and absolute precision is at the be issued to≤1m of situation of the low hardware cost of system replicability application, and coordinate monitor terminal software to use GIS and VR technology to realize the third dimension location of layering, and solve that harbour container management and control is most important approaches, the identity of leaving the port is traced to the source and is again the subregion of container in stockyard, the maximum Gang district of difficulty simultaneously, the Precautions of point row and Hierarchical Location (three-dimensional localization) and the abnormal conditions such as antitheft, greatly improve operating efficiency, reduce property loss.
Brief description of the drawings
Fig. 1 is container network of things managing and control system block diagram.
Fig. 2 is WSID label construction figure.
Fig. 3 is WSID node structure figure.
Fig. 4 is WSID gateway structure chart.
Fig. 5 is WSID architecture of base station figure.
Fig. 6 is mobile airborne GPS/WSID information gathering node structure figure.
Fig. 7 is mobile airborne GPS/WSID information processing transmission node structure chart.
Fig. 8 is the main program flow chart of method for supervising of the present invention.
Fig. 9 is WSID tag program flow chart.
Figure 10 is the program flow diagram of WSID node.
Figure 11 is the program flow diagram of WSID gateway.
Figure 12 is WSID label cluster algorithm flow chart.
Figure 13 is Time synchronization algorithm flow chart.
Figure 14 is MANET algorithm flow chart.
Figure 15 is the flow chart of mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node.
Embodiment
As shown in Figure 1, comprise WSID label, WSID node 3, WSID gateway 4, WSID via node 5, WSID base station 6, mobile airborne GPS/WSID information gathering node 11, mobile airborne GPS/WSID information processing transmission node 10 and local monitoring terminals 7, mobile monitoring terminal 8 and remote monitoring center 9 etc. for container network of things managing and control system.WSID label is arranged on container 1, if the vibration signal that gathers container is greater than the threshold value of setting, vibration signal and container ID are transferred to WSID label bunch 21, signal is sent to WSID gateway by WSID label bunch head and WSID node networking, WSID gateway is sent to WSID base station by WSID via node by signal, send data to local monitoring terminals by base station, monitor terminal judges according to container operation plan table whether this container is normal scheduling operation, thereby ensures the safety of container.
In addition, WSID gateway, as the datum mark of WSID network time synchronization, does time synchronizing to WSID node and a WSID label bunch head, and WSID label bunch head does time synchronizing to WSID label bunch member 22.In addition, be arranged on respectively in the driver's cabin that hangs head and mechanically moving 12 of mechanically moving by GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node, in the time of conveying container, the vibration signal that WSID label collects is greater than the threshold value of setting, be sent to mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node by the radio receiving transmitting module of WSID label by No. ID of vibration signal and container, and trigger its positional information collecting unit collection position information, by 2G/3G module, positional information and container are provided to monitor terminal for No. ID.Monitor terminal is realized tracking and location (three-dimensional localization, the positional information of container be accurate to district, row, floor) of container in stockyard according to the positional information that collects by technology such as certain algorithm and virtual reality, GIS.
As shown in Figure 2, WSID label mainly, under the 1st processor unit control, periodically gathers the vibration signal of container by sensor unit.The 1st wireless transmit/receive units is in resting state, if the vibration signal collecting is greater than the threshold value of setting, the 1st wireless transmit/receive units wakes up, realize the transmission of data, ephemeral data is stored in the 1st memory cell, the 1st debugging and communication interface facilitate the debugging of program, and sensor electrical source unit provides power supply for sensor unit, and the 1st power subsystem provides power supply for the sensor node except sensor unit.
As shown in Figure 3, WSID node mainly, under the 2nd processor unit control, is realized the asynchronous receiving-transmitting of data by the 2nd wireless transmit/receive units, ephemeral data is stored in the 2nd memory cell, the 2nd debugging and communication interface facilitate the debugging of program, and the 2nd power subsystem provides power supply for WSID node.
As shown in Figure 4, WSID gateway mainly, under the 3rd processor unit control, is realized the asynchronous receiving-transmitting of data by the 3rd wireless transmit/receive units, ephemeral data is stored in the 3rd memory cell, the 3rd debugging and communication interface facilitate the debugging of program, and the 2nd power subsystem provides power supply for WSID gateway.
As shown in Figure 5, WSID base station is mainly under the 4th processor unit control, realize the asynchronous receiving-transmitting of data by the 4th wireless transmit/receive units, ephemeral data is stored in the 4th memory cell, the 4th debugging and communication interface facilitate the debugging of program, the 4th power subsystem provides power supply for WSID base station, and PC interface unit is the interface unit of communicating by letter with local monitoring terminals.
As shown in Figure 6, mobile airborne GPS/WSID information gathering node is mainly under the 5th processor unit control, realize the asynchronous receiving-transmitting of data by the 5th wireless transmit/receive units, ephemeral data is stored in the 5th memory cell, the 5th debugging and communication interface facilitate the debugging of program, the 1st positional information collecting unit gathers the positional information of container, and the 5th power subsystem provides power supply for moving airborne GPS/WSID information gathering node.
As shown in Figure 7, mobile airborne GPS/WSID information processing transmission node is mainly under the 6th processor unit control, realize the asynchronous receiving-transmitting of data by the 6th wireless transmit/receive units, ephemeral data is stored in the 6th memory cell, the 6th debugging and communication interface facilitate the debugging of program, the 2nd positional information collecting unit gathers the positional information of container and mechanically moving, the 6th power subsystem provides power supply for mobile airborne GPS/WSID information gathering node (except 2G/3G module), and the 7th power subsystem provides power supply for 2G/3G module.
Embodiment 1
All nodes of container network of things managing and control system as shown in Figure 1 power on and carry out initialization at (comprising WSID label, WSID node, WSID gateway, WSID via node, WSID base station, mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node).Its wireless transmit/receive units of WSID label initialization, makes it in information accepting state; Initialization sensing unit, preparation for acquiring data.WSID node, WSID gateway, its wireless transmit/receive units of WSID via node initialization, make it in information transmit-receive state.Its wireless transmit/receive units of WSID base station initialization, prepares startup system.Mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node, its wireless transmit/receive units of initialization, make it in information accepting state, and initialization GPS module, the collection of ready position information, mobile airborne GPS/WSID information processing transmission node initialization 2G/3G module, makes it send state in data.
As shown in Figure 8, this harbour container information cognitive method comprises the following steps:
1.1.WSID label, WSID node, WSID gateway, WSID via node, WSID base station, mobile airborne GPS/WSID information gathering node, mobile airborne GPS/WSID information processing transmission node power-up initializing;
1.1.1.WSID system pretrigger packet is sent to WSID via node in base station, goes to 1.6;
1.1.2.WSID label gathers vibration signal, if the R< threshold value M of vibration signal, the weights of WSID tag computation self judge whether to serve as a bunch head, and start sub-clustering timer Timer1, go to 1.2; If the R> threshold value M of vibration signal, goes to 1.11.2.
1.2.WSID the sub-clustering timer Timer1 time of label arrives, judge whether to serve as a bunch head according to the weights Weight of self, wherein Weight=Energy/ (count+1), Energy is the energy of label, count is the number of times of having served as bunch head, whether serves as a bunch head according to following rule judgment;
If 1.2.1. Weight value is all larger than the Weight value of the neighbor node of receiving, oneself is made as to leader cluster node, count adds 1, a bunch mark position 1;
If 1.2.2. Weight value is less than the Weight value of certain neighbor node of receiving, oneself is made as to a bunch member node, a bunch mark position 0;
If 1.2.3. in Weight value and neighbor node maximum Weight value equate, compare No. ID, No. ID little leader cluster node that is made as, a bunch mark position 1, ID is greatly made as a bunch member node, a bunch mark position 0;
1.3.WSID label bunch head broadcast leader cluster node message, find bunch member node:
1.3.1.WSID label bunch member receives after the message of bunch head, according to signal strength signal intensity, selects the leader cluster node of the strong node of signal as self, and is recorded in Head, enters bunch mark position 1, leader cluster node is fed back into a bunch information simultaneously;
1.3.2.WSID label bunch head is received entering after bunch message of bunch member, joins MemberList in member's list by No. ID of member node.According in MemberList bunch of member's number, WSID label bunch head produces a tdma slot table, and scheduling bunch interior nodes sends data time, enters bunch mark position 1;
1.4. after sub-clustering completes, a WSID label bunch airtime synchronization request message;
1.5.WSID after node power-up initializing, radio receiving transmitting module is in the state of intercepting.If receive the time synchronized request message of WSID label bunch head, broadcast forwards this time synchronized request message;
1.6.WSID via node is received after system pretrigger packet, and system log-on data bag is forwarded to WSID gateway, and keeps the state of intercepting;
1.7.WSID gateway is received after system log-on data bag, keeps the state of intercepting;
If 1.7.1. do not receive a WSID node or WSID label bunch time synchronized request message, continue to keep intercepting shape;
If 1.7.2. receive, a WSID node or WSID label bunch time synchronized request message starts WSID node and a WSID label bunch head to make time synchronizing, goes to 1.8;
1.8.WSID gateway broadcasts hierarchical message, the level level1(of WSID gateway refers to taking WSID gateway as root node, the level number in the network that WSID node and WSID label bunch head are child node) be 0;
1.8.1.WSID node and a WSID label bunch head are received after hierarchical message, obtain level in oneself level level1(packet number+1 according to the level in hierarchical message number), and record the ID of uploading nodes;
1.8.2.WSID node and WSID label bunch head obtain after the level level1 of oneself, then broadcast hierarchical message to lower level node, if receive the hierarchical message of lower level node broadcast, record the biography node down of WSID node;
1.9. each WSID node and WSID label bunch head have oneself level number and uploading nodes and under pass after node, WSID gateway broadcasts synchronization message, with the synchronous ground floor node of two-way pair-wise synchronization algorithms, same ground floor node is with the synchronous second layer node of same method, and upper layer node is with the synchronous lower level node of two-way pair-wise synchronization algorithms;
1.10.WSID label bunch head, according to the tdma slot table producing, is made time synchronizing to a WSID label bunch member with two-way pair-wise synchronization algorithms.Now ensure the time synchronized of the whole network.Now, WSID label is opened sub-clustering time synchronized timer Timer3;
1.10.1. the sub-clustering time synchronized timer Timer3 time does not arrive, if the signal of WSID label bunch head collection self abnormal signal of intercepting bunch member; If a WSID label bunch member closes transceiver module, enter sleep state;
1.10.2. the sub-clustering time synchronized timer Timer3 time arrives, and WSID label a bunch member wake up, and the network layer number of WSID label bunch head sets to 0, and enters next round sub-clustering and time synchronized, goes to 1.1.2;
1.11.WSID label collects vibration signal:
1.11.1.WSID the vibration signal R< threshold value M that label bunch member collects, a WSID label bunch member continues to keep sleep state; The vibration signal R< threshold value M that WSID label bunch head collects, does not forward;
1.11.2.WSID the vibration signal R> threshold value M that label bunch member collects, WSID label bunch member's transceiver module wakes up, signal is sent to the leader cluster node of this node; If the signal that WSID label bunch head collects, signal is sent to WSID gateway by WSID label bunch head and WSID node MANET, is sent to WSID base station by WSID via node; If the leader cluster node of record oneself and itself neither leader cluster node in WSID label, broadcasts abnormal signal, WSID node and WSID label bunch head (bunch head of non-this WSID label) receive that this abnormal signal forwards, until be sent to WSID base station; Signal is sent to monitor terminal by WSID base station, goes to 1.12.
1.12.WSID label bunch member is sent to the leader cluster node of this node or WSID label bunch head and WSID node hoc network by signal signal is sent to after WSID gateway, broadcasts No. ID and the vibration signal of self.Mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node are received the signal of WSID label broadcast, send and feed back signal to WSID label;
If 1.12.1. WSID label receives the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, continue broadcast.When after the vibration signal R< threshold value M gathering, calculate the weights of self, broadcast request into clusters signal goes to 1.1.2.
If 1.12.2. WSID label does not listen to the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, go to 1.11.
If 1.13. move airborne GPS/WSID information gathering node and listen to the signal of WSID label, mobile airborne GPS/WSID information gathering node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to mobile airborne GPS/WSID information processing transmission node, be sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node.
If 1.14. move airborne GPS/WSID information processing transmission node and listen to the signal of WSID label, mobile airborne GPS/WSID information processing transmission node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node; If mobile airborne GPS/WSID information processing transmission node listens to the signal of mobile airborne GPS/WSID information gathering node, signal is sent to harbour monitor terminal by 2G/3G module.
If 1.15. monitor terminal receives the data of WSID base station, whether be normal scheduling operation according to this container that judges for No. ID obtaining in packet, if this container of No. ID is not in operation plan table, monitor terminal starts corresponding alarm signal and reminds staff to go to scene check and take appropriate measures.If monitor terminal is received the signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, monitor terminal software is determined container positional information (positional information is accurate to district, row, floor) accurately according to the data that receive by the technology such as virtual reality, GIS.
In system, after each node power-up initializing, first WSID base station receives the system action command of monitor terminal, and transmitting system log-on data bag is to WSID via node, and WSID via node sends to WSID gateway.
Table 1 is system log-on data packet format: wherein type of data packet is that 0x01 represents system log-on data bag.In whole system, the every packet that will broadcast, has a field, is exactly the lifetime.Lifetime ensures that each packet is only broadcasted once, and adjacent a period of time, node receives that the packet of identical lifetime will ignore.So just can not cause broadcast storm, the energy of waste system.
The form of table 1 system log-on data bag
Sequence number Field name Field length Explanation
1 Bag type 1byte Mark bag type (0x01)
2 Source address 2byte Identification data sending node id
3 Destination address 2byte 0xFFFF represents broadcast address
4 Lifetime 1byte Produce a random number
5 CRC check 2byte 1,2,3,4, field data verification
Gateway receives the time synchronized request message of intercepting WSID node or WSID label bunch head after system log-on data bag.Timer Timer1 be WSID label in the time that sub-clustering starts for broadcasting sub-clustering message, timer time is to the sub-clustering message of going off the air.Timer Timer3 opens after WSID label completes sub-clustering and time synchronized, and timer time is to starting sub-clustering again.
Embodiment 2:
WSID label is arranged on container, by lithium battery and/or solar powered.WSID label is divided into WSID label bunch head and WSID label bunch member by cluster algorithm, after sub-clustering completes, enters bunch mark position 1, opens sub-clustering timer Timer3, and timer time, to entering bunch mark position 0, re-starts sub-clustering.WSID label gathers the moving signal of vibration of container by cycle regular hour, the radio receiving transmitting module of WSID label bunch head is always in wake-up states, if the vibration signal that WSID label bunch member collects is greater than threshold value M, radio receiving transmitting module wakes up, vibration signal and container are sent to wireless going out No. ID, if the vibration signal collecting is less than threshold value M, radio receiving transmitting module enters sleep state, saves most possibly the energy of WSID label.
WSID label bunch head and WSID node belong to same layer in topological structure, by WSID gateway, it are done to time synchronizing, and WSID label bunch head does time synchronizing to the WSID label bunch member in this bunch.
If the vibration signal that WSID label collects is greater than threshold value M, first check into a bunch flag bit, be 1 if enter bunch flag bit, signal is sent to WSID label bunch head, signal is sent to WSID gateway by WSID label bunch head and WSID node MANET; Be 0 if enter bunch flag bit, broadcast abnormal signal, receive that the node (WSID node or other WSID label bunch member's leader cluster node) of this signal forwards this signal, until be sent to WSID base station.Simultaneously, the inspection flag bit that enters a port, if enter a port, flag bit is that 1(represents that the essential information of container has existed in the database of monitor terminal), WSID label broadcast singal (comprises vibration signal and container ID, in table 2, remove sequence number 6), if enter a port, flag bit is the essential information that 0(represents not exist in the database of monitor terminal container), WSID label broadcast singal (essential information that comprises vibration signal and container ID and container, all packets in table 2).If receive the feedback signal of mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node, continue broadcast, until the vibration signal collecting is less than threshold value M.Mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node collection position information, be sent to monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information gathering node.
WSID label data bag: mainly comprise No. ID of container, vibration signal and container essential information etc., concrete form as shown in Table 2:
Table 2WSID label data packet format
WSID label is a miniature embedded system, by adopting solar powered mode to supplement the not only environmental protection of energy of label, energy-conservation, and avoids using the mode by changing battery to carry out this not too effective method of makeup energy.How effective use energy carrys out maximization network life cycle is the overriding challenge that sensor network faces, we know that most energy consumption of sensing node are in radio communication, and data transmission, data receiver and data interception process have a large amount of energy consumption.The present invention be provided with wireless communication module sleeping/waking pattern based on sampling threshold (signal that WSID label bunch member collects be less than threshold value wireless communication module enter resting state, the signal collecting be greater than threshold value wireless communication module wake up) energy loss of greatly possible saving network node.
As shown in Figure 9, the workflow of WSID label is as follows:
2.1.WSID label power-up initializing, network layer level1 is made as 0(and represents not layering), the number of times count value of serving as bunch head is 0, and the mark position 0(that enters a port represents that container does not enter harbour, does not have the essential information of container in monitor terminal database);
2.2.WSID label gathers vibration signal R, if vibration signal R< threshold value M, opening timing device Timer4, timer time arrives, and goes to 2.3; If vibration signal R> threshold value M, goes to 2.8.
2.3.WSID the weights of tag computation self judge whether to serve as a bunch head, then, periodically to the message of neighbor node broadcast sub-clustering message and reception neighbor node, carry out sub-clustering processing;
2.4., after sub-clustering completes, enter bunch mark position 1.A WSID label bunch airtime synchronization request message; The broadcast of WSID node time of receipt (T of R) synchronous request signal forwards this time synchronized request message;
If 2.5., after WSID gateway time of receipt (T of R) synchronization request message, WSID gateway broadcasts is for the hierarchical message of time synchronized;
2.6. each WSID label bunch head and WSID node all obtain, after the level number of self, waiting for the time synchronizing of the two-way pair-wise synchronization algorithms of WSID gateway.WSID gateway is with the synchronous ground floor WSID of two-way pair-wise synchronization algorithms label bunch head and WSID node, same ground floor WSID label bunch head and WSID node are with the synchronous second layer WSID of same method label bunch head and WSID node, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all WSID label bunch heads and all time synchronized of WSID node;
2.7.WSID after a label bunch time synchronized completes, to bunch in bunch member's time synchronized, according to the tdma slot table producing, a WSID label bunch member is made to time synchronizing with two-way pair-wise synchronization algorithms.Now ensure the time synchronized of the whole network.Now, WSID label is opened sub-clustering timer Timer3;
2.7.1. the sub-clustering timer Timer3 time does not arrive, and the vibration signal R collecting is less than threshold value M, if the signal of WSID label bunch head collection self abnormal signal of intercepting bunch member; If WSID label bunch member's sensing module gathers vibration signal, transceiver module is closed, and enters sleep state;
2.7.2. the sub-clustering time synchronized timer Timer3 time arrives, and WSID label wakes up,, a WSID label bunch network layer level1 sets to 0, and enters next round sub-clustering and time synchronized, goes to 2.3;
2.8.WSID a label bunch member gathers vibration signal R, if R<M(threshold value), WSID label continues the state that keeps original; If R is greater than threshold value M, go to 2.8.1 or 2.8.2;
If 2.8.1. WSID label has completed sub-clustering, entering bunch flag bit is 1, record the leader cluster node of self or itself be exactly leader cluster node, a WSID label bunch member wakes up, open wireless communication module, signal is sent to WSID label bunch head by WSID label bunch member, and signal is sent to WSID gateway by WSID label bunch head and WSID node MANET, after data send, goes to 2.8.3;
If 2.8.2. not sub-clustering of WSID label, entering bunch flag bit is 0, does not have the leader cluster node that belongs to self, WSID label broadcast abnormal signal, the leader cluster node of other nodes WSID node or other WSID label receives that this abnormal signal forwards, until be sent to WSID base station; Signal is sent to monitor terminal by WSID base station, after data send, goes to 2.8.3;
2.8.3.WSID the label inspection flag bit that enters a port, if enter a port, flag bit is that 0(is the essential information of storage container not in monitor terminal database), the identity of other essential informations (upstream and downstream harbour, particulars of goods, haulage time and the owner of cargo etc.) in No. ID of radio receiving transmitting module broadcast WSID label and WSID label is traced to the source, and the mark position 1 of entering a port; If enter a port, flag bit is 1, and radio receiving transmitting module is only broadcasted No. ID and vibration signal of WSID label.
If 2.8.3.1. WSID label is received after the feedback signal (No. ID and the feedback of vibration signal to the broadcast of WSID label) of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, continue broadcast No. ID and vibration signal.When the vibration signal R<M(threshold value collecting), go to 2.2;
If 2.8.3.2. WSID label is not received feedback signal, go to 2.8;
WSID label cluster algorithm as shown in figure 12, WSID label first calculates self weights Weight, by broadcast sub-clustering message (sub-clustering message data form is as shown in table 3), judge whether to serve as a bunch head, if bunch head, broadcast bunch message (No. ID and signal strength signal intensity comprising this WSID label), WSID label bunch member selects node that signal strength signal intensity the is stronger leader cluster node as self, be recorded in Head, and leader cluster node is fed back into a bunch information (packet format is as shown in table 4).Relatively comprise the following steps:
Table 3WSID sub-clustering message format
Sequence number Field name Field length Explanation
1 Bag type 1byte 0x03
2 Destination address 2byte 0xFFFF represents broadcast address
3 Container ID 1byte WSID label ID
4 Weight 2byte Serve as a bunch weights
5 Lifetime 1byte Produce a random number
6 CRC check 2byte 1,2,3,4,5 field data verifications
Table 4 enters a bunch feedback message formats
Sequence number Field name Field length Explanation
1 Bag type 1byte 0x04
2 Destination address 2byte The leader cluster node of self
3 Source address 1byte WSID label ID
4 CRC check 2byte 1,2,3 field data verifications
5.1.WSID the weights Weight that calculates self after label power-up initializing judges whether to serve as a bunch head, Weight=Energy/ (count+1), and the energy that Energy is label, and start sub-clustering timer Timer1;
5.2.WSID the sub-clustering timer Timer1 time of label arrives, and then periodically broadcasts the message of sub-clustering message and reception neighbor node to neighbor node:
If 5.2.1. Weight value is all larger than the Weight value of the neighbor node of receiving, oneself is made as to leader cluster node, count adds 1, a bunch mark position 1;
If 5.2.2. Weight value is less than the Weight value of certain neighbor node of receiving, oneself is made as to a bunch member node, a bunch mark position 0;
If 5.2.3. in Weight value and neighbor node maximum Weight value equate, compare No. ID, No. ID little leader cluster node that is made as, a bunch mark position 1, ID is greatly made as a bunch member node, a bunch mark position 0;
5.3.WSID label bunch head broadcast leader cluster node message, find bunch member node:
5.3.1.WSID label bunch member receives after the message of bunch head, according to signal strength signal intensity, selects the leader cluster node of the strong node of signal as self, and is recorded in Head, leader cluster node is fed back into a bunch information simultaneously;
5.3.2.WSID label bunch head is received entering after bunch message of bunch member, join MemberList in member's list by No. ID of member node, according in MemberList bunch of member's number, WSID label bunch head produces a tdma slot table, and scheduling bunch interior nodes sends data time.
In the algorithm distributed, collaborative cluster certainly of this WSID label weights based on energy, each node calculates the weights of self and indicates the degree that is applicable to serving as bunch head.Adopt the not only energy of equalizing network interior nodes of cluster algorithm of this kind of time in turn bunch head, and save node energy (when the vibration signal collecting as WSID label bunch member is less than threshold value, close transceiver module, only have the wireless communication module of a small amount of leader cluster node in the state of intercepting, greatly saved network energy).
Embodiment 3:
After WSID node power-up initializing, radio receiving transmitting module, in the state of intercepting, is waited for the message of a WSID label bunch time synchronized request.Receive after the message of a WSID label bunch time synchronized request, broadcast forwards this message.After WSID gateway time of receipt (T of R) synchronization request message, start WSID node and a WSID label bunch head to do time synchronizing, after time synchronizing is complete, intercept the container state abnormal signal (containing container ID and vibration signal) that WSID label bunch head transmits, and with a WSID label bunch MANET, message is sent to WSID gateway;
As shown in figure 10, the workflow of described WSID node is as follows:
3.1.WSID node power-up initializing, network layer level1 is set to 0, and wireless module is in the state of intercepting;
3.2.WSID node is received the time synchronized request message from WSID label bunch head, and broadcast forwards this message;
3.3.WSID gateway is received from broadcast after the time synchronized request message of WSID node or WSID label bunch head for the hierarchical message of time synchronized, WSID node or WSID label bunch head according to hierarchical message obtain oneself level number, uploading nodes and under pass node;
3.4. each WSID node and WSID label bunch head all obtain, after the level number of self, waiting for the time synchronizing of the two-way pair-wise synchronization algorithms of WSID gateway.WSID gateway is with two-way pair-wise synchronization algorithms synchronous ground floor WSID node and WSID label bunch head, same ground floor WSID node and WSID label bunch head are with same method synchronous second layer WSID node and WSID label bunch head, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all WSID nodes and all time synchronized of WSID label bunch head;
3.5.WSID, after node time synchronously completes, continue to keep the state of intercepting; If listen to the container state abnormal signal (containing container ID and vibration signal) that WSID label bunch head transmits, message is sent to WSID gateway by a WSID node and WSID label bunch MANET;
After WSID gateway power-up initializing, wireless module is in the state of intercepting.WSID gateway is as the time reference point of WSID network time synchronization, when starting to intercept the time synchronized request message of WSID node or WSID label bunch head after the system log-on data bag of receiving WSID via node.WSID node and a WSID label bunch head are finished after time synchronizing, as the root node receiver container abnormal signal of WSID node and WSID label bunch head, and signal is forwarded to WSID via node.
As shown in figure 11, the workflow of WSID gateway further comprises the following steps:
4.1.WSID gateway power-up initializing, time synchronized sequence number seq1(represents the sequence number of WSID gateway to WSID node and a WSID label bunch time synchronizing) set to 0, network layer level1 is set to 0, waits for the system log-on data bag of WSID via node;
4.2.WSID gateway is received after the packet of WSID via node, if receive the time synchronized request message from WSID node or WSID label bunch head, time synchronized sequence number seq1 adds 1, starts, to WSID node and a WSID label bunch time synchronizing, to comprise following two steps:
4.2.1.WSID gateway broadcasts hierarchical message, receive that the WSID node of WSID gateway hierarchical message and WSID label bunch head are as ground floor node, WSID node and a WSID label bunch head are received after hierarchical message, continue broadcast, make WSID node and WSID label bunch head have the level number of oneself;
4.2.2.WSID gateway is with two-way pair-wise synchronization algorithms synchronous ground floor WSID node and WSID label bunch head, same ground floor WSID node and WSID label bunch head are with same method synchronous second layer WSID node and WSID label bunch head, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all time synchronized of WSID node;
4.3.WSID after synchronous processing of gateway deadline, radio receiving transmitting module continues to keep intercepting state, goes to 4.2;
4.4. receive when WSID gateway the container state abnormal signal transmitting after WSID node and a WSID label bunch MANET, signal is sent to WSID via node.
WSID gateway is as root node, also as time synchronized datum mark to the algorithm of WSID node and a WSID label bunch time synchronized as shown in figure 13.Time synchronized mainly comprises two processes: (1) network hierarchy (6.1-6.4); (2) upper layer node adopts two-way pair-wise synchronization algorithms to do time synchronizing (6.5-6.6) to lower level node.
6.1.WSID gateway is received after the packet of WSID via node, if listen to the time synchronized request of WSID node or WSID label bunch head, time synchronized sequence number seq1 is added to 1, and WSID node and a WSID label bunch head are made to time synchronizing;
6.2.WSID network layer level1 is set is 0 to gateway, then broadcasts hierarchical message;
6.3. WSID node and the WSID label bunch head of receiving hierarchical message take out the time synchronized sequence number seq1 in message bag, if local seq1 is greater than the seq1 in packet, do not receive this packet, if local seq1 is less than or equal to the seq1 in packet, extract the level number in message bag, and the level number of judgement oneself;
If 6.3.1. local seq1 is less than the seq1 in packet, the level number level of oneself number being made as in packet adds 1, local zone time SYN is set to the time synchronized sequence number in message bag, source node in this message bag is left in uploading nodes queue for No. ID, and broadcast hierarchical message bag;
If 6.3.2. local seq1 equals the seq1 in packet, and level number is number larger 1 than the level in message bag, just this node is joined in the Xia Chuan node queue of oneself; If local seq1 equals the seq1 in packet, and level number is number less by 1 than the level in message bag, just this node is joined in the uploading nodes queue of oneself;
If 6.3.3. local seq1 is greater than the seq1 in packet, do not process this packet;
6.4. repeat 6.3 process, until all nodes are all given a level number, form a hierarchical tree taking WSID gateway as root node;
6.5. from the successively node of WSID node and WSID label bunch head synchronizing network of WSID gateway, make network entirety time synchronized;
6.5.1.WSID the node that gateway is chosen Xia Chuan node queue centre position is as responsive node, and broadcast synchronization message;
6.5.2. all nodes that receive this synchronization message are all used the time of reception of the local zone time recording messages of oneself, the responsive node of specifying in synchronization message bag is returned to response message, WSID gateway receives response message, calculates time migration Δ and message round-trip delay d between it and responsive node with two-way pair-wise synchronization algorithms.Two-way pair-wise synchronization algorithms: WSID gateway at T1(according to local clock) send synchronizing information bag, this handbag is containing ID and the T1 of node, responsive node is received this bag at T2=T1+ Δ+d, wherein Δ is internodal relative time clock drift, and d is the transmission delay of pulse, and responsive node is returned to confirmation bag at T3, the ID that packets of information comprises responsive node and T1, T2, T3, then WSID gateway can calculate missing drift and transmission delay;
&Delta; ( T 2 - T 1 ) + ( T 4 - T 3 ) 2 ;
d = ( T 2 - T 1 ) + ( T 4 - T 3 ) 2
6.5.3.WSID gateway is broadcasted a message bag again, comprises time migration Δ, propagation delay d and responsive node and receive the time T 2 of synchronization message;
6.5.4. in broadcast domain, other nodes are received after this message bag, and relatively oneself receives the time of synchronization message bag and the time of reception T2 of responsive node, obtains time difference Δ 1, and the time of finally calibration oneself is T=t-Δ+Δ 1, and t is local zone time;
6.6. after ground floor node and WSID gateway time synchronized, to the node broadcasts time synchronized message in Xia Chuan node queue, do in the same way time synchronizing, until all nodes all reach synchronous in network.
Table 5 hierarchical message data packet format
Synchronization message 1 data packet format that table 6 is broadcasted
The data packet format of table 7 responsive node feedback
Sequence number Field name Field length Explanation
1 Bag type 1byte Mark bag type (0x07)
2 Source address 2byte Responsive node id
3 Destination address 2byte The root node id of this node
4 T2 1byte Responsive node is received the time of message
5 T3 1byte The time of responsive node feedback message
6 CRC check 2byte 1,2,3,4,5 field data verifications
The synchronization message data packet format that table 8 is broadcasted
Communication mode between WSID label bunch head and WSID label bunch member is point-to-point propagation, and therefore WSID label bunch head adopts two-way paired Time synchronization algorithm (step 6.5.1-6.5.4) to do time synchronizing to a WSID label bunch member.
Time Synchronization Mechanism is as a kind of support technology of network, for energy-conservation, the distributed CSCW applications of the dormancy of network node provides prerequisite.The Time Synchronization Mechanism of applying in the present invention, realizes simply effectively, and processor is not had to particular/special requirement, is applicable to very much low WSID label and the WSID node of disposal ability; The network of WSID label in the present invention, WSID node and WSID gateway composition topological structure be divided into two-layerly, the mode of two etale topologies refers to: ground floor, taking WSID gateway as root node, WSID node and WSID label bunch head are child node; The second layer, taking WSID label bunch head as root node, WSID label bunch member is child node, WSID label determines it oneself is bunch head or bunch member by cluster algorithm.Two-layer topology planning has good effect for transmission, networking and the time synchronized of the data of large-range monitoring.
Taking WSID gateway as root node, as shown in figure 14, MANET mainly comprises two processes to the MANET algorithm that signal is sent to WSID gateway by a WSID node and WSID label bunch MANET: (1) network hierarchy (6.2-6.4); (2) the basis network of layering, the down hop route (7.1-7.5) of selection data retransmission.Step is as follows:
7.1. by time synchronized step 6.2 to described in 6.4, after time synchronized, all nodes are all given a level number, form a hierarchical tree taking WSID gateway as root node, and each WSID node and WSID label bunch head in uploading nodes queue, record No. ID are as the down hop route in networking process;
7.2. when WSID node and WSID label bunch head are received after the message bag of the WSID of lower floor node and WSID label bunch head, consider by two kinds of situations below:
If 7.2.1. in the forwarding queue of WSID node and WSID label bunch head or sent in buffer memory and have this packet, WSID node and WSID label bunch head do not forward this packet;
If 7.2.2. the neutralization of the forwarding queue of WSID node and WSID label bunch head has sent in buffer memory and do not had this packet, WSID node and a WSID label bunch head forward this packet, go to 7.3;
7.3.WSID node and WSID label bunch head select a uploading nodes as down hop routing node from upload queue, and by package forward, to this node, and turn-on data transmission timer Timer5, waits for replying of next-hop node;
7.3.1. the data transmission timer Timer5 time arrives, also do not receive and reply, WSID node or WSID label bunch head are chosen in addition a node as down hop routing node from uploading nodes queue, by package forward to this node, and turn-on data transmission timer Timer5, wait for replying of this node;
7.3.2. the data transmission timer Timer5 time does not arrive, and just receives replying of down hop routing node, timeing closing device, and WSID node and WSID label bunch head continues to keep the state of intercepting;
7.4. down hop WSID node and a WSID label bunch head are received after packet, carry out data retransmission by the method described in step 7.3, until packet is sent to WSID gateway;
7.5. root node is that WSID gateway is received after packet, checks forwarding queue and has sent in buffer memory whether have this packet, if do not exist, forwards this packet to WSID via node.
Communication mode between WSID label bunch head and WSID label bunch member is point-to-point propagation, and WSID label bunch member is directly sent to signal WSID label bunch head.
The MANET algorithm using has effectively utilized the advantage that cluster algorithm, Time Synchronization Mechanism and the network topology structure of WSID label are brought, and has formed reliable route.At the second layer of net topology structure, WSID label is divided into WSID label bunch head and WSID label bunch member by cluster algorithm, and the networking mode adopting is point-to-point transmission, and signal is directly sent to WSID label bunch head by WSID label bunch member; At the ground floor of network topology structure, pass through Time Synchronization Mechanism, formed respectively taking WSID node and WSID label bunch head as child node, the tree-shaped route taking WSID gateway as root node, each nodes records belong to self father node and child node (be uploading nodes and under pass node).
Embodiment 4
After mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information transmission processing node power-up initializing, radio receiving transmitting module is in the state of intercepting.If mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information transmission processing node are received the vibration signal of WSID label, trigger GPS module collection position information.Mobile airborne GPS/WSID information gathering node will be sent to mobile airborne GPS/WSID information transmission processing node by wireless communication module after No. ID, container or other essential informations fusions of container, mobile airborne GPS/WSID information transmission processing node is sent to and monitor terminal by 2G/3G module, and monitor terminal adopts other algorithms such as virtual reality to determine that container is sent to monitor terminal at the accurate location (position is accurate to district, row, floor) at harbour data packet format according to the positional information receiving is as shown in table 9.
Table 9 is sent to the data packet format of monitor terminal
As shown in figure 15, moving airborne GPS/WSID information gathering node further comprises the following steps: with the workflow of mobile airborne GPS/WSID information transmission processing node
8.1. after mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node power-up initializing, radio receiving transmitting module keeps the state of intercepting;
If 8.2. move airborne GPS/WSID information gathering node and listen to the signal of WSID label, carry out according to the following steps:
8.2.1. extract No. ID in WSID label signal, and send one and feed back signal to this WSID label;
8.2.2. the GPS module collection position information on mobile airborne GPS/WSID information gathering node, and merge container essential information in No. ID of WSID label or No. ID and WSID label and be sent to and be arranged on same the airborne GPS/WSID information processing of the movement on mechanically moving transmission node;
Listen to from being arranged on same the signal on the airborne GPS/WSID information gathering of the movement on mechanically moving node if 8.3. move airborne GPS/WSID information processing transmission node, mobile airborne GPS/WSID information processing transmission node is sent to monitor terminal by the 2G/3G module on node;
If 8.4. move airborne GPS/WSID information processing transmission node and listen to the signal of WSID label, carry out according to the following steps:
8.4.1. extract No. ID in WSID label signal, and send one and feed back signal to this WSID label;
8.4.2. the GPS module collection position information on mobile airborne GPS/WSID information processing transmission node, and the container essential information merging in No. ID of WSID label or No. ID and WSID label is sent to monitor terminal by 2G/3G module.
Mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node trigger the effective information of the GPS module collection container on node after the vibration signal that receives WSID label, can effectively realize tracking and location (in which district in stockyard, which is arranged to be accurate to container) of container, the positional information collecting uploads to after monitor terminal, determine by the technology such as virtual reality technology and GIS of monitor terminal which layer container is placed in, in which district in stockyard, which is arranged and which floor to be accurate to container, realize three-dimensional localization.
Information sensing method of the present invention is positioned at the information Perception layer of container network of things managing and control system, the identity that is mainly used in obtaining No. ID, container, other essential information of container (upstream and downstream harbour, particulars of goods, haulage time and the owner of cargo etc.) of container is traced to the source, positional information and state information (vibration signal), and the mode that information exchange is crossed each node wireless MANET in WSID network and 2G/3G is transferred to monitor terminal.Monitor terminal software is determined container positional information (positional information is accurate to district, row, floor) accurately according to the data that receive by methods such as virtual reality technologies, thereby realize track and localization and the monitoring of harbour container, prevent the generation of the abnormal conditions such as container is stolen.
In a word, the invention solves as the most basic work of the abnormal conditions Precautions such as theft, effectively overcome the problem that harbour container logistics both at home and abroad adopts the technology management and control such as bar code and RFID to exist at present, fill up domestic and international blank; Core and the Pinch technology problem of harbour container management and control are solved, form on this basis harbour container logistics management transparence, reduce stock and haul-cycle time, enhance productivity, conevying efficiency, for realizing " seamless rank formula " real time job and sea, iron, land, good condition has been created in river (comprising the Changjiang river) through transport.
From above-described embodiment, the present invention can understand the dynamic change of container in real time, can not only adjust according to variation at any time, reduce economic loss, can also realize complete transparent and " the seamless connection formula " real time job in freight transportation process, prevent the generation of abnormal conditions, the efficiency and the benefit that improve supply chain are extremely important.

Claims (9)

1. for a WSID information Perception system for container network of things management and control, it is characterized in that, comprising:
WSID label, is arranged on container, for ID, the state information of perception container and the essential information of storage container of storage container; WSID label is divided into WSID label bunch head and WSID label bunch member by cluster algorithm, and the vibration signal collecting is sent to WSID label bunch head by WSID label bunch member;
WSID node, the mounting points that is arranged on stockyard lighting standard or sets up temporarily, for a WSID label bunch MANET and wireless signal transmitting-receiving;
WSID gateway, powered by basis, stockyard power supply facilities, for WSID node and a WSID label bunch head are done to time synchronizing, WSID gateway is always in the state of intercepting, as the root node of WSID node and WSID label bunch head, be responsible for receiving WSID node and the WSID label bunch signal that a MANET transmits;
Each WSID node and WSID label bunch head transfer to WSID gateway by the method for MANET by signal, WSID gateway does time synchronizing to WSID label bunch head and WSID node, ensure that each WSID label bunch head and WSID node time are synchronous, WSID label bunch head adopts two-way pair-wise synchronization algorithms to do time synchronizing to a WSID label bunch member again, ensures whole network time synchronization;
WSID via node, is powered by basis, stockyard power supply facilities, receives the signal of WSID gateway and is responsible for forwarding the packet between WSID gateway and WSID base station;
WSID base station, is arranged in the Control Room of storage yard, is connected, as the tie point of WSID network and local monitoring terminals by serial ports with the local monitoring terminals in Control Room; No. ID, container that WSID via node transmits and the vibration signal of container are received by wireless communication module in WSID base station, and container is mail to local monitoring terminals with the vibration signal of container by serial ports No. ID;
Mobile airborne GPS/WSID information gathering node, be installed on the centre position of hanging head, when it is received after the signal from the broadcast of WSID label, the GPS module triggering on mobile airborne GPS/WSID information gathering node is obtained the positional information of container in stockyard, and the identity of other essential informations by No. ID that is arranged on that WSID label on container transmits and positional information and container is traced to the source after merging and is sent to mobile airborne GPS/WSID information processing transmission node, be sent to monitor terminal by the 2G/3G module in mobile airborne GPS/WSID information processing transmission node, monitor terminal software is determined container positional information accurately according to the data that receive by the technology such as virtual reality technology and GIS,
Mobile airborne GPS/WSID information processing transmission node, be installed in mechanically moving driver's cabin, for receiving the information that gathers and forward from mobile airborne GPS/WSID information gathering node, or directly receive from the signal of WSID label, and trigger GPS module collection position information, will after signal fused, transfer to the monitor terminal at harbour by 2G/3G module.
2. for a WSID information sensing method for container network of things management and control, it is characterized in that, based on information Perception system claimed in claim 1, and comprise the steps:
1.1. WSID label, WSID node, WSID gateway, WSID via node, WSID base station, mobile airborne GPS/WSID information gathering node, mobile airborne GPS/WSID information processing transmission node power-up initializing;
1.1.1.WSID system pretrigger packet is sent to WSID via node in base station, goes to 1.6;
1.1.2. WSID label gathers vibration signal, if the R< threshold value M of vibration signal, the weights of WSID tag computation self judge whether to serve as a bunch head, and start sub-clustering timer Timer1, go to 1.2; If the R> threshold value M of vibration signal, goes to 1.11.2;
1.2. the sub-clustering timer Timer1 time of WSID label arrives, judge whether to serve as a bunch head according to the weights Weight of self, wherein Weight=Energy/(count+1), Energy is the energy of label, count is the number of times of having served as bunch head, whether serves as a bunch head according to following rule judgment;
If 1.2.1. Weight value is all larger than the Weight value of the neighbor node of receiving, oneself is made as to leader cluster node, count adds 1, a bunch mark position 1;
If 1.2.2. Weight value is less than the Weight value of certain neighbor node of receiving, oneself is made as to a bunch member node, a bunch mark position 0;
If 1.2.3. in Weight value and neighbor node maximum Weight value equate, compare No. ID, No. ID little leader cluster node that is made as, a bunch mark position 1, ID is greatly made as a bunch member node, a bunch mark position 0;
1.3.WSID label bunch head broadcast leader cluster node message, find bunch member node:
1.3.1.WSID label bunch member receives after the message of bunch head, according to signal strength signal intensity, selects the leader cluster node of the strong node of signal as self, and is recorded in Head, enters bunch mark position 1, leader cluster node is fed back into a bunch information simultaneously;
1.3.2.WSID label bunch head is received entering after bunch message of bunch member, joins MemberList in member's list by No. ID of member node; According in MemberList bunch of member's number, WSID label bunch head produces a tdma slot table, and scheduling bunch interior nodes sends data time, enters bunch mark position 1;
1.4. after sub-clustering completes, a WSID label bunch airtime synchronization request message;
1.5.WSID after node power-up initializing, radio receiving transmitting module is in the state of intercepting; If receive the time synchronized request message of WSID label bunch head, broadcast forwards this time synchronized request message;
1.6.WSID via node is received after system pretrigger packet, and system log-on data bag is forwarded to WSID gateway, and keeps the state of intercepting;
1.7.WSID gateway is received after system log-on data bag, keeps the state of intercepting;
If 1.7.1. do not receive a WSID node or WSID label bunch time synchronized request message, continue to keep intercepting shape;
If 1.7.2. receive, a WSID node or WSID label bunch time synchronized request message starts WSID node and a WSID label bunch head to make time synchronizing, goes to 1.8;
1.8.WSID gateway broadcasts hierarchical message, the level level1 of WSID gateway is that 0, level1 refers to taking WSID gateway as root node, the level number in the network that WSID node and WSID label bunch head are child node;
1.8.1.WSID node and a WSID label bunch head are received after hierarchical message, obtain the level level1 of oneself according to the level in hierarchical message number, i.e. level in packet number+1, and record the ID of uploading nodes;
1.8.2.WSID node and WSID label bunch head obtain after the level level1 of oneself, then broadcast hierarchical message to lower level node, if receive the hierarchical message of lower level node broadcast, record the biography node down of WSID node;
1.9. each WSID node and WSID label bunch head have oneself level number and uploading nodes and under pass after node, WSID gateway broadcasts synchronization message, with the synchronous ground floor node of two-way pair-wise synchronization algorithms, same ground floor node is with the synchronous second layer node of same method, and upper layer node is with the synchronous lower level node of two-way pair-wise synchronization algorithms;
1.10.WSID label bunch head, according to the tdma slot table producing, is made time synchronizing to a WSID label bunch member with two-way pair-wise synchronization algorithms; Now ensure the time synchronized of the whole network; Now, WSID label is opened sub-clustering time synchronized timer Timer3;
1.10.1. the sub-clustering time synchronized timer Timer3 time does not arrive, if the signal of WSID label bunch head collection self abnormal signal of intercepting bunch member; If a WSID label bunch member closes transceiver module, enter sleep state;
1.10.2. the sub-clustering time synchronized timer Timer3 time arrives, and WSID label a bunch member wake up, and the network layer number of WSID label bunch head sets to 0, and enters next round sub-clustering and time synchronized, goes to 1.1.2;
1.11.WSID label collects vibration signal:
1.11.1.WSID the vibration signal R< threshold value M that label bunch member collects, a WSID label bunch member continues to keep sleep state; The vibration signal R< threshold value M that WSID label bunch head collects, does not forward;
1.11.2.WSID the vibration signal R> threshold value M that label bunch member collects, WSID label bunch member's transceiver module wakes up, signal is sent to the leader cluster node of this node; If the signal that WSID label bunch head collects, signal is sent to WSID gateway by WSID label bunch head and WSID node MANET, is sent to WSID base station by WSID via node; If the leader cluster node of record oneself and itself neither leader cluster node in WSID label, broadcasts abnormal signal, WSID node and a WSID label bunch head receive that this abnormal signal forwards, until be sent to WSID base station; Signal is sent to monitor terminal by WSID base station, goes to 1.12;
1.12.WSID label bunch member is sent to the leader cluster node of this node or WSID label bunch head and WSID node hoc network by signal signal is sent to after WSID gateway, broadcasts No. ID and the vibration signal of self; Mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node are received the signal of WSID label broadcast, send and feed back signal to WSID label;
If 1.12.1. WSID label receives the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, continue broadcast; When after the vibration signal R< threshold value M gathering, calculate the weights of self, broadcast request into clusters signal goes to 1.1.2;
If 1.12.2. WSID label does not listen to the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, go to 1.11;
If 1.13. move airborne GPS/WSID information gathering node and listen to the signal of WSID label, mobile airborne GPS/WSID information gathering node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to mobile airborne GPS/WSID information processing transmission node, be sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node;
If 1.14. move airborne GPS/WSID information processing transmission node and listen to the signal of WSID label, mobile airborne GPS/WSID information processing transmission node sends one and feeds back signal to WSID label, and GPS module collection position information, and merge the ID of WSID label and vibration signal is sent to harbour monitor terminal by the 2G/3G module on mobile airborne GPS/WSID information processing transmission node; If mobile airborne GPS/WSID information processing transmission node listens to the signal of mobile airborne GPS/WSID information gathering node, signal is sent to harbour monitor terminal by 2G/3G module;
If 1.15. monitor terminal receives the data of WSID base station, whether be normal scheduling operation according to this container that judges for No. ID obtaining in packet, if this container of No. ID is not in operation plan table, monitor terminal starts corresponding alarm signal and reminds staff to go to scene check and take appropriate measures; If monitor terminal is received the signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, monitor terminal software is determined container positional information accurately according to the data that receive by the technology such as virtual reality, GIS.
3. information sensing method according to claim 2, is characterized in that, the workflow of WSID label further comprises the following steps:
2.1.WSID label power-up initializing, network layer level1 is made as 0, and the number of times count value of serving as bunch head is 0, the mark position 0 of entering a port;
2.2.WSID label gathers vibration signal R, if vibration signal R< threshold value M, opening timing device Timer4, timer time arrives, and goes to 2.3; If vibration signal R> threshold value M, goes to 2.8;
2.3.WSID the weights of tag computation self judge whether to serve as a bunch head, then, periodically to the message of neighbor node broadcast sub-clustering message and reception neighbor node, carry out sub-clustering processing;
2.4. after sub-clustering completes, enter bunch mark position 1, a WSID label bunch airtime synchronization request message; The broadcast of WSID node time of receipt (T of R) synchronous request signal forwards this time synchronized request message;
If 2.5., after WSID gateway time of receipt (T of R) synchronization request message, WSID gateway broadcasts is for the hierarchical message of time synchronized;
2.6. each WSID label bunch head and WSID node all obtain, after the level number of self, waiting for the time synchronizing of the two-way pair-wise synchronization algorithms of WSID gateway; WSID gateway is with the synchronous ground floor WSID of two-way pair-wise synchronization algorithms label bunch head and WSID node, same ground floor WSID label bunch head and WSID node are with the synchronous second layer WSID of same method label bunch head and WSID node, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all WSID label bunch heads and all time synchronized of WSID node;
2.7.WSID after a label bunch time synchronized completes, to bunch in bunch member's time synchronized, according to the tdma slot table producing, a WSID label bunch member is made to time synchronizing with two-way pair-wise synchronization algorithms; Now ensure the time synchronized of the whole network; Now, WSID label is opened sub-clustering timer Timer3;
2.7.1. the sub-clustering timer Timer3 time does not arrive, and the vibration signal R collecting is less than threshold value M, if the signal of WSID label bunch head collection self abnormal signal of intercepting bunch member; If WSID label bunch member's sensing module gathers vibration signal, transceiver module is closed, and enters sleep state;
2.7.2. the sub-clustering time synchronized timer Timer3 time arrives, and WSID label wakes up, and a WSID label bunch network layer level1 sets to 0, and enters next round sub-clustering and time synchronized, goes to 2.3;
2.8.WSID a label bunch member gathers vibration signal R, if R< threshold value M, WSID label continues the state that keeps original; If R is greater than threshold value M, go to 2.8.1 or 2.8.2;
If 2.8.1. WSID label has completed sub-clustering, entering bunch flag bit is 1, record the leader cluster node of self or itself be exactly leader cluster node, a WSID label bunch member wakes up, open wireless communication module, signal is sent to WSID label bunch head by WSID label bunch member, and signal is sent to WSID gateway by WSID label bunch head and WSID node MANET, after data send, goes to 2.8.3;
If 2.8.2. not sub-clustering of WSID label, entering bunch flag bit is 0, does not have the leader cluster node that belongs to self, WSID label broadcast abnormal signal, the leader cluster node of other nodes WSID node or other WSID label receives that this abnormal signal forwards, until be sent to WSID base station; Signal is sent to monitor terminal by WSID base station, after data send, goes to 2.8.3;
2.8.3. the WSID label inspection flag bit that enters a port, if the flag bit that enters a port is 0, the identity of other essential informations in No. ID of radio receiving transmitting module broadcast WSID label and WSID label is traced to the source, and the mark position 1 of entering a port; If enter a port, flag bit is 1, and radio receiving transmitting module is only broadcasted No. ID and vibration signal of WSID label;
If 2.8.3.1. WSID label is received after the feedback signal of mobile airborne GPS/WSID information gathering node or mobile airborne GPS/WSID information processing transmission node, continue broadcast No. ID and vibration signal; As the vibration signal R< threshold value M collecting, go to 2.2;
If 2.8.3.2. WSID label is not received feedback signal, go to 2.8.
4. information sensing method according to claim 2, is characterized in that, the workflow of WSID node further comprises the following steps:
3.1.WSID node power-up initializing, network layer level1 is set to 0, and wireless module is in the state of intercepting;
3.2.WSID node is received the time synchronized request message from WSID label bunch head, and broadcast forwards this message;
3.3.WSID gateway is received from broadcast after the time synchronized request message of WSID node or WSID label bunch head for the hierarchical message of time synchronized, WSID node or WSID label bunch head according to hierarchical message obtain oneself level number, uploading nodes and under pass node;
3.4. each WSID node and WSID label bunch head all obtain, after the level number of self, waiting for the time synchronizing of the two-way pair-wise synchronization algorithms of WSID gateway; WSID gateway is with two-way pair-wise synchronization algorithms synchronous ground floor WSID node and WSID label bunch head, same ground floor WSID node and WSID label bunch head are with same method synchronous second layer WSID node and WSID label bunch head, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all WSID nodes and all time synchronized of WSID label bunch head;
3.5.WSID, after node time synchronously completes, continue to keep the state of intercepting; If listen to the container state abnormal signal that WSID label bunch head transmits, message is sent to WSID gateway by a WSID node and WSID label bunch MANET.
5. information sensing method according to claim 2, is characterized in that, the workflow of WSID gateway further comprises the following steps:
4.1.WSID gateway power-up initializing, time synchronized sequence number seq1 sets to 0, and network layer level1 is set to 0, waits for the system log-on data bag of WSID via node;
4.2.WSID gateway is received after the packet of WSID via node, if receive the time synchronized request message from WSID node or WSID label bunch head, time synchronized sequence number seq1 adds 1, starts, to WSID node and a WSID label bunch time synchronizing, to comprise following two steps:
4.2.1.WSID gateway broadcasts hierarchical message, receive that the WSID node of WSID gateway hierarchical message and WSID label bunch head are as ground floor node, WSID node and a WSID label bunch head are received after hierarchical message, continue broadcast, make WSID node and WSID label bunch head have the level number of oneself;
4.2.2.WSID gateway is with two-way pair-wise synchronization algorithms synchronous ground floor WSID node and WSID label bunch head, same ground floor WSID node and WSID label bunch head are with same method synchronous second layer WSID node and WSID label bunch head, be upper layer node with the synchronous lower level node of two-way pair-wise synchronization algorithms, make all time synchronized of WSID node;
4.3.WSID after synchronous processing of gateway deadline, radio receiving transmitting module continues to keep intercepting state, goes to 4.2;
4.4. receive when WSID gateway the container state abnormal signal transmitting after WSID node and a WSID label bunch MANET, signal is sent to WSID via node.
6. information sensing method according to claim 2, is characterized in that, cluster algorithm comprises the following steps:
5.1.WSID the weights Weight that calculates self after label power-up initializing judges whether to serve as a bunch head, Weight=Energy/(count+1), the energy that Energy is label, and start sub-clustering timer Timer1;
5.2.WSID the sub-clustering timer Timer1 time of label arrives, and then periodically broadcasts the message of sub-clustering message and reception neighbor node to neighbor node:
If 5.2.1. Weight value is all larger than the Weight value of the neighbor node of receiving, oneself is made as to leader cluster node, count adds 1, a bunch mark position 1;
If 5.2.2. Weight value is less than the Weight value of certain neighbor node of receiving, oneself is made as to a bunch member node, a bunch mark position 0;
If 5.2.3. in Weight value and neighbor node maximum Weight value equate, compare No. ID, No. ID little leader cluster node that is made as, a bunch mark position 1, ID is greatly made as a bunch member node, a bunch mark position 0;
5.3.WSID label bunch head broadcast leader cluster node message, find bunch member node:
5.3.1.WSID label bunch member receives after the message of bunch head, according to signal strength signal intensity, selects the leader cluster node of the strong node of signal as self, and is recorded in Head, leader cluster node is fed back into a bunch information simultaneously;
5.3.2.WSID label bunch head is received entering after bunch message of bunch member, join MemberList in member's list by No. ID of member node, according in MemberList bunch of member's number, WSID label bunch head produces a tdma slot table, and scheduling bunch interior nodes sends data time.
7. according to the information sensing method described in claim 4 or 5, it is characterized in that, Time synchronization algorithm comprises the following steps:
6.1.WSID gateway is received after the packet of WSID via node, if listen to the time synchronized request of WSID node or WSID label bunch head, time synchronized sequence number seq1 is added to 1, and WSID node and a WSID label bunch head are made to time synchronizing;
6.2.WSID network layer level1 is set is 0 to gateway, then broadcasts hierarchical message;
6.3. WSID node and the WSID label bunch head of receiving hierarchical message take out the time synchronized sequence number seq1 in message bag, if local seq1 is greater than the seq1 in packet, do not receive this packet, if local seq1 is less than or equal to the seq1 in packet, extract the level number in message bag, and the level number of judgement oneself;
If 6.3.1. local seq1 is less than the seq1 in packet, the level number level of oneself number being made as in packet adds 1, local zone time SYN is set to the time synchronized sequence number in message bag, source node in this message bag is left in uploading nodes queue for No. ID, and broadcast hierarchical message bag;
If 6.3.2. local seq1 equals the seq1 in packet, and level number is number larger 1 than the level in message bag, just this node is joined in the Xia Chuan node queue of oneself; If local seq1 equals the seq1 in packet, and level number is number less by 1 than the level in message bag, just this node is joined in the uploading nodes queue of oneself;
If 6.3.3. local seq1 is greater than the seq1 in packet, do not process this packet;
6.4. repeat 6.3 process, until all nodes are all given a level number, form a hierarchical tree taking WSID gateway as root node;
6.5. from the successively node of WSID node and WSID label bunch head synchronizing network of WSID gateway, make network entirety time synchronized;
6.5.1.WSID the node that gateway is chosen Xia Chuan node queue centre position is as responsive node, and broadcast synchronization message;
6.5.2. all nodes that receive this synchronization message are all used the time of reception of the local zone time recording messages of oneself, the responsive node of specifying in synchronization message bag is returned to response message, WSID gateway receives response message, calculates time migration and message round-trip delay d between it and responsive node with two-way pair-wise synchronization algorithms; Two-way pair-wise synchronization algorithms: WSID gateway sends synchronizing information bag at T1, this handbag is containing ID and the T1 of node, responsive node is received this bag at T2=T1++d, be wherein internodal relative time clock drift, d is the transmission delay of pulse, and responsive node is returned to confirmation bag at T3, the ID that packets of information comprises responsive node and T1, T2, T3, then WSID gateway can calculate missing drift and transmission delay;
6.5.3.WSID gateway is broadcasted a message bag again, comprises time migration, propagation delay d and responsive node and receive the time T 2 of synchronization message;
6.5.4. in broadcast domain, other nodes are received after this message bag, and relatively oneself receives the time of synchronization message bag and the time of reception T2 of responsive node, obtains the time difference 1, and the time of finally calibration oneself is T=t-+1, and t is local zone time;
6.6. after ground floor node and WSID gateway time synchronized, to the node broadcasts time synchronized message in Xia Chuan node queue, do in the same way time synchronizing, until all nodes all reach synchronous in network.
8. according to the information sensing method described in claim 4 or 5, it is characterized in that, MANET algorithm comprises the following steps:
7.1. by time synchronized step 6.2 to described in 6.4, after time synchronized, all nodes are all given a level number, form a hierarchical tree taking WSID gateway as root node, and each WSID node and WSID label bunch head in uploading nodes queue, record No. ID are as the down hop route in networking process;
7.2. when WSID node and WSID label bunch head are received after the message bag of the WSID of lower floor node and WSID label bunch head, consider by two kinds of situations below:
If 7.2.1. in the forwarding queue of WSID node and WSID label bunch head or sent in buffer memory and have this packet, WSID node and WSID label bunch head do not forward this packet;
If 7.2.2. the neutralization of the forwarding queue of WSID node and WSID label bunch head has sent in buffer memory and do not had this packet, WSID node and a WSID label bunch head forward this packet, go to 7.3;
7.3.WSID node and WSID label bunch head select a uploading nodes as down hop routing node from upload queue, and by package forward, to this node, and turn-on data transmission timer Timer5, waits for replying of next-hop node;
7.3.1. the data transmission timer Timer5 time arrives, also do not receive and reply, WSID node or WSID label bunch head are chosen in addition a node as down hop routing node from uploading nodes queue, by package forward to this node, and turn-on data transmission timer Timer5, wait for replying of this node;
7.3.2. the data transmission timer Timer5 time does not arrive, and just receives replying of down hop routing node, timeing closing device, and WSID node and WSID label bunch head continues to keep the state of intercepting;
7.4. down hop WSID node and a WSID label bunch head are received after packet, carry out data retransmission by the method described in step 7.3, until packet is sent to WSID gateway;
7.5. root node is that WSID gateway is received after packet, checks forwarding queue and has sent in buffer memory whether have this packet, if do not exist, forwards this packet to WSID via node.
9. information sensing method according to claim 2, is characterized in that, the workflow of mobile airborne GPS/WSID information gathering node and GPS/WSID information transmission processing node further comprises the following steps:
8.1. after mobile airborne GPS/WSID information gathering node and mobile airborne GPS/WSID information processing transmission node power-up initializing, radio receiving transmitting module keeps the state of intercepting;
If 8.2. move airborne GPS/WSID information gathering node and listen to the signal of WSID label, carry out according to the following steps:
8.2.1. extract No. ID in WSID label signal, and send one and feed back signal to this WSID label;
8.2.2. the GPS module collection position information on mobile airborne GPS/WSID information gathering node, and merge container essential information in No. ID of WSID label or No. ID and WSID label and be sent to and be arranged on same the airborne GPS/WSID information processing of the movement on mechanically moving transmission node;
Listen to from being arranged on same the signal on the airborne GPS/WSID information gathering of the movement on mechanically moving node if 8.3. move airborne GPS/WSID information processing transmission node, mobile airborne GPS/WSID information processing transmission node is sent to monitor terminal by the 2G/3G module on node;
If 8.4. move airborne GPS/WSID information processing transmission node and listen to the signal of WSID label, carry out according to the following steps:
8.4.1. extract No. ID in WSID label signal, and send one and feed back signal to this WSID label;
8.4.2. the GPS module collection position information on mobile airborne GPS/WSID information processing transmission node, and the container essential information merging in No. ID of WSID label or No. ID and WSID label is sent to monitor terminal by 2G/3G module.
CN201410146838.1A 2014-04-11 2014-04-11 For the WSID information Perception system and methods of container network of things management and control Expired - Fee Related CN103944980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410146838.1A CN103944980B (en) 2014-04-11 2014-04-11 For the WSID information Perception system and methods of container network of things management and control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410146838.1A CN103944980B (en) 2014-04-11 2014-04-11 For the WSID information Perception system and methods of container network of things management and control

Publications (2)

Publication Number Publication Date
CN103944980A true CN103944980A (en) 2014-07-23
CN103944980B CN103944980B (en) 2017-04-05

Family

ID=51192461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410146838.1A Expired - Fee Related CN103944980B (en) 2014-04-11 2014-04-11 For the WSID information Perception system and methods of container network of things management and control

Country Status (1)

Country Link
CN (1) CN103944980B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378812A (en) * 2014-11-28 2015-02-25 北京农业信息技术研究中心 Differentiated topology control method of renewable energy source nodes of farmland self-organizing network
CN105526952A (en) * 2014-09-28 2016-04-27 沈阳中科奥维科技股份有限公司 Low-power wireless meter realizing device and realizing method
CN105744585A (en) * 2016-04-08 2016-07-06 南京邮电大学 Energy balancing routing computation method based on three-dimensional cube
CN108205736A (en) * 2016-12-16 2018-06-26 杭州海康威视系统技术有限公司 A kind of data processing method and device
CN110149640A (en) * 2019-06-25 2019-08-20 烟台工程职业技术学院(烟台市技师学院) A kind of network-building method and system of harbour wireless network
CN110166974A (en) * 2019-05-30 2019-08-23 拉扎斯网络科技(上海)有限公司 Method and device for establishing communication connection, electronic equipment and storage medium
CN110243410A (en) * 2019-06-24 2019-09-17 安徽理工大学 A kind of logistics container examination system based on Internet of Things
CN110381514A (en) * 2019-08-19 2019-10-25 山东智慧云链网络科技有限公司 A kind of network-building method and system of harbour wireless network
CN111600774A (en) * 2020-05-13 2020-08-28 北京奇艺世纪科技有限公司 Consumption delay determination method, system, device, equipment and readable storage medium
CN111985587A (en) * 2020-08-06 2020-11-24 运易通科技有限公司 Automatic matching method for container and truck
WO2021035467A1 (en) * 2019-08-26 2021-03-04 唐山哈船科技有限公司 Port cargo anti-lost system
CN113726569A (en) * 2021-08-27 2021-11-30 广州艾美网络科技有限公司 Networking method and device of entertainment equipment and entertainment equipment
CN114501181A (en) * 2022-01-22 2022-05-13 成都天奥电子股份有限公司 Monitoring system for ocean transportation LNG tank container

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075862A (en) * 2007-06-22 2007-11-21 清华大学 Method for synchronizing time based on lock phase ring in wireless sensor network
US20100214059A1 (en) * 2005-06-17 2010-08-26 Twitchell Jr Robert W Event-driven mobile hazmat monitoring
CN101894314A (en) * 2010-04-23 2010-11-24 南京邮电大学 Method for applying warehouse based on internet of things
CN101945472A (en) * 2010-05-18 2011-01-12 东南大学 Method for positioning multiple moving targets by wireless sensor network syncretized with radio frequency identification
CN102209106A (en) * 2011-05-10 2011-10-05 苏州两江科技有限公司 Housebound elderly monitoring system based on wireless sensing network
CN102223413A (en) * 2011-06-20 2011-10-19 北京航天控制仪器研究所 Intelligent monitoring system of dangerous goods container transported by ship
CN102325345A (en) * 2011-06-13 2012-01-18 南京邮电大学 Container logistic tracking and positioning method based on tag sensor network
CN102325344A (en) * 2011-06-13 2012-01-18 南京邮电大学 Method for tracking and locating container by adopting label sensor network
CN102932962A (en) * 2012-10-22 2013-02-13 南京大学 Data integration wireless sensor network (WSN) and radio frequency identification (RFID) heterogeneous network for monitoring storehouse

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100214059A1 (en) * 2005-06-17 2010-08-26 Twitchell Jr Robert W Event-driven mobile hazmat monitoring
CN101075862A (en) * 2007-06-22 2007-11-21 清华大学 Method for synchronizing time based on lock phase ring in wireless sensor network
CN101894314A (en) * 2010-04-23 2010-11-24 南京邮电大学 Method for applying warehouse based on internet of things
CN101945472A (en) * 2010-05-18 2011-01-12 东南大学 Method for positioning multiple moving targets by wireless sensor network syncretized with radio frequency identification
CN102209106A (en) * 2011-05-10 2011-10-05 苏州两江科技有限公司 Housebound elderly monitoring system based on wireless sensing network
CN102325345A (en) * 2011-06-13 2012-01-18 南京邮电大学 Container logistic tracking and positioning method based on tag sensor network
CN102325344A (en) * 2011-06-13 2012-01-18 南京邮电大学 Method for tracking and locating container by adopting label sensor network
CN102223413A (en) * 2011-06-20 2011-10-19 北京航天控制仪器研究所 Intelligent monitoring system of dangerous goods container transported by ship
CN102932962A (en) * 2012-10-22 2013-02-13 南京大学 Data integration wireless sensor network (WSN) and radio frequency identification (RFID) heterogeneous network for monitoring storehouse

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟鲁跃等: "一种用于环境监控的WSN基站的设计与实现", 《测控技术》 *
曲涛涛,阎芳: "RFID与WSN技术融合理论研究", 《物联网技术》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105526952A (en) * 2014-09-28 2016-04-27 沈阳中科奥维科技股份有限公司 Low-power wireless meter realizing device and realizing method
CN104378812A (en) * 2014-11-28 2015-02-25 北京农业信息技术研究中心 Differentiated topology control method of renewable energy source nodes of farmland self-organizing network
CN104378812B (en) * 2014-11-28 2017-09-29 北京农业信息技术研究中心 Farmland self-organizing network regenerative resource node difference topology control method
CN105744585A (en) * 2016-04-08 2016-07-06 南京邮电大学 Energy balancing routing computation method based on three-dimensional cube
CN108205736B (en) * 2016-12-16 2021-05-25 杭州海康威视系统技术有限公司 Data processing method and device
CN108205736A (en) * 2016-12-16 2018-06-26 杭州海康威视系统技术有限公司 A kind of data processing method and device
CN110166974A (en) * 2019-05-30 2019-08-23 拉扎斯网络科技(上海)有限公司 Method and device for establishing communication connection, electronic equipment and storage medium
CN110243410A (en) * 2019-06-24 2019-09-17 安徽理工大学 A kind of logistics container examination system based on Internet of Things
CN110149640A (en) * 2019-06-25 2019-08-20 烟台工程职业技术学院(烟台市技师学院) A kind of network-building method and system of harbour wireless network
CN110149640B (en) * 2019-06-25 2021-12-07 烟台工程职业技术学院(烟台市技师学院) Networking method and system for port wireless network
CN110381514A (en) * 2019-08-19 2019-10-25 山东智慧云链网络科技有限公司 A kind of network-building method and system of harbour wireless network
WO2021035467A1 (en) * 2019-08-26 2021-03-04 唐山哈船科技有限公司 Port cargo anti-lost system
CN111600774A (en) * 2020-05-13 2020-08-28 北京奇艺世纪科技有限公司 Consumption delay determination method, system, device, equipment and readable storage medium
CN111985587A (en) * 2020-08-06 2020-11-24 运易通科技有限公司 Automatic matching method for container and truck
CN113726569A (en) * 2021-08-27 2021-11-30 广州艾美网络科技有限公司 Networking method and device of entertainment equipment and entertainment equipment
CN113726569B (en) * 2021-08-27 2024-07-26 广州艾美网络科技有限公司 Entertainment equipment networking method and device and entertainment equipment
CN114501181A (en) * 2022-01-22 2022-05-13 成都天奥电子股份有限公司 Monitoring system for ocean transportation LNG tank container
CN114501181B (en) * 2022-01-22 2023-09-15 成都天奥电子股份有限公司 Monitoring system of ocean transportation LNG tank container

Also Published As

Publication number Publication date
CN103944980B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN103944980B (en) For the WSID information Perception system and methods of container network of things management and control
CN106792916A (en) A kind of mixed type remote-wireless sensor network system and its communication means
CN107972700B (en) A kind of low-power consumption Train Approaching early warning system and method based on LoRa local networkings
CN102395173B (en) Clustering method for efficiently utilizing energy in perception layer of environment monitoring internet of things
CN202472841U (en) Forest fire monitoring and early warning system based on IOT
CN102404817A (en) Networking method and system for multi-sink-node wireless sensor network
CN102984758A (en) Sensor data transmission method based on Internet of Things
CN104219789B (en) A kind of WSN information Perception system and methods for water level monitoring
CN104812030A (en) Mixed media access control method for chained wireless sensor network
CN103209224A (en) P2P (peer-to-peer)-based underwater acoustic sensor network system and data transmission method thereof
CN101286912B (en) Mobile terminal assisted wireless sensor network information acquisition method
CN206451353U (en) A kind of low-consumption wireless MANET kilowatt meter reading-out system
CN103200616A (en) Energy-saving deployment method of building internet of things network model
CN101713652A (en) Intelligent multi-sensor system and working method thereof
CN102307225A (en) Toxic gas monitoring system based on wireless sensor network
Shaikh et al. Research on wireless sensor network technology
CN111263423B (en) Mobile carrier monitoring terminal and use method thereof
CN104936273A (en) Synchronous sleep low power consumption communication method for Mesh self-organization wireless sensor network
CN102781027A (en) Intelligent processing method for abnormal gateway in network activity period of wireless sensor
CN102196554A (en) Method for realizing average clock synchronization of wireless sensor network through cluster averaging
CN103281707A (en) Construction method of access network facing rail transit infrastructure service state detection
CN206272855U (en) Mixed type remote-wireless sensor network system
CN205961455U (en) Vehicle anti -theft tracking system
CN104568018A (en) Poultry cultivation wireless sensor network monitoring system
CN206894665U (en) A kind of switchgear house monitoring system for reducing things-internet gateway congestion

Legal Events

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

Granted publication date: 20170405