WO2012155615A1 - 一种rfid网管的实现方法、系统及相关装置 - Google Patents

一种rfid网管的实现方法、系统及相关装置 Download PDF

Info

Publication number
WO2012155615A1
WO2012155615A1 PCT/CN2012/072190 CN2012072190W WO2012155615A1 WO 2012155615 A1 WO2012155615 A1 WO 2012155615A1 CN 2012072190 W CN2012072190 W CN 2012072190W WO 2012155615 A1 WO2012155615 A1 WO 2012155615A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
management node
cascading
level
module
Prior art date
Application number
PCT/CN2012/072190
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 WO2012155615A1 publication Critical patent/WO2012155615A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the invention relates to the network management technology in the communication field, and particularly relates to a method, a system and a related device for implementing a multi-level radio frequency identification (RFID) network management system.
  • RFID radio frequency identification
  • the existing RFID network management system adopts a flat system architecture, and there is no hierarchical relationship between the various network management systems.
  • the single network management system has a system capacity upper limit, the existing RFID network management system is difficult to adapt to large-scale projects and manages at the same time.
  • the RFID network management system adopts the browser/server (B/S) architecture. The following aspects still exist in the structure and function design:
  • the RFID network management system has a flat architecture and lacks vertical scalability
  • the central system of a large system may be more concerned with the statistical analysis of data than with the direct operation of a single device, but current RFID network management systems cannot achieve such a requirement;
  • the main object of the present invention is to provide a method, a system, and a related device for implementing an RFID network management system, so that the RFID network management system can support multi-layer network management, and has flexible architecture, good hierarchy, and strong scalability. , suitable for large projects.
  • the invention discloses an RFID network management system, which comprises: a lower management node and a management The upper management node of the level management node, the upper management node includes a main common cascading module, and the lower management node includes a secondary common cascading module, where
  • the auxiliary public cascading module is configured to discover the upper management node according to the stored cascading configuration file, and initiate registration with the main public cascading module; after the registration is successful, send the heartbeat detachment common cascading module to the main common cascading module, where The registration initiated by the auxiliary public cascading module is accepted, and after the registration is successful, heartbeat detection, status detection, and event monitoring are performed.
  • auxiliary public cascading module is specifically configured to:
  • the upper management node ID in the middle finds the direct upper management node, establishes a remote service between the main public expansion module and the direct public management module of the direct upper management node, and sends the management node ID including the current level to the main public expansion module based on the established remote service. Registration request;
  • the main public cascading module is specifically configured to:
  • the IP address and port number of the management node of the current level are configured according to the management node ID of the current level, and the remote service between the auxiliary public expansion module of the direct lower-level management node is established, based on the established remote service receiving station.
  • Declaring a registration request sent by the public cascading module registering the direct lower management node according to the direct lower management node ID included in the registration request; after the registration is successful, performing heartbeat detection on the direct lower management node based on the established remote service, and based on Heartbeat detection performs state detection on the direct lower management node, and event monitoring based on registration and status detection.
  • the auxiliary public cascading module includes:
  • the first-level node server is configured to store the cascading configuration file of the lower-level management node. After the lower-level management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the tier in the cascading configuration file. And triggering the first remote node service accessor and the first node registrar;
  • the first remote node service accessor is configured to: after receiving the trigger of the first-level node server, discover the direct superior management node according to the superior management node ID in the cascade configuration file stored by the first-level node server, establish and directly Remote service between the main public cascading modules of the superior management node;
  • a first node registrar configured to send, by the first remote node service accessor, a registration request including a management node ID of the current level to the main public cascading module after receiving the trigger of the first-level node server, and triggering the registration after the registration is successful a heartbeat trigger;
  • the first heartbeat trigger is configured to send a heartbeat message to the main public cascading module by using the first remote node service accessor after receiving the trigger of the first node registrar.
  • main common cascading module includes:
  • a second remote node service accessor configured to establish a remote service between the auxiliary public cascading module of the direct lower management node
  • a second node registrar configured to receive, by the second remote node service accessor, a registration request sent by the secondary public cascading module, and register the direct lower management node according to the direct lower management node ID included in the registration request; after the registration is successful, Triggering a second heartbeat trigger, a lower node state detector, and an event listener;
  • a second heartbeat trigger configured to receive, by the second remote node service accessor, a heartbeat message sent by the auxiliary public cascading module after receiving the trigger of the second node registrar;
  • the lower node status detector is configured to: after receiving the trigger of the second node registrar, perform state detection of the direct lower management node according to the heartbeat message received by the second heartbeat trigger, and send a status change notification to the event listener;
  • the event listener is configured to receive a state change notification sent by the lower node state detector after receiving the trigger of the second node registrar, and report the monitoring event to the corresponding listener according to the current registration and the state change notification.
  • main public cascading module further includes:
  • the second-level node server is configured to store the cascading configuration file of the upper-level management node. After the upper-level management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the current level, and trigger the second remote node. Service accessor and second node registrar.
  • the upper management node further includes a primary service cascading module
  • the lower management node further includes a secondary service cascading module
  • the main service cascading module is configured to trigger a secondary service cascading module to perform corresponding service processing according to a trigger event triggered by the main public cascading module;
  • the auxiliary service cascading module is configured to accept triggering of the main service cascading module to perform corresponding service processing.
  • the invention also discloses an RFID network management device, which comprises:
  • the first-level node server is configured to store the cascading configuration file of the lower-level management node. After the lower-level management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the tier in the cascading configuration file. And triggering the first remote node service accessor and the first node registrar;
  • the first remote node service accessor is configured to: after receiving the trigger of the first-level node server, discover the direct superior management node according to the superior management node ID in the cascade configuration file stored by the first-level node server, establish and directly Remote service between the main public cascading modules of the superior management node;
  • a first node registrar configured to send, by the first remote node service accessor, a registration request including a management node ID of the current level to the main public cascading module after receiving the trigger of the first-level node server, and triggering the registration after the registration is successful a heartbeat trigger;
  • the first heartbeat trigger is configured to send a heartbeat message to the main public cascading module by using the first remote node service accessor after receiving the trigger of the first node registrar.
  • the invention further discloses an RFID network management device, which comprises:
  • a second remote node service accessor configured to establish a remote service between the auxiliary public cascading module of the direct lower management node
  • a second node registrar configured to receive, by the second remote node service accessor, a registration request sent by the secondary public cascading module, and register the direct lower management node according to the direct lower management node ID included in the registration request; after the registration is successful, Triggering a second heartbeat trigger, a lower node state detector, and an event listener;
  • a second heartbeat trigger configured to receive, by the second remote node service accessor, a heartbeat message sent by the auxiliary public cascading module after receiving the trigger of the second node registrar;
  • the lower node status detector is configured to: after receiving the trigger of the second node registrar, perform state detection of the direct lower management node according to the heartbeat message received by the second heartbeat trigger, and send a status change notification to the event listener;
  • the event listener is configured to receive a state change notification sent by the lower node state detector after receiving the trigger of the second node registrar, and report the monitoring event to the corresponding listener according to the current registration and the state change notification.
  • the device further includes:
  • the second-level node server is configured to store the cascading configuration file of the upper-level management node. After the upper-level management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the current level, and touch the second remote Node service accessor and second node registrar.
  • the invention also discloses an RFID network management method, which comprises:
  • the lower management node discovers the upper management node through the cascade configuration file stored in the auxiliary public expansion module, and initiates registration by the main public expansion module of the upper management node;
  • the superior management node and the lower management node are based on their respective common cascading modes.
  • the block performs heartbeat detection, status detection, and event monitoring.
  • step A includes:
  • the sub-public cascading module of the subordinate management node configures the IP address and port number of the management node of the current level according to the management node ID of the cascading configuration file, and stores the cascading configuration file according to the storage cascading configuration file.
  • the upper management node ID in the middle finds the direct upper management node, establishes a remote service between the main public expansion module and the direct public management module of the direct upper management node, and sends the management node ID including the current level to the main public expansion module based on the established remote service. Registration request.
  • step B includes:
  • the main public cascading module of the upper management node establishes a remote service between the secondary public cascading module of the direct lower management node, and receives the registration request sent by the secondary public cascading module based on the established remote service, and is included according to the registration request.
  • the direct subordinate management node ID registers the direct subordinate management node;
  • the secondary public cascading module of the lower management node sends a heartbeat message to the main public cascading module of the direct upper management node based on the established remote service, and the main public cascading module of the upper management node receives the direct lower level based on the established remote service.
  • the main common cascading module of the superior management node also performs state detection on the direct lower management node based on the heartbeat detection, and performs event monitoring based on the current registration and status detection.
  • the RFID network management system proposed by the present invention is formed by cascading multi-level network management systems, and the RFID network management system is unified and centralizedly managed by the common cascading module, and the RFID network element equipment that the RFID network management system can manage is added.
  • the upper management node in the case where the lower management node already exists, the upper management node can be dynamically added, and the lower management node can be implemented without replacing the lower management node.
  • Manage node management which significantly reduces deployment costs.
  • FIG. 1 is a schematic structural view of a multi-level RFID network management system according to the present invention.
  • FIG. 2 is a schematic structural diagram of a secondary common cascading module and a main common cascading module according to the present invention
  • FIG. 3 is a schematic flowchart of implementing a multi-level RFID network management system according to the present invention
  • Figure 5 is a schematic flow chart of registration in the present invention.
  • FIG. 6 is a schematic flowchart of sending a center hop message according to the present invention.
  • FIG. 7 is a schematic flowchart of state detection of a lower management node in the present invention.
  • FIG. 8 is a schematic flowchart of event monitoring and reporting in the present invention. detailed description
  • the basic idea of the present invention is as follows: The lower management node discovers the upper management node through the cascade configuration file stored in its own auxiliary public expansion module, and initiates registration with the main public expansion module of the upper management node; after the registration is successful, the upper management node And the lower management nodes perform heartbeat detection, state detection, and event monitoring based on their respective common cascading modules.
  • the lower management node and the upper management node are divided according to the management and management angles in the multi-level hierarchical relationship.
  • the lower management node refers to a network management system managed by another network management system (for example, a superior management node), and can directly manage or indirectly manage the RFID network element device, wherein the indirectly managing the RFID network element device refers to the network management system and the RFID network.
  • the upper-level management node refers to a network management system that manages other network management systems (such as lower-level management nodes), and indirectly manages the RFID network element device, and the management node itself may also exist on the management node itself.
  • Other superior management nodes managed managed.
  • the network management system A directly manages the RFID network element device
  • the network management system B directly manages the network management system A
  • the network management system C directly manages the network management system B, such that the network management system VIII, B, and C
  • the RFID network element device constitutes a three-level RFID network management system.
  • the network management system B indirectly manages the RFID network element device, which is the upper management node of the network management system A, and is also the direct upper management node of the network management system A
  • the network management system A is the lower management node of the network management system B, and is also the direct lower management node of the network management system B.
  • the network management system C indirectly manages the RFID network element device, which is the upper management node of the network management system A and B.
  • the network management system C is the direct superior management node of the network management system B, and is the indirect upper management node of the network management system A; B is the lower-level management node of the network management system C.
  • the network management system B is the direct lower-level management node of the network management system C, and the network management system A is the indirect lower-level management node of the network management system C. If there are other network management systems on the network management system C, the network management system C also includes a secondary public expansion module.
  • the relationship between the network management system C and other network management systems for which the network management system is managed may be Reference is made to the above description, and details are not described herein again.
  • the network management system that directly manages the RFID network element device is a lower-level management node located at the lowest level, and does not serve as a superior management node, but is located at the highest level and has no other network management system.
  • the managed network management system is the upper-level management node at the highest level. In the absence of a new upper-level management node that manages it, the network management system does not act as a lower-level management node.
  • the network management systems that can serve as both lower-level management nodes and upper-level management nodes are directly located.
  • the lower management node of the RFID network element device is managed and the upper management node at the highest level. Therefore, these network management systems may also be referred to as intermediate management nodes.
  • FIG. 1 is a schematic structural diagram of a multi-level RFID network management system according to the present invention.
  • other upper management nodes that manage the upper management node may exist on the upper management node shown in FIG.
  • the level RFID network management system is described as an example.
  • there are multiple lower-level management nodes connected to the upper-level management node which can be called lower-level management nodes 1 ⁇ ! 1 , where n is the total number of lower-level management nodes and is a natural number.
  • RFID connected to each subordinate management node There are multiple network element devices.
  • the RFID network element device connected to the lower management node 1 may be referred to as an RFID network element device 1 ⁇ m, where m represents the total number of RFID network element devices managed by the lower management node 1, and is a natural number;
  • the RFID network element device connected to the lower management node n may be referred to as an RFID network element device 1 ⁇ k, where k represents the total number of RFID network element devices managed by the lower management node n, and is a natural number.
  • the upper management node that manages the lower management node includes a primary common expansion module, and the lower management node includes a secondary public expansion module.
  • the auxiliary common cascading module is configured to discover the upper management node according to the stored cascading configuration file, and initiate registration with the main public cascading module; after the registration is successful, send a heartbeat message to the main public cascading module; the main common cascading module It is used to accept the registration initiated by the auxiliary public cascading module. After the registration is successful, the heartbeat detection, status detection, and event monitoring are performed.
  • the cascading configuration file stored in the secondary public cascading module contains: the management node ID of the level and the management node ID of the upper level.
  • the ID of the management node of the current level is the ID of the lower-level management node where the secondary common expansion module is located.
  • the ID of the upper-level management node is the ID of the direct upper-level management node of the lower-level management node where the secondary common expansion module is located.
  • the auxiliary public cascading module is specifically configured to: after the lower-level management node is started, configure an IP address and a port number of the management node of the current level according to the management node ID of the cascading configuration file, and according to the superior in the cascading configuration file
  • the management node ID discovers the direct upper management node, establishes a remote service between the main public expansion module and the direct public management module of the direct upper management node, and sends a registration request including the management node ID of the current level to the main public expansion module based on the established remote service.
  • the heartbeat message is sent to the main public cascading module based on the established remote service.
  • a cascading configuration file is also stored in the main common cascading module, and includes: a primary management node ID, a lower management node ID, and a superior management node ID.
  • the management node ID of the current level is the ID of the upper management node where the main public expansion module is located;
  • the lower management node ID includes the lower management node ID, that is, the direct lower management node ID, or the direct lower management node ID and the indirect lower level.
  • Management The node ID, the lower management node ID includes at least the ID of the lower management node that directly manages the RFID network element device; and the upper management node ID is the ID of the direct upper management node of the upper management node where the main public expansion module is located.
  • the main public cascading module is specifically configured to: after the upper management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the current level, and establish a relationship with the auxiliary common cascading module of the direct lower management node.
  • the remote service receives the registration request sent by the auxiliary public cascading module based on the established remote service, and registers the direct lower management node according to the direct lower management node ID included in the registration request; after the registration is successful, based on the established remote service pair
  • the lower-level management node performs heartbeat detection, and performs state detection on the direct lower-level management node based on the heartbeat detection, and performs event monitoring based on registration and state detection.
  • the upper management node may further include a main service cascading module, and the lower management node may further include a secondary service cascading module. among them,
  • the main service cascading module is configured to trigger a secondary service cascading module to perform corresponding service processing according to a monitoring event triggered by the main public cascading module;
  • the auxiliary service cascading module is configured to receive a trigger of the main service cascading module, and perform corresponding service processing, such as data synchronization, generating an alarm, and the like.
  • the lower-level management node l ⁇ n shown in FIG. 1 interacts with the management of the RFID network element device through the network port, and the implementation process thereof belongs to the prior art, and details are not described herein.
  • the auxiliary public cascading module includes: a first level node server, a first remote node service accessor, a first node registrar, and a first heartbeat trigger, as shown in FIG. 2. among them,
  • the first-level node server is configured to store the cascading configuration file of the lower-level management node. After the lower-level management node is started, configure the IP address and port number of the management node of the current level according to the management node ID of the tier in the cascading configuration file. And triggering the first remote node service accessor and the first node registrar; the cascading configuration file of the lower management node includes: the local management node ID and the superior management node ID, where the local management node ID is the node server of the level The ID of the lower management node, The upper management node ID is the ID of the direct upper management node of the lower management node where the node server is located;
  • the first remote node service accessor is configured to: after receiving the trigger of the first-level node server, discover the direct superior management node according to the superior management node ID in the cascade configuration file stored by the first-level node server, establish and directly a remote service between the main public cascading modules of the upper management node, so that the auxiliary public cascading module and the main public cascading module interact with each other through the established remote service;
  • a first node registrar configured to send, by the first remote node service accessor, a registration request including a management node ID of the current level to the main public cascading module after receiving the trigger of the first-level node server, and triggering the registration after the registration is successful a heartbeat trigger;
  • the first heartbeat trigger is configured to send a heartbeat message to the main public cascading module by using the first remote node service accessor after receiving the trigger of the first node registrar.
  • the main common cascading module includes: a second remote node service accessor, a second node registrar, a second heartbeat trigger, a lower node state detector, and an event listener, as shown in FIG.
  • the second remote node service accessor is configured to establish a remote service between the primary public cascading module and the secondary public cascading module to establish a remote service between the primary public cascading module and the secondary public cascading module.
  • a second node registrar configured to receive, by the second remote node service accessor, a registration request sent by the secondary public cascading module, and register the direct lower management node according to the direct lower management node ID included in the registration request; after the registration is successful, Triggering a second heartbeat trigger, a lower node state detector, and an event listener;
  • a second heartbeat trigger configured to receive, by the second remote node service accessor, a heartbeat message sent by the auxiliary public cascading module after receiving the trigger of the second node registrar;
  • the lower node status detector is configured to: after receiving the trigger of the second node registrar, perform state detection of the direct lower management node according to the heartbeat message received by the second heartbeat trigger, and report the event to the event The listener sends a status change notification;
  • the event listener is configured to receive a state change notification sent by the lower node state detector after receiving the trigger of the second node registrar, and report the monitoring event to the corresponding listener according to the current registration and the state change notification.
  • the main service cascading module of the upper management node registers the corresponding listener with the event listener according to the application requirement, so that after the event listener listens to the interception event, the listener event is reported to the corresponding listener, so that the main service cascading module goes to the event.
  • the listener registered by the listener can trigger the secondary service cascading module to perform corresponding service processing, such as data synchronization and alarm generation, according to the monitoring event reported by the event listener in the main public cascading module.
  • the main common cascading module further includes: a second-level node server, configured to store a cascading configuration file of the upper-level management node, and after the upper-level management node is started, configure an IP address of the management node of the current level according to the management node ID of the current level , the port number, and trigger the far second-way node service accessor and the second node registrar.
  • a second-level node server configured to store a cascading configuration file of the upper-level management node, and after the upper-level management node is started, configure an IP address of the management node of the current level according to the management node ID of the current level , the port number, and trigger the far second-way node service accessor and the second node registrar.
  • the primary common cascading module of the upper management node and the secondary common cascading module of the lower management node specifically perform the registration request and the heartbeat message interaction based on the remote service established by the respective remote node service accessor.
  • the cascading configuration file (including the cascading configuration file of the lower management node and the cascading configuration file of the upper management node) may be initially configured in each network management system according to the cascading relationship required by the RFID network management system; and, each network management system
  • the cascaded configuration files stored by itself can be updated according to the continually updated cascading relationship. For example, when the number of subordinate management nodes managed by the upper management node increases, the main common cascading module of the upper management node adds a corresponding lower management node ID to the cascading configuration file, which may be specifically configured by the main common cascading module.
  • the second level node server is done.
  • the cascading configuration file stored in the main common cascading module that is, the cascading configuration file of the upper management node stored by the second-level node server, includes: the management node ID of the level, the management section of the lower level. Point ID and superior management node ID. Therefore, after the second-level node server is started, the second-level node can obtain the lower-level management node or the lower-level management node and the lower-level management node managed by the lower-level management node based on the configuration file. That is to say, after the upper management node is started, the second home node server in the upper management node can acquire the lower level management nodes under the upper management node and managed.
  • FIG. 3 is a schematic diagram of a process for implementing a multi-level RFID network management system according to the present invention. As shown in FIG. 3, the method includes the following steps:
  • Step 301 The lower management node discovers the superior management node through the cascade configuration file stored in the auxiliary public expansion module, and initiates registration by the main public expansion module of the upper management node.
  • the sub-public cascading module of the subordinate management node configures the IP address and port number of the management node of the current level according to the management node ID of the cascading configuration file, and stores the cascading configuration file according to the storage cascading configuration file.
  • the upper management node ID in the middle finds the direct upper management node, establishes a remote service between the main public expansion module and the direct public management module of the direct upper management node, and sends the management node ID including the current level to the main public expansion module based on the established remote service. Registration request.
  • the auxiliary public cascading module includes: a first home node server, a first remote node service accessor, a first node registrar, and a first heartbeat trigger.
  • the first-level node server in the secondary common-cascade module of the lower-level management node configures the IP address and port number of the local-level management node according to the current management node ID in the stored cascading configuration file. And triggering the first remote node service accessor and the first node registrar.
  • the first remote node service accessor After receiving the trigger of the first-level node server, the first remote node service accessor discovers the direct superior management node according to the superior management node ID in the cascade configuration file stored by the first-level node server, and establishes a direct upper-level management node.
  • the remote service between the main public cascading modules, so that the auxiliary public cascading module and the main public cascading module interact with each other through the established remote service.
  • the first node registrar After receiving the trigger of the first-level node server, the first node registrar sends a registration request including the management node ID of the current level to the main public cascading module through the first remote node service accessor, and triggers the first heartbeat trigger after the registration succeeds.
  • Device After receiving the trigger of the first-level node server, the first node registrar sends a registration request including the management node ID of the current level to the main public cascading module through the first remote node service access
  • the first heartbeat trigger is configured to send a heartbeat message to the main public cascading module by using the first remote node service accessor after receiving the trigger of the first node registrar.
  • the secondary common cascading module of the lower-level management node (specifically, the cascading configuration file stored by the local node server in the secondary common cascading module) includes: a management node ID of the current level and a superior management node ID, where the management node ID of the current level The ID of the lower-level management node where the first-level node server is located, and the upper-level management node ID is the ID of the direct upper-level management node of the lower-level management node where the first-level node server is located.
  • Step 302 After the registration is successful, the superior management node and the lower management node perform heartbeat detection, state detection, and event monitoring based on the respective common cascading modules.
  • the main public cascading module of the upper management node establishes a remote service between the secondary public cascading module of the direct lower management node, and receives the registration request sent by the secondary public cascading module based on the established remote service, and is included according to the registration request.
  • the direct lower-level management node ID registers the direct lower-level management node; after the registration is successful, the secondary public-cascade module of the lower-level management node sends a heartbeat message to the main public-cascade module of the direct upper-level management node based on the established remote service, and the upper-level management node
  • the master public cascading module receives the heartbeat message sent by the secondary public cascading module of the direct lower management node based on the established remote service.
  • the main common cascading module of the superior management node also performs state detection on the direct lower management node based on the heartbeat detection, and performs event monitoring based on the current registration and status detection.
  • the main common cascading module includes: a remote node service accessor, a node registrar, a heartbeat trigger, a lower node state detector, and an event listener.
  • the remote node service accessor in the main common cascading module of the upper management node establishes a remote service between the primary public cascading module and the secondary common cascading module, so that the main public cascading module and the secondary common cascading module pass The established remote service interacts.
  • the node registrar receives the registration request sent by the secondary common cascading module through the remote node service accessor, and registers the direct lower management node according to the direct lower management node ID included in the registration request.
  • the node registrar triggers the heartbeat trigger, and after the heartbeat trigger receives the trigger of the node registrar, sends a heartbeat message to the main common cascading module through the remote node service accessor. .
  • the node registrar triggers the heartbeat trigger, the lower node state detector, and the event listener; after the heartbeat trigger receives the trigger of the node registrar, the remote node service accesses Receiving a heartbeat message sent by the auxiliary public cascading module; after receiving the trigger of the node registrar, the lower node state detector performs state detection of the direct lower management node according to the heartbeat message received by the heartbeat trigger, and sends the status to the event listener.
  • the status change notification after receiving the trigger of the node registrar, the event listener receives the status change notification sent by the lower node status detector, and reports the monitoring event to the corresponding listener according to the current registration and the status change notification.
  • heartbeat message transmission will be described in detail in FIG. 6 below.
  • state management node state detection will be described in detail in FIG. 7 below.
  • event monitoring and reporting will be described in detail in FIG. 8 below. .
  • FIG. 4 is a schematic flowchart of establishing a remote service in the present invention, as shown in FIG. 4, specifically including the following steps:
  • Step 401 The remote node service accessor of the lower-level management node receives the remote node service command sent by the local node server, and the remote node service command carries the superior management node ID.
  • Step 403 The remote node service accessor compares the superior management node ID with the ID of the lower-level management node, and determines whether the direct upper-level management node that needs to be acquired is the current-level management node, and if it is the current-level management node, step 403 is performed; If it is not the current management node, step 404 is performed.
  • Step 403 The remote node service accessor returns the local service, and then step 407 is performed.
  • Step 405 The remote node service accessor obtains the remote service corresponding to the URL.
  • Step 406 The remote node service accessor returns the remote service, so that the auxiliary public cascading module interacts with the main public cascading module through the established remote service.
  • Step 407 The remote node service access ends.
  • the remote node service accessor of the upper management node obtains the remote service corresponding to the URL, and returns the remote service, so that the main public cascading module and the auxiliary public cascading module interact with each other through the established remote service.
  • FIG. 5 is a schematic diagram of a process of registration in the present invention.
  • the method includes the following steps: Step 501: A node registrar in a primary common cascading module of a superior management node receives a direct lower-level management node through a remote service established. The registration request is sent, and the registration request carries the ID of the direct subordinate management node ID, the superior management node ID, and the lower management node managed by the lower subordinate management node, and enters the registration process.
  • Step 502 The node registrar determines whether the ID of the lower-level management node ID and the upper-level management node (that is, the management node of the local level) where the node registrar is located are the same. If they are different, step 503 is performed; if they are the same, the registration fails, and the current end is completed. Process. If there is a superior management node that manages the node registrar on the upper management node where the node registrar is located, after determining that the direct lower management node ID is different from the ID of the upper management node, the node registrar is executed before step 503 is performed. Further, it is determined whether the direct lower management node ID is the same as the direct upper management node ID of the upper management node.
  • step 503 is performed; if they are the same, the registration fails, and the current process ends.
  • the judgment of whether the direct lower-level management node ID is the same as the direct upper-level management node ID of the upper-level management node may be based on the lower-level management node stored by the local-level node server when the upper-level management node is managed by another superior management node, that is, as a lower-level management node. Cascading configuration files to proceed.
  • Step 503 The node registrar determines whether the ID of the indirect lower management node is the same as the ID of the upper management node or the direct upper management node ID. If not, step 504 is performed; if they are the same, the registration fails, and the current process ends.
  • the indirect lower-level management node is a lower-level management node managed by a direct lower-level management node that is currently registered.
  • Step 504 The node registrar determines whether the upper management node ID reported by the lower-level management node is the same as the ID of the upper-level management node. If they are the same, step 505 is performed; if not, the registration fails, and the current process ends.
  • the cascading configuration file stored in the node server of the upper-level management node includes: the management node ID of the first-level management node, the lower-level management node ID, and the upper-level management node ID, the above-mentioned judgment can be completed based on the cascading configuration file.
  • Step 505 The node registrar determines whether the information of the direct lower management node changes online. If the online change of the information does not occur, step 506 is performed; if the information changes online, the registration fails, and the current process ends.
  • the node registrar can determine whether the direct subordinate management node is always online based on the heartbeat detection of the heartbeat trigger, so as to further determine whether the information of the direct subordinate management node changes online according to the stored cascading configuration file and the information carried in the received registration request. .
  • Step 506 The node registrar is carried based on the stored cascading configuration file and the received registration request. The information is compared, and the related information of the directly stored lower-level management node is compared with the information about the direct lower-level management node carried in the registration request.
  • Step 507 The node registrar determines whether the comparison result is consistent, that is, whether the direct lower management node changes, and if there is a change, such as adding a direct lower management node, and the registered direct lower management node changes offline (increasing or decreasing management) Step 508 is performed; if no change occurs, step 510 is performed.
  • Step 508 The node registrar triggers the local local node server to update the stored cascading configuration file, and stores related information of the lower management node.
  • step 509 and step 510 are further performed.
  • Step 509 The node registrar suspends the heartbeat trigger that sends the heartbeat message to the direct superior management node.
  • Step 510 The node registrar initiates registration with the direct superior management node, and after successfully registering with the direct superior management node, triggers a heartbeat trigger that sends a heartbeat message to the direct superior management node, so that the heartbeat trigger is restored to the direct superior management node. Send a heartbeat message.
  • Step 511 The direct lower management node is successfully registered, the node registrar triggers a heartbeat trigger, and the heartbeat trigger performs heartbeat detection on the direct lower management node, and receives a heartbeat message sent by the heartbeat trigger in the direct lower management node.
  • node registrar also triggers subordinate node state detectors and event listeners.
  • FIG. 6 is a schematic flowchart of sending a center hop message according to the present invention. As shown in FIG. 6, the method includes the following steps:
  • Step 601 The heartbeat trigger receives the start heartbeat command sent by the node registrar, and the lower management node needs to access the direct upper management node when the heartbeat trigger is located, for example, when the management information is exchanged with the direct upper management node, step 602 to step 609.
  • Step 602 The heartbeat trigger determines whether there is a direct superior management section of the management node of the current level. Point, if it exists, step 603 is performed; if not, the current process is ended.
  • Step 603 The heartbeat trigger determines whether the heartbeat needs to be suspended. If the node registrar notifies the suspension to send a heartbeat message to the direct superior management node, if the heartbeat is not required to be paused, step 604 is performed; if the heartbeat needs to be suspended, step 608 is performed.
  • Step 604 The time length set by the heartbeat trigger interval, that is, the heartbeat interval.
  • Step 605 The heartbeat trigger obtains the direct superior management node ID, and the step can be implemented based on the cascade configuration file of the lower management node stored by the local local node server.
  • Step 606 The heartbeat trigger acquires the remote service established by the local remote node service accessor according to the obtained direct superior management node ID.
  • Step 607 The heartbeat trigger sends a heartbeat message to the direct superior management node based on the obtained remote service, and then returns to step 602.
  • Step 608 The heartbeat trigger pauses the heartbeat message to the direct superior management node, and waits for the heartbeat to wake up.
  • Step 609 The heartbeat trigger receives the heartbeat wakeup command sent by the node registrar, wakes up the heartbeat, and then performs step 605.
  • FIG. 7 is a schematic flowchart of a state detection of a lower-level management node according to the present invention. As shown in FIG. 7, the method includes the following steps:
  • Step 701 The lower node state detector starts the state detection of the lower node according to the trigger of the node registrar.
  • the lower node state detection described below can be set to be performed periodically, that is, steps 702 to 706 are performed once every set detection cycle.
  • Step 702 The lower node status detector determines whether the access time of the direct lower management node is timed out. If the timeout occurs, step 703 is performed; if not, the step 705 is performed.
  • An access time threshold is set in the lower node state detector to prevent a direct subordinate management node from consuming too much resources of the upper management node, and giving each direct subordinate management node a fair access opportunity.
  • the lower node status detector records the local heartbeat trigger for each visit.
  • the access time of the corresponding lower-level management node is obtained by subtracting the current time from the current time, and the access time is compared with the set access time threshold, so that it can be determined. Whether the current access timed out.
  • the lower-level node status detector modifies the recorded time to empty, indicating that the corresponding lower-level management node does not currently access the upper-level management node where the lower-level node status detector is located, and considers that the access has not timed out.
  • Step 703 The lower node status detector determines whether the current status of the direct lower management node is online. If it is online, step 704 is performed; if not, the current status detection process ends.
  • the lower node state detector may determine the current state of the direct lower management node based on whether the local heartbeat trigger receives the heartbeat message sent by the direct lower management node, and if the heartbeat message has not been received multiple times in each heartbeat interval, If the number of times has reached the offline threshold, the corresponding lower-level management node is considered to be offline, that is, offline, until the heartbeat message from the corresponding lower-level management node is received again, and the corresponding direct lower-level management node is considered to be online; The heartbeat message from the corresponding direct lower management node is considered to be still online.
  • Step 704 The lower node state detector triggers the direct lower management node to go offline, and sends a status change notification to the event listener, notifying the event listener that the corresponding lower management node is offline, and then ending the current state detection process.
  • the lower-level node status detector sends an offline notification to the remote node service accessor of the direct lower-level management node through the local remote node service accessor, and the local-level node server of the lower-level management node directly receives the offline notification through the local remote node service accessor. , Stop the work of the local remote node service accessor and heartbeat trigger.
  • Step 705 The lower-level node state detector determines whether the current state of the direct lower-level management node is offline. If it is offline, step 706 is performed; if not, the current state check is ended. Measurement process.
  • Step 706 The lower-level node state detector triggers the direct lower-level management node to go online, and notifies the event listener that the corresponding lower-level management node is online, and then ends the current state detection process.
  • the lower-level node status detector sends an online notification to the remote node service accessor of the direct lower-level management node through the local remote node service accessor, and the local-level node server of the lower-level management node receives the online notification after receiving the online remote node service accessor.
  • the local remote node service accessor and the heartbeat trigger are triggered, and the remote node service accessor of the direct lower management node establishes a remote service between the remote node service accessor of the superior management node.
  • FIG. 8 is a schematic flowchart of event monitoring and reporting in the present invention. As shown in FIG. 8, the method includes the following steps:
  • Step 801 The lower management node changes due to the successful registration of the lower management node, the state detection of the lower node management node by the lower node state detector, and the event listener finds that the lower management node changes, and generates a monitoring event, such as receiving The registration information sent to the node server of the local node, or the status change notification sent by the lower-level node status detector.
  • Step 802 The event listener determines a change type of the lower management node.
  • Step 803 The event listener acquires the registered listener corresponding to the change type.
  • the main service cascading module of the upper management node registers the corresponding listener in the event listener according to the application requirement, so that when the corresponding event occurs, the corresponding listener can know the event, that is, different listeners correspond to different monitoring needs, so The listener event needs to be reported to the corresponding listener, so that the listener can perform subsequent processing accordingly.
  • Step 804 The event listener reports a listen event to the corresponding listener to trigger the listener to perform related processing, and then ends the current event listening process.
  • step 804 is step 804a: the event listener sends a new node notification to the corresponding listener, and then ends the current event listening process.
  • step 804 is step 804b: event monitoring The device sends a node information change notification to the corresponding listener, and then ends the current event listening process. If the lower management node is offline, step 804 is step 804 c: the event listener sends a node offline notification to the corresponding listener, and then ends the current event listening process.
  • step 804 is step 804d: the event listener sends a node online notification to the corresponding listener, and then ends the current event listening process.
  • the invention realizes unified centralized management of the RFID network management system through the common cascading module, increases the number of RFID network element devices that the RFID network management system can manage, supports multi-layer network management, and expands the deployment scale of the RFID network management system, and has flexible Architecture, better hierarchy, and strong scalability, suitable for large projects, reducing the complexity of large-scale networking.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种RFID网管的实现方法、系统及相关装置,其中方法包括:下级管理节点通过自身的辅公共级联模块中存储的级联配置文件发现上级管理节点,向上级管理节点的主公共级联模块发起注册;注册成功后,上级管理节点和下级管理节点基于各自的公共级联模块进行心跳检测、状态检测和事件监听。本发明提出的RFID网管系统由多级网管系统级联而成,通过公共级联模块使RFID网管系统实现了统一集中管理,增加了RFID网管系统能够管理的RFID网元设备的数量,支持多层网络管理,扩大了RFID网管系统的部署规模,具有灵活的架构、较好的层次性、较强的扩展性,适用于大型项目,降低了大规模组网的复杂性。

Description

一种 RFID网管的实现方法、 系统及相关装置 技术领域
本发明涉及通信领域的网管技术, 具体涉及一种多级射频识别 (Radio Frequency Identification, RFID ) 网管的实现方法、 系统及相关装置。 背景技术
现有的 RFID网管系统是采用扁平的系统架构,各个网管系统之间没有 层级关系; 此外, 由于单个网管系统存在系统容量上限, 因此现有的 RFID 网管系统 4艮难适应大型项目对同时管理更多 RFID 网元设备的需求。 RFID 网管系统采用的是浏览器 /服务器 (Browser/Server, B/S )体系构架, 在构 架和功能设计方面仍存在以下几个方面的问题:
• 单个 RFID网管系统支持与管理的 RFID网元设备的数量是有限的;
• 对于大型项目, 只能并行地部署多个 RFID网管系统;
• RFID网管系统架构扁平, 缺乏纵向的扩展性;
• 大型系统的中心系统可能更关心数据的统计分析, 而非单个设备的 直接操作, 但目前的 RFID网管系统无法实现这样的需求;
• 无法支持多层网管操作。 发明内容
有鉴于此, 本发明的主要目的在于提供一种 RFID网管的实现方法、 系 统及相关装置, 使 RFID网管能够支持多层网络管理, 具有灵活的架构、 较 好的层次性、 较强的扩展性, 适用于大型项目。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明公开了一种 RFID网管系统, 包括: 下级管理节点和管理所述下 级管理节点的上级管理节点, 所述上级管理节点包括主公共级联模块, 所 述下级管理节点包括辅公共级联模块, 其中 ,
辅公共级联模块, 用于根据存储的级联配置文件发现上级管理节点, 向主公共级联模块发起注册; 注册成功后, 向主公共级联模块发送心跳消 主公共级联模块, 用于接受辅公共级联模块发起的注册, 注册成功后, 进行心跳检测、 状态检测和事件监听。
进一步, 所述辅公共级联模块, 具体用于:
所在下级管理节点启动后, 根据级联配置文件中的本级管理节点身份 标识( Identification, ID )配置本级管理节点的互联网协议 ( Internet Protocol, IP )地址、 端口号, 并根据级联配置文件中的上级管理节点 ID发现直接上 级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程服务, 基于建立的远程服务向所述主公共级联模块发送包含本级管理节点 ID的注 册请求;
注册成功后, 基于建立的远程服务向所述主公共级联模块发送心跳消 进一步, 所述主公共级联模块, 具体用于:
所在上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 建立与直接下级管理节点的辅公共级联模块之间的远程 服务, 基于建立的远程服务接收所述辅公共级联模块发送的注册请求, 根 据注册请求中包含的直接下级管理节点 ID对直接下级管理节点进行注册; 注册成功后, 基于建立的远程服务对直接下级管理节点进行心跳检测, 并基于心跳检测对直接下级管理节点进行状态检测、 基于注册和状态检测 进行事件监听。
进一步, 所述辅公共级联模块包括: 第一本级节点服务器, 用于存储下级管理节点的级联配置文件, 所在 下级管理节点启动后, 根据级联配置文件中的本级管理节点 ID配置本级管 理节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注 册器;
第一远程节点服务访问器, 用于收到第一本级节点服务器的触发后, 根据第一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直 接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程 服务;
第一节点注册器, 用于收到第一本级节点服务器的触发后, 通过第一 远程节点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请 求, 注册成功后触发第一心跳触发器;
第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
进一步, 所述主公共级联模块包括:
第二远程节点服务访问器, 用于建立与直接下级管理节点的辅公共级 联模块之间的远程服务;
第二节点注册器, 用于通过第二远程节点服务访问器接收辅公共级联 模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接 下级管理节点进行注册; 注册成功后, 触发第二心跳触发器、 下级节点状 态检测器和事件监听器;
第二心跳触发器, 用于收到第二节点注册器的触发后, 通过第二远程 节点服务访问器接收辅公共级联模块发送的心跳消息;
下级节点状态检测器, 用于收到第二节点注册器的触发后, 根据第二 心跳触发器收到的心跳消息进行直接下级管理节点的状态检测, 并向事件 监听器发送状态变化通知; 事件监听器, 用于收到第二节点注册器的触发后, 接收下级节点状态 检测器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应 监听者上报监听事件。
进一步, 所述主公共级联模块还包括:
第二本级节点服务器, 用于存储上级管理节点的级联配置文件, 所在 上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并触发第二远程节点服务访问器和第二节点注册器。
进一步, 所述上级管理节点进一步包括主业务级联模块, 所述下级管 理节点进一步包括辅业务级联模块, 其中,
所述主业务级联模块, 用于根据来自主公共级联模块的监听事件触发, 触发辅业务级联模块进行对应业务处理;
所述辅业务级联模块, 用于接受所述主业务级联模块的触发, 进行对 应的业务处理。
本发明还公开了一种 RFID网管实现装置, 包括:
第一本级节点服务器, 用于存储下级管理节点的级联配置文件, 所在 下级管理节点启动后, 根据级联配置文件中的本级管理节点 ID配置本级管 理节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注 册器;
第一远程节点服务访问器, 用于收到第一本级节点服务器的触发后, 根据第一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直 接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程 服务;
第一节点注册器, 用于收到第一本级节点服务器的触发后, 通过第一 远程节点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请 求, 注册成功后触发第一心跳触发器; 第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
本发明进一步公开了一种 RFID网管实现装置, 包括:
第二远程节点服务访问器, 用于建立与直接下级管理节点的辅公共级 联模块之间的远程服务;
第二节点注册器, 用于通过第二远程节点服务访问器接收辅公共级联 模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接 下级管理节点进行注册; 注册成功后, 触发第二心跳触发器、 下级节点状 态检测器和事件监听器;
第二心跳触发器, 用于收到第二节点注册器的触发后, 通过第二远程 节点服务访问器接收辅公共级联模块发送的心跳消息;
下级节点状态检测器, 用于收到第二节点注册器的触发后, 根据第二 心跳触发器收到的心跳消息进行直接下级管理节点的状态检测, 并向事件 监听器发送状态变化通知;
事件监听器, 用于收到第二节点注册器的触发后, 接收下级节点状态 检测器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应 监听者上报监听事件。
进一步, 所述装置还包括:
第二本级节点服务器, 用于存储上级管理节点的级联配置文件, 所在 上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并触第二发远程节点服务访问器和第二节点注册器。
本发明还公开了一种 RFID网管实现方法, 包括:
A、下级管理节点通过自身的辅公共级联模块中存储的级联配置文件发 现上级管理节点, 向上级管理节点的主公共级联模块发起注册;
B、 注册成功后, 上级管理节点和下级管理节点基于各自的公共级联模 块进行心跳检测、 状态检测和事件监听。
进一步, 所述步驟 A包括:
下级管理节点启动后, 该下级管理节点的辅公共级联模块根据存储的 级联配置文件中的本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并根据存储的级联配置文件中的上级管理节点 ID发现直接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程服务, 基于建立的 远程服务向所述主公共级联模块发送包含本级管理节点 ID的注册请求。
进一步, 所述步驟 B包括:
上级管理节点的主公共级联模块建立与直接下级管理节点的辅公共级 联模块之间的远程服务, 基于建立的远程服务接收所述辅公共级联模块发 送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接下级管 理节点进行注册;
注册成功后, 下级管理节点的辅公共级联模块基于建立的远程服务向 直接上级管理节点的主公共级联模块发送心跳消息, 上级管理节点的主公 共级联模块基于建立的远程服务接收直接下级管理节点的辅公共级联模块 发送的心跳消息;
上级管理节点的主公共级联模块还基于心跳检测对直接下级管理节点 进行状态检测, 并基于当前注册和状态检测进行事件监听。
根据以上描述可见,本发明提出的 RFID网管系统由多级网管系统级联 而成, 通过公共级联模块使 RFID 网管系统实现了统一集中管理, 增加了 RFID网管系统能够管理的 RFID网元设备的数量, 支持多层网络管理, 扩 大了 RFID网管系统的部署规模, 具有灵活的架构、 较好的层次性、 较强的 扩展性, 适用于大型项目, 降低了大规模组网的复杂性。
基于本发明提供的方案, 在已经存在下级管理节点的情况下, 能够动 态增加上级管理节点, 并且不需要替换下级管理节点也可以实现对下级管 理节点的管理, 从而显著降低了部署成本。 附图说明
图 1为本发明中多级 RFID网管系统的结构示意图;
图 2为本发明中辅公共级联模块和主公共级联模块的结构示意图; 图 3为本发明中实现多级 RFID网管的流程示意图;
图 4为本发明中远程服务建立的流程示意图;
图 5为本发明中注册的流程示意图;
图 6为本发明中心跳消息发送的流程示意图;
图 7为本发明中下级管理节点状态检测的流程示意图;
图 8为本发明中事件监听及上报的流程示意图。 具体实施方式
本发明的基本思想为: 下级管理节点通过自身的辅公共级联模块中存 储的级联配置文件发现上级管理节点 , 向上级管理节点的主公共级联模块 发起注册; 注册成功后, 上级管理节点和下级管理节点基于各自的公共级 联模块进行心跳检测、 状态检测和事件监听。
所述下级管理节点和上级管理节点是按多级层次关系中管理与被管理 的角度进行划分的。 其中, 所述下级管理节点是指被其他网管系统(例如 上级管理节点)管理的网管系统,可以直接管理或间接管理 RFID网元设备, 其中间接管理 RFID网元设备是指该网管系统与 RFID网元设备之间存在其 他网管系统; 所述上级管理节点是指对其他网管系统(例如下级管理节点) 进行管理的网管系统, 间接管理 RFID网元设备, 其上还可以存在对该管理 节点自身进行管理的其他上级管理节点。
例如, 网管系统 A直接管理 RFID网元设备, 网管系统 B直接管理网 管系统 A, 网管系统 C直接管理网管系统 B, 这样, 网管系统八、 B、 C以 及 RFID网元设备构成了三级 RFID网管系统。 网管系统 B间接管理 RFID 网元设备, 是网管系统 A的上级管理节点, 也是网管系统 A的直接上级管 理节点; 网管系统 A是网管系统 B的下级管理节点, 也是网管系统 B的直 接下级管理节点。 网管系统 C间接管理 RFID网元设备, 是网管系统 A、 B 的上级管理节点, 其中, 网管系统 C是网管系统 B的直接上级管理节点, 并且是网管系统 A的间接上级管理节点; 网管系统人、 B是网管系统 C的 下级管理节点, 其中, 网管系统 B是网管系统 C的直接下级管理节点, 网 管系统 A是网管系统 C的间接下级管理节点。 如果网管系统 C之上还有对 其进行管理的其他网管系统, 则此时网管系统 C还包括辅公共级联模块, 其中, 网管系统 C与对其进行管理的其他网管系统之间的关系可参照以上 描述得到, 在此不再赘述。
根据以上描述可见, 在多级 RFID网管系统中, 直接管理 RFID网元设 备的网管系统为位于最低层的下级管理节点, 不会充当上级管理节点, 而 位于最高层、 没有其他网管系统对其进行管理的网管系统为最高层的上级 管理节点, 在没有新的对其进行管理的上级管理节点出现的情况下, 该网 管系统不会充当下级管理节点。 除直接管理 RFID 网元设备的下级管理节 点、 及位于最高层的上级管理节点外, 按管理与被管理的角度进行划分, 既可充当下级管理节点又可充当上级管理节点的网管系统均位于直接管理 RFID网元设备的下级管理节点和位于最高层的上级管理节点之间, 因此, 这些网管系统也可称为中间管理节点。
图 1为本发明中多级 RFID网管系统的结构示意图, 实际应用中, 图 1 中所示的上级管理节点之上还可存在对该上级管理节点进行管理的其他上 级管理节点, 这里仅以两级 RFID网管系统为例来进行描述。 其中, 与上级 管理节点相连的下级管理节点有多个, 可称为下级管理节点 1〜! 1 , 其中 n 表示下级管理节点总数, 且为自然数。 与每一个下级管理节点相连的 RFID 网元设备有多个, 例如, 与下级管理节点 1相连的 RFID 网元设备可称为 RFID网元设备 l~m,其中 m表示下级管理节点 1管理的 RFID网元设备总 数, 且为自然数; 与下级管理节点 n相连的 RFID网元设备可称为 RFID网 元设备 l~k, 其中 k表示下级管理节点 n管理的 RFID网元设备总数, 且为 自然数。
如图 1所示, 管理下级管理节点的上级管理节点包括主公共级联模块, 下级管理节点包括辅公共级联模块。 其中, 辅公共级联模块, 用于根据存 储的级联配置文件发现上级管理节点, 向主公共级联模块发起注册; 注册 成功后, 向主公共级联模块发送心跳消息; 主公共级联模块, 用于接受辅 公共级联模块发起的注册, 注册成功后, 进行心跳检测、 状态检测和事件 监听。
辅公共级联模块中存储的级联配置文件包含: 本级管理节点 ID和上级 管理节点 ID。其中,本级管理节点 ID为辅公共级联模块所在下级管理节点 的 ID;上级管理节点 ID为辅公共级联模块所在下级管理节点的直接上级管 理节点的 ID。
辅公共级联模块, 具体用于: 所在下级管理节点启动后, 根据级联配 置文件中的本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并根 据级联配置文件中的上级管理节点 ID发现直接上级管理节点, 建立与直接 上级管理节点的主公共级联模块之间的远程服务, 基于建立的远程服务向 所述主公共级联模块发送包含本级管理节点 ID的注册请求; 注册成功后, 基于建立的远程服务向所述主公共级联模块发送心跳消息。
主公共级联模块中也存储有级联配置文件, 包含: 本级管理节点 ID、 下级管理节点 ID和上级管理节点 ID。 其中, 本级管理节点 ID为主公共级 联模块所在上级管理节点的 ID; 下级管理节点 ID包括各下级管理节点 ID, 即: 可以为直接下级管理节点 ID、或直接下级管理节点 ID和间接下级管理 节点 ID, 下级管理节点 ID至少包括直接管理 RFID网元设备的下级管理节 点的 ID;上级管理节点 ID为主公共级联模块所在上级管理节点的直接上级 管理节点的 ID。
主公共级联模块, 具体用于: 所在上级管理节点启动后, 根据本级管 理节点 ID配置本级管理节点的 IP地址、 端口号, 建立与直接下级管理节 点的辅公共级联模块之间的远程服务, 基于建立的远程服务接收所述辅公 共级联模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID 对直接下级管理节点进行注册; 注册成功后, 基于建立的远程服务对直接 下级管理节点进行心跳检测, 并基于心跳检测对直接下级管理节点进行状 态检测、 基于注册和状态检测进行事件监听。
上级管理节点还可进一步包括主业务级联模块, 下级管理节点还可进 一步包括辅业务级联模块。 其中,
主业务级联模块, 用于根据来自主公共级联模块的监听事件触发, 触 发辅业务级联模块进行对应业务处理;
辅业务级联模块, 用于接受主业务级联模块的触发, 进行对应的业务 处理, 例如数据同步、 产生告警等。
图 1中所示的下级管理节点 l~n通过网口与其管理的 RFID网元设备进 行管理信息的交互, 其实现过程属于现有技术, 在此不再赘述。
辅公共级联模块包括: 第一本级节点服务器、 第一远程节点服务访问 器、 第一节点注册器和第一心跳触发器, 如图 2所示。 其中,
第一本级节点服务器, 用于存储下级管理节点的级联配置文件, 所在 下级管理节点启动后, 根据级联配置文件中的本级管理节点 ID配置本级管 理节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注 册器; 下级管理节点的级联配置文件包含: 本级管理节点 ID和上级管理节 点 ID, 其中, 本级管理节点 ID为本级节点服务器所在下级管理节点的 ID, 上级管理节点 ID为本级节点服务器所在下级管理节点的直接上级管理节点 的 ID;
第一远程节点服务访问器, 用于收到第一本级节点服务器的触发后, 根据第一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直 接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程 服务, 以使辅公共级联模块与主公共级联模块之间通过建立的远程服务进 行交互;
第一节点注册器, 用于收到第一本级节点服务器的触发后, 通过第一 远程节点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请 求, 注册成功后触发第一心跳触发器;
第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
主公共级联模块包括: 第二远程节点服务访问器、 第二节点注册器、 第二心跳触发器、 下级节点状态检测器和事件监听器, 如图 2所示。 其中, 第二远程节点服务访问器, 用于建立与直接下级管理节点的辅公共级 联模块之间的远程服务, 以使主公共级联模块与辅公共级联模块之间通过 建立的远程服务进行交互;
第二节点注册器, 用于通过第二远程节点服务访问器接收辅公共级联 模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接 下级管理节点进行注册; 注册成功后, 触发第二心跳触发器、 下级节点状 态检测器和事件监听器;
第二心跳触发器, 用于收到第二节点注册器的触发后, 通过第二远程 节点服务访问器接收辅公共级联模块发送的心跳消息;
下级节点状态检测器, 用于收到第二节点注册器的触发后, 根据第二 心跳触发器收到的心跳消息进行直接下级管理节点的状态检测, 并向事件 监听器发送状态变化通知;
事件监听器, 用于收到第二节点注册器的触发后, 接收下级节点状态 检测器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应 监听者上报监听事件。
上级管理节点的主业务级联模块根据应用需求向事件监听器注册相应 监听者, 这样, 事件监听器监听到监听事件后, 便向对应的监听者上报监 听事件, 使主业务级联模块向事件监听器注册的监听者能够根据主公共级 联模块中的事件监听器上报的监听事件, 触发辅业务级联模块进行对应业 务处理, 如数据同步、 产生告警等。
所述主公共级联模块还包括: 第二本级节点服务器, 用于存储上级管 理节点的级联配置文件, 所在上级管理节点启动后, 根据本级管理节点 ID 配置本级管理节点的 IP地址、 端口号, 并触发远第二程节点服务访问器和 第二节点注册器。
根据图 2所示可见, 上级管理节点的主公共级联模块与下级管理节点 的辅公共级联模块具体是基于各自的远程节点服务访问器建立的远程服务 来进行注册请求、 心跳消息的交互。
所述级联配置文件(包括下级管理节点的级联配置文件和上级管理节 点的级联配置文件)可以依据 RFID网管系统所需的级联关系初始配置在各 网管系统中; 并且, 各网管系统可以根据不断更新的级联关系对自身存储 的级联配置文件进行更新。 例如, 当上级管理节点管理的下级管理节点的 数量增加时, 该上级管理节点的主公共级联模块会在级联配置文件中增加 相应的下级管理节点 ID, 具体可以由主公共级联模块中的第二本级节点服 务器来完成。
由于主公共级联模块中存储的级联配置文件、 即第二本级节点服务器 存储的上级管理节点的级联配置文件包含: 本级管理节点 ID、 下级管理节 点 ID和上级管理节点 ID。 因此,第二本级节点服务器在所在上级管理节点 启动后, 基于配置文件还能够获取直接下级管理节点、 或直接下级管理节 点及直接下级管理节点管理的下级管理节点。 也就是说, 上级管理节点启 动后, 该上级管理节点中的第二本级节点服务器能够获取位于该上级管理 节点之下、 被管理的各级下级管理节点。
图 3为本发明中实现多级 RFID网管的流程示意图, 如图 3所示, 具体 包括以下步驟:
步驟 301 :下级管理节点通过自身的辅公共级联模块中存储的级联配置 文件发现上级管理节点, 向上级管理节点的主公共级联模块发起注册。
下级管理节点启动后, 该下级管理节点的辅公共级联模块根据存储的 级联配置文件中的本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并根据存储的级联配置文件中的上级管理节点 ID发现直接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程服务, 基于建立的 远程服务向所述主公共级联模块发送包含本级管理节点 ID的注册请求。
具体地, 辅公共级联模块包括: 第一本级节点服务器、 第一远程节点 服务访问器、 第一节点注册器和第一心跳触发器。
下级管理节点启动后, 该下级管理节点的辅公共级联模块中的第一本 级节点服务器根据存储的级联配置文件中的本级管理节点 ID配置本级管理 节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注册 器。
第一远程节点服务访问器收到第一本级节点服务器的触发后, 根据第 一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直接上级 管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程服务, 以使辅公共级联模块与主公共级联模块之间通过建立的远程服务进行交 互。 第一节点注册器收到第一本级节点服务器的触发后, 通过第一远程节 点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请求, 注 册成功后触发第一心跳触发器。
第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
下级管理节点的辅公共级联模块(具体是辅公共级联模块中的本级节 点服务器存储的级联配置文件)包含:本级管理节点 ID和上级管理节点 ID, 其中,本级管理节点 ID为第一本级节点服务器所在下级管理节点的 ID,上 级管理节点 ID为第一本级节点服务器所在下级管理节点的直接上级管理节 点的 ID。
远程服务建立的具体实现将在下面的图 4 中详细描述, 注册的具体实 现将在下面的图 5中详细描述。
步驟 302: 注册成功后, 上级管理节点和下级管理节点基于各自的公共 级联模块进行心跳检测、 状态检测和事件监听。
上级管理节点的主公共级联模块建立与直接下级管理节点的辅公共级 联模块之间的远程服务, 基于建立的远程服务接收所述辅公共级联模块发 送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接下级管 理节点进行注册; 注册成功后, 下级管理节点的辅公共级联模块基于建立 的远程服务向直接上级管理节点的主公共级联模块发送心跳消息, 上级管 理节点的主公共级联模块基于建立的远程服务接收直接下级管理节点的辅 公共级联模块发送的心跳消息。 上级管理节点的主公共级联模块还基于心 跳检测对直接下级管理节点进行状态检测, 并基于当前注册和状态检测进 行事件监听。
具体地, 主公共级联模块包括: 远程节点服务访问器、 节点注册器、 心跳触发器、 下级节点状态检测器和事件监听器。 上级管理节点的主公共级联模块中的远程节点服务访问器建立与直接 下级管理节点的辅公共级联模块之间的远程服务, 以使主公共级联模块与 辅公共级联模块之间通过建立的远程服务进行交互。
节点注册器通过远程节点服务访问器接收辅公共级联模块发送的注册 请求, 根据注册请求中包含的直接下级管理节点 ID对直接下级管理节点进 行注册。
注册成功后, 下级管理节点的辅公共级联模块中, 节点注册器触发心 跳触发器, 心跳触发器收到节点注册器的触发后, 通过远程节点服务访问 器向主公共级联模块发送心跳消息。
注册成功后, 上级管理节点的主公共级联模块中, 节点注册器触发心 跳触发器、 下级节点状态检测器和事件监听器; 心跳触发器收到节点注册 器的触发后, 通过远程节点服务访问器接收辅公共级联模块发送的心跳消 息; 下级节点状态检测器收到节点注册器的触发后, 根据心跳触发器收到 的心跳消息进行直接下级管理节点的状态检测, 并向事件监听器发送状态 变化通知; 事件监听器收到节点注册器的触发后, 接收下级节点状态检测 器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应监听 者上报监听事件。
心跳消息发送的具体实现将在下面的图 6 中详细描述, 下级管理节点 状态检测的具体实现将在下面的图 7 中详细描述, 事件监听及上报的具体 实现将在下面的图 8中详细描述。
图 4为本发明中远程服务建立的流程示意图, 如图 4所示, 具体包括 以下步驟:
步驟 401 :下级管理节点的远程节点服务访问器收到本地的本级节点服 务器发送的获取远程节点服务命令, 该获取远程节点服务命令中携带有上 级管理节点 ID。 步驟 402: 远程节点服务访问器将上级管理节点 ID与所在下级管理节 点的 ID进行比较,判断需要获取的直接上级管理节点是否为本级管理节点, 如果是本级管理节点, 则执行步驟 403; 如果不是本级管理节点, 则执行步 驟 404。
步驟 403: 远程节点服务访问器返回本地服务, 之后执行步驟 407。 步驟 404: 远程节点服务访问器根据上级管理节点 ID发现直接上级管 理节点, 创建远程服务统一资源定位符 ( Uniform/Universal Resource
Locator, URL )。
步驟 405: 远程节点服务访问器获取 URL对应的远程服务。
步驟 406: 远程节点服务访问器返回远程服务, 以使辅公共级联模块与 主公共级联模块之间通过建立的远程服务进行交互。
步驟 407: 远程节点服务访问结束。
上级管理节点的远程节点服务访问器获取 URL对应的远程服务, 并返 回远程服务, 以使主公共级联模块与辅公共级联模块之间通过建立的远程 服务进行交互。
图 4所示建立远程服务的流程与现有 Java远程调用的具体实现基本相 同, 在此不再赘述。
图 5为本发明中注册的流程示意图, 如图 5所示, 具体包括以下步驟: 步驟 501 : 上级管理节点的主公共级联模块中的节点注册器, 通过建立 的远程服务接收直接下级管理节点发送的注册请求, 该注册请求中携带有 直接下级管理节点 ID、上级管理节点 ID以及直接下级管理节点管理的各下 级管理节点的 ID, 进入注册流程。
步驟 502: 节点注册器判断直接下级管理节点 ID与节点注册器所在的 上级管理节点(即本级管理节点)的 ID是否相同, 如果不同, 则执行步驟 503; 如果相同, 则注册失败, 结束当前流程。 如果节点注册器所在的上级管理节点之上还存在对节点注册器进行管 理的上级管理节点, 则在确定直接下级管理节点 ID与所在上级管理节点的 ID不同之后、 执行步驟 503之前, 节点注册器进一步判断直接下级管理节 点 ID与所在上级管理节点的直接上级管理节点 ID是否相同, 如果不同, 则执行步驟 503; 如果相同, 则注册失败, 结束当前流程。 直接下级管理节 点 ID与所在上级管理节点的直接上级管理节点 ID是否相同的判断, 可依 据所在上级管理节点被其他上级管理节点管理、 即作为下级管理节点时, 本级节点服务器存储的下级管理节点的级联配置文件来进行。
步驟 503: 节点注册器判断非直接下级管理节点 ID与所在上级管理节 点的 ID或直接上级管理节点 ID是否相同, 如果不同, 则执行步驟 504; 如 果相同, 则注册失败, 结束当前流程。 所述非直接下级管理节点为当前发 起注册的直接下级管理节点所管理的下级管理节点。
步驟 504: 节点注册器判断直接下级管理节点上报的上级管理节点 ID 与所在上级管理节点的 ID是否相同, 如果相同, 则执行步驟 505; 如果不 同, 则注册失败, 结束当前流程。
由于上级管理节点的本级节点服务器中存储的级联配置文件包含: 本 级管理节点 ID、 下级管理节点 ID和上级管理节点 ID, 因此, 基于所述级 联配置文件便能够完成上述判断。
步驟 505: 节点注册器判断直接下级管理节点是否发生信息在线变化, 如果未发生信息在线变化, 则执行步驟 506; 如果发生信息在线变化, 则注 册失败, 结束当前流程。
节点注册器可以基于心跳触发器的心跳检测来确定直接下级管理节点 是否一直在线, 从而进一步依据存储的级联配置文件和收到的注册请求中 携带的信息确定直接下级管理节点是否发生信息在线变化。
步驟 506:节点注册器基于存储的级联配置文件和收到的注册请求中携 带的信息, 将之前存储的直接下级管理节点的相关信息与注册请求中携带 的直接下级管理节点的相关信息进行比较。
步驟 507: 节点注册器判断比较结果是否一致, 即判断直接下级管理节 点是否发生变化, 如果发生变化, 如新增直接下级管理节点、 已注册直接 下级管理节点离线时发生变化(增加或减少管理的下级管理节点), 则执行 步驟 508; 如果未发生变化, 则执行步驟 510。
步驟 508:节点注册器触发本地的本级节点服务器更新存储的级联配置 文件, 在其中存储下级管理节点的相关信息。
如果节点注册器所在的上级管理节点之上还存在对节点注册器进行管 理的上级管理节点, 则进一步执行步驟 509和步驟 510。
步驟 509:节点注册器暂停向直接上级管理节点发送心跳消息的心跳触 发器。
步驟 510: 节点注册器向直接上级管理节点发起注册, 并在向直接上级 管理节点成功注册后, 触发向直接上级管理节点发送心跳消息的心跳触发 器, 使该心跳触发器恢复向直接上级管理节点发送心跳消息。
步驟 511 : 直接下级管理节点注册成功, 节点注册器触发心跳触发器, 心跳触发器对该直接下级管理节点进行心跳检测, 接收直接下级管理节点 中的心跳触发器发送的心跳消息。
另外, 节点注册器还触发下级节点状态检测器和事件监听器。
图 6为本发明中心跳消息发送的流程示意图, 如图 6所示, 具体包括 以下步驟:
步驟 601 : 心跳触发器收到节点注册器发送的启动心跳命令, 在心跳触 发器所在下级管理节点需要访问直接上级管理节点, 如与直接上级管理节 点进行管理信息的交互时, 执行步驟 602〜步驟 609。
步驟 602: 心跳触发器判断是否存在本级管理节点的直接上级管理节 点, 如果存在, 则执行步驟 603; 如果不存在, 则结束当前流程。
步驟 603: 心跳触发器判断是否需要暂停心跳, 如节点注册器是否通知 暂停向直接上级管理节点发送心跳消息, 如果不需要暂停心跳, 则执行步 驟 604; 如果需要暂停心跳, 则执行步驟 608。
步驟 604: 心跳触发器间隔设定的时间长度、 即心跳间隔。
步驟 605: 心跳触发器获取直接上级管理节点 ID, 可以基于本地的本 级节点服务器存储的下级管理节点的级联配置文件来实现该步驟。
步驟 606: 心跳触发器根据获取的直接上级管理节点 ID, 获取本地的 远程节点服务访问器建立的远程服务。
步驟 607:心跳触发器基于获取的远程服务向直接上级管理节点发送心 跳消息, 然后返回执行步驟 602。
步驟 608: 心跳触发器暂停向直接上级管理节点心跳消息, 等待心跳唤 醒。
步驟 609:心跳触发器收到节点注册器发送的心跳唤醒命令,唤醒心跳, 然后执行步驟 605。
图 7为本发明中下级管理节点状态检测的流程示意图, 如图 7所示, 具体包括以下步驟:
步驟 701 : 下级节点状态检测器根据节点注册器的触发, 启动下级节点 状态检测。 以下所述的下级节点状态检测可设定为周期性地执行, 即每隔 设定检测周期执行一次步驟 702〜步驟 706。
步驟 702:下级节点状态检测器判断直接下级管理节点的访问时间是否 超时, 如果超时, 则执行步驟 703; 如果未超时, 则执行步驟 705。
下级节点状态检测器中设置有访问时间阈值, 以避免一个直接下级管 理节点过多地占用上级管理节点的资源, 给予每个直接下级管理节点公平 访问的机会。 下级节点状态检测器记录每一次访问中本地的心跳触发器收 到的直接下级管理节点发送的第一条心跳消息的时刻, 将当前时刻减去记 录的时刻便得到相应直接下级管理节点的访问时间, 将访问时间与设置的 访问时间阈值进行比较, 便能够确定当前访问是否超时。
直接下级管理节点离线后, 下级节点状态检测器将记录的时刻修改为 空, 表示相应直接下级管理节点当前未访问该下级节点状态检测器所在的 上级管理节点, 认为访问未超时。
步驟 703:下级节点状态检测器判断直接下级管理节点的当前状态是否 为在线, 如果为在线, 则执行步驟 704; 如果为不在线, 则结束当前状态检 测流程。
下级节点状态检测器可以基于本地的心跳触发器是否收到直接下级管 理节点发送的心跳消息来确定直接下级管理节点的当前状态, 如果在每个 心跳间隔已连续多次未收到相应心跳消息, 且该次数已达到离线阈值, 则 认为相应直接下级管理节点不在线、 即已离线, 直至再次收到来自相应直 接下级管理节点的心跳消息, 才会认为相应直接下级管理节点上线; 如果 一直收到来自相应直接下级管理节点的心跳消息, 则认为相应直接下级管 理节点仍在线。
步驟 704: 下级节点状态检测器触发直接下级管理节点离线, 并向事件 监听器发送状态变化通知, 通知事件监听器相应直接下级管理节点已离线, 然后结束当前状态检测流程。
下级节点状态检测器通过本地的远程节点服务访问器向直接下级管理 节点的远程节点服务访问器发送离线通知, 直接下级管理节点的本级节点 服务器通过本地的远程节点服务访问器收到离线通知后, 停止本地的远程 节点服务访问器和心跳触发器的工作。
步驟 705:下级节点状态检测器判断直接下级管理节点的当前状态是否 为离线, 如果为离线, 则执行步驟 706; 如果不为离线, 则结束当前状态检 测流程。
步驟 706: 下级节点状态检测器触发直接下级管理节点上线, 通知事件 监听器相应直接下级管理节点已上线, 然后结束当前状态检测流程。
下级节点状态检测器通过本地的远程节点服务访问器向直接下级管理 节点的远程节点服务访问器发送上线通知, 直接下级管理节点的本级节点 服务器通过本地的远程节点服务访问器收到上线通知后, 触发本地的远程 节点服务访问器和心跳触发器, 直接下级管理节点的远程节点服务访问器 建立与上级管理节点的远程节点服务访问器之间的远程服务。
图 8为本发明中事件监听及上报的流程示意图, 如图 8所示, 具体包 括以下步驟:
步驟 801 : 由于下级管理节点的成功注册、 下级节点状态检测器对直接 下级管理节点进行的状态检测等操作, 下级管理节点发生变化, 事件监听 器发现下级管理节点发生变化, 产生监听事件, 如收到本级节点服务器发 送的注册信息、 或收到下级节点状态检测器发送的状态变化通知。
步驟 802: 事件监听器确定下级管理节点的变化类型。
步驟 803 : 事件监听器获取注册的对应于变化类型的监听者。
上级管理节点的主业务级联模块将根据应用需求在事件监听器中注册 相应监听者, 以使相应事件发生时, 对应监听者能够获知该事件, 即不同 监听者对应着不同的监听需求, 因此, 监听事件需要上报给对应的监听者, 从而使监听者能够相应地进行后续处理。
步驟 804: 事件监听器向相应监听者上报监听事件, 以触发监听者进行 相关处理, 然后结束当前事件监听流程。
如果是增加下级管理节点, 步驟 804为步驟 804a: 事件监听器向对应 监听者发送新增节点通知, 然后结束当前事件监听流程。
如果是下级管理节点信息发生变化, 步驟 804为步驟 804b: 事件监听 器向对应监听者发送节点信息变化通知, 然后结束当前事件监听流程。 如果是下级管理节点离线, 步驟 804为步驟 804 c: 事件监听器向对应 监听者发送节点离线通知, 然后结束当前事件监听流程。
如果是下级管理节点上线, 步驟 804为步驟 804d: 事件监听器向对应 监听者发送节点上线通知, 然后结束当前事件监听流程。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
工业实用性
本发明通过公共级联模块使 RFID网管系统实现了统一集中管理,增加 了 RFID网管系统能够管理的 RFID网元设备的数量, 支持多层网络管理, 扩大了 RFID网管系统的部署规模, 具有灵活的架构、较好的层次性、 较强 的扩展性, 适用于大型项目, 降低了大规模组网的复杂性。

Claims

权利要求书
1、 一种 RFID网管系统, 包括: 下级管理节点和管理所述下级管理节 点的上级管理节点, 所述上级管理节点包括主公共级联模块, 所述下级管 理节点包括辅公共级联模块, 其中,
辅公共级联模块, 用于根据存储的级联配置文件发现上级管理节点, 向主公共级联模块发起注册; 注册成功后, 向主公共级联模块发送心跳消 主公共级联模块, 用于接受辅公共级联模块发起的注册, 注册成功后, 进行心跳检测、 状态检测和事件监听。
2、 根据权利要求 1所述的系统, 其中, 所述辅公共级联模块, 具体用 于:
所在下级管理节点启动后, 根据级联配置文件中的本级管理节点身份 标识 ID配置本级管理节点的互联网协议 IP地址、 端口号, 并根据级联配 置文件中的上级管理节点 ID发现直接上级管理节点, 建立与直接上级管理 节点的主公共级联模块之间的远程服务, 基于建立的远程服务向所述主公 共级联模块发送包含本级管理节点 ID的注册请求;
注册成功后, 基于建立的远程服务向所述主公共级联模块发送心跳消
3、 根据权利要求 1所述的系统, 其中, 所述主公共级联模块, 具体用 于:
所在上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 建立与直接下级管理节点的辅公共级联模块之间的远程 服务, 基于建立的远程服务接收所述辅公共级联模块发送的注册请求, 根 据注册请求中包含的直接下级管理节点 ID对直接下级管理节点进行注册; 注册成功后, 基于建立的远程服务对直接下级管理节点进行心跳检测, 并基于心跳检测对直接下级管理节点进行状态检测、 基于注册和状态检测 进行事件监听。
4、 根据权利要求 1至 3任一项所述的系统, 其中, 所述辅公共级联模 块包括:
第一本级节点服务器, 用于存储下级管理节点的级联配置文件, 所在 下级管理节点启动后, 根据级联配置文件中的本级管理节点 ID配置本级管 理节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注 册器;
第一远程节点服务访问器, 用于收到第一本级节点服务器的触发后, 根据第一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直 接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程 服务;
第一节点注册器, 用于收到第一本级节点服务器的触发后, 通过第一 远程节点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请 求, 注册成功后触发第一心跳触发器;
第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
5、 根据权利要求 1至 3任一项所述的系统, 其中, 所述主公共级联模 块包括:
第二远程节点服务访问器, 用于建立与直接下级管理节点的辅公共级 联模块之间的远程服务;
第二节点注册器, 用于通过第二远程节点服务访问器接收辅公共级联 模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接 下级管理节点进行注册; 注册成功后, 触发第二心跳触发器、 下级节点状 态检测器和事件监听器;
第二心跳触发器, 用于收到第二节点注册器的触发后, 通过第二远程 节点服务访问器接收辅公共级联模块发送的心跳消息;
下级节点状态检测器, 用于收到第二节点注册器的触发后, 根据第二 心跳触发器收到的心跳消息进行直接下级管理节点的状态检测, 并向事件 监听器发送状态变化通知;
事件监听器, 用于收到第二节点注册器的触发后, 接收下级节点状态 检测器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应 监听者上报监听事件。
6、 根据权利要求 4所述的系统, 其中, 所述主公共级联模块还包括: 第二本级节点服务器, 用于存储上级管理节点的级联配置文件, 所在 上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并触发第二远程节点服务访问器和第二节点注册器。
7、 根据权利要求 1至 3任一项所述的系统, 其中, 所述上级管理节点 进一步包括主业务级联模块, 所述下级管理节点进一步包括辅业务级联模 块, 其中,
所述主业务级联模块, 用于根据来自主公共级联模块的监听事件触发, 触发辅业务级联模块进行对应业务处理;
所述辅业务级联模块, 用于接受所述主业务级联模块的触发, 进行对 应的业务处理。
8、 一种 RFID网管实现装置, 包括:
第一本级节点服务器, 用于存储下级管理节点的级联配置文件, 所在 下级管理节点启动后, 根据级联配置文件中的本级管理节点 ID配置本级管 理节点的 IP地址、 端口号, 并触发第一远程节点服务访问器和第一节点注 册器; 第一远程节点服务访问器, 用于收到第一本级节点服务器的触发后, 根据第一本级节点服务器存储的级联配置文件中的上级管理节点 ID发现直 接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程 服务;
第一节点注册器, 用于收到第一本级节点服务器的触发后, 通过第一 远程节点服务访问器向主公共级联模块发送包含本级管理节点 ID的注册请 求, 注册成功后触发第一心跳触发器;
第一心跳触发器, 用于收到第一节点注册器的触发后, 通过第一远程 节点服务访问器向主公共级联模块发送心跳消息。
9、 一种 RFID网管实现装置, 包括:
第二远程节点服务访问器, 用于建立与直接下级管理节点的辅公共级 联模块之间的远程服务;
第二节点注册器, 用于通过第二远程节点服务访问器接收辅公共级联 模块发送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接 下级管理节点进行注册; 注册成功后, 触发第二心跳触发器、 下级节点状 态检测器和事件监听器;
第二心跳触发器, 用于收到第二节点注册器的触发后, 通过第二远程 节点服务访问器接收辅公共级联模块发送的心跳消息;
下级节点状态检测器, 用于收到第二节点注册器的触发后, 根据第二 心跳触发器收到的心跳消息进行直接下级管理节点的状态检测, 并向事件 监听器发送状态变化通知;
事件监听器, 用于收到第二节点注册器的触发后, 接收下级节点状态 检测器发送的状态变化通知, 并根据当前注册和所述状态变化通知向对应 监听者上报监听事件。
10、 根据权利要求 9所述的装置, 其中, 所述装置还包括: 第二本级节点服务器, 用于存储上级管理节点的级联配置文件, 所在 上级管理节点启动后, 根据本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并触发第二远程节点服务访问器和第二节点注册器。
11、 一种 RFID网管实现方法, 包括:
A、下级管理节点通过自身的辅公共级联模块中存储的级联配置文件发 现上级管理节点, 向上级管理节点的主公共级联模块发起注册;
B、 注册成功后, 上级管理节点和下级管理节点基于各自的公共级联模 块进行心跳检测、 状态检测和事件监听。
12、 根据权利要求 11所述的方法, 其中, 所述步驟 A包括:
下级管理节点启动后, 该下级管理节点的辅公共级联模块根据存储的 级联配置文件中的本级管理节点 ID配置本级管理节点的 IP地址、 端口号, 并根据存储的级联配置文件中的上级管理节点 ID发现直接上级管理节点, 建立与直接上级管理节点的主公共级联模块之间的远程服务, 基于建立的 远程服务向所述主公共级联模块发送包含本级管理节点 ID的注册请求。
13、 根据权利要求 11或 12所述的方法, 其中, 所述步驟 B包括: 上级管理节点的主公共级联模块建立与直接下级管理节点的辅公共级 联模块之间的远程服务, 基于建立的远程服务接收所述辅公共级联模块发 送的注册请求, 根据注册请求中包含的直接下级管理节点 ID对直接下级管 理节点进行注册;
注册成功后, 下级管理节点的辅公共级联模块基于建立的远程服务向 直接上级管理节点的主公共级联模块发送心跳消息, 上级管理节点的主公 共级联模块基于建立的远程服务接收直接下级管理节点的辅公共级联模块 发送的心跳消息;
上级管理节点的主公共级联模块还基于心跳检测对直接下级管理节点 进行状态检测, 并基于当前注册和状态检测进行事件监听。
PCT/CN2012/072190 2011-08-25 2012-03-12 一种rfid网管的实现方法、系统及相关装置 WO2012155615A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110245442.9 2011-08-25
CN201110245442.9A CN102394764B (zh) 2011-08-25 2011-08-25 一种rfid网管的实现方法、系统及相关装置

Publications (1)

Publication Number Publication Date
WO2012155615A1 true WO2012155615A1 (zh) 2012-11-22

Family

ID=45861973

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072190 WO2012155615A1 (zh) 2011-08-25 2012-03-12 一种rfid网管的实现方法、系统及相关装置

Country Status (2)

Country Link
CN (1) CN102394764B (zh)
WO (1) WO2012155615A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104442927B (zh) * 2013-10-24 2017-04-26 上海宝信软件股份有限公司 基于rfid的轨道交通列车定位方法
CN104579760A (zh) * 2014-12-22 2015-04-29 大唐移动通信设备有限公司 一种网络设备的负荷处理方法和系统
CN106453441B (zh) * 2016-12-28 2019-09-06 郑州云海信息技术有限公司 一种通信预处理方法及管理系统
CN109218126B (zh) * 2017-06-30 2023-10-17 中兴通讯股份有限公司 监测节点存活状态的方法、装置及系统
CN107995290A (zh) * 2017-12-01 2018-05-04 郑州云海信息技术有限公司 一种用于分级管理的注册方法及注册系统
CN108183842A (zh) * 2018-01-15 2018-06-19 郑州云海信息技术有限公司 一种服务器分级管理中上下级管理平台连接系统及方法
CN109640033B (zh) * 2018-11-05 2021-03-23 视联动力信息技术股份有限公司 信息同步方法和装置
CN109660753B (zh) * 2018-11-05 2021-01-22 视联动力信息技术股份有限公司 资源同步方法和装置
CN115086398A (zh) * 2022-06-14 2022-09-20 卫宁健康科技集团股份有限公司 分布式系统的通信方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005067207A1 (de) * 2004-01-09 2005-07-21 Siemens Aktiengesellschaft Verfahren und agent zur überwachung von verbindungen in einem managementsystem eines kommunikationsnetzes mittels eines heartbeat-service
US20060091999A1 (en) * 2004-07-13 2006-05-04 Cisco Technology, Inc., A Corporation Of California Using syslog and SNMP for scalable monitoring of networked devices
CN1832432A (zh) * 2006-04-30 2006-09-13 北京航空航天大学 基于snmp协议的rfid读写器网络管理方案
US20100064183A1 (en) * 2008-09-05 2010-03-11 Computer Associates Think, Inc. System and method for remote network management over unreliable and/or low-bandwidth communications links
CN101843127A (zh) * 2007-10-31 2010-09-22 思科技术公司 使用网络服务片段的移动性服务集群化

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005067207A1 (de) * 2004-01-09 2005-07-21 Siemens Aktiengesellschaft Verfahren und agent zur überwachung von verbindungen in einem managementsystem eines kommunikationsnetzes mittels eines heartbeat-service
US20060091999A1 (en) * 2004-07-13 2006-05-04 Cisco Technology, Inc., A Corporation Of California Using syslog and SNMP for scalable monitoring of networked devices
CN1832432A (zh) * 2006-04-30 2006-09-13 北京航空航天大学 基于snmp协议的rfid读写器网络管理方案
CN101843127A (zh) * 2007-10-31 2010-09-22 思科技术公司 使用网络服务片段的移动性服务集群化
US20100064183A1 (en) * 2008-09-05 2010-03-11 Computer Associates Think, Inc. System and method for remote network management over unreliable and/or low-bandwidth communications links

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FAOUZI, K.: "RFID System Management: State-of-the Art and Open Research Issues", IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, vol. 6, no. ISS.3, 30 September 2009 (2009-09-30), pages 190 - 205 *
FLOERKEMEIER, C. ET AL.: "An Overview of RFID System Interfaces and Reader Protocols", 2008 IEEE INTERNATIONAL CONFERENCE ON RFID, 17 April 2008 (2008-04-17), pages 232 - 240 *

Also Published As

Publication number Publication date
CN102394764A (zh) 2012-03-28
CN102394764B (zh) 2017-03-29

Similar Documents

Publication Publication Date Title
WO2012155615A1 (zh) 一种rfid网管的实现方法、系统及相关装置
US10484265B2 (en) Dynamic update of virtual network topology
JP4018638B2 (ja) Ipネットワーク内でトポロジー認識情報を提供する方法
US10057130B2 (en) D2HCP protocol in ad hoc networks: merging of sub-networks and address conflict resolution
CN102664750B (zh) 多机热备份的方法、系统及设备
US7539150B2 (en) Node discovery and communications in a network
US20140280865A1 (en) Network-proximity-based eventing
CN107682857B (zh) Zigbee网络的数据共享方法、网关设备与Zigbee网络系统
WO2010078748A1 (zh) 同步网管与网元的配置的方法和装置
CN111263338B (zh) 蓝牙Mesh网络的配网方法与相关配网设备及系统
WO2018041101A1 (zh) 数据查询、数据查询处理方法及装置
WO2018010616A1 (zh) 基于链路层的网络管理
WO2013117112A1 (zh) 传感器网络解析互通平台、传感器网络互通方法及系统
JP5695053B2 (ja) wPANにおけるルータへのモバイル・ノード割り当て
CN106453539A (zh) 一种处理节点注册通知的方法和系统
CN110213089B (zh) 一种大规模远端零配置设备接入网管的方法及系统
WO2015003420A1 (zh) 一种云计算环境的资源部署方法
US20200213878A1 (en) Method and apparatus for controlling network sensors
CN111225080B (zh) 一种网关下挂设备信息的获取方法
CN109189403A (zh) 操作系统os批量安装方法、装置和网络设备
CN115334066B (zh) 一种分布式集群系统及其处理同步请求响应的方法
CN101729530B (zh) 一种数据同步方法及系统
CN111385324A (zh) 一种数据通信方法、装置、设备和存储介质
CN104967539B (zh) 一种无线mesh网络管理信息数据的获取方法
JP5954793B2 (ja) 通信接続装置、通信制御装置およびそのプログラム並びに通信制御方法

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: 12786474

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: 12786474

Country of ref document: EP

Kind code of ref document: A1