CN109195159B - Addressing test method, device and system for sensor gateway - Google Patents

Addressing test method, device and system for sensor gateway Download PDF

Info

Publication number
CN109195159B
CN109195159B CN201810967103.3A CN201810967103A CN109195159B CN 109195159 B CN109195159 B CN 109195159B CN 201810967103 A CN201810967103 A CN 201810967103A CN 109195159 B CN109195159 B CN 109195159B
Authority
CN
China
Prior art keywords
data
sensor gateway
gateway
destination address
network
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.)
Active
Application number
CN201810967103.3A
Other languages
Chinese (zh)
Other versions
CN109195159A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810967103.3A priority Critical patent/CN109195159B/en
Publication of CN109195159A publication Critical patent/CN109195159A/en
Application granted granted Critical
Publication of CN109195159B publication Critical patent/CN109195159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The invention discloses an addressing test method, a device and a system of a sensor gateway, wherein the method comprises the following steps: the WSN node sends the address information of the WSN node to the sensor gateway; acquiring address information of a WSN node through a sensor gateway; the sensor gateway sends gateway address information to a management center in a telecommunication network; acquiring gateway address information through a network element entity in a telecommunication network; the telecommunication network sends an address information packet to the sensor gateway; acquiring an address information packet through a sensor gateway; the WSN node sends first data to a network element entity, wherein the first data comprises a first destination address corresponding to the network element entity; acquiring first data through a network unit entity; the network unit entity sends second data to the WSN node, wherein the second data comprises a second destination address corresponding to the WSN node; and acquiring second data through the WSN node. The invention can realize the addressing test of the sensor gateway in the environment of fusing the telecommunication network and the WSN network.

Description

Addressing test method, device and system for sensor gateway
Technical Field
The invention relates to the technical field of communication, in particular to an addressing test method, device and system for a sensor gateway.
Background
With the development of information technology, the internet of things develops rapidly. The Internet of things is an important component of a new generation of information technology and is also an important development stage of the information era. In an environment of integrating a telecommunication Network and a Wireless Sensor Network (WSN), a Sensor gateway is an intermediate device for connecting the telecommunication Network and the WSN, and has a vital role. The existing gateway testing mode can only simply test the functions of the sensor gateway based on the existing network, and can not realize the addressing test of the sensor gateway in the environment of fusing a telecommunication network and a WSN network.
It should be noted that the above background description is only for the sake of clarity and complete description of the technical solutions of the present invention and for the understanding of those skilled in the art. Such solutions are not considered to be known to the person skilled in the art merely because they have been set forth in the background section of the invention.
Disclosure of Invention
The invention aims to solve at least one technical problem in the prior art, and provides a method, a device and a system for addressing test of a sensor gateway, which can realize the addressing test of the sensor gateway in an environment of fusing a telecommunication network and a WSN (wireless sensor network).
In order to achieve the above object, the present invention provides an addressing test method for a sensor gateway, where the sensor gateway is used to connect a telecommunication network and a WSN network, the method includes:
sending the address information of the WSN node to a sensor gateway through the WSN node;
acquiring address information of the WSN node through a sensor gateway;
sending the gateway address information to a management center in a telecommunication network through a sensor gateway;
obtaining the gateway address information through a network element entity in the telecommunication network;
sending the address information packet to a sensor gateway through a telecommunication network;
acquiring the address information packet through a sensor gateway;
sending first data to a network element entity through a WSN node, wherein the first data comprises a first destination address corresponding to the network element entity;
obtaining the first data by a network element entity;
sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node;
and acquiring the second data through the WSN node.
Optionally, the address packet specifically includes address information of a service platform, address information of a near-end application, and address information of a protocol gateway;
the sending the address information packet to the sensor gateway through the telecommunication network comprises:
and respectively sending the address information of the service platform, the address information of the near-end application and the address information of the protocol gateway to the sensor gateway through the service platform, the near-end application and the protocol gateway in the telecommunication network.
Optionally, the WSN network employs an IP architecture and a global IP address; or the WSN adopts an IP architecture and a private IP address; or the WSN adopts a non-IP architecture and the sensor gateway supports address resolution; or the WSN network adopts a non-IP architecture and the sensor gateway supports a mapping table.
Optionally, the sending the first data to the network element entity through the WSN node specifically includes:
resolving the first destination address from the first data through a sensor gateway and forwarding the first data to a network element entity according to the first destination address; or
Acquiring the first destination address according to an IP address mapping table through a sensor gateway and forwarding the first data to a network unit entity according to the first destination address; or
And acquiring the first destination address through a sensor gateway according to a mapping table of the WSN node and the destination address, and forwarding the first data to a network unit entity according to the first destination address.
Optionally, the sending the second data to the WSN node through the network element entity specifically further includes:
analyzing the second destination address from the second data through a sensor gateway and forwarding the first data to the WSN node according to the second destination address; or
Acquiring the second destination address through a sensor gateway according to an IP address mapping table and forwarding the second data to the WSN node according to the second destination address; or
And acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address, and forwarding the second data to the WSN node according to the second destination address.
In order to achieve the above object, the present invention further provides an addressing testing apparatus for a sensor gateway, including:
the sending module is used for sending the address information of the WSN node to the sensor gateway through the WSN node, sending the gateway address information to a management center in a telecommunication network through the sensor gateway, sending an address information packet to the sensor gateway through the telecommunication network, and sending first data to a network unit entity through the WSN node, wherein the first data comprises a first destination address corresponding to the network unit entity, and the second data comprises a second destination address corresponding to the WSN node;
the acquisition module is used for acquiring the address information of the WSN node through a sensor gateway, acquiring the gateway address information through a network unit entity in a telecommunication network, acquiring the address information packet through the sensor gateway, acquiring the first data through the network unit entity and acquiring the second data through the WSN node.
Optionally, the address packet specifically includes address information of a service platform, address information of a near-end application, and address information of a protocol gateway;
the sending module is specifically configured to send address information of the service platform, address information of the near-end application, and address information of the protocol gateway to the sensor gateway through the service platform, the near-end application, and the protocol gateway in the telecommunication network, respectively.
Optionally, the sending module is specifically configured to parse the first destination address from the first data through a sensor gateway and forward the first data to a network element entity according to the first destination address; or acquiring the first destination address according to an IP address mapping table through a sensor gateway and forwarding the first data to a network unit entity according to the first destination address; or acquiring the first destination address through a sensor gateway according to a mapping table of the WSN node and the destination address and forwarding the first data to a network element entity according to the first destination address.
Optionally, the sending module is specifically configured to parse the second destination address from the second data through a sensor gateway and forward the first data to the WSN node according to the second destination address; or acquiring the second destination address through a sensor gateway according to an IP address mapping table and forwarding the second data to the WSN node according to the second destination address; or acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address, and forwarding the second data to the WSN node according to the second destination address.
In order to achieve the purpose, the invention also provides an addressing test system of the sensor gateway, which comprises the sensor gateway and the addressing test device of the sensor gateway.
The invention has the following beneficial effects:
the addressing test method of the sensor gateway provided by the invention comprises the steps of sending first data to a network unit entity through a WSN node, wherein the first data comprises a first destination address corresponding to the network unit entity; obtaining the first data by a network element entity; sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node; and the second data is acquired through the WSN node, so that the addressing test of the sensor gateway can be realized in an environment of fusing a telecommunication network and the WSN.
Specific embodiments of the present invention are disclosed in detail with reference to the following description and drawings, indicating the manner in which the principles of the invention may be employed. It should be understood that the embodiments of the invention are not so limited in scope. The embodiments of the invention include many variations, modifications and equivalents within the spirit and scope of the appended claims.
Features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments, in combination with or instead of the features of the other embodiments.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps or components.
Drawings
Fig. 1 is a schematic structural diagram of a convergence environment of a telecommunications network and a WSN network provided in an embodiment of the present invention;
fig. 2 is a view of an addressing test topology of a sensor gateway according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an addressing testing method for a sensor gateway according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another addressing testing method for a sensor gateway according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an addressing testing apparatus for a sensor gateway according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following clear and complete description of the technical solution of the present invention is made with reference to the accompanying drawings, and it is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a schematic structural diagram of a convergence environment of a telecommunications network and a WSN network according to an embodiment of the present invention, as shown in fig. 1, which includes the telecommunications network and the WSN network, and a sensor gateway is an intermediate device between the telecommunications network and the WSN network. The sensor gateway is used for connecting the telecommunication network and the WSN: the sensor gateway includes a south interface and a north interface (not shown in the figure), the south interface is an interface between the sensor gateway and the WSN network, and the south interface may be: a Bluetooth interface or a WLAN interface or a ZIGBEE interface or an NFC interface; the northbound interface is an interface between the sensor gateway and the telecommunication network, and may be: 2G/3G/4G interface or PON network interface or DSL interface.
Optionally, the telecommunication network in this embodiment may also be a satellite communication network or an IP network.
The system also comprises a WSN node, an access network, a core network, a service platform, a management center, a protocol gateway, a far-end application, a near-end application, a data center and a charging center. The WSN node is accessed to a telecommunication network through a sensor gateway. The access network may be a radio base station. The core network is used for connecting the call request or the data request to different networks. And the service platform is used for managing the sensor gateway. The data center is used for storing data. The charging center is used for charging the service combined with the WSN in the telecommunication network, and the charging center is matched with the service platform to complete the charging process. The near-end application is a service application combined with the WSN in the telecommunication network, and the far-end service application is a service application combined with the WSN outside the telecommunication network. The protocol gateway is responsible for the conversion of the protocol and the adaptation work of the interface. And the management center is responsible for performing fault management, performance management and safety management on the sensor gateway.
Fig. 2 is an addressing test topology structure diagram of a sensor gateway according to an embodiment of the present invention, as shown in fig. 2, during an actual test, a telecommunication network protocol analyzer may be disposed between a telecommunication network and the sensor gateway, the telecommunication network protocol analyzer is configured to analyze a data domain load communicated between the telecommunication network and the sensor gateway, a WSN network protocol analyzer may be disposed between the sensor gateway and the WSN network, and the WSN network protocol analyzer is configured to analyze a data domain load communicated between the sensor gateway and the WSN network. The addressing test method for the sensor gateway in this embodiment can be implemented in the environment shown in fig. 1 and under the addressing test topology shown in fig. 2.
Fig. 3 is a schematic flowchart of an addressing testing method for a sensor gateway, according to an embodiment of the present invention, where the sensor gateway is used to connect a telecommunication network and a WSN network, and as shown in fig. 3, the method includes:
and 101a, sending the address information of the WSN node to a sensor gateway through the WSN node.
And 101b, acquiring the address information of the WSN node through a sensor gateway.
And 102a, sending the gateway address information to a management center in the telecommunication network through the sensor gateway.
Step 102b, obtaining the gateway address information through a network element entity in the telecommunication network.
And 103a, sending the address information packet to the sensor gateway through the telecommunication network.
And 103b, acquiring the address information packet through the sensor gateway.
Step 104a, sending first data to a network element entity through the WSN node, wherein the first data comprises a first destination address corresponding to the network element entity.
And 104b, acquiring the first data through a network unit entity.
And 105a, sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node.
And 105b, acquiring the second data through the WSN node.
In the addressing test method for the sensor gateway provided by this embodiment, first data is sent to a network element entity through a WSN node, where the first data includes a first destination address corresponding to the network element entity; obtaining the first data by a network element entity; sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node; and the second data is acquired through the WSN node, so that the addressing test of the sensor gateway can be realized in an environment integrating the telecommunication network and the WSN.
Fig. 4 is a schematic flowchart of an addressing testing method for a sensor gateway, according to an embodiment of the present invention, where the sensor gateway is used to connect a telecommunication network and a WSN network, and as shown in fig. 4, the method includes:
step 201a, sending the address information of the WSN node to the sensor gateway through the WSN node.
Preferably, the steps in this embodiment are performed by an addressing test device of the sensor gateway.
And step 201b, acquiring the address information of the WSN node through a sensor gateway.
Under the addressing test topology based on the sensor gateway shown in fig. 2, the WSN network protocol analyzer may simultaneously acquire the address information of the WSN node.
The test results can be obtained through step 201a and step 201 b: the sensor gateway can obtain the address information of the WSN node.
Step 202a, sending the gateway address information to a management center in the telecommunication network through the sensor gateway.
The gateway address information corresponds to the sensor gateway. Subsequently, a network element entity in the telecommunications network may obtain the gateway address information from the management center. In this embodiment, a network element entity refers to each system or device deployed in a telecommunications network.
Step 202b, obtaining the gateway address information by a network element entity in the telecommunication network.
The test results are obtained through step 202a and step 202 b: a network element entity in the telecommunications network is able to obtain gateway address information for the sensor gateway.
Step 203a, the address information of the service platform, the address information of the near-end application and the address information of the protocol gateway are respectively sent to the sensor gateway through the service platform, the near-end application and the protocol gateway in the telecommunication network.
Step 203b, acquiring the address information of the service platform, the address information of the near-end application and the address information of the protocol gateway through the sensor gateway.
The test results can be obtained through step 203a and step 203 b: the sensor gateway can obtain address information of a service platform, address information of a near-end application and address information of a protocol gateway in a telecommunication network.
Step 204a, sending first data to a network element entity through the WSN node, where the first data includes a first destination address corresponding to the network element entity.
The first data is in the form of a data packet. The first data is for forwarding to a network element entity corresponding to the first destination address.
In this embodiment, the networking modes of the WSN network may be four, and the addressing test method for the sensor gateway of this embodiment can implement the addressing test of the sensor network in the WSN networks of the four networking modes. The four networking modes of the WSN are respectively as follows: the WSN network adopts an IP architecture and a global IP address, the WSN network adopts an IP architecture and a private IP address, the WSN network adopts a non-IP architecture and the sensor gateway supports address resolution, and the WSN network adopts a non-IP architecture and the sensor gateway supports a mapping table.
Specifically, first data is sent to a sensor gateway through a WSN node, when an IP architecture and a global IP address are adopted by a WSN, and when a non-IP architecture is adopted by the WSN and the sensor gateway supports address resolution, the first destination address is resolved from the first data through the sensor gateway, and the first data is forwarded to a network unit entity according to the first destination address. And when the WSN adopts an IP architecture and a private IP address, acquiring the first destination address through a sensor gateway according to an IP address mapping table and forwarding the first data to a network unit entity according to the first destination address. And when the WSN adopts a non-IP architecture and the sensor gateway supports a mapping table, acquiring the first destination address through the sensor gateway according to the mapping table of the WSN node and the destination address and forwarding the first data to a network unit entity according to the first destination address.
In this embodiment, the IP address mapping table and the mapping table between the WSN node and the destination address may be generated in advance and stored in the sensor gateway, and both the IP address mapping table and the mapping table between the WSN node and the destination address may be used for addressing.
Step 204b, obtaining the first data through a network element entity.
The test results are obtained through step 204a and step 204 b: the sensor gateway can analyze a first destination address from first data from the WSN node and correctly forward the first data to the network element entity, or the sensor gateway can obtain the first destination address according to the IP address mapping table and correctly forward the first data to the network element entity, or the sensor gateway can obtain the first destination address according to the WSN node and the destination address mapping table and correctly forward the first data to the network element entity.
Step 205a, sending second data to the WSN node through the network element entity, where the second data includes a second destination address corresponding to the WSN node.
The second data is in the form of a data packet. The second data is for forwarding to the WSN node corresponding to the second destination address.
Specifically, second data is sent to the sensor gateway through the network unit entity, when the WSN adopts an IP architecture and a global IP address, and when the WSN adopts a non-IP architecture and the sensor gateway supports address resolution, the second destination address is resolved from the second data through the sensor gateway, and the first data is forwarded to the WSN node according to the second destination address. And when the WSN adopts an IP architecture and a private IP address, acquiring the second destination address according to an IP address mapping table through the sensor gateway and forwarding the second data to the WSN node according to the second destination address. And when the WSN adopts a non-IP architecture and the sensor gateway supports the mapping table, acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address and forwarding the second data to the WSN node according to the second destination address.
And step 205b, acquiring the second data through the WSN node.
The test results are obtained through step 205a and step 205 b: the sensor gateway can analyze a second destination address from second data from the network element entity and correctly forward the second data to the WSN node, or the sensor gateway can obtain the second destination address according to the IP address mapping table and correctly forward the second data to the WSN node, or the sensor gateway can obtain the second destination address according to the WSN node and the destination address mapping table and correctly forward the second data to the WSN node.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
In the addressing test method for the sensor gateway provided by this embodiment, first data is sent to a network element entity through a WSN node, where the first data includes a first destination address corresponding to the network element entity; obtaining the first data by a network element entity; sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node; the second data is acquired through the WSN node, the method can realize the addressing test of the sensor gateway in an environment fusing a telecommunication network and the WSN network, and further, the method can realize the addressing test of the sensor gateway in various angles and modes on one hand, and can realize the addressing test of the sensor gateway in various networking modes of the WSN network on the other hand, and the addressing function of the sensor gateway can be effectively kept excellent.
Fig. 5 is a schematic structural diagram of an addressing testing apparatus for a sensor gateway according to an embodiment of the present invention, and as shown in fig. 5, the addressing testing apparatus includes a sending module 11 and an obtaining module 12.
The sending module 11 is used for sending the address information of the WSN node to the sensor gateway through the WSN node, sending the gateway address information to a management center in the telecommunication network through the sensor gateway, sending the address information packet to the sensor gateway through the telecommunication network, sending the first data to the network element entity through the WSN node, where the first data includes a first destination address corresponding to the network element entity, and sending the second data to the WSN node through the network element entity, and the second data includes a second destination address corresponding to the WSN node.
The acquiring module 12 is configured to acquire address information of the WSN node through a sensor gateway, acquire the gateway address information through a network element entity in the telecommunication network, acquire the address information packet through the sensor gateway, acquire the first data through the network element entity, and acquire the second data through the WSN node.
Further, the address packet specifically includes address information of the service platform, address information of the near-end application, and address information of the protocol gateway. The sending module 11 is specifically configured to send address information of the service platform, address information of the near-end application, and address information of the protocol gateway to the sensor gateway through the service platform, the near-end application, and the protocol gateway in the telecommunication network, respectively.
Further, the sending module 11 is specifically configured to parse the first destination address from the first data through a sensor gateway and forward the first data to a network element entity according to the first destination address; or acquiring the first destination address according to an IP address mapping table through a sensor gateway and forwarding the first data to a network unit entity according to the first destination address; or acquiring the first destination address through a sensor gateway according to a mapping table of the WSN node and the destination address and forwarding the first data to a network element entity according to the first destination address.
Further, the sending module 11 is specifically configured to parse the second destination address from the second data through the sensor gateway and forward the first data to the WSN node according to the second destination address; or acquiring the second destination address through a sensor gateway according to an IP address mapping table and forwarding the second data to the WSN node according to the second destination address; or acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address, and forwarding the second data to the WSN node according to the second destination address.
The addressing test device for the sensor gateway provided by the embodiment can be used for implementing the addressing test method for the sensor gateway provided by the embodiment.
In the addressing testing apparatus for a sensor gateway provided in this embodiment, the sending module is configured to send first data to the network unit entity through the WSN node, where the first data includes a first destination address corresponding to the network unit entity, and send second data to the WSN node through the network unit entity, and the second data includes a second destination address corresponding to the WSN node; the acquisition module is used for acquiring the first data through a network unit entity and acquiring the second data through a WSN node, and can realize addressing test of the sensor gateway in an environment fusing a telecommunication network and the WSN network.
The embodiment of the invention also provides an addressing test system of the sensor gateway, which comprises the sensor gateway and the addressing test device of the sensor gateway. The addressing test system for the sensor gateway provided by the embodiment can realize the addressing test of the sensor gateway in the environment of fusing the telecommunication network and the WSN.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. The addressing test method of the sensor gateway is characterized in that the method is applied to an addressing test device of the sensor gateway; the sensor gateway is used for connecting a telecommunication network and a WSN network, and the method comprises the following steps:
sending the address information of the WSN node to a sensor gateway through the WSN node;
acquiring address information of the WSN node through a sensor gateway;
sending the gateway address information to a management center in a telecommunication network through a sensor gateway;
obtaining the gateway address information through a network element entity in the telecommunication network;
sending the address information packet to a sensor gateway through a telecommunication network;
acquiring the address information packet through a sensor gateway;
sending first data to a network element entity through a WSN node, wherein the first data comprises a first destination address corresponding to the network element entity;
obtaining the first data by a network element entity;
sending second data to the WSN node through the network unit entity, wherein the second data comprises a second destination address corresponding to the WSN node;
acquiring the second data through the WSN node;
a telecommunication network protocol analyzer is arranged between the telecommunication network and the sensor gateway and is used for analyzing the data field load of communication between the telecommunication network and the sensor gateway;
the telecommunications network comprises a protocol gateway and a near-end application; the near-end application is a service application combined with the WSN in the telecommunication network;
the address information packet specifically comprises address information of a service platform, address information of a near-end application and address information of a protocol gateway;
the sending the address information packet to the sensor gateway through the telecommunication network comprises:
and respectively sending the address information of the service platform, the address information of the near-end application and the address information of the protocol gateway to the sensor gateway through the service platform, the near-end application and the protocol gateway in the telecommunication network.
2. The addressing test method of the sensor gateway according to claim 1, wherein the WSN network employs an IP architecture and a global IP address; or the WSN adopts an IP architecture and a private IP address; or the WSN adopts a non-IP architecture and the sensor gateway supports address resolution; or the WSN network adopts a non-IP architecture and the sensor gateway supports a mapping table.
3. The addressing test method for the sensor gateway according to claim 2, wherein the sending the first data to the network element entity through the WSN node specifically comprises:
resolving the first destination address from the first data through a sensor gateway and forwarding the first data to a network element entity according to the first destination address; or
Acquiring the first destination address according to an IP address mapping table through a sensor gateway and forwarding the first data to a network unit entity according to the first destination address; or
And acquiring the first destination address through a sensor gateway according to a mapping table of the WSN node and the destination address, and forwarding the first data to a network unit entity according to the first destination address.
4. The addressing test method for the sensor gateway according to claim 2, wherein the sending the second data to the WSN node via the network element entity specifically comprises:
analyzing the second destination address from the second data through a sensor gateway and forwarding the first data to the WSN node according to the second destination address; or
Acquiring the second destination address through a sensor gateway according to an IP address mapping table and forwarding the second data to the WSN node according to the second destination address; or
And acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address, and forwarding the second data to the WSN node according to the second destination address.
5. An addressing test device for a sensor gateway, comprising:
the sending module is used for sending the address information of the WSN node to the sensor gateway through the WSN node, sending the gateway address information to a management center in a telecommunication network through the sensor gateway, sending an address information packet to the sensor gateway through the telecommunication network, and sending first data to a network unit entity through the WSN node, wherein the first data comprises a first destination address corresponding to the network unit entity, and the second data comprises a second destination address corresponding to the WSN node;
the acquisition module is used for acquiring the address information of the WSN node through a sensor gateway, acquiring the gateway address information through a network unit entity in a telecommunication network, acquiring the address information packet through the sensor gateway, acquiring the first data through the network unit entity and acquiring the second data through the WSN node;
a telecommunication network protocol analyzer is arranged between the telecommunication network and the sensor gateway and is used for analyzing the data field load of communication between the telecommunication network and the sensor gateway; the telecommunications network comprises a protocol gateway and a near-end application; the near-end application is a service application combined with the WSN in the telecommunication network; the address information packet specifically comprises address information of a service platform, address information of a near-end application and address information of a protocol gateway;
the sending module is specifically configured to send address information of the service platform, address information of the near-end application, and address information of the protocol gateway to the sensor gateway through the service platform, the near-end application, and the protocol gateway in the telecommunication network, respectively.
6. The addressing testing device of a sensor gateway of claim 5, wherein the sending module is specifically configured to parse the first destination address from the first data through the sensor gateway and forward the first data to the network element entity according to the first destination address; or acquiring the first destination address according to an IP address mapping table through a sensor gateway and forwarding the first data to a network unit entity according to the first destination address; or acquiring the first destination address through a sensor gateway according to a mapping table of the WSN node and the destination address and forwarding the first data to a network element entity according to the first destination address.
7. The addressing testing apparatus of a sensor gateway according to claim 5, wherein the sending module is specifically configured to parse the second destination address from the second data through the sensor gateway and forward the first data to the WSN node according to the second destination address; or acquiring the second destination address through a sensor gateway according to an IP address mapping table and forwarding the second data to the WSN node according to the second destination address; or acquiring the second destination address through the sensor gateway according to the mapping table of the WSN node and the destination address, and forwarding the second data to the WSN node according to the second destination address.
8. An addressing test system for a sensor gateway, comprising a sensor gateway and an addressing test device for a sensor gateway according to any of claims 5 to 7.
CN201810967103.3A 2018-08-23 2018-08-23 Addressing test method, device and system for sensor gateway Active CN109195159B (en)

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 CN109195159A (en) 2019-01-11
CN109195159B true 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN107666413A (en) * 2016-07-29 2018-02-06 罗德施瓦兹两合股份有限公司 For the method and apparatus for the communications security for testing equipment under test

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI368190B (en) * 2008-04-03 2012-07-11 Univ Nat Taiwan Wireless-communication distant ecosystem monitoring system
US8849926B2 (en) * 2010-08-06 2014-09-30 Simon Fraser University System and method for self-calibrating, self-organizing and localizing sensors in wireless sensor networks
CN101917736B (en) * 2010-08-17 2013-01-30 中国科学院计算技术研究所 Sensor network test bed system and test method thereof
CN102111315A (en) * 2010-12-20 2011-06-29 大唐移动通信设备有限公司 Method, system and equipment for fusing Internet of Things and telecommunication network
CN102083061B (en) * 2011-02-18 2013-03-20 山东省计算中心 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
CN103067958B (en) * 2012-12-28 2017-02-08 中国科学院深圳先进技术研究院 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
CN104076788B (en) * 2014-06-27 2017-01-04 清华大学 The control method of sensor-based intelligent relay and network
US9813931B2 (en) * 2014-07-29 2017-11-07 University Of Ottawa Adaptive packet preamble adjustment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN107666413A (en) * 2016-07-29 2018-02-06 罗德施瓦兹两合股份有限公司 For the method and apparatus for the communications security for testing equipment under test

Also Published As

Publication number Publication date
CN109195159A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN111901135B (en) Data analysis method and device
CN111031080B (en) Message transmission method and device
US9344402B2 (en) Method, device, and system for automatically selecting IPV6 address transmission mode
CN103108089B (en) Connection establishment management method of network system and related system thereof
US20100088427A1 (en) Selective Routing of Data Transmission Between Clients
US20100008306A1 (en) Oamp for distributed mobile architecture
CN101582925B (en) Network address translation method and system
JP2016111711A (en) Access control method and system and access point
US20160080316A1 (en) Subscriber Identification and Provisioning in IP Translation Environments
CN103138978A (en) Network management method and network management system
WO2016070633A1 (en) Network log generation method and device
CN102647432B (en) A kind of authentication information transmission method, device and certification middleware
CN109729122A (en) Determine the method and device of ethernet mac address
CN109286536B (en) Interface testing method and device
CN107211008A (en) Support double registration of the user equipment to IP multimedia subsystem
JP6604386B2 (en) Voice switching method and apparatus
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
CN109195159B (en) Addressing test method, device and system for sensor gateway
CN100454828C (en) Method for implementing terminal management in network equipment
CN105682140A (en) Uplink and downlink judgment and shunting method and system for mobile core network user data
CN105323128A (en) Method, device and system for connecting front-end device to server
CN103441894A (en) Method and system for L2TP concurrent connection performance test
CN105429880B (en) The network equipment and its method for carrying out routing forwarding
US10531273B2 (en) Handling of IMS services in a roaming scenario of a user equipment
CN107666671B (en) Method and device for detecting wrong connection based on TWAMP

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