CN103686696A - Method for sending data, gateway and sensor node - Google Patents

Method for sending data, gateway and sensor node Download PDF

Info

Publication number
CN103686696A
CN103686696A CN201210349114.8A CN201210349114A CN103686696A CN 103686696 A CN103686696 A CN 103686696A CN 201210349114 A CN201210349114 A CN 201210349114A CN 103686696 A CN103686696 A CN 103686696A
Authority
CN
China
Prior art keywords
node
external server
address
network
data
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
CN201210349114.8A
Other languages
Chinese (zh)
Other versions
CN103686696B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210349114.8A priority Critical patent/CN103686696B/en
Publication of CN103686696A publication Critical patent/CN103686696A/en
Application granted granted Critical
Publication of CN103686696B publication Critical patent/CN103686696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for sending data, a gateway and a sensor node and belongs to the technical field of communications. The method comprises the following steps: receiving the data which are sent to a mapping node by the sensor node, wherein the node address of the mapping node is carried in the data; inquiring the address, of an external server, corresponding to the node address of the mapping node in a prestored corresponding relationship of the mapping node and the external server, and sending the data to the external server according to the inquired address of the external server. As the mapping node of the external server is pre-established in a network, when the data are transmitted between the external server and the sensor node in an intranet through the gateway, the information of the mapping node corresponding to the external server which actively reports information can be previously obtained by the sensor node, the whole communication process is more transparent, and the safety of the complicated network communication process between the sensor and the external server in the network is improved.

Description

Send a method for data, gateway and sensor node
Technical field
The present invention relates to communication technical field, particularly a kind of the method that sends data, gateway and sensor node.
Background technology
Radio sensing network is the wireless network consisting of in the mode of self-organizing and multi-hop a large amount of static or mobile internal sensor nodes in this network, its objective is that perception collaboratively, collection, processing and transmission network cover the monitoring information in geographic area, report to outside server by gateway device and analyze, process.In the course of work of gateway, external server and inner sensor node need to be mapped, make the data of sensor node be sent to server by gateway.
In prior art, sensor node has two kinds of situations when external server sends data.The first Query Information that to be sensor node send for external server sends feedback data while feeding back, its process is: external server can send to gateway by Query Information, gateway is inquired about in the corresponding relation of the external server storing in advance and internal sensor node, if there is this target internal sensor node, Query Information is sent to this internal sensor node; When internal sensor node completes after query task, result is sent to gateway, gateway inquires the address of external server in the corresponding relation by the external server that stores in advance and internal sensor node again, and Query Result is returned to external server.The second is that sensor node initiatively reports Monitoring Data to external server, its process is: sensor node sends to gateway by the Monitoring Data reporting, in the corresponding relation of gateway by the external server that stores in advance and internal sensor node, inquire the address of the server that receives this Monitoring Data, and according to the address of this external server, Monitoring Data is reported to external server.
In realizing process of the present invention, inventor finds that prior art at least exists following problem:
Sensor node sends data to external server, no matter be passive to outside server feedback data or initiatively to external server reported data, sensor node all be can not determine the relevant information service type information corresponding with it of external server, just send data to gateway, by gateway, by the corresponding relation of external server and sensor node, inquired about, send the data to afterwards the external server inquiring.This asymmetric network transparency, make sensor node cannot learn the information of the external server that sends Query Information, therefore also cannot judge to the fail safe of external server return information, for the application demand becoming increasingly complex and high-performance node, it is the restriction in a kind of security performance.
Summary of the invention
The problem of the opaque performance restriction causing of information when solving the transducer of Intranet and the server transmissioning data of outer net in prior art, the embodiment of the present invention provides a kind of method that sends data, gateway and sensor node.Described technical scheme is as follows:
On the one hand, provide a kind of method that sends data, described method comprises:
Receiving sensor node, to the data of mapping node transmission, carries the node address of described mapping node in described data;
In the corresponding relation of pre-stored mapping node and external server, inquire about the address of the external server that the node address of described mapping node is corresponding, and according to the address of the described external server inquiring, described data are sent to described external server.
On the other hand, provide a kind of method that sends data, described method comprises:
Receive the second Query Information of gateway forwards, in described the second Query Information, carry the node address of the mapping node that sends described the second Query Information;
Whether judge the node address of the mapping node of described the second Query Information of transmission carrying in described the second Query Information, be the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance;
If, feedback data corresponding to described the second Query Information returned to described gateway, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
On the other hand, provide a kind of gateway that sends data, described gateway comprises:
The first receiver module, the data that send to mapping node for receiving sensor node, carry the node address of described mapping node in described data;
Processing module, for inquire about the address of the external server that the node address of described mapping node is corresponding at pre-stored mapping node and the corresponding relation of external server, and according to the address of the described external server inquiring, described data are sent to described external server.
On the other hand, provide a kind of sensor node that sends data, described sensor node comprises:
The 3rd receiver module, for receiving the second Query Information of gateway forwards, carries the node address of the mapping node that sends described the second Query Information in described the second Query Information;
Judge module, for judging the node address of mapping node of described the second Query Information of transmission that described the second Query Information carries, it is whether the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance;
Return to module, for if, feedback data corresponding to described the second Query Information returned to described gateway, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow schematic diagram of the transmission data that provide of the embodiment of the present invention one;
Fig. 2 is the method flow schematic diagram of the transmission data that provide of the embodiment of the present invention two;
Fig. 3 is the method flow schematic diagram of the transmission data that provide of the embodiment of the present invention three;
Fig. 4 is the method flow schematic diagram of the transmission data that provide of the embodiment of the present invention four;
Fig. 5 is the gateway structural representation of the transmission data that provide of the embodiment of the present invention five;
Fig. 6 is the sensor node structural representation of the transmission data that provide of the embodiment of the present invention six.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method that sends data, and referring to Fig. 1, method flow comprises:
101: receiving sensor node, to the data of mapping node transmission, carries the node address of described mapping node in described data;
102: in the corresponding relation of pre-stored mapping node and external server, inquire about the address of the external server that the node address of described mapping node is corresponding, and according to the address of the described external server inquiring, described data are sent to described external server.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information or receiving feedback information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Embodiment bis-
The embodiment of the present invention provides a kind of method that sends data, referring to Fig. 2, it should be noted that the embodiment of the present invention is to take radio sensing network as example, in advance for radio sensing network in the external server that communicates of sensor node, the process of setting up mapping node in radio sensing network describes.
Method flow comprises:
201: when sensor node is communicated by letter first with external server, the node address for described external server allocation map node, adds described server in described network, make described mapping node corresponding one by one in network with described external server.
Concrete, when in radio sensing network, the sensor node of inside and the server of outer net communicate, the data of communication forward by gateway.Wherein communication can send Query Information to inner transducer in radio sensing network for the server of transducer active reporting Monitoring Data inner in radio sensing network or outer net, communication process be now in prior art gateway according to the process of the data that forward, by the address mapping relation of preserving, realize the communication process between external node and internal node in gateway.In communication process first, the address of server in gateway record communication, and service type information corresponding to server, now the address of server can obtain by receiving in the Query Information of server, also can be that internal sensor node is while reporting monitoring information, by obtaining in the address mapping relation recording in gateway; Service type information corresponding to server can be obtained in the Query Information by the server that receives, also can be internal sensor node while reporting monitoring information, by information type corresponding to monitoring information reporting, obtain receiving the service type information of the server of this monitoring information.Further, the address of server can be IP(Internet Protocol, the agreement interconnecting between network) address information in address or other identification servers source, at this, do not make restriction.
A new node using server in a radio sensing network, adds in radio sensing network by gateway.Add radio sensing network, need in radio sensing network, obtain an inner address, gateway can be according to home address to its forwarding data afterwards.At intra-gateway, with regard to forming one, take gateway and take as root node the Star Network that mapping node corresponding to server be child node like this, this network is connected in Intranet by gateway.After distributing address, node address announcement server is backed up.
In gateway, by the server newly adding, the relevant information in radio sensing network is carried out association and is preserved, related information comprises the address of server, in radio sensing network the node address of mapping node, the network identity of current radio sensing network, the i.e. service type information of Intranet ID, server.For example, shown in table 1, be the incidence relation of the server the set up relevant information in radio sensing network in gateway.
External server address The node address of mapping node Intranet ID Service type information
123.123.125.2 0x1578 0x2534 0x2587(temperature is collected)
23.123.125.25 0x1579 0x2534 0x2541(humidity is collected)
123.189.145.78 0x1520 0x2534 0x1247(pricing information)
Table 1
Preferably, service type information that can be corresponding according to server in gateway, carry out associated with the type of each transducer institute image data in current wireless sensing network, being conducive to better provides relevant information according to this incidence relation, is the sensor node transmission data corresponding to service type information of server more rapidly.For example: the service type information of certain server is for collecting temperature information, gateway carries out corresponding associated by being identified in gateway of the sensor node of all responsible collecting temperatures in network with the sign of this server, after server need sensor node to unify in the process of reported data, server sends the Query Information of unified uploading data to gateway, gateway directly corresponds to the sensor node of all collecting temperature information according to this incidence relation, and sends order to the sensor node of all collecting temperature information.
For server-assignment address can obtain by two kinds of modes, so step 201 can be specially:
2011: when the sensor node in described network is communicated by letter first with described external server, to Intranet coordinator node, be sent as the solicited message of described external server distribution node address in network, and receive and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network.
In radio sensing network, there is an Intranet coordinator node, this node is responsible for the node adding and distributes internal address in radio sensing network, the node newly adding can comprise sensor node, can also comprise the mapping node of the server newly adding in embodiments of the present invention, by Intranet coordinator node, be the node address of one 16 of server-assignment, and returned to gateway and preserve.Further, it is the effect that gateway distributes sending time slots that Intranet coordinator node is also being born in the communication process of radio sensing network, when gateway receives the request of forwarding data, by arranging forwarding data to Intranet coordinator node request time slot.
2012: the sensor node in described network is communicated by letter first with described external server, and self is during with the function of Intranet coordinator node, for described external server distribution node address in network, and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network.
When Intranet coordinator node is gateway itself, the function of Intranet coordinator node by self is the node address of one 16 of server-assignment, and carries out record at gateway self.
202: by the node address of described mapping node and service type information corresponding to described external server, sensor node in described network is broadcasted, make the sensor node service type information corresponding according to described external server in described network, the node address of the described mapping node that record is consistent with the data type of self monitoring.
Concrete, when there being the mapping node that new server is corresponding to add after radio sensing network, gateway sends the information of mapping node corresponding to the server newly adding with the form of broadcast to each node in current wireless sensing network, inform that each node has the node newly adding, and the relevant information of the node newly adding is carried at and in broadcast, informs each node in each current wireless sensing network.Wherein, relevant information comprises: node address and the service type information corresponding to described server of server corresponding mapping node in described radio sensing network, for informing the sensor node of each radio sensing network, which kind of information mapping node corresponding to the server that newly adds for receiving.
203: sensor node receives the broadcast message that described gateway sends, in described broadcast message, carry node address and the service type information corresponding to described external server of external server corresponding mapping node in described network.
204: according to the service type information corresponding to described external server of carrying in described broadcast message, record the node address of the described mapping node consistent with self Monitoring Data type.
By service type information corresponding to the server in broadcast message, whether whether sensor node can be known consistent with self institute's Monitoring Data.If consistent, sensor node records the node address of this server corresponding mapping node in described radio sensing network, when next time, current sensor node regularly reported Monitoring Data, can be by carrying destination address in Monitoring Data, the address of the mapping node recording, as the destination address that receives server node address of corresponding mapping node in described radio sensing network of described Monitoring Data.On the other hand, the node address of the mapping node that self Monitoring Data type of sensor node record is consistent, also can be when receiving the Query Information that server sends when sensor node, for judging that of fail safe of current server considers standard, if the mapping node address of this server in network crossed by gateway broadcasts, so illustrate that this server is by checking, otherwise be non-security, now sensor node can not respond this Query Information.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information or receiving feedback information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Embodiment tri-
The embodiment of the present invention provides a kind of method that sends data, referring to Fig. 3, it should be noted that, the embodiment of the present invention is at embodiment bis-, to build external server after mapping node to the sensor node in radio sensing network, to send the process of Query Information, in the embodiment of the present invention, the data that sensor node sends to external server are the Query Information sending according to external server, to the feedback data of outside server feedback.Further, at transducer, to gateway, send before data, the embodiment of the present invention also comprises the process of step 301-step 303.
Method flow comprises:
301: gateway receives the first Query Information that external server sends to the sensor node in network, in described the first Query Information, carry the node address of described sensor node.
Concrete, external server is to the sign of carrying network in the first Query Information sending in radio sensing network, gateway received after the first Query Information according to this network identity determine that whether the first Query Information of receiving is to send in the network at self place.
302: gateway, in the corresponding relation of pre-stored mapping node and external server, is inquired about the node address of described external server corresponding mapping node in described network.
Gateway is according to inquiring the node address of the corresponding mapping node in radio sensing network in address of external server in the corresponding relation of the external server of setting up in advance and mapping node in radio sensing network.
303: the node address that gateway replaces with described external server corresponding mapping node in described network by the source address in described the first Query Information generates the second Query Information, and described the second Query Information is sent to described sensor node.
The first Query Information that external server is sent, the external server corresponding node address of mapping node and network identity in the radio sensing network at place in radio sensing network repacked generation the second Query Information.
304: sensor node receives the second Query Information of gateway forwards, in described the second Query Information, carry the node address of the mapping node that sends described the second Query Information.
305: sensor node judges the node address of the mapping node of described the second Query Information of transmission carrying in described the second Query Information, be whether the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance.
The node address of the described mapping node consistent with self Monitoring Data type by judgement sensor node self record, whether the Query Information that mapping node corresponding to external server that judgement receives sends is that the external server of approving by gateway sends, and if it is performs step 306.
306: if, sensor node returns to described gateway by feedback data corresponding to described the second Query Information, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
When sensor node returns to feedback data according to the second Query Information to external server, pack in feedback data together as the destination address of its transmission in mapping node address corresponding to external server of returning.
307: gateway receiving sensor node, to the data of mapping node transmission, carries the node address of described mapping node in described data.
Concrete, the data that gateway receives in this step are in embodiments of the present invention the feedback data to outside server feedback.
308: gateway is inquired about the address of the external server that the node address of described mapping node is corresponding in the corresponding relation of pre-stored mapping node and external server, and according to the address of the described external server inquiring, described data is sent to described external server.
Gateway, by the mapping node address of carrying in feedback data, finds the address of destination server at gateway in the mapping node of preserving and the mapping table of external server.And according to this IP address, feedback data is returned to server.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the server of receiving feedback information is corresponding, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Embodiment tetra-
The embodiment of the present invention provides a kind of method that sends data, referring to Fig. 4, it should be noted that, the embodiment of the present invention be after embodiment bis-builds mapping nodes external server to the process of the sensor node active upload Monitoring Data in radio sensing network, in the embodiment of the present invention, the Monitoring Data of the data that sensor node sends to external server for regularly reporting to external server.
Method flow is:
401: sensor node regularly reports Monitoring Data to the external server consistent with self Monitoring Data type, in described Monitoring Data, carry the node address of the external server corresponding mapping node in described network that receives described Monitoring Data.
This process is the process of transducer while regularly reporting Monitoring Data, the node address of server in described radio sensing network the corresponding mapping node consistent with self Monitoring Data type obtaining to broadcast message in network by gateway, in the Monitoring Data sending at sensor node, carry this node address, as destination address, gateway can forward by the mode of route after receiving these data.
402: gateway receiving sensor node, to the data of mapping node transmission, carries the node address of described mapping node in described data.
403: gateway is inquired about the address of the external server that the node address of described mapping node is corresponding in the corresponding relation of pre-stored mapping node and external server, and according to the address of the described external server inquiring, described data is sent to described external server.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Embodiment five
The embodiment of the present invention provides a kind of gateway that sends data, referring to Fig. 5, sets up in advance the mapping node of external server in network, and this gateway comprises:
The first receiver module 501, the data that send to mapping node for receiving sensor node, carry the node address of described mapping node in described data;
Processing module 502, for inquire about the address of the external server that the node address of described mapping node is corresponding at pre-stored mapping node and the corresponding relation of external server, and according to the address of the described external server inquiring, described data are sent to described external server.
In embodiment, described gateway also comprises:
Distribute address module 503, while communicating by letter first with external server for sensor node, node address for described external server allocation map node, adds described server in described network, makes described mapping node corresponding one by one in network with described external server.
Wherein, described distribution address module 503, comprising:
First distributes address location 5031, for when the sensor node of described network is communicated by letter first with described external server, to Intranet coordinator node, be sent as the solicited message of described external server distribution node address in network, and receive and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network;
Second distributes address location 5032, for the sensor node when described network, communicate by letter first with described external server, and self is during with the function of Intranet coordinator node, for described external server distribution node address in network, and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network.
Wherein, described gateway also comprises:
Broadcast module 504, be used for the node address of described mapping node and service type information corresponding to described external server, sensor node in described network is broadcasted, make the sensor node service type information corresponding according to described external server in described network, the node address of the described mapping node that record is consistent with the data type of self monitoring.
Further, the data that transducer sends to gateway comprise: to the feedback data of outside server feedback and the Monitoring Data regularly reporting to external server, accordingly, when described data are the feedback data to outside server feedback, described gateway also comprises:
The second receiver module 505, for receiving external server to the first Query Information of the sensor node transmission of network, carries the node address of described sensor node in described the first Query Information;
Enquiry module 506, for the corresponding relation of the mapping node pre-stored and external server, inquires about the node address of described external server corresponding mapping node in described network;
Information generating module 507, for the source address of described the first Query Information being replaced with to the node address of described external server corresponding mapping node in described network, generate the second Query Information, and described the second Query Information is sent to described sensor node.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
Embodiment six
The embodiment of the present invention provides a kind of sensor node that sends data, and referring to Fig. 6, this sensor node comprises:
The 3rd receiver module 601, for receiving the second Query Information of gateway forwards, carries the node address of the mapping node that sends described the second Query Information in described the second Query Information;
Judge module 602, for judging the node address of mapping node of described the second Query Information of transmission that described the second Query Information carries, it is whether the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance;
Return to module 603, for if, feedback data corresponding to described the second Query Information returned to described gateway, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
In embodiment, described sensor node also comprises:
The 4th receiver module 604, the broadcast message sending for receiving described gateway, node address and the service type information corresponding to described external server of in described broadcast message, carrying external server corresponding mapping node in described network.
Logging modle 605, for the service type information corresponding to described external server of carrying according to described broadcast message, records the node address of the described mapping node consistent with self Monitoring Data type.
Reporting module 606, for regularly reporting Monitoring Data to the external server consistent with self Monitoring Data type, carries the node address of the external server corresponding mapping node in described network that receives described Monitoring Data in described Monitoring Data.
The embodiment of the present invention is by setting up in advance the mapping node of external server in network, realized while transmitting data by gateway between sensor node in external server and Intranet, sensor node can be known the information of the mapping node that the external server of active reporting information is corresponding in advance, make whole communication process more transparent, improved in network between transducer and external server the fail safe in complicated network service process.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (16)

1. a method that sends data, is characterized in that, sets up in advance the mapping node of external server in network, and described method comprises:
Receiving sensor node, to the data of mapping node transmission, carries the node address of described mapping node in described data;
In the corresponding relation of pre-stored mapping node and external server, inquire about the address of the external server that the node address of described mapping node is corresponding, and according to the address of the described external server inquiring, described data are sent to described external server.
2. method according to claim 1, is characterized in that, described receiving sensor node is to before the external server data that corresponding mapping node sends in network, and described method comprises:
When sensor node is communicated by letter first with external server, the node address for described external server allocation map node, adds described server in described network, makes described mapping node corresponding one by one in network with described external server.
3. method according to claim 2, it is characterized in that, when described sensor node in described network is communicated by letter first with described external server, be the node address of described external server allocation map node, described external server is added in described network, comprising:
When the sensor node in described network is communicated by letter first with described external server, to Intranet coordinator node, be sent as the solicited message of described external server distribution node address in network, and receive and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network; Or,
Sensor node in described network is communicated by letter first with described external server, and self is during with the function of Intranet coordinator node, for described external server distribution node address in network, and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network.
4. method according to claim 2, it is characterized in that, when described sensor node is communicated by letter first with external server, be the node address of described external server allocation map node, after described server is added in described network, described method also comprises:
By the node address of described mapping node and service type information corresponding to described external server, sensor node in described network is broadcasted, make the sensor node service type information corresponding according to described external server in described network, the node address of the described mapping node that record is consistent with the data type of self monitoring.
5. method according to claim 1, is characterized in that, described data comprise: to the feedback data of outside server feedback and the Monitoring Data regularly reporting to external server,
Accordingly, when described data are the feedback data to outside server feedback, described receiving sensor node is to before the external server data that corresponding mapping node sends in network, and described method also comprises:
Receive the first Query Information that external server sends to the sensor node in network, in described the first Query Information, carry the node address of described sensor node;
In the corresponding relation of pre-stored mapping node and external server, inquire about the node address of described external server corresponding mapping node in described network;
The node address that source address in described the first Query Information is replaced with to described external server corresponding mapping node in described network generates the second Query Information, and described the second Query Information is sent to described sensor node.
6. a method that sends data, is characterized in that, described method comprises:
Receive the second Query Information of gateway forwards, in described the second Query Information, carry the node address of the mapping node that sends described the second Query Information;
Whether judge the node address of the mapping node of described the second Query Information of transmission carrying in described the second Query Information, be the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance;
If, feedback data corresponding to described the second Query Information returned to described gateway, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
7. method according to claim 6, is characterized in that, before the second Query Information of described reception gateway forwards, described method comprises:
Receive the broadcast message that described gateway sends, in described broadcast message, carry node address and the service type information corresponding to described external server of external server corresponding mapping node in described network;
According to the service type information corresponding to described external server of carrying in described broadcast message, record the node address of the described mapping node consistent with self Monitoring Data type.
8. method according to claim 7, is characterized in that, after the node address of server corresponding mapping node in described network that described record is consistent with self Monitoring Data type, described method comprises:
Regularly to the external server consistent with self Monitoring Data type, report Monitoring Data, in described Monitoring Data, carry the node address of the external server corresponding mapping node in described network that receives described Monitoring Data.
9. a gateway that sends data, is characterized in that, sets up in advance the mapping node of external server in network, and described gateway comprises:
The first receiver module, the data that send to mapping node for receiving sensor node, carry the node address of described mapping node in described data;
Processing module, for inquire about the address of the external server that the node address of described mapping node is corresponding at pre-stored mapping node and the corresponding relation of external server, and according to the address of the described external server inquiring, described data are sent to described external server.
10. gateway according to claim 9, is characterized in that, described gateway also comprises:
Distribute address module, while communicating by letter first with external server for sensor node, node address for described external server allocation map node, adds described server in described network, makes described mapping node corresponding one by one in network with described external server.
11. gateways according to claim 10, is characterized in that, described distribution address module, comprising:
First distributes address location, for when the sensor node of described network is communicated by letter first with described external server, to Intranet coordinator node, be sent as the solicited message of described external server distribution node address in network, and receive and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network;
Second distributes address location, for the sensor node when described network, communicate by letter first with described external server, and self is during with the function of Intranet coordinator node, for described external server distribution node address in network, and record the node address after the distribution that described Intranet coordinator node returns, server corresponding to described node address added in described network.
12. gateways according to claim 10, is characterized in that, described gateway also comprises:
Broadcast module, be used for the node address of described mapping node and service type information corresponding to described external server, sensor node in described network is broadcasted, make the sensor node service type information corresponding according to described external server in described network, the node address of the described mapping node that record is consistent with the data type of self monitoring.
13. gateways according to claim 9, is characterized in that, described data comprise: to the feedback data of outside server feedback and the Monitoring Data regularly reporting to external server,
Accordingly, when described data are the feedback data to outside server feedback, described gateway also comprises:
The second receiver module, for receiving external server to the first Query Information of the sensor node transmission of network, carries the node address of described sensor node in described the first Query Information;
Enquiry module, for the corresponding relation of the mapping node pre-stored and external server, inquires about the node address of described external server corresponding mapping node in described network;
Information generating module, for the source address of described the first Query Information being replaced with to the node address of described external server corresponding mapping node in described network, generate the second Query Information, and described the second Query Information is sent to described sensor node.
14. 1 kinds of sensor nodes that send data, is characterized in that, described sensor node comprises:
The 3rd receiver module, for receiving the second Query Information of gateway forwards, carries the node address of the mapping node that sends described the second Query Information in described the second Query Information;
Judge module, for judging the node address of mapping node of described the second Query Information of transmission that described the second Query Information carries, it is whether the node address of described mapping node consistent with self Monitoring Data type in the broadcast message that sends of the described gateway that receives in advance;
Return to module, for if, feedback data corresponding to described the second Query Information returned to described gateway, the node address that carries the server corresponding mapping node in described network that receives described feedback data in described feedback data, makes described gateway forward described feedback data according to the node address of the mapping node carrying in described feedback data.
15. sensor nodes according to claim 14, is characterized in that, described sensor node also comprises:
The 4th receiver module, the broadcast message sending for receiving described gateway, node address and the service type information corresponding to described external server of in described broadcast message, carrying external server corresponding mapping node in described network;
Logging modle, for the service type information corresponding to described external server of carrying according to described broadcast message, records the node address of the described mapping node consistent with self Monitoring Data type.
16. sensor nodes according to claim 15, is characterized in that, described sensor node comprises:
Reporting module, for regularly reporting Monitoring Data to the external server consistent with self Monitoring Data type, carries the node address of the external server corresponding mapping node in described network that receives described Monitoring Data in described Monitoring Data.
CN201210349114.8A 2012-09-19 2012-09-19 A kind of method for sending data, gateway and sensor node Active CN103686696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210349114.8A CN103686696B (en) 2012-09-19 2012-09-19 A kind of method for sending data, gateway and sensor node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210349114.8A CN103686696B (en) 2012-09-19 2012-09-19 A kind of method for sending data, gateway and sensor node

Publications (2)

Publication Number Publication Date
CN103686696A true CN103686696A (en) 2014-03-26
CN103686696B CN103686696B (en) 2017-11-24

Family

ID=50322711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210349114.8A Active CN103686696B (en) 2012-09-19 2012-09-19 A kind of method for sending data, gateway and sensor node

Country Status (1)

Country Link
CN (1) CN103686696B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661331A (en) * 2013-11-20 2015-05-27 中国科学院声学研究所 Gateway applied to wireless sensor network based on IPv6 (Internet Protocol version 6)
CN105509807A (en) * 2015-12-11 2016-04-20 深圳谷探科技有限公司 Wireless intelligent humiture sensor
CN106411744A (en) * 2015-08-03 2017-02-15 阿里巴巴集团控股有限公司 Method used for route processing and equipment thereof
CN107370727A (en) * 2017-06-22 2017-11-21 北京邮电大学 A kind of ZigBee-network interior joint equipment triggering method and device
CN107851085A (en) * 2015-05-27 2018-03-27 佛罗乔有限责任公司 The laboratory of wireless connection
CN110324379A (en) * 2018-03-30 2019-10-11 北京视联动力国际信息技术有限公司 A kind of communication connection method for building up and device
CN113362196A (en) * 2021-05-31 2021-09-07 广东电网有限责任公司 Low-delay addressing method for pre-dispatching service of power grid monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009617A (en) * 2005-12-05 2007-08-01 株式会社日立制作所 Sensor network system, base station and relay method for sensing data
US20100080206A1 (en) * 2007-02-19 2010-04-01 Katsuhiko Yamada Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
CN102404195A (en) * 2011-09-02 2012-04-04 华为技术有限公司 Data transmission method, gateway and network system
CN102404289A (en) * 2010-09-15 2012-04-04 武汉邮电科学研究院 Method for connecting wireless sensing network into internet protocol (IP) v4 network
CN102448075A (en) * 2010-09-30 2012-05-09 上海贝尔股份有限公司 Method and system for mobility management of sensor network node

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009617A (en) * 2005-12-05 2007-08-01 株式会社日立制作所 Sensor network system, base station and relay method for sensing data
US20100080206A1 (en) * 2007-02-19 2010-04-01 Katsuhiko Yamada Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
CN102404289A (en) * 2010-09-15 2012-04-04 武汉邮电科学研究院 Method for connecting wireless sensing network into internet protocol (IP) v4 network
CN102448075A (en) * 2010-09-30 2012-05-09 上海贝尔股份有限公司 Method and system for mobility management of sensor network node
CN102404195A (en) * 2011-09-02 2012-04-04 华为技术有限公司 Data transmission method, gateway and network system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661331A (en) * 2013-11-20 2015-05-27 中国科学院声学研究所 Gateway applied to wireless sensor network based on IPv6 (Internet Protocol version 6)
CN107851085B (en) * 2015-05-27 2023-04-11 佛罗乔有限责任公司 Wirelessly connected laboratory
CN107851085A (en) * 2015-05-27 2018-03-27 佛罗乔有限责任公司 The laboratory of wireless connection
EP3304334A4 (en) * 2015-05-27 2019-01-02 Flowjo, LLC Wirelessly connected laboratory
US10601902B2 (en) 2015-05-27 2020-03-24 FlowJo, LLC Wirelessly connected laboratory
CN106411744A (en) * 2015-08-03 2017-02-15 阿里巴巴集团控股有限公司 Method used for route processing and equipment thereof
CN106411744B (en) * 2015-08-03 2019-10-18 阿里巴巴集团控股有限公司 A kind of method and apparatus for route processing
CN105509807A (en) * 2015-12-11 2016-04-20 深圳谷探科技有限公司 Wireless intelligent humiture sensor
CN107370727A (en) * 2017-06-22 2017-11-21 北京邮电大学 A kind of ZigBee-network interior joint equipment triggering method and device
CN110324379A (en) * 2018-03-30 2019-10-11 北京视联动力国际信息技术有限公司 A kind of communication connection method for building up and device
CN110324379B (en) * 2018-03-30 2021-12-17 视联动力信息技术股份有限公司 Communication connection establishing method and device
CN113362196B (en) * 2021-05-31 2023-02-21 广东电网有限责任公司 Low-delay addressing method for pre-dispatching service of power grid monitoring system
CN113362196A (en) * 2021-05-31 2021-09-07 广东电网有限责任公司 Low-delay addressing method for pre-dispatching service of power grid monitoring system

Also Published As

Publication number Publication date
CN103686696B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN103686696A (en) Method for sending data, gateway and sensor node
US11444986B2 (en) Device triggering
CN102594711B (en) Message forwarding method and edge device therefor
CN105409248B (en) System and method for enhancing discovery
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN102404195A (en) Data transmission method, gateway and network system
CN105450585B (en) A kind of information transferring method and device
CN107566264A (en) A kind of means of communication based on tree network, node and communication system
CN106465238A (en) Service discovery method and device in neighbor awareness network
CN104658226A (en) Wireless meter reading system and method
CN106060773A (en) Object positioning system, method and device
CN105163062A (en) System and method for accessing social resources to public platform
CN105785962B (en) Shop material dispatching control and management platform based on UWB
CN105187311A (en) Message forwarding method and message forwarding device
CN102196529A (en) Access method and system for wireless sensor network
CN107579915B (en) Ad hoc network method, node, gateway and communication system based on tree network
Rajakaruna et al. Enabling end-to-end secure connectivity for low-power IoT devices with UAVs
CN102437963B (en) Routing creation method and router
CN108989270A (en) Authentication method, equipment and system
CN107222251A (en) With proving ground telemetry exchange method and system in satellite field trial
CN104301131A (en) Fault management method and device
CN102970233A (en) Method, apparatus and device for acquiring route, concentrator and system
CN104704867B (en) The method and apparatus of data routing
CN104683152A (en) VXLAN message processing method and device
CN103796300A (en) Terminal peripheral logout method and device in machine type communication system and gateway

Legal Events

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