CN109195159A - The addressing test method, apparatus and system of sensor gateway - Google Patents
The addressing test method, apparatus and system of sensor gateway Download PDFInfo
- Publication number
- CN109195159A CN109195159A CN201810967103.3A CN201810967103A CN109195159A CN 109195159 A CN109195159 A CN 109195159A CN 201810967103 A CN201810967103 A CN 201810967103A CN 109195159 A CN109195159 A CN 109195159A
- Authority
- CN
- China
- Prior art keywords
- data
- address
- sensor gateway
- wsn
- gateway
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of addressing test method, apparatus of sensor gateway and systems, this method comprises: WSN node sends the address of node WSN information to sensor gateway;The address of node WSN information is obtained by sensor gateway;Sensor gateway sends administrative center of the gateway address information into telecommunication network;Gateway address information is obtained by the network unit entity in telecommunication network;Telecommunication network sends address information packet to sensor gateway;Address information packet is obtained by sensor gateway;WSN node sends the first data to network unit entity, and the first data include the first destination address corresponding with network unit entity;The first data are obtained by network unit entity;Network unit entity sends the second data to WSN node, and the second data include the second destination address corresponding with WSN node;The second data are obtained by WSN node.The present invention can realize the addressing test of sensor gateway in the environment of combining telecommunication net network and WSN network.
Description
Technical field
The present invention relates to field of communication technology, in particular to the addressing test method, apparatus of a kind of sensor gateway and it is
System.
Background technique
With the development of information technology, Internet of Things rapid development.Internet of Things is the important composition portion of generation information technology
Point and the information age important development stage.In combining telecommunication net network and wireless sensor network (Wireless
Sensor Network, WSN) environment in, sensor gateway be connect telecommunication network and WSN network intermediate equipment, have
Vital effect.Existing gateway test mode is merely able to simply survey the function of the sensor gateway based on existing net
Examination, can not realize sensor gateway addressing test in the environment of combining telecommunication net network and WSN network.
It should be noted that the above description of the technical background be intended merely to it is convenient to technical solution of the present invention carry out it is clear,
Complete explanation, and facilitate the understanding of those skilled in the art and illustrate.Cannot merely because these schemes of the invention
Background technology part is expounded and thinks that above-mentioned technical proposal is known to those skilled in the art.
Summary of the invention
The present invention is directed at least solve one of the technical problems existing in the prior art, a kind of sensor gateway is provided
Addressing test method, apparatus and system can realize seeking for sensor gateway in the environment of combining telecommunication net network and WSN network
Location test.
To achieve the above object, the present invention provides a kind of addressing test method of sensor gateway, the sensor networks
It closes for connecting telecommunication network and WSN network, which comprises
The address of node WSN information is sent to sensor gateway by WSN node;
The address of node WSN information is obtained by sensor gateway;
Administrative center gateway address information being sent to by sensor gateway in telecommunication network;
The gateway address information is obtained by the network unit entity in telecommunication network;
Address information packet is sent to sensor gateway by telecommunication network;
The address information packet is obtained by sensor gateway;
First data are sent to network unit entity by WSN node, first data include and network unit reality
Corresponding first destination address of body;
First data are obtained by network unit entity;
Second data are sent to WSN node by network unit entity, second data include corresponding with WSN node
The second destination address;
Second data are obtained by WSN node.
Optionally, the address information packet specifically include the address information of business platform, proximal end application address information and
The address information of protocol gateway;
It is described address information packet is sent to sensor gateway by telecommunication network to include:
Address information and protocol gateway address information that the address information of business platform, proximal end are applied are passed through into telecommunications respectively
Business platform, proximal end application and protocol gateway in network are sent to sensor gateway.
Optionally, the WSN network uses IP framework and global ip address;Or the WSN network uses IP framework and private
There is IP address;Or the WSN network supports address resolution using non-IP framework and the sensor gateway;Or the WSN network
Mapping table is supported using non-IP framework and the sensor gateway.
Optionally, described first data are sent to network unit entity by WSN node to specifically include:
From first data first destination address is parsed by sensor gateway and according to first purpose
Address forwards first data to network unit entity;Or
By sensor gateway according to IP address mapping table acquisition first destination address and according to first purpose
Address forwards first data to network unit entity;Or
First destination address and basis are obtained according to the mapping table of WSN node and destination address by sensor gateway
First destination address forwards first data to network unit entity.
It is optionally, described that second data are sent to WSN node by network unit entity is specific further include:
From second data second destination address is parsed by sensor gateway and according to second purpose
Address forwards first data to WSN node;Or
By sensor gateway according to IP address mapping table acquisition second destination address and according to second purpose
Address forwards second data to WSN node;Or
Second destination address and basis are obtained according to the mapping table of WSN node and destination address by sensor gateway
Second destination address forwards second data to WSN node.
To achieve the above object, the present invention also provides a kind of addressing test devices of sensor gateway, comprising:
Sending module, for the address of node WSN information to be sent to sensor gateway by WSN node, by gateway
Location information is sent to the administrative center in telecommunication network by sensor gateway, and address information packet is sent to by telecommunication network
First data are sent to network unit entity by WSN node by sensor gateway, and first data include and network unit
Second data are sent to WSN node, second data packet by network unit entity by corresponding first destination address of entity
Include the second destination address corresponding with WSN node;
Module is obtained, for obtaining the address of node WSN information by sensor gateway, by telecommunication network
Network unit entity obtains the gateway address information, obtains the address information packet by sensor gateway, passes through network list
First entity obtains first data, obtains second data by WSN node.
Optionally, the address information packet specifically include the address information of business platform, proximal end application address information and
The address information of protocol gateway;
The sending module is specifically used for the address information for applying the address information of business platform, proximal end and protocol gateway
Address information passes through business platform, proximal end application and protocol gateway in telecommunication network respectively and is sent to sensor gateway.
Optionally, the sending module is specifically used for parsing described first from first data by sensor gateway
Destination address simultaneously forwards first data to network unit entity according to first destination address;Or pass through sensor gateway
First destination address is obtained according to IP address mapping table and first data are forwarded extremely according to first destination address
Network unit entity;Or first destination is obtained according to the mapping table of WSN node and destination address by sensor gateway
Location simultaneously forwards first data to network unit entity according to first destination address.
Optionally, the sending module is specifically used for parsing described second from second data by sensor gateway
Destination address simultaneously forwards first data to WSN node according to second destination address;Or by sensor gateway according to
IP address mapping table obtains second destination address and forwards second data to WSN section according to second destination address
Point;Or by sensor gateway according to the mapping table of WSN node and destination address acquisition second destination address and according to institute
Stating the second destination address forwards second data to WSN node.
To achieve the above object, the present invention also provides a kind of addressing test systems of sensor gateway, including sensor
The addressing test device of gateway and the upper sensor gateway.
The invention has the following advantages:
First data are sent to network by WSN node by the addressing test method of sensor gateway provided by the invention
Element entity, the first data include the first destination address corresponding with network unit entity;Institute is obtained by network unit entity
State the first data;Second data are sent to WSN node by network unit entity, the second data include corresponding with WSN node
The second destination address;Second data are obtained by WSN node, it can be in the environment of combining telecommunication net network and WSN network
The middle addressing test for realizing sensor gateway.
Referring to following description and accompanying drawings, only certain exemplary embodiments of this invention is disclosed in detail, specifies original of the invention
Reason can be in a manner of adopted.It should be understood that embodiments of the present invention are not so limited in range.In appended power
In the range of the spirit and terms that benefit requires, embodiments of the present invention include many changes, modifications and are equal.
The feature for describing and/or showing for a kind of embodiment can be in a manner of same or similar one or more
It uses in a other embodiment, is combined with the feature in other embodiment, or the feature in substitution other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, one integral piece, step or component when using herein, but simultaneously
It is not excluded for the presence or additional of one or more other features, one integral piece, step or component.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of telecommunication network and WSN network integration environment provided in an embodiment of the present invention;
Fig. 2 is a kind of addressing test topology diagram of sensor gateway provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the addressing test method of sensor gateway provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the addressing test method of another sensor gateway provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the addressing test device of sensor gateway provided in an embodiment of the present invention.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, with reference to the accompanying drawing in the present invention
Technical solution carry out clear, complete description, it is clear that described embodiment is a part of the embodiments of the present invention, without
It is whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work
Under the premise of every other embodiment obtained, shall fall within the protection scope of the present invention.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, equipment,
Method or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete soft
The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Fig. 1 is a kind of structural schematic diagram of telecommunication network and WSN network integration environment provided in an embodiment of the present invention, is such as schemed
Shown in 1 comprising telecommunication network and WSN network, sensor gateway are telecommunication network and the internetwork intermediate equipment of WSN.Sensing
Device gateway is for connecting telecommunication network and WSN network: sensor gateway includes southbound interface and northbound interface (not shown),
Interface of the southbound interface between sensor gateway and WSN network, southbound interface can be with are as follows: blue tooth interface or WLAN interface or
ZIGBEE interface or NFC interface;Interface of the northbound interface between sensor gateway and telecommunication network, northbound interface can be with are as follows:
2G/3G/4G interface or PON network interface or DSL interface.
Optionally, the telecommunication network in the present embodiment can also be satellite communication network or IP network.
It further includes WSN node, access net, core net, business platform, administrative center, protocol gateway, distally applies, closely
End application, data center and charging center.Wherein, WSN node passes through sensor gateway accessing telecommunication network.Accessing net can be
Wireless base station.Call request or request of data for being subsequently entered different networks by core net.Business platform is passed for managing
Sensor gateway.Data center is for storing data.Charging center is used for combining with WSN sensor network in telecommunication network
Business carries out charging, and charging center cooperates business platform to complete charging process.Proximal end apply in telecommunication network with WSN network phase
In conjunction with service application, distal end service application is the outer service application combined with WSN of telecommunication network.Protocol gateway is responsible for agreement
Conversion and interface adaptation work.Administrative center is responsible for putting row fault management, performance management and bursting tube into sensor network
Reason.
Fig. 2 is a kind of addressing test topology diagram of sensor gateway provided in an embodiment of the present invention, as shown in Fig. 2,
In actual test, telecommunication network protocol analyzer, telecommunication network protocal analysis can be equipped between telecommunication network and sensor gateway
Instrument, can between sensor gateway and WSN network for analyzing the data field load communicated between telecommunication network and sensor gateway
Equipped with WSN network protocol analysis instrument, what WSN network protocol analysis instrument was used to communicate between analyte sensors gateway and WSN network
Data field load.The addressing test method of sensor gateway described in the present embodiment can be in environment shown in FIG. 1 and Fig. 2 institute
It is realized under the addressing test topological structure shown.
Fig. 3 is a kind of flow diagram of the addressing test method of sensor gateway provided in an embodiment of the present invention, described
Sensor gateway is used to connect telecommunication network and WSN network, as shown in figure 3, this method comprises:
Step 101a, the address of node WSN information is sent to sensor gateway by WSN node.
Step 101b, the address of node WSN information is obtained by sensor gateway.
Step 102a, the administrative center being sent to gateway address information by sensor gateway in telecommunication network.
Step 102b, the gateway address information is obtained by the network unit entity in telecommunication network.
Step 103a, address information packet is sent to sensor gateway by telecommunication network.
Step 103b, the address information packet is obtained by sensor gateway.
Step 104a, the first data are sent to network unit entity by WSN node, first data include and net
Corresponding first destination address of network element entity.
Step 104b, first data are obtained by network unit entity.
Step 105a, the second data are sent to WSN node by network unit entity, second data include with
Corresponding second destination address of WSN node.
Step 105b, second data are obtained by WSN node.
First data are sent to by the addressing test method of the sensor gateway provided in this embodiment by WSN node
Network unit entity, the first data include the first destination address corresponding with network unit entity;It is obtained by network unit entity
Take first data;Second data are sent to WSN node by network unit entity, the second data include and WSN node
Corresponding second destination address;Second data are obtained by WSN node, it can be in combining telecommunication net network and WSN network
Sensor gateway addressing test is realized in environment.
Fig. 4 is the flow diagram of the addressing test method of another sensor gateway provided in an embodiment of the present invention, institute
Sensor gateway is stated for connecting telecommunication network and WSN network, as shown in figure 4, this method comprises:
Step 201a, the address of node WSN information is sent to sensor gateway by WSN node.
Preferably, each step in the present embodiment is executed by the addressing test device of sensor gateway.
Step 201b, the address of node WSN information is obtained by sensor gateway.
Under based on the addressing test of sensor gateway shown in Fig. 2 topology, WSN network protocol analysis instrument can obtain simultaneously
The address of node WSN information.
Can obtain test result via step 201a and step 201b: sensor gateway can obtain the address of node WSN
Information.
Step 202a, the administrative center being sent to gateway address information by sensor gateway in telecommunication network.
Gateway address information is corresponding with sensor gateway.Subsequently, the network unit entity in telecommunication network can be from pipe
Reason center obtains the gateway address information.In the present embodiment, network unit entity refer to each system being deployed in telecommunication network or
Device.
Step 202b, the gateway address information is obtained by the network unit entity in telecommunication network.
Can obtain test result via step 202a and step 202b: the network unit entity in telecommunication network can obtain
The gateway address information of sensor gateway.
Step 203a, the address information and protocol gateway address information point applied the address information of business platform, proximal end
Sensor gateway is not sent to by business platform, proximal end application and the protocol gateway in telecommunication network.
Step 203b, the address information of the business platform, the address information of proximal end application are obtained by sensor gateway
With the address information of protocol gateway.
Can obtain test result via step 203a and step 203b: sensor gateway can obtain business in telecommunication network
Address information, the address information of proximal end application and the address information of protocol gateway of platform.
Step 204a, the first data are sent to network unit entity by WSN node, first data include and net
Corresponding first destination address of network element entity.
First data are the form of data packet.First data are for being forwarded to network unit corresponding with the first destination address
At entity.
In the present embodiment, the networking mode of WSN network can be four kinds, the addressing test of the sensor gateway of the present embodiment
Method can realize sensor network addressing test under the WSN network of four kinds of networking modes.Four kinds of networking modes of WSN network
It is respectively as follows: WSN network and is adopted using IP framework and global ip address, WSN network using IP framework and private IP address, WSN network
Address resolution, WSN network is supported to support mapping table using non-IP framework and sensor gateway with non-IP framework and sensor gateway.
Specifically, the first data are sent into sensor gateway by WSN node, when WSN network uses IP framework and the overall situation
IP address and when WSN network is using non-IP framework and sensor gateway supports address resolution, by sensor gateway from described
First data parse first destination address and forward first data to network list according to first destination address
First entity.When WSN network uses IP framework and private IP address, institute is obtained according to IP address mapping table by sensor gateway
It states the first destination address and forwards first data to network unit entity according to first destination address.When WSN network
Using non-IP framework and when sensor gateway supports mapping table, pass through sensor gateway reflecting according to WSN node and destination address
Firing table obtains first destination address and forwards first data to network unit entity according to first destination address.
The mapping table of IP address mapping table and WSN node and destination address can pre-generate and be stored in biography in the present embodiment
In sensor gateway, the mapping table of IP address mapping table and WSN node and destination address is used equally for addressing.
Step 204b, first data are obtained by network unit entity.
Can obtain test result via step 204a and step 204b: sensor gateway can be from the from WSN node
The first destination address is parsed in one data, and first data are correctly forwarded to network unit entity or sensor gateway
The first destination address can be obtained according to IP address mapping table, and first data are correctly forwarded to network unit entity, or
Sensor gateway can obtain the first destination address according to WSN node and destination address mapping table, and first data are correct
It is forwarded to network unit entity.
Step 205a, the second data are sent to WSN node by network unit entity, second data include with
Corresponding second destination address of WSN node.
Second data are the form of data packet.Second data are for being forwarded to WSN node corresponding with the second destination address
Place.
Specifically, the second data are sent into sensor gateway by network unit entity, when WSN network using IP framework and
Global ip address and when WSN network is using non-IP framework and sensor gateway supports address resolution, by sensor gateway from
Second data parse second destination address and forward first data to WSN according to second destination address
Node.When WSN network uses IP framework and private IP address, through sensor gateway according to the acquisition of IP address mapping table
Second destination address simultaneously forwards second data to WSN node according to second destination address.When WSN network uses non-IP
When framework and sensor gateway support mapping table, obtained by sensor gateway according to the mapping table of WSN node and destination address
Second destination address simultaneously forwards second data to WSN node according to second destination address.
Step 205b, second data are obtained by WSN node.
Can obtain test result via step 205a and step 205b: sensor gateway being capable of always automatic network element entity
The second data in parse the second destination address, and second data are correctly forwarded to WSN node or sensor gateway energy
It is enough that second destination address is obtained according to IP address mapping table, and second data are correctly forwarded to WSN node or sensor network
The second destination address can be obtained according to WSN node and destination address mapping table by closing, and second data are correctly forwarded to WSN
Node.
It should be noted that although describing the operation of the method for the present invention in the accompanying drawings with particular order, this is not required that
Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase
The result of prestige.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or will
One step is decomposed into execution of multiple steps.
First data are sent to net by WSN node by the addressing test method of sensor gateway provided in this embodiment
Network element entity, the first data include the first destination address corresponding with network unit entity;It is obtained by network unit entity
First data;Second data are sent to WSN node by network unit entity, the second data include and WSN node pair
The second destination address answered;Second data are obtained by WSN node, this method can be in combining telecommunication net network and WSN net
Sensor gateway addressing test is realized in the environment of network, further, on the one hand this method takes multiple angles and mode to realize
On the other hand the addressing test of sensor gateway can realize sensor gateway under a variety of networking modes of WSN network
Addressing test can effectively ensure that the addressing function of sensor gateway keeps excellent.
Fig. 5 is a kind of structural schematic diagram of the addressing test device of sensor gateway provided in an embodiment of the present invention, such as Fig. 5
Shown, which includes sending module 11 and acquisition module 12.
Sending module 11 is used to the address of node WSN information being sent to sensor gateway by WSN node, by gateway
Location information is sent to the administrative center in telecommunication network by sensor gateway, and address information packet is sent to by telecommunication network
First data are sent to network unit entity by WSN node by sensor gateway, and first data include and network unit
Second data are sent to WSN node, second data packet by network unit entity by corresponding first destination address of entity
Include the second destination address corresponding with WSN node.
It obtains module 12 to be used to obtain the address of node WSN information by sensor gateway, by telecommunication network
Network unit entity obtain the gateway address information, the address information packet is obtained by sensor gateway, passes through network
Element entity obtains first data, obtains second data by WSN node.
Further, the address information packet specifically includes the address information of the address information of business platform, proximal end application
With the address information of protocol gateway.The sending module 11 is specifically used for the ground for applying the address information of business platform, proximal end
Location information and protocol gateway address information pass through business platform, proximal end application and protocol gateway in telecommunication network respectively and are sent to
Sensor gateway.
Further, the sending module 11 is specifically used for parsing by sensor gateway from first data described
First destination address simultaneously forwards first data to network unit entity according to first destination address;Or pass through sensor
Gateway obtains first destination address according to IP address mapping table and is counted according to first destination address forwarding described first
According to network unit entity;Or first mesh is obtained according to the mapping table of WSN node and destination address by sensor gateway
Address and forward first data to network unit entity according to first destination address.
Further, the sending module 11 is specifically used for parsing by sensor gateway from second data described
Second destination address simultaneously forwards first data to WSN node according to second destination address;Or pass through sensor gateway
Second destination address is obtained according to IP address mapping table and second data are forwarded extremely according to second destination address
WSN node;Or second destination address and root are obtained according to the mapping table of WSN node and destination address by sensor gateway
Forward second data to WSN node according to second destination address.
The addressing test device of sensor gateway provided in this embodiment can be used for realizing sensor provided in this embodiment
The addressing test method of gateway.
The addressing test device of sensor gateway provided in this embodiment, sending module are used to the first data passing through WSN
Node is sent to network unit entity, and the first data include the first destination address corresponding with network unit entity, by the second number
It is sent to WSN node according to by network unit entity, the second data include the second destination address corresponding with WSN node;It obtains
Module is used to obtain first data by network unit entity, obtains second data by WSN node, can be
Sensor gateway addressing test is realized in the environment of combining telecommunication net network and WSN network.
The embodiment of the invention also provides a kind of addressing test systems of sensor gateway, including sensor gateway and upper institute
The addressing test device for the sensor gateway stated.The addressing test system of sensor gateway provided in this embodiment can melt
It closes and realizes sensor gateway addressing test in the environment of telecommunication network and WSN network.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specific embodiment is applied in the present invention, and principle and implementation of the present invention are described, above embodiments
Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art,
According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Appearance should not be construed as limiting the invention.
Claims (10)
1. a kind of addressing test method of sensor gateway, which is characterized in that the sensor gateway is for connecting telecommunication network
With WSN network, which comprises
The address of node WSN information is sent to sensor gateway by WSN node;
The address of node WSN information is obtained by sensor gateway;
Administrative center gateway address information being sent to by sensor gateway in telecommunication network;
The gateway address information is obtained by the network unit entity in telecommunication network;
Address information packet is sent to sensor gateway by telecommunication network;
The address information packet is obtained by sensor gateway;
First data are sent to network unit entity by WSN node, first data include and network unit entity pair
The first destination address answered;
First data are obtained by network unit entity;
Second data are sent to WSN node by network unit entity, second data include corresponding with WSN node
Two destination addresses;
Second data are obtained by WSN node.
2. the addressing test method of sensor gateway according to claim 1, which is characterized in that the address information packet tool
Body includes the address information of the address information of business platform, the address information of proximal end application and protocol gateway;
It is described address information packet is sent to sensor gateway by telecommunication network to include:
Address information and protocol gateway address information that the address information of business platform, proximal end are applied are passed through into telecommunication network respectively
In business platform, proximal end application and protocol gateway be sent to sensor gateway.
3. the addressing test method of sensor gateway according to claim 1, which is characterized in that the WSN network uses
IP framework and global ip address;Or the WSN network uses IP framework and private IP address;Or the WSN network uses non-IP
Framework and sensor gateway support address resolution;Or the WSN network uses non-IP framework and the sensor gateway branch
Hold mapping table.
4. the addressing test method of sensor gateway according to claim 3, which is characterized in that described to lead to the first data
It crosses WSN node and is sent to network unit entity and specifically include:
From first data first destination address is parsed by sensor gateway and according to first destination address
Forward first data to network unit entity;Or
By sensor gateway according to IP address mapping table acquisition first destination address and according to first destination address
Forward first data to network unit entity;Or
By sensor gateway according to the mapping table of WSN node and destination address acquisition first destination address and according to described
First destination address forwards first data to network unit entity.
5. the addressing test method of sensor gateway according to claim 3, which is characterized in that described to lead to the second data
It crosses network unit entity and is sent to WSN node and specifically include:
From second data second destination address is parsed by sensor gateway and according to second destination address
Forward first data to WSN node;Or
By sensor gateway according to IP address mapping table acquisition second destination address and according to second destination address
Forward second data to WSN node;Or
By sensor gateway according to the mapping table of WSN node and destination address acquisition second destination address and according to described
Second destination address forwards second data to WSN node.
6. a kind of addressing test device of sensor gateway characterized by comprising
Sending module believes gateway address for the address of node WSN information to be sent to sensor gateway by WSN node
Breath is sent to the administrative center in telecommunication network by sensor gateway, and address information packet is sent to sensing by telecommunication network
First data are sent to network unit entity by WSN node by device gateway, and first data include and network unit entity
Second data are sent to WSN node by network unit entity by corresponding first destination address, second data include with
Corresponding second destination address of WSN node;
Module is obtained, for obtaining the address of node WSN information by sensor gateway, passes through the network in telecommunication network
Element entity obtains the gateway address information, obtains the address information packet by sensor gateway, passes through network unit reality
Body obtains first data, obtains second data by WSN node.
7. the addressing test device of sensor gateway according to claim 6, which is characterized in that the address information packet tool
Body includes the address information of the address information of business platform, the address information of proximal end application and protocol gateway;
The sending module is specifically used for the address information for applying the address information of business platform, proximal end and protocol gateway address
Information passes through business platform, proximal end application and protocol gateway in telecommunication network respectively and is sent to sensor gateway.
8. the addressing test device of sensor gateway according to claim 6, which is characterized in that the sending module is specific
For parsing first destination address from first data by sensor gateway and according to first destination address
Forward first data to network unit entity;Or first mesh is obtained according to IP address mapping table by sensor gateway
Address and forward first data to network unit entity according to first destination address;Or pass through sensor gateway root
First destination address is obtained according to the mapping table of WSN node and destination address and according to first destination address forwarding
First data are to network unit entity.
9. the addressing test device of sensor gateway according to claim 6, which is characterized in that the sending module is specific
For parsing second destination address from second data by sensor gateway and according to second destination address
Forward first data to WSN node;Or second destination is obtained according to IP address mapping table by sensor gateway
Location simultaneously forwards second data to WSN node according to second destination address;Or by sensor gateway according to WSN node
Second destination address is obtained with the mapping table of destination address and second data are forwarded according to second destination address
To WSN node.
10. a kind of addressing test system of sensor gateway, which is characterized in that appoint including sensor gateway and claim 6-9
The addressing test device of sensor gateway described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967103.3A CN109195159B (en) | 2018-08-23 | 2018-08-23 | Addressing test method, device and system for sensor gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967103.3A CN109195159B (en) | 2018-08-23 | 2018-08-23 | Addressing test method, device and system for sensor gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109195159A true CN109195159A (en) | 2019-01-11 |
CN109195159B CN109195159B (en) | 2021-11-09 |
Family
ID=64919715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810967103.3A Active CN109195159B (en) | 2018-08-23 | 2018-08-23 | Addressing test method, device and system for sensor gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109195159B (en) |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090252087A1 (en) * | 2008-04-03 | 2009-10-08 | National Taiwan University | Wireless-linked remote ecological environment monitoring system |
CN101917736A (en) * | 2010-08-17 | 2010-12-15 | 中国科学院计算技术研究所 | Sensor network test bed system and test method thereof |
CN102083123A (en) * | 2011-03-01 | 2011-06-01 | 中国联合网络通信集团有限公司 | Gateway test method, device and system |
CN102083061A (en) * | 2011-02-18 | 2011-06-01 | 山东省计算中心 | Attack testing method of routing table security of wireless sensor network |
CN102111315A (en) * | 2010-12-20 | 2011-06-29 | 大唐移动通信设备有限公司 | Method, system and equipment for fusing Internet of Things and telecommunication network |
CN102196529A (en) * | 2010-03-19 | 2011-09-21 | 中兴通讯股份有限公司 | Access method and system for wireless sensor network |
CN102300206A (en) * | 2010-06-22 | 2011-12-28 | 中兴通讯股份有限公司 | Addressing method of wireless sensor network (WSN) terminal and combination network |
WO2012016337A1 (en) * | 2010-08-06 | 2012-02-09 | Simon Fraser University | System and method for self-calibrating, self-organizing and localizing sensors in wireless sensor networks |
CN102457877A (en) * | 2010-11-01 | 2012-05-16 | 中兴通讯股份有限公司 | Combined network, method for disposing processing data of WSN (Wireless Sensor Network) terminal and WSN gateway |
CN102457581A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Addressing method of wireless sensor network (WSN) terminal and combination network |
CN102457903A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Access control method for accessing wireless sensor network to telecommunication network by multiple gateways and apparatus thereof |
CN102469546A (en) * | 2010-11-19 | 2012-05-23 | 中兴通讯股份有限公司 | Combined network, method for processing reported data of WSN terminal, and WSN gateway |
CN103067958A (en) * | 2012-12-28 | 2013-04-24 | 中国科学院深圳先进技术研究院 | Network convergence testing method and system of wireless sensor network and mobile communication network |
WO2013071478A1 (en) * | 2011-11-14 | 2013-05-23 | Renesas Mobile Corporation | A method and an apparatus for assisting operation of a wireless sensor network |
CN103747463A (en) * | 2014-01-13 | 2014-04-23 | 中国科学技术大学苏州研究院 | Test method for wireless sensor network performances under water environment |
US20150381414A1 (en) * | 2014-06-27 | 2015-12-31 | Tsinghua University | Method and gateway for automatically controlling relays and wireless sensor network |
US20160037365A1 (en) * | 2014-07-29 | 2016-02-04 | University Of Ottawa | Adaptive packet preamble adjustment |
CN107666413A (en) * | 2016-07-29 | 2018-02-06 | 罗德施瓦兹两合股份有限公司 | For the method and apparatus for the communications security for testing equipment under test |
-
2018
- 2018-08-23 CN CN201810967103.3A patent/CN109195159B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090252087A1 (en) * | 2008-04-03 | 2009-10-08 | National Taiwan University | Wireless-linked remote ecological environment monitoring system |
CN102196529A (en) * | 2010-03-19 | 2011-09-21 | 中兴通讯股份有限公司 | Access method and system for wireless sensor network |
CN102300206A (en) * | 2010-06-22 | 2011-12-28 | 中兴通讯股份有限公司 | Addressing method of wireless sensor network (WSN) terminal and combination network |
WO2012016337A1 (en) * | 2010-08-06 | 2012-02-09 | Simon Fraser University | System and method for self-calibrating, self-organizing and localizing sensors in wireless sensor networks |
CN101917736A (en) * | 2010-08-17 | 2010-12-15 | 中国科学院计算技术研究所 | Sensor network test bed system and test method thereof |
CN102457581A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Addressing method of wireless sensor network (WSN) terminal and combination network |
CN102457903A (en) * | 2010-10-19 | 2012-05-16 | 中兴通讯股份有限公司 | Access control method for accessing wireless sensor network to telecommunication network by multiple gateways and apparatus thereof |
CN102457877A (en) * | 2010-11-01 | 2012-05-16 | 中兴通讯股份有限公司 | Combined network, method for disposing processing data of WSN (Wireless Sensor Network) terminal and WSN gateway |
CN102469546A (en) * | 2010-11-19 | 2012-05-23 | 中兴通讯股份有限公司 | Combined network, method for processing reported data of WSN terminal, and WSN gateway |
CN102111315A (en) * | 2010-12-20 | 2011-06-29 | 大唐移动通信设备有限公司 | Method, system and equipment for fusing Internet of Things and telecommunication network |
CN102083061A (en) * | 2011-02-18 | 2011-06-01 | 山东省计算中心 | Attack testing method of routing table security of wireless sensor network |
CN102083123A (en) * | 2011-03-01 | 2011-06-01 | 中国联合网络通信集团有限公司 | Gateway test method, device and system |
WO2013071478A1 (en) * | 2011-11-14 | 2013-05-23 | Renesas Mobile Corporation | A method and an apparatus for assisting operation of a wireless sensor network |
CN103067958A (en) * | 2012-12-28 | 2013-04-24 | 中国科学院深圳先进技术研究院 | Network convergence testing method and system of wireless sensor network and mobile communication network |
CN103747463A (en) * | 2014-01-13 | 2014-04-23 | 中国科学技术大学苏州研究院 | Test method for wireless sensor network performances under water environment |
US20150381414A1 (en) * | 2014-06-27 | 2015-12-31 | Tsinghua University | Method and gateway for automatically controlling relays and wireless sensor network |
US20160037365A1 (en) * | 2014-07-29 | 2016-02-04 | University Of Ottawa | Adaptive packet preamble adjustment |
CN107666413A (en) * | 2016-07-29 | 2018-02-06 | 罗德施瓦兹两合股份有限公司 | For the method and apparatus for the communications security for testing equipment under test |
Non-Patent Citations (3)
Title |
---|
CHANG FU QIAO: "Design of WSN Gateway for Granary Information Monitoring", 《SCIENTIFIC》 * |
汪源: "云计算环境下业务自动化部署的设计与实现", 《软件》 * |
钱志鸿: "面向物联网的无线传感器网络综述", 《电子与信息学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109195159B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103125141B (en) | The polymerization of mobile broadband network interface | |
CN101945043B (en) | Topology discovery system of next generation Internet based on IPv6 (Internet Protocol Version 6) and realizing method thereof | |
JP5462905B2 (en) | Protocol emulator | |
CN101425938B (en) | Method and apparatus for network apparatus test | |
JP5774729B2 (en) | Addressing scheme for hybrid communication networks | |
CN103312661B (en) | A kind of service access method and device | |
US20140211805A1 (en) | Network multi-path discovery | |
CN105827487A (en) | SDN network message flow statistics method, SDN network message flow processing method and SDN network system | |
JP5234544B2 (en) | Network configuration information acquisition method and apparatus | |
CN102546407B (en) | File transmitting method and device | |
CN107579869A (en) | Network performance detection method and the network equipment | |
CN109218467A (en) | A kind of method for network address translation and chip | |
Wang et al. | PNPL: Simplifying programming for protocol-oblivious SDN networks | |
CN109412951A (en) | A kind of method and apparatus sending routing iinformation | |
Jain et al. | Performance evaluation of IPv4-IPv6 tunneling procedure using IoT | |
CN101626343B (en) | Method and apparatus for exchanging data packet, and communication device | |
CN107483284A (en) | The method of testing and device of the network equipment | |
CN100487757C (en) | Experimental device for IPv6 network protocol simulation teaching | |
CN109195159A (en) | The addressing test method, apparatus and system of sensor gateway | |
CN109286536B (en) | Interface testing method and device | |
CN107733743A (en) | Realize the method and system that industry ethernet data are tested automatically | |
Bilgili et al. | A named data networking stack for contiki ng os | |
CN103874105B (en) | A kind of route tracing method, system and a kind of gateway device | |
CN102377609A (en) | Platform-independent automatic test case and virtual test instrument | |
CN104144091A (en) | Home gateway service carrying implementation method and home gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |