WO2012126211A1 - 无线传感器网络接入电信网络的方法及系统 - Google Patents

无线传感器网络接入电信网络的方法及系统 Download PDF

Info

Publication number
WO2012126211A1
WO2012126211A1 PCT/CN2011/075995 CN2011075995W WO2012126211A1 WO 2012126211 A1 WO2012126211 A1 WO 2012126211A1 CN 2011075995 W CN2011075995 W CN 2011075995W WO 2012126211 A1 WO2012126211 A1 WO 2012126211A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
wsn
controller
information
gateways
Prior art date
Application number
PCT/CN2011/075995
Other languages
English (en)
French (fr)
Inventor
马景旺
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012126211A1 publication Critical patent/WO2012126211A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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

Definitions

  • the present invention relates to an access technology in a combined network, and more particularly to a method and system for a wireless sensor network to access a telecommunications network. Background technique
  • wireless sensor networks are a new information acquisition and processing technology. Due to recent improvements in microfabrication technology, communication technology, and battery technology, tiny sensor terminals have the ability to sense, wirelessly communicate and process information. Such sensor terminals can not only sense and detect the target of the environment and its changes, but also process the collected data and send the processed data to the data collection center by wireless transmission.
  • These sensor terminals typically consist of a power supply, sensing components, an embedded processor, memory, communication components, and execution software. Among them, the power supply provides the sensor node with the energy necessary for normal operation.
  • the sensing component is used to sense, acquire, and convert external information into digital signals.
  • the embedded processor is responsible for coordinating the work of various parts of the node, such as performing necessary processing, saving, and controlling the operating mode of the sensing component and the power supply.
  • the communication component is responsible for communicating with other sensors or observers.
  • Execution software provides the necessary software support for sensor terminals, such as embedded operating systems, embedded database systems, and more. Detecting thermal, infrared, sonar, radar and seismic signals in the surrounding environment of the sensor terminal by means of a variety of sensing components built into the sensor terminal, thereby detecting temperature, humidity, noise, light intensity, pressure, soil composition , a lot of information such as the size, speed and direction of moving objects. Sensor terminals typically form a network in a self-organizing or pre-configured manner.
  • wireless sensor networks In terms of communication methods, although wired, wireless, infrared, and optical formats can be used, it is generally considered that short-range wireless low-power communication technology is most suitable for the use of sensor networks, generally called wireless sensor networks. ( WSN, Wireless Sensor Network )
  • WSN Wireless Sensor Network
  • the current widely used wireless low-power communication technologies include: IEEE, Institute of Electrical and Electronics Engineers 802.15.4 and Zigbee technology.
  • IEEE 802.15.4 is a low-speed wireless personal area network (WPAN) standard developed by IEEE. IEEE 802.15.4 specifies the physical layer and medium access control layer (MAC, Media Access Control) standards. The IEEE 802.15.4 compliant communication module features low cost, low power consumption, and small size.
  • WPAN wireless personal area network
  • IEEE 802.15.4 specifies the physical layer and medium access control layer (MAC, Media Access Control) standards.
  • MAC medium access control layer
  • the IEEE 802.15.4 compliant communication module features low cost, low power consumption, and small size.
  • the Zigbee Alliance is an organization dedicated to developing reliable, low-cost, low-power, wireless network connectivity monitoring and control products based on open global standards.
  • the Zigbee standard physical layer and MAC layer use IEEE 802.15.4 technology, and the network layer, security management, application layer specifications, and interoperability are developed by the Zigbee Alliance.
  • the Zigbee smart energy public applications profile and the Zigbee home automation public applications profile in the Zigbee standard are for business environment applications and home applications.
  • the WSN terminal's micro-processing capabilities and wireless communication capabilities make wireless sensor networks a promising application for military applications, biological and environmental monitoring, health applications, home applications, industrial control and monitoring.
  • Wireless sensor network combined with telecommunication network, such as second generation (2G, 2nd Generation) mobile communication, third generation (3G, 3rd Generation) mobile communication, xDSL (x Digital Subscriber line), FTTx (Fiber To The x, x is Home, building, node, premises), wireless access, satellite/microwave, etc., can make the wireless sensor network as an extension of the existing network, expand the ability of the communication network, and extend the communication object from person to the physical world. Development prospects. When combined with the existing telecommunication network, the wireless sensor network can effectively transmit the data perceived by the wireless sensor network to the data center. By sorting and analyzing the data, the way of acquiring data of the natural world can be greatly changed. Wireless sensor network The centralized management of the network solves the problem that the wireless sensor networks that are currently scattered everywhere are difficult to manage.
  • the combination of a wireless sensor network and a telecommunication network refers to connecting a wireless sensor network with a telecommunication network, and utilizing the telecommunication network to monitor, manage, and complete the service carrying and cooperation of the wireless sensor network and the services provided by the telecommunication network, and expand the telecom network.
  • the services provided by wireless sensor networks is generally a wireless sensor network connected to a telecommunications network platform through a gateway device.
  • the WSN terminal is a sensor node constituting the WSN and is connected to the gateway by one or more hops.
  • the WSN terminal is responsible for collecting and uploading data, as well as receiving and executing commands.
  • the WSN terminals that make up the WSN are as few as a few hundreds, and WSN terminals can be networked in a star, tree or mesh manner, some of which have strong groups. Network and data forwarding capabilities.
  • the gateway is responsible for transmitting the data reported by the WSN terminal to the relevant network unit in the telecommunication network, and the relevant network unit in the telecommunication network sends the relevant command to the WSN terminal through the gateway.
  • the gateway is generally responsible for creating the WSN, which is responsible for the management of the WSN terminal when joining and leaving the sensor network, and the configuration information of the WSN terminal and the sensor network are stored in the gateway. Important data such as business configuration information.
  • the data reported by the WSN terminal needs to be sent to the relevant network unit in the telecommunication network through the gateway, and the existing WSN usually only configures one gateway for forwarding the data reported by the WSN terminal to the relevant network unit in the telecommunication network, so that
  • the gateway load in the WSN is so large that the data of the WSN terminal cannot be sent in time and the communication between the WSN terminal and the gateway is congested. This will seriously affect the normal operation of the WSN.
  • the network unit on the telecommunication network side when the network unit on the telecommunication network side performs management of the WSN terminal in the wireless sensor network, it is required to establish communication with the WSN terminal through the gateway of the wireless sensor network; if the gateway unit on the telecommunication network side only passes through one gateway and the wireless sensor network The WSN terminal in the establishment of communication will also cause a relatively large load on the gateway. The force causes the gateway unit on the telecommunication network side to fail to establish communication with the WSN terminal in the wireless sensor network in time, which affects the normal operation of related services. Therefore, it is necessary to consider how the relevant network element on the telecommunication network side performs more smooth communication with the WSN terminal in the wireless sensor network through the WSN gateway. For this problem, a feasible solution is to configure multiple gateways for the wireless sensor network.
  • the WSN terminals in the wireless sensors pass through the data on the gateways, and the network elements on the telecommunication network side establish communication with the WSN terminals through the gateways;
  • the plurality of gateways configured by the wireless sensor network may adopt a peer-to-peer mode of operation, and the network element entity managed by the WSN in the telecommunication network allocates a gateway used by the access telecommunication network to the WSN terminal in the WSN, and the gateway follows the telecommunication network.
  • the scheduling of the network element entity provides telecommunications network access for the WSN terminal.
  • a WSN can be created by one gateway, and the remaining gateways are added to the WSN as routing nodes in the WSN.
  • the network element entity managing the WSN in the telecommunication network saves the information of the gateway in the WSN, including the identifier of the gateway, the address of the gateway in the telecommunication network, the address of the gateway in the WSN, and the access capability of the telecommunications network of the gateway.
  • the gateway for creating the WSN serves as the control center of the wireless sensor network, and has the management functions for the wireless sensor network, including management of joining/disengaging the wireless sensor network from the WSN terminal, maintaining topology information of the wireless sensor network, and node information;
  • the WSN's gateway assumes different functions than other gateways.
  • the gateway is named the controller gateway.
  • the main object of the present invention is to provide a method and system for a wireless sensor network to access a telecommunications network, which can timely confirm a new controller gateway when the controller gateway fails without affecting the communication between the WSN and the telecommunications network.
  • the technical solution of the present invention is achieved as follows:
  • a method for a wireless sensor network to access a telecommunication network wherein a WSN terminal and two or more WSN gateways are provided in the WSN, and a controller gateway is disposed in the two or more WSN gateways; a management platform is disposed in the telecommunication network
  • the method further includes:
  • a gateway other than the controller gateway in the WSN is used as a controller gateway to replace the original controller gateway.
  • the gateway in the WSN is used as a controller gateway instead of the original controller gateway, and is:
  • the management platform determines a gateway that replaces the original controller gateway, and the gateway operates as a controller gateway.
  • the management platform determines a gateway that replaces the original controller gateway, and the gateway works as a controller gateway, and is:
  • the gateway of the replacement controller gateway in the WSN is further determined, and the determined gateway is notified as a controller gateway to work instead of the original controller gateway.
  • the gateway in the WSN is used as a controller gateway instead of the original controller gateway, and is:
  • the other gateways in the WSN negotiate to determine a new controller gateway to work in place of the original controller gateway.
  • the gateway in the WSN is used as a controller gateway instead of the original controller gateway, and is:
  • the management platform or other gateways in the WSN will control The fault information of the controller gateway notifies the backup gateway with the highest priority of the backup gateway, and the backup gateway with the highest priority replaces the original controller gateway.
  • the method further includes:
  • the management platform stores backup information of the controller gateway
  • the management platform sends the stored backup information of the controller gateway to the gateway replacing the original controller gateway, and the gateway replacing the original controller gateway uses the original controller gateway.
  • the backup information works at the WSN.
  • the method further includes:
  • the broadcast message is sent in the WSN, and the information of the new controller gateway is notified to the WSN terminal and other gateways of the WSN.
  • the management platform stores backup information of other gateways in the WSN;
  • the backup information of the controller gateway includes configuration information of the WSN and information of the WSN terminal accessing the telecommunication network through the controller gateway;
  • the configuration information includes the identifier of the WSN, the network topology information, other gateway information in the WSN, the information of the WSN terminal, and the network security setting information.
  • the backup information of the other gateways in the WSN includes other gateway information and is accessed through other gateways.
  • the method further includes:
  • the management platform determines, according to the correspondence information between the saved WSN terminal and the gateway allocated for the WSN terminal, that the WSN terminal accessing the telecommunication network through the original controller gateway is used to access the telecommunication network through the original controller gateway.
  • the WSN terminal reassigns the gateway to the telecommunications network.
  • a wireless sensor network accessing a telecommunication network system wherein a WSN terminal and two or more WSN gateways are provided in the WSN, and a controller gateway is disposed in the two or more WSN gateways; a management platform is disposed in the telecommunication network; the system includes a determining unit and a replacement unit, where
  • the determining unit is configured to: when the controller gateway is not working properly, trigger the replacement unit; and the replacing unit is configured to use one of the WSNs as a controller gateway to work instead of the original controller gateway.
  • the determining unit is disposed in the management platform, after determining that the controller gateway in the WSN is not working normally, further determining a gateway of the replacement controller gateway in the WSN, and notifying the The determined gateway acts as a controller gateway, replacing the original controller gateway.
  • the replacing unit is located in another gateway in the WSN; after the determining unit determines that the controller gateway in the WSN is not working properly, the replacing unit further determines a new controller by using other gateways in the WSN.
  • the gateway works in place of the original controller gateway.
  • the system further includes a setting unit and a sending unit, where
  • a setting unit configured to determine a backup gateway of the controller gateway in the WSN in advance, and set a priority for the backup gateway
  • a sending unit configured to send information about the priority of the backup gateway to the management platform or other gateways in the WSN;
  • the replacement unit is disposed in a management platform or other gateway in the WSN;
  • the replacing unit is further configured to notify the backup gateway of the controller gateway that the priority of the backup gateway is the highest, and the backup gateway with the highest priority. Work instead of the original controller gateway.
  • the backup information of the controller gateway is stored in the management platform
  • the management platform sends the stored backup information of the controller gateway to the gateway replacing the original controller gateway, and the gateway replacing the original controller gateway Use the backup information of the original controller gateway to work on the WSN Work.
  • the system further includes a broadcast unit, configured to send a broadcast message in the WSN and notify the WSN terminal of the information of the new controller gateway after the substitute unit replaces the other gateways in the WSN with the original controller gateway. And the rest of the gateways in the WSN.
  • a broadcast unit configured to send a broadcast message in the WSN and notify the WSN terminal of the information of the new controller gateway after the substitute unit replaces the other gateways in the WSN with the original controller gateway. And the rest of the gateways in the WSN.
  • a plurality of gateways are configured in one WSN, and the plurality of gateways use a peer-to-peer mode, and the management platform determines a gateway as a controller gateway; the plurality of gateways respectively provide a telecommunication network for the WSN terminals in the WSN. Access, and when the controller gateway fails and cannot work normally, the other controller in the WSN can replace the non-working controller gateway, and the other gateway works instead of the original controller gateway to make the wireless sensor network And related services can operate normally, thereby improving the reliability of the wireless sensor network configuring multiple gateways.
  • FIG. 1 is a schematic diagram of a network architecture when multiple gateways exist in a WSN
  • FIG. 2 is a flowchart of configuring a multi-gateway for a WSN according to Embodiment 1 of the present invention
  • FIG. 3 is a flow chart of allocating a gateway to a WSN terminal when the WSN terminal joins the WSN and the gateway uses the peer working mode according to the second embodiment of the present invention
  • FIG. 5 is a flow chart of replacing a controller gateway by another gateway in the WSN according to Embodiment 4 of the present invention.
  • Fig. 6 is a schematic diagram showing the main components of a system for accessing a telecommunication network by a wireless sensor network according to the present invention. detailed description
  • the basic idea of the present invention is: in a wireless sensor network in which multiple gateways are configured and the gateway uses a peer-to-peer mode of operation, when the controller gateway is not working properly, the wireless sensor network is determined.
  • One of the other gateways ie, any gateway other than the controller gateway that is not working properly replaces the controller gateway, and the determined other gateways operate as a new controller gateway in the wireless sensor network, thereby improving wireless Communication reliability of the sensor network.
  • a management gateway specifies a gateway in the wireless sensor network to replace the controller gateway, and the designated gateway acts as the gateway.
  • the new controller gateway works in the wireless sensor network; by this method, the wireless sensor network can continue to maintain normal operation when the controller gateway fails to work due to a failure or the like, thereby increasing the reliability of the wireless sensor network.
  • the WSN terminal in the WSN is assigned by the management platform to the gateway used to access the telecommunications network.
  • the WSN can be created by one gateway (ie, the controller gateway), and the remaining gateways are added to the WSN as routing nodes in the WSN.
  • the management platform saves the information of the gateway in the WSN, including the identifier of the gateway, the address of the gateway in the telecommunication network, the address of the gateway in the WSN, and the access capability of the gateway's telecommunication network.
  • the management platform may write the network configuration parameters required for joining the WSN in the WSN terminal through the client or other manner, and the network configuration parameter may be used by the management platform from the WSN terminal to apply for the controller in the WSN. Obtained at the gateway.
  • the WSN terminal joins the WSN, it submits a request to join the WSN to the controller gateway, where the request includes information such as the identifier of the WSN terminal, and the controller gateway can send the information of the WSN terminal to the management platform.
  • the management platform allocates a gateway to the WSN terminal according to the relevant rules allocated by the gateway.
  • the management platform may send the information of the assigned gateway to the controller gateway, and the controller gateway sends the allocated gateway information (such as the address of the gateway in the WSN) to the WSN terminal; the WSN terminal saves the information of the allocated gateway, and Create routing information to the gateway.
  • Management platform information of the WSN terminal (including WSN terminal)
  • the identifier of the WSN terminal in the WSN is sent to the assigned gateway through a communication connection of the telecommunication network, and the allocated gateway records the information of the WSN terminal; in addition, the management platform may also instruct the controller gateway to the WSN terminal.
  • the information (including the identity of the WSN terminal, the address of the WSN terminal in the WSN) is sent to the assigned gateway via the communication connection in the WSN.
  • the management platform saves the correspondence between the WSN terminal in the WSN and the assigned gateway, and the correspondence may be implemented in the form of a correspondence table in which the identifier of the WSN terminal and its assigned The identity of the gateway.
  • the management platform can query the gateway used by a WSN terminal to access the telecommunication network, and a gateway in the WSN provides telecommunication network access for which WSN terminals in the WSN.
  • controller gateways and other gateways can be backed up and stored on the management platform. Controller gateways and other gateways can send data that needs to be backed up to the management platform and stored by the management platform.
  • the controller gateway backup data includes, but is not limited to, configuration information of the wireless sensor network and information of the WSN terminal accessing the telecommunication network through the controller gateway;
  • the configuration information of the wireless sensor network includes the identifier of the wireless sensor network, Network topology information, gateway and WSN terminal information (including identification, address, etc.), network security settings, and so on.
  • the backup data of other gateways includes but is not limited to: the identifier and address of the gateway, the information of the WSN terminal of the telecommunication network accessed through the gateway, and the like.
  • the controller gateway may be faulty, resulting in the controller gateway not working properly. Because the controller gateway plays an important role, it is responsible for the wireless sensor network management function. When the controller gateway is not working properly, it needs to take timely measures to repair it.
  • the controller gateway when the controller gateway is not working properly, the controller gateway is replaced by one of the other gateways of the wireless sensor network, and the gateway operates as a controller gateway in the wireless sensor network.
  • the gateway replacing the controller gateway can be specified by the management platform. After the management platform determines that the controller gateway is not working properly, it determines other gateways of the wireless sensor network that replace the controller gateway, and notifies the gateway to operate as a controller gateway in the wireless sensor network.
  • the management platform can obtain the fault information of the controller gateway in time and take relevant measures.
  • the management platform can determine whether the controller gateway can work normally by the following methods:
  • controller gateway fails but can still communicate with the management platform of the telecommunication network, the controller gateway notifies the management platform of the fault information;
  • the management platform periodically checks the gateway of the wireless sensor network, and detects that the controller gateway is faulty;
  • the other gateway detects that the controller gateway is faulty, and notifies the management platform of the fault information
  • the WSN terminal detects that the controller gateway is faulty and notifies the fault information (such as notification through other gateways (non-controller gateways) that it accesses).
  • a gateway may be selected from other gateways of the wireless sensor network, and the gateway is replaced by the gateway, and the gateway acts as a new controller gateway in the wireless sensor network. Work in the middle.
  • a new controller gateway may be negotiated by other gateways outside the controller gateway.
  • the controller gateway can preset the backup gateway priority of the gateway in the wireless sensor, and send the information of the backup gateway priority of each gateway to each gateway and the management platform.
  • the controller gateway is not working properly, when the other gateway or the management platform detects the abnormality of the controller gateway, the fault information of the controller gateway is notified to the gateway with the highest priority of the backup gateway, and the gateway with the highest priority of the backup gateway replaces the existing gateway. Controller gateway.
  • the gateway In order to realize the gateway as a new controller gateway, it can work normally in the wireless sensor network.
  • the gateway needs to obtain and use the configuration information of the wireless sensor network.
  • the information is backed up by the original controller gateway on the management platform, and the backup information of the controller gateway can be provided by the management platform to the gateway, and the gateway uses the backup information as a new control in the wireless sensor network.
  • the gateway works.
  • the gateway After the gateway replaces the original controller gateway, the gateway sends a broadcast message in the wireless sensor network, and notifies the WSN terminal and other gateways of the controller gateway change message.
  • the management determines, according to the correspondence information between the WSN terminal and its assigned gateway, whether there is a WSN terminal accessing the telecommunication network through the original controller gateway; if present, the management platform reassigns the access telecommunication network to the WSN terminal The gateway used, the WSN terminal accesses the telecommunication network through the newly allocated gateway.
  • multiple gateways are configured in the WSN, and multiple gateways use a peer-to-peer mode, and the management platform determines that one controller gateway is responsible for creating the WSN; the multiple gateways respectively provide WSN terminals in the WSN.
  • the WSN of the present invention is a wireless network composed of a group of wireless sensor node devices, such as WSN terminals, in an ad hoc manner or a pre-configured manner; WSN terminals communicate by short-range wireless communication technology.
  • WSNs are typically deployed in areas ranging from a few meters to a few hundred meters, where WSN terminals are typically battery powered, with lower power and cost.
  • Near field communication technology generally uses Zigbee and IEEE 802.15.4 technology.
  • the combination of the WSN and the telecommunication network refers to connecting the WSN with the telecommunication network, using the telecommunication network to monitor, manage and complete the service bearer and cooperation implementation of the WSN and the services provided by the telecommunication network, and expand the service provided by the WSN through the telecommunication network.
  • Telecommunications networks include mobile communication networks, Various communication networks such as xDSL, FTTx, and satellite communications.
  • FIG. 1 is a schematic diagram of a network architecture when multiple gateways exist in the WSN.
  • the shaded portions filled with cross lines indicate multiple WSN terminals.
  • the shaded portion filled with dots indicates the area where multiple WSN terminals are located.
  • the WSN consists of multiple WSN terminals and multiple gateways. Multiple WSN terminals and multiple gateways can be used to set up wireless sensor networks according to the relevant technical standards of WSN.
  • the short-range communication technologies that can be used to form WSNs include Zigbee technology and IEEE. 802.15.4 standard, etc.
  • the WSN connects to the telecommunication network through multiple gateways, and establishes communication with the management platform in the telecommunication network. Among them, peer-to-peer mode is used between multiple gateways.
  • the WSN accesses the telecommunication network through multiple gateways, and is connected to the access network, the core network, the service platform, and the management platform via the telecommunication network.
  • the WSN terminal is connected to the telecommunications network through a plurality of gateways.
  • the WSN terminal is a sensor node constituting the WSN and is connected to the gateway by one or more hops.
  • the WSN terminal is responsible for collecting and uploading data, as well as receiving and executing commands.
  • the number of WSN terminals that make up the WSN is as few as a few hundreds. WSN terminals can be networked in a star, tree or mesh manner according to their needs. Some WSN terminals have strong networking and Data forwarding capability.
  • the gateway is responsible for connecting the WSN and the telecommunications network. It mainly performs functions such as protocol conversion, address mapping, and data forwarding. It can also integrate security and billing functions.
  • the functions supported by the gateway can include: Support internal data coordination and aggregation in the sensor network; Support second-generation (2G, 2nd Generation) mobile communication, third-generation (3G, 3rd Generation) mobile communication, xDSL, FTTx, broadband wireless access And one or more of long-distance communication access methods such as satellite/microwave, transmitting aggregated data to the communication peer; supporting service platform and remote management server to device authentication and user authentication of the gateway; supporting service platform and remote management Server-to-gateway parameters and software configuration; support user authentication and business security, device management security mechanisms.
  • the service platform is a functional entity that operates and manages services combined with the WSN in the telecommunications network. Responsible for integrating the services provided by each service provider and providing them to end users, while managing the use of services by end users.
  • the service platform cooperates with other functional entities in the telecommunication network to complete the entire business process according to the needs of different services, such as AAA, Authentication Authorization and Accounting (AAA).
  • AAA Authentication Authorization and Accounting
  • AAA Authentication Authorization and Accounting
  • the business platform can also be connected to a remote server to update the business directly.
  • the management platform is an entity that implements management functions for the WSN.
  • the management platform can be composed of a management server that implements management functions for the WSN through the telecommunication network.
  • a WSN is first created by a gateway in a plurality of gateways. After the WSN is created, the gateway sends the information of the WSN (such as the network identifier of the WSN) to the management platform, and the management platform saves the WSN and the gateway. information.
  • the gateway having the capability to create WSN is a controller gateway.
  • FIG. 2 is a flowchart of configuring a multi-gateway for a WSN according to Embodiment 1 of the present invention. As shown in FIG. 2, the process of configuring a multi-gateway by the WSN of the present invention specifically includes the following steps:
  • Step 201 The other gateways in the WSN (ie, other gateways other than the controller gateway, also called new gateways) are connected to the management platform through the communication provided by the telecommunication network, and are registered.
  • other gateways other than the controller gateway also called new gateways
  • the new gateway can establish a communication connection with the management platform through the telecommunication network, and send a registration request to the management platform.
  • the management platform can authenticate with the identity of the new gateway to determine the authenticity of the new gateway identity.
  • the information of the new gateway is pre-stored in the management platform, and the information includes the network access capability parameters of the new gateway, the installation location, and the like.
  • Step 202 The management platform notifies the controller gateway in the WSN, and a new gateway applies to join the WSN.
  • the management platform determines that the new gateway is ready to join according to the location where the new gateway is ready to be installed.
  • the WSN then notifies the controller gateway in the WSN that a new gateway has applied to join the WSN.
  • the management platform can simultaneously send the information of the new gateway to the controller gateway, and the information of the new gateway can include: an address of the new gateway in the telecommunication network, a network access capability parameter, and the like.
  • Step 203 The controller gateway sends the network configuration parameters required to join the WSN to the registered new gateway.
  • the controller gateway sends the new network gateway to the management platform for the network configuration parameters required by the WSN, and then the management platform sends the network configuration parameter and the address of the controller gateway in the telecommunication network to the new gateway.
  • the network configuration parameters here include the address of the controller gateway in the WSN, the initial master key, and the like.
  • Step 204 The new gateway joins the WSN by using the obtained network configuration parameters.
  • the new gateway after obtaining the network configuration parameter of the WSN, the new gateway performs channel scanning in the coverage area of the WSN, and then sends an Association Request frame to the controller gateway to request to join the WSN.
  • the new gateway and controller gateway negotiate based on the initial master key to determine the network key, link key, and address.
  • the new gateway records its own address and related routing information in the WSN, and the controller gateway records the address of the new gateway in the WSN and the information of the new gateway.
  • the gateway can communicate and exchange related data through the WSN.
  • the address of the gateway in the telecommunication network can use the IP address. Since the gateway stores the IP address of the opposite party in the telecommunication network, the two parties can also communicate through the telecommunication network.
  • multiple gateways can be configured in the WSN.
  • the WSN terminal in order to enable the WSN terminal to join the WSN, the WSN terminal needs to obtain the network configuration parameters required to join the WSN from the management platform.
  • the network configuration parameters include: the initial master key of the WSN to be joined and the address of the controller gateway. .
  • the controller gateway verifies the authenticity of the initial master key of the WSN terminal, thereby verifying the identity of the WSN terminal. If the initial master key of the WSN terminal is correct, the WSN terminal is allowed to add In the WSN, the WSN terminal and the controller gateway can negotiate based on the initial master key to determine the link key, the network key and the address required for joining the WSN, so as to implement the WSN terminal successfully joining the WSN.
  • the controller gateway rejects the WSN terminal to join the WSN because the initial master key cannot be provided or the initial master key is not the correct key.
  • the network configuration parameter of the WSN is not written in the WSN terminal, and the WSN terminal can write the WSN terminal through the client or other means before the WSN terminal is put into use.
  • the management platform can obtain the network configuration parameters required to join the WSN from the controller gateway.
  • the management platform can obtain the network configuration parameters of the WSN in two ways.
  • the first mode is: the management platform sends a request for acquiring the WSN network configuration parameter to the controller gateway, and the controller gateway provides the network configuration parameter required by the WSN terminal to join the WSN.
  • the second way is: After the WSN is created, the controller gateway will add the network configuration parameters required by the WSN to the management platform and save it on the management platform.
  • Embodiment 2 of the present invention describes a process of assigning a gateway to a WSN terminal when the WSN terminal is added to the WSN and the gateway uses the peer-to-peer mode in the WSN formed by the Zigbee technology.
  • 3 is a flow chart of allocating a gateway to a WSN terminal when the WSN terminal joins the WSN and the gateway uses the peer-to-peer mode of operation according to the second embodiment of the present invention. As shown in FIG. 3, assigning a gateway to the WSN terminal includes the following steps:
  • Step 301 Write, in the WSN terminal, a network configuration parameter of the WSN to which the WSN terminal applies for joining.
  • Step 302 The WSN terminal applies to the WSN by using the network configuration parameter of the WSN, and the controller gateway verifies the WSN terminal. If the verification succeeds, step 303 is performed; if the verification fails, step 304 is performed. In this step, the WSN terminal is placed in the area covered by the WSN to be joined. After the WSN terminal is powered on, the WSN terminal can perform network scanning on the set channel to determine the WSN to join. The network scan can send a Beacon Request frame on the channel. After the device in the WSN on the channel receives the Beacon Request, if a new WSN terminal is allowed to join the WSN, it will respond to the Beacon frame. The Beacon frame contains the address information of the WSN terminal that sent the frame, and whether other WSN terminals are allowed to join in the manner of their child nodes. The WSN terminal saves the information of the received Beacon frame in its own neighbor table.
  • the WSN terminal selects an appropriate parent node in the association table, and sends an Association Request frame request to the parent node to join the WSN. After receiving the request to join the WSN, the WSN terminal at the parent node of the WSN notifies the controller of the WSN that a new WSN terminal requests to join the WSN.
  • the WSN controller gateway verifies the WSN terminal.
  • the authentication mode can be based on the way that the node device joins the network in the Zigbee specification.
  • the controller gateway determines the authenticity of the initial master key in the WSN terminal. If the WSN terminal passes the verification, the operation of step 303 is performed; if the WSN terminal verification fails, the operation of step 304 is performed.
  • Step 303 After the WSN terminal passes the verification, the communication gateway negotiates with the controller gateway to determine the link key and the network key, and the controller gateway adds the information of the WSN terminal in the node management table, and the parent node device of the WSN terminal is in its own phase. The information of the WSN terminal is saved in the neighbor table, and the WSN terminal saves the information of the parent node and the controller gateway in its neighbor table. At this point, the WSN terminal successfully joined the WSN.
  • Step 304 The WSN terminal fails to pass the authentication, and the controller gateway rejects the WSN terminal to join the WSN.
  • Step 305 After the WSN terminal joins the WSN, the controller gateway sends the information of the WSN terminal to the management platform.
  • Step 306 The management platform specifies, for the WSN terminal, a gateway used to access the telecommunication network. In this step, the management platform saves the information of the WSN terminal, and determines the gateway used by the WSN terminal to access the telecommunication network according to the relevant principle of the gateway allocation.
  • the management platform may send the information of the assigned gateway to the controller gateway, and the controller gateway sends the allocated gateway information (such as the address of the gateway in the WSN) to the WSN terminal; the WSN terminal saves the information of the allocated gateway, And create routing information to the gateway.
  • the management platform sends the information of the WSN terminal (the identifier of the WSN terminal, the address of the WSN terminal in the WSN) to the assigned gateway through the communication connection of the telecommunication network, and the allocated gateway records the information of the WSN terminal.
  • the management platform saves the correspondence between the WSN terminal and its assigned gateway.
  • Step 307 The controller gateway of the WSN notifies the management platform that the WSN terminal has joined the WSN.
  • the management platform sends the information about the WSN terminal to the service platform, and the service platform configures the related data of the WSN terminal to enable the services supported by the WSN terminal.
  • the WSN terminal writes the network configuration parameter and joins the designated WSN, and the management platform specifies the gateway used by the WSN terminal to access the telecommunication network, so that the WSN terminal can report data to the service platform through the gateway.
  • the management platform may select another WSN terminal to be closer to the WSN terminal (the controller gateway)
  • the external gateway reduces the routing path between the WSN terminal and other gateways (gateways other than the controller gateway), thereby reducing the communication complexity and energy saving effect in the WSN.
  • the management platform may designate a new gateway for the WSN terminal to provide the telecommunication network access, and the controller gateway may send the information and communication connection configuration information of the WSN terminal to the newly designated gateway, and notify the gateway change message that the gateway change message is
  • the WSN terminal provides a gateway for telecommunications network access.
  • the newly designated gateway adds the configuration information of the WSN terminal to the gateway, and the original gateway deletes the telecommunication network of the WSN terminal saved in the gateway. Access configuration information.
  • the newly designated gateway provides telecommunication network access for the WSN terminal, and the original gateway no longer provides telecommunication network access for the WSN terminal.
  • the controller gateway and the WSN terminal access the gateway used by the telecommunication network, and can clear the telecommunication network access configuration information of the WSN terminal that is saved respectively, and the controller gateway and the WSN terminal correspond to the WSN terminal.
  • the gateway does not provide telecommunication network access for the WSN terminal after the WSN terminal leaves the WSN.
  • the controller gateway in the wireless sensor network and other gateways can establish communication through the telecommunication network and the management platform; the controller gateway and other gateways (gates other than the controller gateway)
  • the management platform performs data backup
  • the backup data can be sent to the management platform through the communication connection, and the management platform receives and saves the backup data.
  • the controller gateway and other gateways perform data backup on the management platform, if the controller gateway and other gateways (gates other than the controller gateway) need to be backed up, the controller is updated. Gateways and other gateways (gateways outside the controller gateway) can send updated data to the management platform.
  • FIG. 4 is a flowchart of replacing a gateway of another controller (a gateway other than a controller gateway) in the WSN according to Embodiment 3 of the present invention. As shown in FIG. 4, when the controller gateway in the wireless sensor network fails to work normally, The process of replacing the controller gateway specifically includes the following steps:
  • Step 401 Determine that the controller gateway in the wireless sensor network is not working properly.
  • the controller gateway does not work normally because it is caused by a fault. Moreover, whether the controller gateway can work normally is generally determined by the management platform. Specifically, the management platform can determine whether the controller gateway can work normally by the following methods: :
  • controller gateway fails but can still communicate with the management platform of the telecommunication network, the controller gateway notifies the management platform of the fault information;
  • the management platform periodically checks the gateway of the wireless sensor network and detects the controller network. The fault has occurred;
  • gateways other than the controller gateway detect that the controller gateway is faulty, and notify the management platform of the fault information;
  • the WSN terminal detects that the controller gateway is faulty and notifies the fault information (such as notifying other gateways (gates other than the controller gateway) that it accesses) the management platform.
  • Step 402 The management platform determines one of the other wireless gateway networks (a gateway other than the controller gateway) to replace the controller gateway.
  • the management platform maintains information about other gateways (gateways outside the controller gateway) in the wireless sensor network, and the management platform can support functions, performance, and current load supported by other gateways (gates other than the controller gateway). Other factors are chosen to replace the other gateways of the controller gateway (gateways outside the controller gateway).
  • the management platform determines another gateway (the gateway other than the controller gateway) instead of the controller gateway, establishes communication through the telecommunication network and the other gateway (the gateway other than the controller gateway), and notifies the other gateway (outside the controller gateway)
  • the gateway replaces the controller gateway in the wireless sensor network, and the other gateway (the gateway outside the controller gateway) operates as a new controller gateway in the wireless sensor network.
  • the management platform provides the backup data of the original controller gateway to the determined other gateway (the gateway other than the controller gateway) (ie, the new controller gateway).
  • the other gateway (the gateway other than the controller gateway) works as a new controller gateway in the wireless sensor network, needs to acquire the configuration information of the wireless sensor network, and the like, and uses the configuration information to manage the wireless sensor network.
  • the original controller gateway is backed up on the management platform, and the backup data can be provided by the management platform to the other gateways (gates outside the controller gateway).
  • the management platform and other gateways establish a communication connection through the telecommunication network, and the management platform can send the backup data of the original controller gateway to other gateways through the communication connection (outside the controller gateway) Gateway), other gateways (outside the controller gateway) Gateway) Receive and save backup data.
  • Step 404 the new controller gateway notifies the WSN terminal and other gateways in the wireless sensor network of the controller gateway change information.
  • the new controller gateway can notify the WSN terminal and other gateways in the wireless sensor network through broadcast messages in the wireless sensor network. After receiving the controller gateway change notification message, the WSN terminal and other gateways can create a new controller gateway. The communication path allows communication with the new controller gateway to function properly.
  • Step 405 The management platform determines whether there is a WSN terminal accessing the telecommunication network through the original controller gateway. If yes, the process in step 406 is performed; if not, the process flow of replacing the controller gateway ends.
  • the management platform can identify whether there is a WSN terminal accessing the telecommunication network through the original controller gateway according to the correspondence between the WSN terminal in the wireless sensor network and its assigned gateway.
  • Step 406 The management platform specifies a new gateway for the WSN terminal accessing the telecommunication network through the original controller gateway.
  • the new controller gateway specifies a new gateway for accessing the telecommunication network for the WSN terminal, and the method described in step 306 of the second embodiment of the present invention is not described herein.
  • the controller gateway in the wireless sensor network fails to work normally, the controller gateway is replaced by one of the other gateways (the gateway other than the controller gateway), so that the wireless sensor network can continue to work normally.
  • the new controller gateway when the controller gateway is not working properly, it is determined that the new controller gateway can also use other gateways (gateways other than the controller gateway) to negotiate.
  • the controller gateway in the wireless sensor network needs to preset the backup gateway priority of other gateways (gates other than the controller gateway) in the wireless sensor network; the backup gateway priority of other gateways (gates other than the controller gateway) Indicates that the gateway of the controller is faulty, other gateways (the gateway of the controller)
  • the outer gateway is sorted as the selection of the new controller gateway work; when the controller gateway fails, the other gateways with the highest priority of the backup gateway (the gateway other than the controller gateway) are selected as the new controller gateway.
  • the backup gateway priority of other gateways can be set as follows: When other gateways (gates other than the controller gateway) are added as routing nodes to the wireless sensor network, the controller gateway sets the other gateways. The backup gateway priority of the gateway (the gateway other than the controller gateway), and the setting information of the backup gateway priority of the other gateway (the gateway other than the controller gateway) is sent to other gateways (gates other than the controller gateway) And the management platform, sending the setting information of the backup gateway priority of the other gateway to the other gateway
  • the controller gateway grasps the backup gateway priorities of each of the other gateways (gates outside the controller gateway) in the wireless sensor network.
  • FIG. 5 is a flowchart of replacing a controller gateway by another gateway in the WSN according to Embodiment 4 of the present invention. As shown in FIG. 5, the controller gateway in the wireless sensor network in this embodiment fails to work normally after replacing the controller gateway.
  • the processing specifically includes the following steps:
  • Step 501 The other gateway (the gateway other than the controller gateway) or the management platform determines that the controller gateway in the wireless sensor network is not working properly;
  • the controller gateway does not work normally. It is usually caused by a fault or abnormality. You can determine whether the controller gateway works normally by the following methods:
  • the controller gateway fails but can still communicate with the management platform of the telecommunication network, the controller gateway notifies the management platform or other gateway (the gateway other than the controller gateway) of the failure information;
  • the management platform or other gateway (the gateway other than the controller gateway) periodically checks the gateway of the wireless sensor network, detecting that the controller gateway is faulty;
  • the other gateway detects that the controller gateway is faulty. Notifying the management platform of the fault information;
  • the WSN terminal detects that the controller gateway is faulty, and notifies the fault information (such as notifying other gateways (the gateways other than the controller gateway) that it accesses) the management platform or other gateways (other than the controller gateway). Gateway).
  • Step 502 The other gateway (the gateway other than the controller gateway) or the management platform notifies the other gateways with the highest priority of the backup gateway (the gateway outside the controller gateway) that the controller gateway fails.
  • the backup gateway priority is determined according to the setting information of the backup gateway priority of other gateways (gates other than the controller gateway) saved by the controller.
  • the other gateway with the highest level (the gateway outside the controller gateway), and then inform the other gateway (the gateway outside the controller gateway) of the failure of the controller gateway.
  • Step 503 The other gateway with the highest priority of the backup gateway (the gateway other than the controller gateway) notifies other other gateways (the gateway other than the controller gateway) and the management platform itself can replace the existing controller gateway.
  • Step 504 The management platform provides backup data of the original controller gateway to the new controller gateway.
  • Step 505 The new controller gateway notifies the WSN terminal and other gateways in the wireless sensor network of the controller gateway change information
  • Step 506 The management platform determines whether there is a WSN terminal accessing the telecommunication network through the original controller gateway. If yes, the process in step 507 is performed; if not, the process flow of replacing the controller gateway ends.
  • Step 507 The management platform specifies a new gateway for the WSN terminal accessing the telecommunication network through the original controller gateway.
  • the controller network in the wireless sensor network is realized.
  • the controller gateway is replaced by one of the other gateways (the gateway other than the controller gateway), so that the wireless sensor network can continue to work normally.
  • the following is the following related content related to the establishment of WSN and management of WSN through Zigbee technology.
  • ZigBee is an emerging short-range, low-rate, low-cost, low-power wireless network technology. It uses Direct Sequence Spread Spectrum (DSSS) technology and operates at 868MHz, 915MHz or 2.4GHz. There are three types of nodes in the ZigBee network: ZigBee coordination point, ZigBee routing node and ZigBee terminal node.
  • DSSS Direct Sequence Spread Spectrum
  • the ZigBee coordination point is also called the Personal Area Network (PAN) coordination point (ZC, ZigBee Coordinator) in IEEE 802.15.4, and can be used as a convergence node in the WSN.
  • the ZigBee coordination point must be a Full-Function Device (FFD).
  • a ZigBee network has only one ZigBee coordination point. It is often more powerful than other nodes in the network and is the master node of the entire network. It is responsible for initiating the establishment of new networks, setting network parameters, managing nodes in the network, and storing node information in the network. After the network is formed, it can also perform the functions of the router.
  • the ZigBee Routing Node (ZR, ZigBee Router) must also be a fully functional device.
  • ZigBee routing nodes can participate in route discovery, message forwarding, and extend the coverage of the network by connecting other nodes.
  • the ZigBee routing node can also act as a common coordination point in its Personal Operating Space (POS), and IEEE 802.15.4 is called a coordination point.
  • POS Personal Operating Space
  • IEEE 802.15.4 IEEE 802.15.4
  • the ZigBee EndNode (ZE, ZigBee EndDevice) can be a full-featured device or a Reduced-Function Device (RFD), which connects to the network through ZigBee co-nodes or ZigBee routing nodes, but does not allow any other node to join through it.
  • RFD Reduced-Function Device
  • ZigBee endpoints can operate at very low power.
  • the controller gateway acts as a Zigbee network.
  • the Zigbee coordination point in the middle is responsible for the formation of the WSN.
  • the WSN terminal can join the WSN as a Zigbee routing node or a Zigbee terminal node; other gateways (other gateways other than the controller gateway) join the WSN as Zigbee routing nodes. Gateways and WSN terminals need to support Zigbee communication technology.
  • the keys used in the Zigbee network mainly include: Master Key, Link Key, and Network Key.
  • the master key is a shared key used in the process of performing a symmetric key establishment protocol, and is a long-term security basis between two devices, and can be used to generate a link key; the link key is in a PAN network, A key shared between two devices for secure communication between two devices; a network key is a shared key in a PAN network for the security of broadcast communication.
  • a trust center is a trusted device that distributes security keys across the network. It allows devices to join the network and assign keys, thus ensuring end-to-end security between devices.
  • the network coordinator can become a trust center.
  • the Trust Center provides the following three features:
  • the task is responsible for verifying the device joining the network.
  • the task is to obtain and assign network keys to the device.
  • Configuration management The task is to bind the application to the device it manages, and achieve end-to-end secure transmission between the two devices.
  • the device In order to implement trust management, the device needs to receive the initial master key from the trust center. For network management purposes, the device should receive the initial network key and can only obtain updates to the network key from the trust center. In order to implement network configuration, the device needs to receive a master key or a link key from the trust center to establish an end-to-end secure link between the two devices. In addition to the initial master key, the additional link key, master key, and network key can only be obtained from the trust center in a secure manner. The trust center should periodically update the network key according to a policy and pass the new network key to each device.
  • the controller gateway acts as a trust center for network security management.
  • the identity authentication and secure communication of the gateway can be implemented between the management platform and other network elements in the gateway and the telecommunication network through the identity of the gateway.
  • a WSN is identified by the network identifier of the WSN.
  • the network identifier of the WSN may be determined by the controller gateway or by the management platform, and the information about the network identifier and the network location of the WSN is recorded in the management platform.
  • the management platform can determine whether the location has a WSN managed by the management platform according to a given location, and if there is a WSN, the WSN of the location can be obtained, thereby determining the WSN at the location.
  • the system for accessing the telecommunication network of the wireless sensor network of the present invention can be specifically understood in conjunction with the system shown in FIG. 1 above. It should be noted that the system for accessing the telecommunication network of the wireless sensor network of the present invention is realized by updating the function of the corresponding network element on the basis of the existing combined network, and the connection structure of the network element in the network is not change.
  • 6 is a schematic diagram of a main component structure of a system for accessing a telecommunication network of a wireless sensor network according to the present invention. As shown in FIG. 6, the system for accessing a telecommunication network of the wireless sensor network of the present invention includes a determining unit 60 and a replacing unit 61, wherein
  • the determining unit 60 is configured to: when the controller gateway is not working properly, trigger the replacement unit; and the replacing unit 61 is configured to use one of the WSNs as a controller gateway to work instead of the original controller gateway.
  • the determining unit 60 is disposed in the management platform, and after determining that the controller gateway in the WSN is not working properly, further determining a gateway of the replacement controller gateway in the WSN, and notifying the determined gateway by the proxy unit 61
  • the controller gateway works in place of the original controller gateway.
  • the above replacement unit 61 is provided in other gateways in the WSN; the determining unit 60 determines the WSN After the controller gateway in the network is not working properly, the replacing unit 61 further determines a new controller gateway through other gateways in the WSN to work instead of the original controller gateway.
  • system for accessing the telecommunication network by the wireless sensor network of the present invention further includes a setting unit (not shown in FIG. 6) and a transmitting unit (not shown in FIG. 6), wherein
  • a setting unit configured to determine a backup gateway of the controller gateway in the WSN in advance, and set a priority for the backup gateway
  • a sending unit configured to send information about the priority of the backup gateway to the management platform or other gateways in the WSN;
  • the above replacement unit 61 is provided in the management platform or other gateway in the WSN;
  • the replacing unit 61 is further configured to notify the fault gateway of the controller gateway that the backup gateway has the highest priority backup gateway, and replace the backup gateway with the highest priority.
  • the original controller gateway works.
  • the management platform stores backup information of the controller gateway
  • the management platform sends the stored backup information of the controller gateway to the gateway replacing the original controller gateway, and the gateway replacing the original controller gateway
  • the backup information of the original controller gateway is used to work at the WSN.
  • system for accessing the telecommunication network of the wireless sensor network of the present invention further includes a broadcasting unit (not shown) for replacing the original controller gateway in the replacement unit after the other gateway in the WSN, in the WSN.
  • a broadcast message is sent, and the information of the new controller gateway is notified to the WSN terminal and the remaining gateways in the WSN.
  • the system for accessing the telecommunication network of the wireless sensor network of the present invention the function of the updated network element and the information interaction manner can be understood by referring to the related descriptions of the first embodiment to the fourth embodiment.

Description

无线传感器网络接入电信网络的方法及系统 技术领域
本发明涉及结合网络中的接入技术, 尤其涉及一种无线传感器网络接 入电信网络的方法及系统。 背景技术
无线传感器网络作为计算、 通信和传感器三项技术相结合的产物, 是 一种全新的信息获取和处理技术。 由于近来微型制造技术、 通讯技术及电 池技术的改进, 促使微小的传感器终端可具有感应、 无线通讯及处理信息 的能力。 此类传感器终端不但能够感应及侦测环境的目标物及其改变, 并 且可处理收集到的数据, 并将处理过后的资料以无线传输的方式送到数据 收集中心。 这些传感器终端通常由电源、 感知部件、 嵌入式处理器、 存储 器、 通信部件和执行软件这几部分构成。 其中, 电源为传感器节点提供正 常工作所必需的能源。 感知部件用于感知、 获取外界的信息, 并将其转换 为数字信号。 嵌入式处理器负责协调节点各部分的工作, 如对感知部件获 取的信息进行必要的处理、 保存, 控制感知部件和电源的工作模式等。 通 信部件负责与其他传感器或观察者进行通信。 执行软件则为传感器终端提 供必要的软件支持, 如嵌入式操作系统、 嵌入式数据库系统等。 借助于传 感器终端中内置的形式多样的感知部件来测量该传感器终端所在周边环境 中的热、 红外、 声纳、 雷达和地震波信号, 从而探测包括温度、 湿度、 噪 声、 光强度、 压力、 土壤成分、 移动物体的大小、 速度和方向等众多信息。 传感器终端一般通过自组织或预配置的方式构成网络。 在通信方式上, 虽 然可以釆用有线、 无线、 红外和光等多种形式, 但一般认为短距离的无线 低功率通信技术最适合传感器网络的使用, 一般称作无线传感器网络 ( WSN, Wireless Sensor Network )„ 目前使用比较广泛的无线低功率通信 技术包括: 美国电气和电子工程师协会 ( IEEE, Institute of Electrical and Electronics Engineers ) 802.15.4和 Zigbee技术。
IEEE 802.15.4 是由 IEEE 开发的低速无线个域网 (WPAN, Wireless Personal Area Network )标准。 IEEE 802.15.4规定了物理层和介质访问控制 层(MAC, Media Access Control )标准。 符合 IEEE 802.15.4标准的通信模 块具备低成本、 低耗电、 小尺寸的特点。
Zigbee联盟是一个致力于在开放的全球标准的基础上, 开发可靠的、 低成本、 低耗电、 无线网络连接的监测和控制产品的组织。 Zigbee 标准的 物理层和 MAC层釆用 IEEE 802.15.4技术, 网络层、 安全管理、 应用层规 范以及互通性由 Zigbee联盟开发。 Zigbee标准中的 Zigbee智能能源公共应 用规范 ( Zigbee smart energy public applications profile )和 Zigbee家庭自动 化应用规范 ( Zigbee home automation public applications profile )分另 ll针对商 业环境应用和家庭应用。
WSN终端的微处理能力和无线通信能力使无线传感器网络有广阔的应 用前景, 其应用包括军事应用、 生物和环境监测、 健康应用、 家庭应用、 工业控制和监测等。
无线传感器网络和电信网结合, 如第二代(2G, 2nd Generation )移动 通信、 第三代(3G, 3rd Generation )移动通信、 xDSL ( x Digital Subscriber line )、 FTTx ( Fiber To The x, x 为 home、 building、 node、 premises )、 覔 带无线接入、 卫星 /微波等, 可以使无线传感器网络作为现有网络的延伸, 扩展通信网络的能力, 使通信对象从人扩展到物理世界, 具有良好的发展 前景。 无线传感器网络与现有的电信网络结合后, 可以使无线传感器网络 感知的数据有效地传递到数据中心, 通过对数据的整理和分析, 可以极大 程度地改变人类获取自然世界的数据的方式, 同时也能够对无线传感器网 络进行集中的管理, 解决目前分散在各处的无线传感器网络难以管理的问 题。
无线传感器网络与电信网络结合, 是指将无线传感器网络与电信网络 相连接, 利用电信网络对无线传感器网络及其提供的业务进行监控、 管理 及完成业务的承载与合作实施, 并通过电信网络扩展无线传感器网络所提 供的业务。 无线传感器网络和电信网的结合一般是无线传感器网络通过网 关设备连接至电信网平台。
WSN终端为构成 WSN的传感器节点, 通过一跳或多跳与网关连接。 WSN终端负责釆集并上传数据, 以及接收并执行命令。 组成 WSN的 WSN 终端少则几个多则几百个, WSN终端之间可根据需要以星形、 树形或网状 ( mesh )等方式组网,其中某些 WSN终端或具有较强的组网和数据转发能 力。 在 WSN中, 网关负责将 WSN终端上报的数据, 发送至电信网络中的 相关网络单元, 电信网络中的相关网络单元通过网关将相关指令发送给 WSN终端。而且在 WSN釆用常用的 IEEE 802.15.4和 Zigbee技术时,一般 由网关负责创建 WSN, 负责 WSN终端加入和离开传感网时的管理, 网关 中保存有 WSN终端的配置信息和传感网的业务配置信息等重要数据。
WSN终端上报的数据, 需要通过网关发送给电信网络中的相关网络单 元, 而现有 WSN中通常只配置一个网关, 用于将 WSN终端上报的数据转 发给电信网络中的相关网络单元,从而当 WSN中的 WSN终端数量比较多、 或者 WSN终端频繁上报数据时, WSN中的网关负荷很大而导致 WSN终 端的数据不能及时发送以及 WSN终端与网关之间的通信发生拥塞。 这样, 会严重地影响到 WSN的正常工作。 另外, 电信网络侧的网络单元执行对无 线传感器网络中的 WSN终端的管理时,需要通过无线传感器网络的网关建 立和 WSN终端的通信;如果电信网络侧的网关单元只通过一个网关和无线 传感器网络中的 WSN终端建立通信,同样会给该网关造成比较大的承载压 力,导致电信网络侧的网关单元不能及时地与无线传感器网络中的 WSN终 端建立通信, 影响相关业务的正常运行。 因此, 需要考虑电信网络侧的相 关网络单元如何通过 WSN网关与无线传感器网络中的 WSN终端进行更顺 畅的通信等问题。 对于该问题, 一种可行的解决方案是为无线传感器网络 配置多个网关, 无线传感器内的 WSN终端通过这些网关上 4艮数据, 电信网 络侧的网络单元通过这些网关建立与 WSN终端的通信;无线传感器网络配 置的多个网关可以釆用对等工作模式,由电信网络中的对 WSN进行管理的 网络单元实体为 WSN中的 WSN终端分配接入电信网所使用的网关, 网关 按照该电信网络的网络单元实体的调度为 WSN 终端提供电信网络接入。 WSN配置的多个网关中,可以由一个网关创建 WSN,其余的网关作为 WSN 中的路由节点加入到 WSN。 电信网络中的对 WSN进行管理的网络单元实 体保存 WSN中的网关的信息,包括网关的标识、网关在电信网络中的地址、 以及网关在 WSN中的地址、 网关的电信网络接入能力等。 创建 WSN的网 关作为无线传感器网络的控制中心, 具备对无线传感器网络的管理功能, 包括对 WSN终端加入 /脱离无线传感器网络的管理、 维护无线传感器网络 的拓朴信息及节点的信息等; 由于创建 WSN的网关承担的功能与其他网关 不同, 为说明上的便宜, 将该网关命名为控制器网关。 如果控制器网关在 出现故障等情况并导致不能正常工作时, 无线传感器网络以及相关业务将 不能正常运行, 需要有相应的解决方法, 在控制器网关出现故障时, 釆取 相关方法使无线传感器网络及其相关业务能够正常进行。 目前对于该问题 还没有相应的解决方法。 发明内容
有鉴于此, 本发明的主要目的在于提供一种无线传感器网络接入电信 网络的方法及系统, 能在控制器网关故障时及时确认新的控制器网关而不 影响 WSN与电信网络的通信。 为达到上述目的, 本发明的技术方案是这样实现的:
一种无线传感器网络接入电信网络的方法, WSN中设有 WSN终端和 两个以上的 WSN网关, 所述两个以上的 WSN网关中设置有控制器网关; 所述电信网络中设置有管理平台; 所述方法还包括:
所述控制器网关不能正常工作时,将所述 WSN中控制器网关以外的一 个网关作为控制器网关, 代替原控制器网关进行工作。
优选地, 所述将所述 WSN中的一个网关作为控制器网关, 代替原控制 器网关进行工作, 为:
所述管理平台确定代替原控制器网关的网关, 由该网关作为控制器网 关工作。
优选地, 所述管理平台确定代替原控制器网关的网关, 由该网关作为 控制器网关工作, 为:
所述管理平台确定 WSN中的控制器网关不能正常工作后,进一步确定 所述 WSN中的替换控制器网关的网关,并通知所确定的网关作为控制器网 关, 代替原控制器网关进行工作。
优选地, 所述将所述 WSN中的一个网关作为控制器网关, 代替原控制 器网关进行工作, 为:
WSN中的其他网关协商确定出新的控制器网关, 代替原控制器网关进 行工作。
优选地, 所述将所述 WSN中的一个网关作为控制器网关, 代替原控制 器网关进行工作, 为:
预先在 WSN中确定控制器网关的后备网关,并为所述后备网关设置优 先级,并将所述后备网关优先级的信息发送给所述管理平台或 WSN中的其 他网关;
所述控制器网关不能正常工作时,管理平台或 WSN中的其他网关将控 制器网关的故障信息通知后备网关优先级为最高的后备网关, 由所述优先 级为最高的后备网关代替原控制器网关进行工作。
优选地, 所述方法还包括:
所述管理平台中存储有控制器网关的备份信息;
所述其他网关代替原控制器网关时, 所述管理平台将所存储的控制器 网关的备份信息发送给代替原控制器网关的网关, 所述代替原控制器网关 的网关使用原控制器网关的备份信息在 WSN进行工作。
优选地, 所述方法还包括:
WSN中的其他网关代替原控制器网关后, 在所述 WSN中发送广播消 息, 将新控制器网关的信息通知 WSN终端和 WSN的其他网关。
优选地, 所述管理平台中存储有 WSN中的其他网关的备份信息; 所述控制器网关的备份信息包括 WSN 的配置信息和通过控制器网关 接入电信网络的 WSN终端的信息; 所述 WSN的配置信息包括 WSN的标 识、 网络拓朴信息、 WSN 中的其他网关信息、 WSN终端的信息和网络安 全设置信息; 所述 WSN中的其他网关的备份信息包括其他网关信息、通过 其他网关接入的电信网络的 WSN终端的信息; 其中, 所述其他网关信息包 括其他网关标识信息和地址信息, 所述 WSN终端的信息包括 WSN终端标 识信息和地址信息。
优选地, 所述方法还包括:
管理平台根据所保存的 WSN终端和为 WSN终端分配的网关之间的对 应关系信息确定存在通过原控制器网关接入电信网络的 WSN终端时,为所 述通过原控制器网关接入电信网络的 WSN 终端重新分配接入电信网络的 网关。
一种无线传感器网络接入电信网络的系统, WSN中设有 WSN终端和 两个以上的 WSN网关, 所述两个以上的 WSN网关中设置有控制器网关; 所述电信网络中设置有管理平台; 所述系统包括确定单元和代替单元, 其 中,
确定单元, 用于确定控制器网关不能正常工作时, 触发代替单元; 代替单元, 用于将所述 WSN中的一个网关作为控制器网关, 代替原控 制器网关进行工作。
优选地, 所述确定单元设于所述管理平台中, 在确定 WSN中的控制器 网关不能正常工作后, 进一步确定所述 WSN中的替换控制器网关的网关, 并由所述代理单元通知所确定的网关作为控制器网关, 代替原控制器网关 进行工作。
优选地, 所述代替单元设于 WSN中的其他网关中; 所述确定单元确定 WSN中的控制器网关不能正常工作后, 所述代替单元进一步通过 WSN中 的其他网关协商确定出新的控制器网关, 代替原控制器网关进行工作。
优选地, 所述系统还包括设置单元和发送单元, 其中,
设置单元, 用于预先在 WSN中确定控制器网关的后备网关, 并为所述 后备网关设置优先级;
发送单元, 用于将所述后备网关优先级的信息发送给所述管理平台或 WSN中的其他网关;
所述代替单元设于管理平台或 WSN中的其他网关中;
所述确定单元确定所述控制器网关不能正常工作时, 所述代替单元进 一步用于将控制器网关的故障信息通知后备网关优先级为最高的后备网 关, 由所述优先级为最高的后备网关代替原控制器网关进行工作。
优选地, 所述管理平台中存储有控制器网关的备份信息;
所述代替单元将 WSN中的其他网关代替原控制器网关时,所述管理平 台将所存储的控制器网关的备份信息发送给代替原控制器网关的网关, 所 述代替原控制器网关的网关使用原控制器网关的备份信息在 WSN 进行工 作。
优选地, 所述系统还包括广播单元, 用于在所述代替单元将 WSN中的 其他网关代替原控制器网关后, 在所述 WSN中发送广播消息, 将新控制器 网关的信息通知 WSN终端和 WSN中的其余网关。
本发明中, 在一个 WSN中配置多个网关, 该多个网关釆用对等工作模 式, 由管理平台确定一个网关作为控制器网关; 该多个网关分别为 WSN中 的 WSN终端提供电信网络的接入,并当控制器网关出现故障而不能正常工 作时, 可以由 WSN中的一个其他网关代替该不能正常工作的控制器网关, 由该其他网关代替原控制器网关进行工作, 使无线传感器网络及其有关业 务可以正常运行, 从而提高了配置多个网关的无线传感器网络的可靠性。 附图说明
图 1为 WSN中存在多个网关时的网络架构示意图;
图 2为本发明实施例一中 WSN配置多网关的流程图;
图 3为本发明实施例二中 WSN终端加入 WSN以及网关釆用对等工作 模式时为 WSN终端分配网关的流程图;
图 4为本发明实施例三中 WSN中的其他网关代替控制器网关的流程 图;
图 5为本发明实施例四中 WSN中的其他网关代替控制器网关的流程 图;
图 6为本发明无线传感器网络接入电信网络的系统的主要组成结构示 意图。 具体实施方式
本发明的基本思想是: 在配置多个网关且网关釆用对等工作模式的无 线传感器网络中, 在控制器网关不能正常工作时, 确定无线传感器网络中 的一个其他网关 (即除不能正常工作的控制器网关之外的任一网关)代替 该控制器网关, 由该确定的其他网关作为新的控制器网关在无线传感器网 络中工作, 从而提高了无线传感器网络的通信可靠性。
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。
在一个配置多个网关并釆用对等工作模式的无线传感器网络中, 控制 器网关不能正常工作时, 由管理平台指定无线传感器网络中的一个网关代 替该控制器网关, 由该指定的网关作为新的控制器网关在无线传感器网络 中工作; 通过该方法使无线传感器网络在控制器网关因出现故障等原因导 致不能正常工作时能够继续维持正常工作, 增加无线传感器网络的可靠性。
在对等工作模式下, 由管理平台为 WSN中的 WSN终端分配接入电信 网所使用的网关。 WSN配置的多个网关中, 可以由一个网关(即控制器网 关 )创建 WSN, 其余的网关作为 WSN中的路由节点加入到 WSN。 管理平 台保存 WSN中的网关的信息,包括网关的标识、网关在电信网络中的地址、 以及网关在 WSN中的地址、 网关的电信网络接入能力等。
WSN终端加入 WSN前, 可以由管理平台通过客户端或者其他方式在 WSN终端中写入加入 WSN所需要的网络配置参数, 该网络配置参数可以 由管理平台从 WSN终端申请加入的 WSN 中的控制器网关处获得。 WSN 终端加入 WSN 时, 向控制器网关提出加入 WSN 的请求, 该请求中包括 WSN终端的标识等信息, 控制器网关可以将 WSN终端的信息发送给管理 平台。 管理平台收到控制器网关发送的 WSN终端的信息后, 根据网关分配 的相关规则为该 WSN终端分配一个网关。管理平台可以将分配的网关的信 息发送给控制器网关, 由控制器网关将分配的网关信息(如网关在 WSN中 的地址)发送给该 WSN终端; WSN终端保存所分配的网关的信息, 并创 建到该网关的路由信息。 管理平台将该 WSN终端的信息(包括 WSN终端 的标识、 WSN终端在 WSN中的地址)通过电信网络的通信连接发送给该 分配的网关, 所述分配的网关记录该 WSN终端的信息; 另外, 管理平台也 可以指示控制器网关将该 WSN终端的信息(包括 WSN终端的标识、 WSN 终端在 WSN中的地址 )通过 WSN中的通信连接发送给该分配的网关。
在对等工作模式下, 管理平台保存 WSN中的 WSN终端与其被分配的 网关的对应关系, 该对应关系可以釆用对应表的形式实现, 该对应关系中 记录 WSN终端的标识以及其被分配的网关的标识。管理平台通过该对应关 系可以查询到某个 WSN终端接入电信网络所使用的网关, 以及 WSN中的 某个网关为 WSN中的哪些 WSN终端提供电信网络接入。
为增加无线传感器网络的可靠性, 控制器网关和其他网关中的无线传 感器网络的配置信息或者其它信息可以在管理平台备份存储。 控制器网关 和其他网关可以将需要备份的数据发送给管理平台并由管理平台存储。
在本发明中, 控制器网关备份数据包括但不局限于无线传感器网络的 配置信息和通过该控制器网关接入电信网络的 WSN终端的信息;无线传感 器网络的配置信息包括无线传感器网络的标识、网络拓朴信息、网关和 WSN 终端的信息(包括标识、 地址等信息)、 网络安全设置信息等。 其他网关的 备份数据包括但不局限于: 该网关的标识和地址、 通过该网关接入的电信 网络的 WSN终端的信息等。
无线传感器配置多网关后, 控制器网关可能出现故障, 从而导致控制 器网关不能正常工作。 因为控制器网关起着重要的作用, 承担着无线传感 器网络管理的功能, 在控制器网关不能正常工作时需要及时釆取措施进行 修复。
在本发明中, 控制器网关不能正常工作时, 由该无线传感器网络的其 他网关中的一个网关代替该控制器网关, 该网关在无线传感器网络作为控 制器网关进行工作。 在本发明中, 可以由管理平台指定替换控制器网关的网关。 管理平台 确定控制器网关不能正常工作后, 确定该无线传感器网络中的替换控制器 网关的其他网关, 并通知该网关作为控制器网关在该无线传感器网络进行 工作。
为了实现控制器网关出现故障时, 管理平台能够及时获取到控制器网 关的故障信息并釆取有关处理措施, 管理平台可以通过以下的方式确定控 制器网关能否正常工作:
1、 控制器网关出现故障但仍能与电信网络的管理平台进行通信的情况 下, 由控制器网关将故障信息通知管理平台;
2、 管理平台对无线传感器网络的网关进行定期检测, 检测到控制器网 关出现故障;
3、 其他网关检测到控制器网关出现故障, 将故障信息通知管理平台;
4、 WSN 终端检测到控制器网关出现故障, 并将故障信息通知 (如通 过自身接入的其他网关 (非控制器网关)进行通知)管理平台。
管理平台确定无线传感器网络中的控制器网关不能正常工作后, 可以 从该无线传感器网络的其他网关中选择一个网关, 由该网关代替控制器网 关, 该网关作为新的控制器网关在无线传感器网中进行工作。
在本发明中, 除由管理平台指定新的控制器网关外, 也可以由控制器 网关外的其它网关协商确定新的控制器网关。 控制器网关可以预先设置无 线传感器中的网关的后备网关优先级, 并将各网关的后备网关优先级的信 息发送给各网关及管理平台。 控制器网关不能正常工作时, 其它网关或管 理平台检测到控制器网关的异常时, 将控制器网关的故障信息通知后备网 关优先级为最高的网关, 后备网关优先级为最高的网关替代现有的控制器 网关。
为实现所述网关作为新的控制器网关在无线传感器网络中能够正常工 作, 该网关需要获得并使用该无线传感器网络的配置信息。 所述的这些信 息由原来的控制器网关在管理平台进行了备份, 可以由管理平台将控制器 网关的备份信息提供给该网关, 该网关使用所述备份信息在无线传感器网 络中作为新的控制器网关进行工作。
所述网关代替原来的控制器网关后, 该网关在无线传感器网络内发送 广播消息, 将控制器网关变更的消息通知 WSN终端和其它的网关。
管理根据 WSN 终端和其分配的网关之间的对应关系信息判断是否存 在通过原来的控制器网关接入电信网络的 WSN终端; 如果存在, 管理平台 为所述的 WSN终端重新分配接入电信网络所使用的网关, 所述的 WSN终 端通过新分配的网关接入电信网络。
在 WSN和电信网络结合时, 在 WSN中配置多个网关, 多个网关釆用 对等工作模式, 由管理平台确定一个控制器网关负责创建 WSN; 该多个网 关分别为 WSN中的 WSN终端提供电信网络的接入, 并且当控制器网关出 现故障导致不能正常工作时, 可以由其中的一个其他网关代替该控制器网 关, 由该其他网关作为控制器网关在无线传感器网络中进行工作, 使无线 传感器网络及其有关业务可以正常运行, 提高了配置多个网关的无线传感 器网络的可靠性。
本发明的 WSN是由一组无线传感器节点设备, 比如 WSN终端以自组 织方式或者预配置方式组成的无线网络; WSN终端间以近距离无线通信技 术进行通信。 WSN 通常部署在几米至几百米的区域范围内, 其中, WSN 终端通常是由电池供电, 具有较低的功耗和成本。 近距离通信技术一般釆 用 Zigbee和 IEEE 802.15.4技术。
WSN与电信网络结合, 是指将 WSN与电信网络相连接, 利用电信网 络对 WSN及其提供的业务进行监控、 管理及完成业务的承载与合作实施, 并通过电信网络扩展 WSN 所提供的业务。 电信网络包括移动通信网络、 xDSL、 FTTx、 卫星通信等多种通信网络。
本实施例中, WSN同电信网络相结合时, 图 1为 WSN中存在多个网 关时的网络架构示意图, 如图 1所示, 图 1 中, 以交叉线填充的阴影部分 表示多个 WSN终端,以点填充的阴影部分表示多个 WSN终端所在的区域。 图 1 中, WSN由多个 WSN终端和多个网关组成, 多个 WSN终端和多个 网关可以按照 WSN的相关技术标准组建无线传感器网络,可用于组建 WSN 的近距离通信技术包括 Zigbee技术、 IEEE 802.15.4标准等。 WSN通过多 个网关连接到电信网络, 和电信网络中管理平台等建立通信。 其中, 多个 网关之间釆用对等工作模式。
为了实现 WSN和电信网络的连接, WSN通过多个网关接入电信网络, 并经由电信网络与接入网、 核心网、 业务平台、 管理平台相连。 WSN终端 通过多个网关连接至电信网络。 WSN终端为构成 WSN的传感器节点, 通 过一跳或多跳与网关连接。 WSN终端负责釆集并上传数据, 以及接收并执 行命令。 组成 WSN的 WSN终端少则几个多则几百个, WSN终端间可根 据需要以星形、 树形或网状(mesh )方式组网, 其中某些 WSN终端或具有 较强的组网和数据转发能力。
网关负责连接 WSN和电信网络, 主要完成协议转换、地址映射和数据 转发等功能, 也可以集成安全和计费等功能。 网关支持的功能可以包括: 支持传感器网络内部数据协同和汇聚; 支持以第二代(2G, 2nd Generation ) 移动通信、 第三代(3G, 3rd Generation )移动通信、 xDSL、 FTTx、 宽带 无线接入、 卫星 /微波等远距离通信接入方式的一种或多种, 将汇聚的数据 传输到通信对端; 支持业务平台和远程管理服务器对网关的设备认证和用 户认证; 支持业务平台和远程管理服务器对网关的参数和软件配置; 支持 用户认证和业务安全、 设备管理安全机制。
业务平台是电信网络中运行和管理与 WSN相结合的业务的功能实体, 负责整合各个服务提供商提供的业务, 并将其提供给终端用户, 同时对终 端用户使用业务的情况进行管理。 业务平台会根据不同业务的需要, 协同 电信网络中其他功能实体完成整个业务流程,例如认证、授权及计费 ( AAA, Authentication Authorization and Accounting )月良务器。 业务平台还可以与远 程服务器连接, 直接对业务进行更新。
管理平台是对 WSN实施管理功能的实体,管理平台可以由管理服务器 组成, 管理服务器通过电信网络对 WSN实施管理功能。
基于上述网络结构, 进一步对本发明无线传感器网络如何在控制器网 关不能正常工作时如何接入电信网络进行详细说明。
实施例一
本发明实施例一中, 多个网关中首先由一个网关创建 WSN, 该网关创 建 WSN后, 将 WSN的信息 (如 WSN的网络标识等 )发送给管理平台, 管理平台保存该 WSN以及该网关的信息。 在本发明中, 具有创建 WSN能 力的网关为控制器网关。
图 2为本发明实施例一中 WSN配置多网关的流程图, 如图 2所示, 本 发明 WSN配置多网关的流程具体包括以下步骤:
步骤 201 , WSN中的其他网关 (即除了控制器网关之外的其他网关, 也称新网关)通过电信网络提供的通信与管理平台连接, 并进行注册。
这里, 新网关在申请加入的 WSN区域并安装后, 可以通过电信网络同 管理平台建立通信连接, 向管理平台发送注册请求。 管理平台可以通过新 网关的身份标识进行身份认证, 确定新网关身份的真实性。 在管理平台中 预先保存有新网关的信息, 该信息包括新网关的网络接入能力参数、 安装 的位置等。
步骤 202、 管理平台通知 WSN中的控制器网关, 有新网关申请加入到 该 WSN。 这里, 管理平台根据新网关准备安装的位置确定新网关准备加入的
WSN, 然后通知该 WSN中的控制器网关有新网关申请加入到该 WSN。 管 理平台可以同时将该新网关的信息发送给控制器网关, 该新网关的信息可 以包括: 新网关在电信网络中的地址、 网络接入能力参数等。
步骤 203 , 控制器网关将加入到该 WSN所需要的网络配置参数发送给 注册的新网关。
这里,控制器网关将该新网关加入到该 WSN需要的网络配置参数发送 给管理平台, 然后由管理平台将该网络配置参数、 以及控制器网关在电信 网络中的地址发送给该新网关。 这里的网络配置参数包括控制器网关在 WSN中的地址、 初始主密钥等。
步骤 204, 新网关使用获得的网络配置参数加入到 WSN。
这里, 新网关获得 WSN的网络配置参数后, 在该 WSN的覆盖区域内 进行信道扫描, 然后向控制器网关发送关联请求( Association Request )帧, 请求加入到该 WSN。 新网关和控制器网关根据初始主密钥进行协商, 确定 网络密钥、链接密钥和地址等。 新网关记录自身在该 WSN中的地址和相关 路由信息, 控制器网关记录新网关在该 WSN中的地址和新网关的信息。
网关加入 WSN后, 网关之间可以通过该 WSN进行通信和交换相关数 据等。 网关在电信网络中的地址可以釆用 IP地址, 由于网关之间保存有对 方的在电信网络中的 IP地址, 双方也可以通过电信网络进行通信。
通过上述实施例一, WSN中可以配置多个网关。
在 Zigbee网络中, 为了使 WSN终端可以加入 WSN, WSN终端需要 先从管理平台获得加入 WSN所需的网络配置参数, 网络配置参数包括: 要 加入的 WSN的初始主密钥和控制器网关的地址。 WSN终端加入 WSN时, 控制器网关验证 WSN终端的初始主密钥的真实性, 从而验证该 WSN终端 的身份。 如果该 WSN终端的初始主密钥是正确的, 则允许该 WSN终端加 入 WSN, WSN终端和控制器网关之间可以基于初始主密钥进行协商, 确 定加入该 WSN所需要的链接密钥、 网络密钥和地址等, 从而实现 WSN终 端成功的加入该 WSN。 不具备网络配置参数的 WSN终端申请加入 WSN 时, 因不能提供初始主密钥或者初始主密钥不是正确的密钥, 控制器网关 则会拒绝该 WSN终端加入该 WSN。
这里, WSN终端生产商在生产 WSN终端时, 并没有在 WSN终端中 写入 WSN的网络配置参数, 可以在 WSN终端在投入使用前由管理平台通 过客户端或者其他方式在 WSN终端中写入其要加入的 WSN的网络配置参 数。 管理平台可以从控制器网关获得加入该 WSN所需要的网络配置参数。
需要指出的是, 管理平台可以通过两种方式获得 WSN 的网络配置参 数。 第一种方式为: 管理平台向控制器网关发送获取 WSN网络配置参数请 求, 控制器网关提供 WSN终端加入该 WSN所需要的网络配置参数。 第二 种方式为: WSN创建后, 控制器网关将加入该 WSN所需要的网络配置参 数, 提供给管理平台, 并在管理平台进行保存。
实施例二
本发明实施例二描述了釆用 Zigbee技术组建的 WSN中, WSN终端加 入 WSN, 以及网关釆用对等工作模式时, 为该 WSN终端分配网关的过程。 图 3为本发明实施例二中 WSN终端加入 WSN以及网关釆用对等工作模式 时为 WSN终端分配网关的流程图, 如图 3所示, 为 WSN终端分配网关具 体包括以下步骤:
步骤 301 , 在 WSN终端中写入 WSN终端申请加入的 WSN的网络配 置参数。
步骤 302、 WSN终端使用 WSN的网络配置参数申请加入到 WSN, 控 制器网关对 WSN终端进行验证, 如果验证通过, 则执行步骤 303; 如果验 证失败, 则执行步骤 304。 本步骤中, WSN终端被放置在准备加入的 WSN所覆盖的区域。 WSN 终端开机启动后, WSN终端可以先在设定的信道上进行网络扫描, 确定要 加入的 WSN。 网络扫描可以通过在信道上发送信标请求( Beacon Request ) 帧, 在该信道上的 WSN中的设备收到 Beacon Request后, 如果允许有新的 WSN终端加入该 WSN, 将会回应 Beacon帧, 该 Beacon帧包含了发送该 帧的 WSN终端的地址信息, 以及是否允许其他 WSN终端以其子节点的方 式加入。 WSN终端将收到的 Beacon帧的信息保存在自身的关联表( neighbor table ) 中。
这里, WSN终端在关联表中选择合适的父节点, 并向父节点发送关联 请求( Association Request )帧请求加入 WSN。 处于 WSN的父节点的 WSN 终端收到加入 WSN的请求后, 通知 WSN的控制器网关有新的 WSN终端 请求加入 WSN。
WSN的控制器网关对 WSN终端进行验证, 验证方式可以按照 Zigbee 规范中节点设备加入到网络的方式,控制器网关判断 WSN终端中的初始主 密钥的真实性。 如果 WSN终端验证通过, 则执行步骤 303 的操作; 如果 WSN终端验证失败, 则进行步骤 304的操作。
步骤 303 , WSN终端验证通过后, 与控制器网关进行通信协商确定链 接密钥和网络密钥, 控制器网关在节点管理表中添加该 WSN终端的信息, WSN终端的父节点设备在自身的相邻表中保存该 WSN终端的信息, WSN 终端在自身的相邻表中保存父节点和控制器网关的信息。 至此, WSN终端 成功加入 WSN。
步骤 304, WSN终端认证不通过, 控制器网关拒绝该 WSN终端加入 WSN。
步骤 305, WSN终端加入 WSN后, 控制器网关将该 WSN终端的信息 发送给管理平台。 步骤 306, 管理平台为该 WSN终端指定接入电信网络所使用的网关。 在该步骤中, 管理平台保存该 WSN终端的信息, 根据网关分配的相关 原则确定该 WSN终端接入电信网络所使用的网关。管理平台可以将分配的 网关的信息发送给控制器网关, 由该控制器网关将分配的网关信息 (如网 关在 WSN中的地址)发送给该 WSN终端; WSN终端保存所分配的网关 的信息,并创建到该网关的路由信息。管理平台将该 WSN终端的信息( WSN 终端的标识、 WSN终端在 WSN中的地址)通过电信网络的通信连接发送 给所分配的网关, 所述分配的网关记录该 WSN终端的信息。
管理平台保存该 WSN终端与其被分配的网关的对应关系。
步骤 307, WSN的控制器网关通知管理平台该 WSN终端已经加入到 WSN。
在本步骤中管理平台将 WSN终端的相关信息发送给业务平台,业务平 台配置 WSN终端的相关数据, 启用 WSN终端所支持的业务。
可见, 通过上述过程, WSN 终端中写入网络配置参数并加入指定的 WSN, 并且管理平台指定了该 WSN终端接入电信网络所使用的网关, 使 该 WSN终端能够通过网关向业务平台上报数据。
WSN终端加入到 WSN后, 可能存在需要变更 WSN终端接入电信网 络所使用的网关的情况, 例如: 管理平台可以为一个 WSN终端选择另外一 个距离该 WSN终端更近的其他网关 (控制器网关之外的网关), 从而减少 该 WSN终端和其他网关(控制器网关之外的网关)间的路由路径, 达到减 少 WSN内的通信复杂度和节能的效果。此时,可以由管理平台指定为 WSN 终端提供电信网络接入的新网关,控制器网关可以将该 WSN终端的信息和 通信连接配置信息发送给新指定的网关, 并将网关变更消息通知原来为该 WSN终端提供电信网络接入的网关。新指定的网关在该网关中添加该 WSN 终端的配置信息,原来的网关删除该网关中保存的该 WSN终端的电信网络 接入配置信息。 新指定的网关为该 WSN终端提供电信网络接入, 原来的网 关不再为该 WSN终端提供电信网络接入。
加入 WSN的终端在离开 WSN时, 控制器网关和该 WSN终端接入电 信网络所使用的网关,可以清除各自保存的该 WSN终端的电信网络接入配 置信息, 控制器网关和该 WSN终端对应的网关, 在 WSN终端离开 WSN 后不再为该 WSN终端提供电信网络接入。
在本发明中, 无线传感器网络中的控制器网关与其他网关 (控制器网 关之外的网关)可以通过电信网络和管理平台建立通信; 控制器网关和其 他网关 (控制器网关之外的网关)在管理平台进行数据备份时, 可以通过 通信连接将备份数据发送给管理平台, 管理平台接收并保存备份数据。 控 制器网关和其他网关 (控制器网关之外的网关)在管理平台进行数据备份 后, 如果控制器网关和其他网关 (控制器网关之外的网关) 的需要备份的 数据发生了更新, 控制器网关和其他网关 (控制器网关之外的网关)可以 将更新后的数据发送给管理平台。
实施例三
图 4为本发明实施例三中 WSN中的其他网关(控制器网关之外的网关 ) 代替控制器网关的流程图, 如图 4所示, 当无线传感器网络中的控制器网 关不能正常工作后的替换控制器网关的处理过程具体包括以下步骤:
步骤 401 , 确定无线传感器网络中的控制器网关不能正常工作。
控制器网关不能正常工作一般是由出现故障造成的, 并且, 控制器 网关能否正常工作一般是由管理平台来确定, 具体的, 管理平台可以通过 以下的方式确定控制器网关能否正常工作::
1、 控制器网关出现故障但仍能与电信网络的管理平台进行通信的情况 下, 由控制器网关将故障信息通知管理平台;
2、 管理平台对无线传感器网络的网关进行定期检测, 检测到控制器网 关出现故障;
3、 其他网关 (控制器网关之外的网关)检测到控制器网关出现故障, 将故障信息通知管理平台;
4、 WSN 终端检测到控制器网关出现故障, 并将故障信息通知 (如通 过自身接入的其他网关 (控制器网关之外的网关)进行通知) 管理平台。
步骤 402, 管理平台确定该无线传感器网络中的一个其他网关(控制器 网关之外的网关)代替控制器网关。
管理平台保存有该无线传感器网络中的其他网关 (控制器网关之外的 网关) 的信息, 管理平台可以根据其他网关 (控制器网关之外的网关)设 备所支持的功能、 性能以及当前的负载等因素选择替代控制器网关的其他 网关(控制器网关之外的网关)。 管理平台确定代替控制器网关的其他网关 (控制器网关之外的网关)后, 通过电信网络和该其他网关 (控制器网关 之外的网关)建立通信, 通知该其他网关 (控制器网关之外的网关)代替 该无线传感器网络中的控制器网关, 由该其他网关 (控制器网关之外的网 关)作为新的控制器网关在无线传感器网络进行工作。
步骤 403,管理平台将原来的控制器网关的备份数据提供给所确定的其 他网关 (控制器网关之外的网关)(即新的控制器网关)。
该其他网关 (控制器网关之外的网关)作为新的控制器网关在无线传 感器网络进行工作, 需要获取无线传感器网络的配置信息等, 并使用这些 配置信息进行无线传感器网络的管理, 这些信息由原来的控制器网关在管 理平台进行了备份, 可以由管理平台将备份数据提供给该其他网关 (控制 器网关之外的网关)。
管理平台和其他网关 (控制器网关之外的网关)之间通过电信网络建 立通信连接, 管理平台可以通过该通信连接将原来的控制器网关的备份数 据发送给其他网关(控制器网关之外的网关), 其他网关(控制器网关之外 的网关)接收并保存备份数据。
步骤 404,新的控制器网关将控制器网关变更信息通知无线传感器网络 中的 WSN终端和其他网关。
新的控制器网关可以在无线传感器网络内通过广播消息通知无线传感 器网络中的 WSN终端和其他网关, WSN终端和其他网关收到控制器网关 变更通知消息后, 可以创建和新的控制器网关的通信路径, 从而可以和新 的控制器网关能够正常进行通信。
步骤 405,管理平台判断是否存在通过原来的控制器网关接入电信网络 的 WSN终端, 如果存在, 执行步骤 406中的处理过程; 如果不存在, 替换 控制器网关的处理流程结束。
管理平台可以根据其保存的无线传感器网络中的 WSN 终端与其分配 的网关的对应关系, 管理平台可以识别出是否存在通过原来的控制器网关 接入电信网络的 WSN终端。
步骤 406, 管理平台为通过原来的控制器网关接入电信网络的 WSN终 端指定新的网关。
新的控制器网关为 WSN 终端指定新的接入电信网络的网关釆用本发 明实施例二步骤 306中描述的方式, 在此不再赘述。
通过上述的处理流程实现在无线传感器网络中的控制器网关不能正常 工作时由其中的一个其他网关 (控制器网关之外的网关)代替该控制器网 关, 从而使无线传感器网络可以继续正常工作。
在本发明中, 控制器网关不能正常工作时, 确定新的控制器网关也可 以釆用其他网关 (控制器网关之外的网关)协商的方式。 无线传感器网络 中的控制器网关需要预先设置该无线传感器网络中的其他网关 (控制器网 关之外的网关) 的后备网关优先级; 其他网关 (控制器网关之外的网关) 的后备网关优先级表示控制器网关出现故障时, 其他网关 (控制器网关之 外的网关)作为新的控制器网关工作的选择排序; 控制器网关出现故障时, 首先选择后备网关优先级为最高的其他网关 (控制器网关之外的网关)作 为新的控制器网关。 其他网关 (控制器网关之外的网关) 的后备网关优先 级的设置方式可以为: 其他网关 (控制器网关之外的网关)作为路由节点 加入到无线传感器网络时, 控制器网关设置该其他网关 (控制器网关之外 的网关) 的后备网关优先级, 将该其他网关 (控制器网关之外的网关) 的 后备网关优先级的设置信息发送给其它其他网关(控制器网关之外的网关) 和管理平台, 将其它网关的后备网关优先级的设置信息发送给该其他网关
(控制器网关之外的网关)。 通过该方式, 控制器网关、 其他网关(控制器 网关之外的网关)和管理平台掌握无线传感器网络中的各其他网关 (控制 器网关之外的网关) 的后备网关优先级。
实施例四
图 5为本发明实施例四中 WSN中的其他网关代替控制器网关的流程 图, 如图 5 所示, 本实施例的无线传感器网络中的控制器网关不能正常工 作后的替换控制器网关的处理过程具体包括以下步骤:
步骤 501 , 其他网关(控制器网关之外的网关)或管理平台确定无线传 感器网络中的控制器网关已经不能正常工作;
控制器网关不能正常工作一般是由出现故障或异常造成, 可以通过以 下的方式确定控制器网关能否正常工作:
1、 控制器网关出现故障但仍能与电信网络的管理平台进行通信的情况 下, 由控制器网关将故障信息通知管理平台或其他网关 (控制器网关之外 的网关);
2、 管理平台或其他网关(控制器网关之外的网关)对无线传感器网络 的网关进行定期检测, 检测到控制器网关出现故障;
3、 其他网关 (控制器网关之外的网关)检测到控制器网关出现故障, 将故障信息通知管理平台;
4、 WSN 终端检测到控制器网关出现故障, 并将故障信息通知 (如通 过自身接入的其他网关 (控制器网关之外的网关)进行通知) 管理平台或 其他网关 (控制器网关之外的网关)。
步骤 502, 其他网关(控制器网关之外的网关)或管理平台将控制器网 关出现故障的信息通知后备网关优先级为最高的其他网关 (控制器网关之 外的网关);
其他网关 (控制器网关之外的网关)或者管理平台确定控制器网关出 现故障后, 根据其保存的其他网关 (控制器网关之外的网关) 的后备网关 优先级的设置信息, 确定后备网关优先级为最高的其他网关 (控制器网关 之外的网关), 然后将控制器网关出现故障的信息通知给该其他网关(控制 器网关之外的网关)。
步骤 503 ,后备网关优先级为最高的其他网关(控制器网关之外的网关) 通知其它其他网关 (控制器网关之外的网关)和管理平台自身可以代替现 在的控制器网关。
步骤 504,管理平台将原来的控制器网关的备份数据提供给新的控制器 网关;
步骤 505 ,新的控制器网关将控制器网关变更信息通知无线传感器网络 中的 WSN终端和其他网关;
步骤 506,管理平台判断是否存在通过原来的控制器网关接入电信网络 的 WSN终端, 如果存在, 执行步骤 507中的处理过程; 如果不存在, 替换 控制器网关的处理流程结束。
步骤 507, 管理平台为通过原来的控制器网关接入电信网络的 WSN终 端指定新的网关。
通过实施例四中的上述流程, 实现了在无线传感器网络中的控制器网 关不能正常工作时由其中的一个其他网关 (控制器网关之外的网关)代替 该控制器网关, 从而使无线传感器网络可以继续正常工作。
下面再对以上涉及到的通过 Zigbee技术组建 WSN和对 WSN进行管理 的相关内容, 说明如下:
ZigBee是一种新兴的短距离、 低速率、 低成本、 低功耗的无线网络技 术。 其釆用直接序列扩频(DSSS , Direct Sequence Spread Spectrum )技术, 工作频率为 868MHz、 915MHz或 2.4GHz。 ZigBee网络中有 3种类型的节 点: ZigBee协调点、 ZigBee路由节点和 ZigBee终端节点。
其中, ZigBee协调点在 IEEE 802.15.4中也称为个域网(PAN, Personal Area Network )协调点 (ZC , ZigBee Coordinator ), 在 WSN中可以作为汇 聚节点。 ZigBee协调点必须是全功能设备( FFD , Full-Function Device ) , 一个 ZigBee网络只有一个 ZigBee协调点,它往往比网络中其他节点的功能 更强大, 是整个网络的主控节点。 它负责发起建立新的网络、 设定网络参 数、 管理网络中的节点以及存储网络中节点信息等, 网络形成后也可以执 行路由器的功能。
ZigBee路由节点 ( ZR, ZigBee Router )也必须是全功能设备。 ZigBee 路由节点可以参与路由发现、 消息转发, 通过连接别的节点来扩展网络的 覆盖范围等。 此外, ZigBee路由节点还可以在它的个人操作空间 (POS, Personal Operating Space ) 中充当普通协调点, IEEE 802.15.4称为协调点。 普通协调点与 ZigBee协调点不同, 它仍然受 ZigBee协调点的控制。
ZigBee终端节点 (ZE, ZigBee EndDevice ) 可以是全功能设备或者精 简功能设备 ( RFD , Reduced-Function Device ) , 它通过 ZigBee协凋点或者 ZigBee 路由节点连接到网络, 但不允许其他任何节点通过它加入网络, ZigBee终端节点能够以非常低的功率运行。
本发明中, 控制器网关 (或负责 WSN创建的网关)作为 Zigbee网络 中的 Zigbee协调点 , 负责 WSN的组建。 WSN终端可以作为 Zigbee路由节 点、 或者 Zigbee终端节点加入 WSN; 其他网关 (除控制器网关之外的其他 网关)作为 Zigbee路由节点加入 WSN。 网关和 WSN终端需要支持 Zigbee 通信技术。
另外, 为了实现 Zigbee网络的安全, 需要对 WSN中的通信进行加密, Zigbee 网络中的加密运算, 釆用先进加密标准算法 ( AES , Advanced Encryption Standard ), 釆用的对称密钥长度为 128位。 Zigbee网络中使用的 密钥主要包括: 主密钥 (Master Key )、 链接密钥 (Link Key )和网络密钥 ( Network Key )。 其中, 主密钥是执行对称密钥建立协议过程中使用的一 个共享密钥, 是两个设备之间长期安全的基础, 并可用于生成链接密钥; 链接密钥在一个 PAN网中, 是两个设备之间共享的密钥, 用于两个设备之 间的安全通信; 网络密钥为一个 PAN网络中共享的密钥, 用于广播通信的 安全。
为实现 Zigbee网络的安全和密钥的管理等, Zigbee网络中存在信任中 心。 信任中心是在网络中分配安全钥匙的一种信任设备, 它允许设备加入 网络, 并分配密钥, 因而确保设备之间端到端的安全性。 在釆用安全机制 的网络中, 网络协调者可成为信任中心。 信任中心提供以下三种功能:
( 1 )信任管理: 任务是负责对加入网络的设备验证。
( 2 ) 网络管理: 任务是负责获取和分配网络钥匙给设备。
( 3 )配置管理: 任务是对其管理的设备绑定应用程序, 在两个设备之 间实现端到端的安全传输。
为了实现信任管理, 设备需要从信任中心接收初始主密钥。 为了实现 网络管理的目的, 设备应接收初始的网络密钥, 并且只能从信任中心获得 网络密钥的更新。 为了实现网络配置, 设备需要从信任中心接收主密钥或 链路密钥, 以建立两个设备间的端对端安全链路。 除了初始的主密钥, 附加的链路密钥、 主密钥、 网络密钥只能够釆用 安全的方式从信任中心获得。 信任中心应当根据某一策略周期性地更新网 络密钥, 并将新的网络密钥传送给每个设备。
本发明中, 由控制器网关作为信任中心进行网络的安全管理。 网关和 电信网中的管理平台和其他网络单元之间可以通过网关的身份标识实现对 网关的身份认证和安全通信。
本发明中,通过 WSN的网络标识识别某个 WSN。控制器网关创建 WSN 后, 可以由控制器网关或者由管理平台确定该 WSN的网络标识, 管理平台 中记录 WSN的包括网络标识和网络位置的相关信息。 由此, 管理平台可以 根据一个给定的位置判断该位置是否存在由该管理平台管理的 WSN, 如果 存在 WSN可以获得在该位置的 WSN的标识, 从而确定在该位置的 WSN。
本发明的无线传感器网络接入电信网络的系统, 具体可结合前述图 1 所示的系统而理解。 需要说明的是, 本发明的无线传感器网络接入电信网 络的系统正是在现有的结合网络的基础上, 通过更新相应网元的功能而实 现的, 对网络中网元连接结构等并未改变。 图 6为本发明无线传感器网络 接入电信网络的系统的主要组成结构示意图, 如图 6所示, 本发明无线传 感器网络接入电信网络的系统包括确定单元 60和代替单元 61 , 其中,
确定单元 60, 用于确定控制器网关不能正常工作时, 触发代替单元; 代替单元 61 , 用于将所述 WSN中的一个网关作为控制器网关, 代替 原控制器网关进行工作。
上述确定单元 60设于所述管理平台中, 在确定 WSN中的控制器网关 不能正常工作后, 进一步确定所述 WSN中的替换控制器网关的网关, 并由 代理单元 61通知所确定的网关作为控制器网关, 代替原控制器网关进行工 作。
上述代替单元 61设于 WSN中的其他网关中; 确定单元 60确定 WSN 中的控制器网关不能正常工作后, 代替单元 61进一步通过 WSN中的其他 网关协商确定出新的控制器网关, 代替原控制器网关进行工作。
此外,本发明无线传感器网络接入电信网络的系统还包括设置单元(图 6中未示出)和发送单元(图 6中未示出), 其中,
设置单元, 用于预先在 WSN中确定控制器网关的后备网关, 并为所述 后备网关设置优先级;
发送单元, 用于将所述后备网关优先级的信息发送给所述管理平台或 WSN中的其他网关;
上述代替单元 61设于管理平台或 WSN中的其他网关中;
上述确定单元 60确定所述控制器网关不能正常工作时, 代替单元 61 进一步用于将控制器网关的故障信息通知后备网关优先级为最高的后备网 关, 由所述优先级为最高的后备网关代替原控制器网关进行工作。
所述管理平台中存储有控制器网关的备份信息;
上述代替单元 61将 WSN中的其他网关代替原控制器网关时, 所述管 理平台将所存储的控制器网关的备份信息发送给代替原控制器网关的网 关,所述代替原控制器网关的网关使用原控制器网关的备份信息在 WSN进 行工作。
此外,本发明无线传感器网络接入电信网络的系统还包括广播单元(图 中未示出 ), 用于在所述代替单元将 WSN中的其他网关代替原控制器网关 后, 在所述 WSN中发送广播消息, 将新控制器网关的信息通知 WSN终端 和 WSN中的其余网关。
本发明无线传感器网络接入电信网络的系统, 所更新的网元的功能及 信息交互方式, 可参见前述实施例一至实施例四的相关描述而理解。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种无线传感器网络接入电信网络的方法, 无线传感器网络 WSN 中设有 WSN终端和两个以上的 WSN网关, 所述两个以上的 WSN网关中 设置有控制器网关; 所述电信网络中设置有管理平台; 其特征在于, 所述 方法还包括:
所述控制器网关不能正常工作时,将所述 WSN中控制器网关以外的一 个网关作为控制器网关, 代替原控制器网关进行工作。
2、 根据权利要求 1所述的方法, 其特征在于, 所述将所述 WSN中的 一个网关作为控制器网关, 代替原控制器网关进行工作, 为:
所述管理平台确定代替原控制器网关的网关, 由该网关作为控制器网 关工作。
3、 根据权利要求 2所述的方法, 其特征在于, 所述管理平台确定代替 原控制器网关的网关, 由该网关作为控制器网关工作, 为:
所述管理平台确定 WSN中的控制器网关不能正常工作后,进一步确定 所述 WSN中的替换控制器网关的网关,并通知所确定的网关作为控制器网 关, 代替原控制器网关进行工作。
4、 根据权利要求 1所述的方法, 其特征在于, 所述将所述 WSN中的 一个网关作为控制器网关, 代替原控制器网关进行工作, 为:
WSN中的其他网关协商确定出新的控制器网关, 代替原控制器网关进 行工作。
5、 根据权利要求 4所述的方法, 其特征在于, 所述将所述 WSN中的 一个网关作为控制器网关, 代替原控制器网关进行工作, 为:
预先在 WSN中确定控制器网关的后备网关,并为所述后备网关设置优 先级,并将所述后备网关优先级的信息发送给所述管理平台或 WSN中的其 他网关; 所述控制器网关不能正常工作时,管理平台或 WSN中的其他网关将控 制器网关的故障信息通知后备网关优先级为最高的后备网关, 由所述优先 级为最高的后备网关代替原控制器网关进行工作。
6、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述方法还 包括:
所述管理平台中存储有控制器网关的备份信息;
所述其他网关代替原控制器网关时, 所述管理平台将所存储的控制器 网关的备份信息发送给代替原控制器网关的网关, 所述代替原控制器网关 的网关使用原控制器网关的备份信息在 WSN进行工作。
7、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述方法还 包括:
WSN中的其他网关代替原控制器网关后, 在所述 WSN中发送广播消 息, 将新控制器网关的信息通知 WSN终端和 WSN的其他网关。
8、 根据权利要求 6所述的方法, 其特征在于, 所述管理平台中存储有 WSN中的其他网关的备份信息;
所述控制器网关的备份信息包括 WSN 的配置信息和通过控制器网关 接入电信网络的 WSN终端的信息; 所述 WSN的配置信息包括 WSN的标 识、 网络拓朴信息、 WSN 中的其他网关信息、 WSN终端的信息和网络安 全设置信息; 所述 WSN中的其他网关的备份信息包括其他网关信息、通过 其他网关接入的电信网络的 WSN终端的信息; 其中, 所述其他网关信息包 括其他网关标识信息和地址信息, 所述 WSN终端的信息包括 WSN终端标 识信息和地址信息。
9、 根据权利要求 8所述的方法, 其特征在于, 所述方法还包括: 管理平台根据所保存的 WSN终端和为 WSN终端分配的网关之间的对 应关系信息确定存在通过原控制器网关接入电信网络的 WSN终端时,为所 述通过原控制器网关接入电信网络的 WSN 终端重新分配接入电信网络的 网关。
10、 一种无线传感器网络接入电信网络的系统, WSN中设有 WSN终 端和两个以上的 WSN网关, 所述两个以上的 WSN网关中设置有控制器网 关; 所述电信网络中设置有管理平台; 其特征在于, 所述系统包括确定单 元和代替单元, 其中,
确定单元, 用于确定控制器网关不能正常工作时, 触发代替单元; 代替单元, 用于将所述 WSN中的一个网关作为控制器网关, 代替原控 制器网关进行工作。
11、 根据权利要求 10所述的系统, 其特征在于, 所述确定单元设于所 述管理平台中, 在确定 WSN中的控制器网关不能正常工作后, 进一步确定 所述 WSN中的替换控制器网关的网关,并由所述代理单元通知所确定的网 关作为控制器网关, 代替原控制器网关进行工作。
12、 根据权利要求 10 所述的系统, 其特征在于, 所述代替单元设于 WSN中的其他网关中; 所述确定单元确定 WSN中的控制器网关不能正常 工作后,所述代替单元进一步通过 WSN中的其他网关协商确定出新的控制 器网关, 代替原控制器网关进行工作。
13、 根据权利要求 10所述的系统, 其特征在于, 所述系统还包括设置 单元和发送单元, 其中,
设置单元, 用于预先在 WSN中确定控制器网关的后备网关, 并为所述 后备网关设置优先级;
发送单元, 用于将所述后备网关优先级的信息发送给所述管理平台或 WSN中的其他网关;
所述代替单元设于管理平台或 WSN中的其他网关中;
所述确定单元确定所述控制器网关不能正常工作时, 所述代替单元进 一步用于将控制器网关的故障信息通知后备网关优先级为最高的后备网 关, 由所述优先级为最高的后备网关代替原控制器网关进行工作。
14、 根据权利要求 10至 13任一项所述的系统, 其特征在于, 所述管 理平台中存储有控制器网关的备份信息;
所述代替单元将 WSN中的其他网关代替原控制器网关时,所述管理平 台将所存储的控制器网关的备份信息发送给代替原控制器网关的网关, 所 述代替原控制器网关的网关使用原控制器网关的备份信息在 WSN 进行工 作。
15、 根据权利要求 10至 13任一项所述的系统, 其特征在于, 所述系 统还包括广播单元,用于在所述代替单元将 WSN中的其他网关代替原控制 器网关后,在所述 WSN中发送广播消息,将新控制器网关的信息通知 WSN 终端和 WSN中的其余网关。
PCT/CN2011/075995 2011-03-18 2011-06-20 无线传感器网络接入电信网络的方法及系统 WO2012126211A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110066940.7 2011-03-18
CN201110066940.7A CN102685786B (zh) 2011-03-18 2011-03-18 无线传感器网络接入电信网络的方法及系统

Publications (1)

Publication Number Publication Date
WO2012126211A1 true WO2012126211A1 (zh) 2012-09-27

Family

ID=46817012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075995 WO2012126211A1 (zh) 2011-03-18 2011-06-20 无线传感器网络接入电信网络的方法及系统

Country Status (2)

Country Link
CN (1) CN102685786B (zh)
WO (1) WO2012126211A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468776A (zh) * 2014-12-04 2015-03-25 中国联合网络通信集团有限公司 一种实现传感器网络数据传输的方法及汇聚节点

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601456B (zh) * 2013-10-30 2017-11-07 华为终端有限公司 网关替换方法、网关及服务器
US9591582B1 (en) * 2015-09-10 2017-03-07 Qualcomm Incorporated Smart co-processor for optimizing service discovery power consumption in wireless service platforms
CN106878447B (zh) * 2017-03-10 2020-03-31 南通大学 一种基于ZigBee通信的数据采集系统
CN107360034B (zh) * 2017-07-25 2021-03-19 美智光电科技股份有限公司 网关恢复方法、装置及其设备
CN109089278B (zh) * 2018-09-29 2022-04-01 中国联合网络通信集团有限公司 一种接口测试方法及装置
WO2021134562A1 (zh) * 2019-12-31 2021-07-08 Oppo广东移动通信有限公司 配置设备更换方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885839A (zh) * 2005-06-23 2006-12-27 华为技术有限公司 网络中主备网关设备的实现方法
CN101272294A (zh) * 2007-03-23 2008-09-24 西安电子科技大学 无线传感器网络WSN接入Internet网络体系结构及服务提供方法
CN101867958A (zh) * 2010-06-18 2010-10-20 中兴通讯股份有限公司 管理无线传感网终端的方法和系统
CN101895906A (zh) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 一种移动终端及其与网关的通信处理方法
CN101938501A (zh) * 2009-06-30 2011-01-05 上海贝尔股份有限公司 一种用于控制无线传感器的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006310928A (ja) * 2005-04-26 2006-11-09 Yokogawa Electric Corp ゲートウェイシステム
CN101764724A (zh) * 2008-05-30 2010-06-30 当代天启技术(北京)有限公司 楼宇自动化系统的组网方法及其中数据传输的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885839A (zh) * 2005-06-23 2006-12-27 华为技术有限公司 网络中主备网关设备的实现方法
CN101272294A (zh) * 2007-03-23 2008-09-24 西安电子科技大学 无线传感器网络WSN接入Internet网络体系结构及服务提供方法
CN101938501A (zh) * 2009-06-30 2011-01-05 上海贝尔股份有限公司 一种用于控制无线传感器的方法及装置
CN101867958A (zh) * 2010-06-18 2010-10-20 中兴通讯股份有限公司 管理无线传感网终端的方法和系统
CN101895906A (zh) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 一种移动终端及其与网关的通信处理方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468776A (zh) * 2014-12-04 2015-03-25 中国联合网络通信集团有限公司 一种实现传感器网络数据传输的方法及汇聚节点
CN104468776B (zh) * 2014-12-04 2018-05-29 中国联合网络通信集团有限公司 一种实现传感器网络数据传输的方法及汇聚节点

Also Published As

Publication number Publication date
CN102685786A (zh) 2012-09-19
CN102685786B (zh) 2017-05-03

Similar Documents

Publication Publication Date Title
CN102202302B (zh) 结合网络及无线传感器网络终端加入网络的方法
Olivier et al. SDN based architecture for clustered WSN
WO2012065418A1 (zh) 一种无线传感器网络的接入方法及系统
CN102202298B (zh) 结合网络及无线传感器网络终端加入网络的方法
Athreya et al. Network self-organization in the Internet of Things
WO2012126211A1 (zh) 无线传感器网络接入电信网络的方法及系统
De Poorter et al. Enabling direct connectivity between heterogeneous objects in the internet of things through a network-service-oriented architecture
WO2017066574A1 (en) Coap enhancements to enable an autonomic control plane
WO2012058845A1 (zh) 处理wsn终端上报数据的方法及其wsn网关、结合网络
CN103297256B (zh) 一种物联网感知层节点的管理方法及系统
WO2011113262A1 (zh) 无线传感器网络的接入方法及系统
WO2011116598A1 (zh) 一种对网关实现管理的方法及系统
Bouckaert et al. Strategies and challenges for interconnecting wireless mesh and wireless sensor networks
WO2012051777A1 (zh) 无线传感器网络通过多网关接入到电信网的接入控制方法及装置
Ersue et al. Management of networks with constrained devices: problem statement and requirements
WO2011160413A1 (zh) 无线传感器网络终端的寻址方法及结合网络
Chen et al. CogMesh: cognitive wireless mesh networks
Martinez-Yelmo et al. eHDDP: Enhanced Hybrid Domain Discovery Protocol for network topologies with both wired/wireless and SDN/non-SDN devices
WO2011116588A1 (zh) 结合网络及无线传感器网络终端加入网络的方法
CN103458423B (zh) 异构认知无线网络间传输认知流的方法、装置和系统
WO2012152070A1 (zh) Wsn中网关之间通信的方法和发起方网关、目标方网关
CN102457581B (zh) 无线传感器网络终端的寻址方法及结合网络
WO2012126208A1 (zh) 无线传感器网络接入电信网络的方法及系统
Mozumdar et al. A hierarchical wireless network architecture for building automation and control systems
Punitha et al. Adoptive parent based framework for zigbee cluster tree networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11861554

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11861554

Country of ref document: EP

Kind code of ref document: A1