WO2009117921A1 - Distributed network management system, network management server and method - Google Patents

Distributed network management system, network management server and method Download PDF

Info

Publication number
WO2009117921A1
WO2009117921A1 PCT/CN2009/070755 CN2009070755W WO2009117921A1 WO 2009117921 A1 WO2009117921 A1 WO 2009117921A1 CN 2009070755 W CN2009070755 W CN 2009070755W WO 2009117921 A1 WO2009117921 A1 WO 2009117921A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
network management
deployment
management server
subsystem
Prior art date
Application number
PCT/CN2009/070755
Other languages
French (fr)
Chinese (zh)
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 WO2009117921A1 publication Critical patent/WO2009117921A1/en

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/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network

Definitions

  • the present invention relates to the field of network management technologies, and in particular, to a distributed network management system, a network management server, and a distributed deployment method.
  • the network management system needs to manage a larger and larger network, which puts higher requirements on the system management capability.
  • the network management system gradually The host switches to a distributed multi-host mode, and the ability to increase the management scale is achieved by using multiple hosts to share the load. Due to the change from one host to several or even dozens of hosts, the installation and maintenance of software systems running on each host, such as installation, upgrade, and patching, become very complicated.
  • the current deployment method is to use manual maintenance. That is, the system administrator manually installs, upgrades, and patches the operations on each host using the installation media of the network management system.
  • the network management system has poor maintainability.
  • the embodiments of the present invention provide a distributed deployment method, a distributed network management system, and a network management server to improve system maintainability.
  • a distributed network management system including: a deployment server and at least one network management server, The network management server is configured to obtain deployment information related to the local machine from the deployment server, obtain corresponding subsystem software from the deployment server according to the deployment information, and run the subsystem software;
  • the deployment server is configured to store subsystem software and subsystem distribution deployment information of all subsystems of the distributed network management system.
  • a network management server applied to a distributed network management system, comprising:
  • An information transmission module configured to send a request message for obtaining deployment information, and receive the returned response information corresponding to the request message, obtain the deployment information related to the current network management server from the response information, and obtain the information from the deployment server Obtaining deployment information corresponding subsystem software; a process management module, configured to run the subsystem software obtained by the information transmission module; a deployment management module, configured to invoke the information transmission module to acquire deployment information, according to the information transmission module Obtaining the deployment information, calling the information transmission module to acquire the corresponding subsystem software, and calling the process management module to run after the information transmission module obtains the subsystem software.
  • a network management server which is used in a distributed network management system, where other network management servers communicate with the network management server, and the network management server includes:
  • a subsystem loader configured to request, from the transport service module, deployment information related to the current network management server, and request, according to the obtained deployment information, the corresponding subsystem software to obtain the obtained subsystem System software running;
  • a transmission service module configured to return, according to the received request message for acquiring deployment information, response information corresponding to the request message, where the response information includes deployment information related to the requesting network management server, and is used according to the received
  • the request message of the subsystem software corresponding to the deployment information of the requesting network management server returns the corresponding subsystem software.
  • a distributed deployment method which is applied to at least one network management server in the distributed network management system, wherein the subsystems on the network management servers jointly form a distributed network management system, including:
  • the automatic installation, deployment, and upgrade of the subsystem software are implemented by using the method from the deployment server to the pull-down file, thereby improving the maintainability of the distributed network management system and improving the maintenance efficiency. Reduce the maintenance cost of distributed network management systems.
  • FIG. 1 is a schematic structural diagram of a distributed network management system according to an embodiment of the present invention.
  • FIG. 2 is a diagram showing an example of content distribution information of a subsystem according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a running state transition of a network management server according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a distributed network management system according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic diagram of internal modules of a network management server according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic structural diagram of a distributed network management system according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic diagram of internal modules of a network management server according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of a distributed network management system according to Embodiment 3 of the present invention.
  • FIG. 9 is a flow chart showing a distributed deployment method according to an embodiment of the present invention.
  • FIG. 10 is an interaction flowchart of a distributed deployment method according to Embodiment 4 of the present invention.
  • FIG. 11 is an interaction flowchart of an upgrade method according to Embodiment 5 of the present invention.
  • FIG. 12 is an interaction flowchart of obtaining deployment information from a deployment server according to Embodiment 6 of the present invention
  • FIG. 13 is an interaction flowchart of obtaining deployment information from a deployment server according to Embodiment 7 of the present invention
  • Figure 15 is an interaction flowchart of the deployment server acquiring the deployment information by using the HTTP protocol;
  • FIG. 16 is a flow chart showing the interaction of downloading files from a deployment server using a non-HTTP protocol according to Embodiment 10 of the present invention.
  • the distributed network management system (referred to as the distributed network management system) includes a deployment server and at least one network management server (also known as a network management host), wherein each network management server can automatically complete the subsystem software to be deployed. First-time deployment, installation, and update/upgrade of subsystem software already deployed on this machine.
  • FIG. 1 is a schematic structural diagram of a distributed network management system according to an embodiment of the present invention.
  • the distributed network management system of the embodiment of the present invention includes a deployment server 200 and a network management server 101-1 ON, wherein
  • the deployment server 200 is configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system; where the subsystem distribution deployment information is distributed deployment information of each subsystem in the network management system. Describes the distribution of each subsystem in each network management server. In one implementation, the content example is shown in Figure 2.
  • the distribution information of the subsystem includes subsystem identification information and network management server identification information (also known as device identification).
  • subsystem information subsystem version information mapping relationship
  • subsystem identification information and subsystem version information can be collectively referred to as subsystem information
  • each record is the subsystem identification information corresponding to each network management server and the subsystem
  • the version information for example, the subsystem to be deployed on the network management server 1 corresponds to the subsystem A, and the version information of the subsystem A is 3.2; it should be understood that: the network management server identification information herein may be the corresponding network management server. IP address, MAC address or host name, etc.;
  • One is to store the deployment information of all the network management servers in one file, that is, the full deployment information file.
  • the other is to store the deployment information of each network management server in a file. That is, each deployment information file describes the deployment information of one network management server; the other may also store the subsystem distribution deployment information in the database;
  • the subsystems on the network management server 101-10N are not identical, that is, the subsystems on all network management servers together constitute the back-end system of the entire distributed network management system.
  • FIG. 3 is a schematic diagram of the running state transition of the network management server.
  • the network management service is introduced below with reference to Figure 3.
  • the working principle of automatic deployment, upgrade, and patching is as follows: Since each network management server works in the same way, here is an example of a network management server:
  • the local cache of the current network management server is empty, and the system cannot run yet.
  • the current network management server performs the first installation of the native subsystem software when the system is started for the first time (when the system is initialized), and the subsystem software to be deployed on the local machine is downloaded from the deployment server to the local cache, and then the subsystems are started.
  • the current network management server enters the running state and can handle the network management service.
  • the system When the subsystem software on the deployment server is upgraded or a patch is installed, the system enters the state to be updated. At this time, the version of the subsystem software in the local cache of the current network management server is inconsistent with the version of the software on the deployment server.
  • the current network management server performs incremental update, downloads and updates the local cache from the deployment server for the subsystem software that needs to be updated, and then starts each subsystem to upgrade the subsystem software in the local cache of the current network management server, and the system is restored to the running state. .
  • FIG. 4 is a schematic structural diagram of a distributed network management system according to Embodiment 1 of the present invention, where the deployment server 400 is configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system. And returning corresponding subsystem software and deployment information according to the request message of the network management server;
  • the deployment server 400 includes: a storage module, configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system; where the subsystem software and subsystem distribution deployment information may be The file is saved to the hard disk of the deployment server 400, or the subsystem distribution information and the subsystem software are saved to the database of the deployment server 400.
  • the transmission service module 4010 is configured to receive a request message from the network management server, and obtain response information corresponding to the request message from the storage module according to the request message, and return the response message here; Determining, according to the deployment information, subsystem identification information to be deployed in the current network management server, and obtaining subsystem software corresponding to the subsystem identification information from the deployment server 400, and saving, starting the subsystem software; The first request message for acquiring the deployment information is sent to the deployment server 400, and the returned first response information corresponding to the first request message is received by the first The response information is obtained by the deployment information related to the local device, and the subsystem identification information to be deployed in the current network management server is determined according to the deployment information, for example, the subsystem A, and the identifier information for downloading and the subsystem is sent to the deployment server 400.
  • the second request message of the corresponding subsystem software receives and saves the returned subsystem software, and starts the subsystem software, thereby completing the first automatic installation of the subsystem software of the current network management server; that is, the network management server 300-30N is initial State transition to the running state;
  • the network management server 300-30N is further configured to send, to the deployment server 400, the system file for downloading the updated subsystem file when determining that the subsystem software deployed by the current network management server is inconsistent with the subsystem associated with the current network management server on the deployment server. Three request messages, and the returned subsystem software is saved and restarted, thereby completing the automatic upgrade of the subsystem software of the current network management server, that is, the network management server 300-30N migrates from the state to be updated to the running state;
  • FIG. 5 is a schematic diagram of an internal module of a network management server according to the first embodiment of the present invention.
  • the internal network module of each network management server is the same.
  • the network management server 300 in FIG. 4 is used as an example.
  • the network management server is shown in FIG. 300 includes:
  • the deployment management module 3010 is configured to: when the system is initialized, invoke the information transmission module 3012 to obtain deployment information, determine the subsystem identification information to be deployed according to the deployment information obtained by the information transmission module 3012, and invoke the information transmission module 3012 to acquire the subsystem software. After the subsystem software is obtained by the information transmission module 3012, the process management module 3014 is invoked to start; in other words, the deployment management module 3010 is the master control center, which is responsible for the deployment and upgrade process of the subsystem software of the current network management server;
  • the information transmission module 3012 is configured to send a request message for acquiring deployment information, and receive response information corresponding to the request message returned by the deployment server 400, where the response information is obtained and current
  • the deployment information related to the network management server, and the subsystem software corresponding to the determined subsystem identification information to be deployed are obtained from the deployment server 400, and the response information may be the deployment information related to the current network management server.
  • the response message may also be a full deployment information file or a deployment information file corresponding to the current network management server.
  • the process management module 3014 is configured to start the subsystem software obtained by the information transmission module 3012.
  • the network management server 300 further includes: a storage module 3016, configured to store subsystem software of the current network management server; optionally, the storage module 3016 may further store the previously obtained deployment information file, which may be a directory of the hard disk;
  • the deployment information file in one implementation mode is a full deployment information file (referred to as a full-scale file, which is stored in the deployment server, and the deployment server returns the corresponding information according to the access path.
  • the file transmission module 3012 is a first information transmission module, configured to send a fourth request message carrying the full deployment information file access path information, and receive the returned full file corresponding to the fourth request message, And obtaining, in the full file, the deployment information related to the current network management server; and sending the fifth request message that carries the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned information.
  • the subsystem software corresponding to the fifth request message is described and saved.
  • the network management server and the deployment server pre-agreed the format of the file access path of different files, for example:
  • the storage directory may be divided by subsystems, for subsystem A, then it may be ⁇ subsystem ⁇ *. * , is the path to all files of subsystem A;
  • the information transmission module 3012 is a second information transmission module, configured to send a sixth request message carrying the device identification information of the current network management server, and receive the returned sixth information including the current network management server related deployment information. Responding to the message, extracting the deployment information related to the current network management server from the response message; And sending a seventh request message carrying the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned subsystem software corresponding to the seventh request message and saving.
  • the information transmission module is configured to send an eighth request message that carries the file access path information corresponding to the deployment information of the current network management server, and receive the returned deployment information file corresponding to the eighth request message. Extracting the deployment information related to the current network management server from the deployment information file; and transmitting the ninth request message carrying the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned information
  • the subsystem software corresponding to the ninth request message is stored and saved.
  • the deployment management module 3010 is further configured to: periodically call the information transmission module 3012 to obtain the latest deployment information, and compare the subsystems associated with the current network management server in the deployment information obtained by the local deployed subsystem and the information transmission module, and determine the local device.
  • the call information transmission module 3012 obtains the updated subsystem software related to the current network management server, and invokes the process management module 3014. Restart the updated subsystem;
  • the information transmission module 3012 is further configured to send a request message for acquiring the deployment information, and receive the response information returned by the deployment server 400, obtain the deployment information related to the current device from the response information, and obtain the current network management server from the deployment server.
  • Related updated subsystem software
  • the process management module is further configured to stop the deployed subsystem on the current network management server, and start the updated subsystem software obtained by the information transmission module.
  • FIG. 6 is a schematic structural diagram of a distributed network management system according to Embodiment 2 of the present invention.
  • the network management server 600 (which also functions as the network management server and the deployment server) has functions as a deployment server and functions as a network management server; as shown in FIG. 6, in the distributed network management system,
  • the network management server 501-50N communicates with the network management server 600.
  • the subsystems on the network management server 600 and the network management server 501-50N are not completely identical, that is, the subsystems on all the network management servers together constitute the background system of the entire distributed network management system.
  • FIG. 7 is a schematic diagram of internal modules of the network management server 600 in the distributed network management system according to the second embodiment of the present invention.
  • the network management server 600 includes a subsystem loader 6020 and a transport service module 6010, which:
  • the subsystem loader 6020 is configured to, when the current network management server is initialized, request the transmission service module 6010 to obtain the deployment information related to the current network management server, and determine the subsystem identification information to be deployed in the current network management server according to the obtained deployment information. (subsystem list), and requesting the transmission service module to obtain subsystem software corresponding to the subsystem identification information, saving and starting the obtained subsystem software;
  • the transmission service module 6010 is configured to return, according to the received request message for acquiring deployment information, response information corresponding to the request message, where the response information includes deployment information related to the requester network management server, and is used according to the received Obtain a request message of the subsystem software corresponding to the requester network management server subsystem identification information, and return the corresponding subsystem software.
  • the network management server 600 further includes: a storage module that stores all subsystem software in the distributed network management system and distribution information of the subsystem;
  • the transmission service module 6010 is a second transmission service module, configured to receive a request message carrying the device identification information of the requesting network management server, and find the device according to the device identification information in the request message.
  • the deployment information related to the requesting party returns a response message including the deployment information, and receives a request message carrying the subsystem file access path information corresponding to the requesting party subsystem identification information, according to the subsystem file access path information in the request message.
  • the storage module obtains the corresponding subsystem software and returns the corresponding subsystem software.
  • the transport service module 6010 is a first transport service module, configured to receive a request message carrying the deployment information file access path information, according to the deployment information in the request message.
  • the file access path information obtains the deployment information file in the path from the storage module and returns, and receives the request message carrying the subsystem file access path information corresponding to the requester subsystem identification information, according to the subsystem file in the request message.
  • the access path information obtains the subsystem software under the path from the storage module and returns the corresponding subsystem software.
  • the deployment information file access path information includes: a full deployment information file access path, and an access path of the deployment information file corresponding to the current network management server.
  • the subsystem loader 6020 includes:
  • the deployment management sub-module 6021 is configured to: during the initialization, invoke the information transmission sub-module 6022 to obtain the deployment information related to the current device, and determine the subsystem identification information to be deployed by the information transmission sub-module 6022, and invoke the information.
  • the transmission sub-module 6022 acquires the subsystem software, and after the information transmission sub-module 6022 obtains the subsystem software, invokes the process management sub-module 6023 to start;
  • the information transmission sub-module 6022 is configured to request the transmission service module 6010 to return response information corresponding to the request for acquiring the deployment information, obtain the deployment information related to the current network management server from the response information, and request the transmission service module 6010 to obtain the Determining subsystem identification information to be deployed corresponding subsystem software and saving the obtained subsystem software;
  • the information transmission sub-module 6022 extracts the deployment information related to the current network management server from the returned deployment information file;
  • the information transmission sub-module 6022 searches for the deployment information related to the current network management server from the returned deployment information file.
  • the information transmission sub-module 6022 extracts the deployment information related to the current network management server from the returned response information;
  • the subsystem loader 6020 further includes: a process management submodule 6023, configured to transmit information The subsystem software obtained by the input sub-module 6022 is started.
  • the subsystem loader 6020 includes: a cache 6024 for storing subsystem software obtained by the information transmission submodule 6022.
  • FIG. 8 is a schematic structural diagram of a distributed network management system according to Embodiment 3 of the present invention, and describes a specific distributed network management system scenario, where the subsystems on the network management server 701 are topological services and security services; and the network management server 702 The subsystems are faults; the subsystems on the network management server 703 are performance management and circuit management; and the subsystems on the network management server 704 are service delivery. Together, these subsystems form the back-end system of the entire distributed network management system. Different network management servers handle different network management services.
  • FIG. 9 is a flow chart of a distributed deployment method according to an embodiment of the present invention, that is, a process for a network management server to migrate from an initial state to an operating state, including:
  • Step 8010 Obtain deployment information related to the current device. It should be understood that the trigger condition for obtaining the deployment information herein may be when the system is initialized;
  • the method may be: sending a request message for acquiring the deployment information, and receiving the returned response information corresponding to the request message, where the response information is used to obtain deployment information related to the current device; Step 8011, determining according to the obtained deployment information.
  • Subsystem identification information of the current device to be deployed for example: subsystems A, B, C, and D.
  • the deployment information includes subsystem identification information, device identification information, and associated information of the corresponding subsystem version information.
  • the subsystem identification information and the subsystem version information herein may be collectively referred to as subsystem information.
  • the method may be: determining, according to the association information, subsystem identifier information corresponding to current device identifier information, where the subsystem identifier information is identifier information of a subsystem to be deployed by the current device (should be understood The: When there are multiple subsystems to be deployed, you can System identification information is called a subsystem list).
  • Step 8012 request to download subsystem software corresponding to the subsystem identifier information, and save the returned subsystem software corresponding to the request;
  • Step 8013 Start the subsystem software.
  • each subsystem is started, and the current network management server enters the running state.
  • the entire network management system enters the running state.
  • FIG. 10 For a better understanding of the distributed deployment method of the present invention, the interaction process of the distributed deployment method according to an embodiment of the present invention is specifically described below with reference to FIG. 10, as shown in FIG. 10, including:
  • Step 9010 The network management server interacts with the deployment server to obtain deployment information related to the current network management server. There are multiple implementation modes, which are described in detail later.
  • Step 9011 The deployment server determines whether to allow deployment of the deployment information and the subsystem software according to whether the device identification information of the requester is in the subsystem distribution deployment information; this is an optional step to further improve security; device identification information herein, For example: IP address, host name, MAC address, etc.;
  • Step 9012 The network management server saves the returned deployment information locally; mainly, in the process of upgrading the subsystem software, comparing the local deployment configuration information with the obtained deployment configuration information, that is, the deployment information obtained by the network management server is compared. Whether the subsystem associated with the current network management server is consistent with the subsystem deployed by the current network management server;
  • Step 9013 The network management server determines the subsystem identification information (subsystem list) to be deployed by the network management server according to the deployment information related to the current network management server.
  • Step 9014 The network management server sends a request message carrying the subsystem file access path information corresponding to the subsystem identifier information.
  • Step 9015 The deployment server obtains the corresponding subsystem software in the path according to the file access path information in the received request message.
  • Step 9016 The deployment server returns to obtain the subsystem software.
  • Step 9017 The network management server returns the returned subsystem software to the local cache.
  • Step 9018 The network management server starts the subsystem software in the local cache.
  • step 9010 is described below in conjunction with Figures 12-14:
  • FIG. 12 is a flowchart of an interaction process for obtaining deployment information from a deployment server according to Embodiment 1 of the present invention, where the deployment server stores a full deployment information file, including:
  • Step 1310 The network management server sends a request message to download a full deployment information file, where the request message includes device identification information (optional) of the network management server and full deployment information file access path information.
  • the deployment server When the request message in the step 1310 carries the device identification information, the deployment server performs security check according to the device identification information in the request message from the network management server, that is, the deployment server is configured according to whether the request end IP is in the subsystem distribution deployment information. To decide whether to allow the download of information files and other files (for example: subsystem software) to be deployed.
  • Step 1311 The deployment server obtains the full deployment information file corresponding to the path according to the file access path information in the received request message.
  • Step 1312 The deployment server returns the full deployment information file.
  • Step 1313 The network management server searches for the deployment information related to the current network management server according to the device identification information of the network management server from the obtained full deployment information file.
  • Step 1410 The network management server sends a request message to download the deployment information related to the local device, where the request message includes device identification information of the network management server.
  • Step 1411 The deployment server searches for the deployment information related to the network management server according to the device identifier information included in the request message.
  • Step 1412 The deployment server returns a response message including deployment information related to the network management server.
  • Step 1413 The network management server obtains local deployment information from the response message.
  • FIG. 14 is a flowchart of an interaction process for obtaining deployment information from a deployment server according to Embodiment 3 of the present invention.
  • the deployment server stores multiple deployment information files, and different deployment information files respectively correspond to different network management servers, that is, each The deployment information of the network management server is stored in a separate file, including:
  • Step 1510 The network management server sends a request message to download a deployment information file related to the local device, where the request message includes device identification information (optional) of the network management server and deployment information file access path information, where the deployment information file is accessed.
  • the path information is the access path information of the deployment information file corresponding to the current network management server.
  • the deployment server When the request message in the step 1510 carries the device identification information, the deployment server performs security check according to the device identification information in the request message from the network management server, that is, the deployment server is configured according to whether the request end IP is in the subsystem distribution deployment information. To decide whether to allow the download of information files and other files (for example: subsystem software) to be deployed.
  • Step 1511 The deployment server obtains a deployment information file corresponding to the path according to the file access path information in the received request message.
  • Step 1512 The deployment server returns the deployment information file.
  • Step 1513 The network management server directly obtains all relevant deployment information of the local machine from the deployment information file.
  • the administrator will update some files on the deployment server and modify the subsystem version information in the deployment information file, or adjust the subsystem distribution on each network management server of the network management system as needed.
  • This step can be done manually or by the upgrade tool.
  • the network management system enters the upgrade state.
  • the software in the local cache on the network management server is inconsistent with the software version on the deployment server or on the software and deployment server in the local cache.
  • the software distributed by the network management server is inconsistent.
  • Each network management server obtains the latest deployment configuration information and checks whether the deployment configuration information of the local device is consistent with the obtained configuration to determine whether synchronization is required. This refers to the process of running state -> to be updated -> running state.
  • the upgrade method is described below with reference to FIG. 11. As shown in FIG. 11, the upgrade method package of the embodiment of the present invention Includes:
  • Step 1010 The network management server interacts with the deployment server to periodically obtain the latest deployment configuration information.
  • the latest deployment configuration information may be obtained by downloading the deployment information file from the deployment server.
  • Step 1011 The network management server checks whether the deployment configuration information of the local device is consistent with the obtained deployment configuration information. If not, go to step 1012; , the process ends, waiting for the next timer to trigger;
  • the network management server saves the currently obtained deployment information related to the local machine as a file, and in the upgrade process, obtains the deployment information file by using the foregoing method in the third embodiment (refer to FIG. 14).
  • the check whether the deployment configuration information of the local device is consistent with the obtained deployment configuration information may be whether the deployment information file saved by the local device is consistent with the obtained deployment information file.
  • Step 1012 Stop all subsystems that have been deployed (installed) on the local machine
  • Step 1013 request downloading subsystem software deployed on the local machine and determining inconsistency
  • Step 1014 The deployment server returns the updated subsystem software.
  • Step 1015 The network management server saves the updated subsystem software in a local cache, and starts all subsystem software in the local cache; the network management server enters the running state again.
  • the process of downloading files from the deployment server by the network management server during the upgrade process is further described below. It should be understood that, in an embodiment of the present invention, the deployment configuration information and/or subsystem software may be saved in the file. In the deployment server, obtaining the updated deployment configuration information and/or subsystem software can be understood as downloading the updated file;
  • FIG. 15 is a flowchart of an interaction process for downloading a file from a deployment server by using an HTTP protocol according to an embodiment of the present invention, and is applicable to an upgrade process, including:
  • Step 1110 The network management server sends an HTTP request to download a file, where the HTTP request includes file identifier information of a file in the local cache of the network management server and a file corresponding to the file. Access path information;
  • the file here may be a deployment information file or a file (ie, a subsystem file) where the subsystem software is located, and the above modification time may also use a verification code such as MD5; the file identification information here, such as a file Finally modify the time, MD5 and other checksums.
  • Step 1111 The deployment server receives the HTTP request, and determines whether the file identifier information of the corresponding file carried in the request is consistent with the file identifier information of the corresponding file stored by the local device. When the file identifier information is consistent, the direct return success is successful, and the transmission is not performed. The corresponding file content, the end of the process; otherwise, according to the file access path information contained in the request to obtain the corresponding file, and step 1112;
  • the modification time is consistent, the direct return success is successful, and the corresponding file content is not transmitted;
  • the request carries the last modification time of the subsystem file A
  • Step 1112 The deployment server returns a corresponding file.
  • Step 1113 The network management server saves the received file in a local cache.
  • the above process will efficiently synchronize the files cached locally by the network management server with the files on the deployment server, and will not download the exact same files.
  • the subsystem of the network management server is started again, and the network management server enters the running state again.
  • an interaction flowchart of downloading files from a deployment server by using the FTP protocol according to an embodiment of the present invention includes:
  • Step 1210 The network management server sends an FTP query request message to obtain a deployment server.
  • File details The network management server sends an FTP query request message to obtain a deployment server.
  • Step 1211 The deployment server returns an FTP response message, where the response message includes file identification information, for example: a file modification time;
  • Step 1213 The network management server compares the file identifier information of the file in the local cache with the returned file identifier information. When the file identifier information is consistent, the download success is successful, and the process ends; otherwise, step 1214 is performed;
  • the network management server compares the last modification time of the file in the local cache with the last ⁇ tampering time of the returned file, and when the tampering time is consistent, the download is successful, and the process ends; otherwise, , perform the next step;
  • Step 1214 The network management server sends a request message for the FTP download file, where the request message includes access path information of the file whose file identification information is inconsistent;
  • the request message includes access path information of a file whose last modification time is inconsistent;
  • Step 1215 The deployment server acquires a corresponding file under the path according to the file access path information in the request message.
  • Step 1216 The deployment server returns a corresponding file.
  • Step 1217 The network management server saves the returned file in the local cache.
  • the process of downloading files using other non-HTTP protocols is the same as the above process.
  • the automatic installation, deployment, and upgrade of the subsystem software are implemented by using a pull-down file from the deployment server, thereby improving the maintainability of the distributed network management system, improving the maintenance efficiency, and reducing the distributed network management system.
  • Maintenance costs the administrator only needs to upgrade and patch a single point, and each distributed network management server automatically completes the process of installation, deployment, upgrade, and patching; and, by using the embodiment of the present invention, avoids the existing push-based mode.
  • each network management server develops the remote control authority for the main control machine, resulting in poor security, and avoids the need for the existing deployment process based on the push mode.
  • the running status and network connection of the network management server must be normal, and the reliability caused by the problem is poor.
  • the problem is to improve the security and reliability of the distributed network management system.
  • the process of implementing the installation and/or upgrade in the method of the foregoing embodiment can be completed by using hardware related to the program instruction, and the program can be stored in a readable storage medium of the network management system or the call center.
  • the program performs the corresponding steps in the above method when executed.
  • the storage medium may be, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A distributed network management system, network management server and method are disclosed. The system comprises a deployment server and at least one network management server. The network management server is used for obtaining deployment information correlative with a local computer from the deployment server, based on the deployment information gaining corresponding sub-system software from the deployment server and executing the sub-system software. The deployment server is used for storing sub-system software and sub-system distributed deployment information of all the sub-systems in the distributed network management system.

Description

分布式网络管理***、 网管服务器和方法 本申请要求于 2008年 3月 28日提交中国专利局、 申请号为 20081006 Distributed Network Management System, Network Management Server and Method This application is filed on March 28, 2008, and filed on the Chinese Patent Office, Application No. 20081006
6221.3、 发明名称为 "一种分布式网絡管理***、 网管服务器和方法" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 6221.3, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in its entirety in the the the the the the the the the the the Technical field
本发明涉及网絡管理技术领域, 特别涉及一种分布式网絡管理***、 网 管服务器、 分布式部署方法。  The present invention relates to the field of network management technologies, and in particular, to a distributed network management system, a network management server, and a distributed deployment method.
背景技术 Background technique
随着计算机和通讯技术的不断发展, 网絡管理***需要管理的网絡规模 越来越大, 对***的管理能力提出了更高的要求, 目前为了应对网絡规模不 断扩大的局面, 网管***逐步由单主机向分布式多主机的模式转换, 通过使 用多台主机分担负载来达到提高管理规模的能力。 由于由一台主机变成几台 甚至是几十台主机, 分别运行在各个主机上的软件***的安装、 升级、 打补 丁等部署维护工作都变得非常复杂。  With the continuous development of computer and communication technologies, the network management system needs to manage a larger and larger network, which puts higher requirements on the system management capability. At present, in order to cope with the ever-expanding network scale, the network management system gradually The host switches to a distributed multi-host mode, and the ability to increase the management scale is achieved by using multiple hosts to share the load. Due to the change from one host to several or even dozens of hosts, the installation and maintenance of software systems running on each host, such as installation, upgrade, and patching, become very complicated.
针对分布式网管***, 目前的部署方式是釆用人工维护的方式, 即由系 统管理员使用网管***的安装介质人工在每台主机上执行安装、 升级、 打补 丁的操作。 网管***的可维护性差。  For distributed network management systems, the current deployment method is to use manual maintenance. That is, the system administrator manually installs, upgrades, and patches the operations on each host using the installation media of the network management system. The network management system has poor maintainability.
发明内容 Summary of the invention
本发明实施例提供一种分布式部署方法、 分布式网絡管理***以及网管 服务器, 以提高***的可维护性。  The embodiments of the present invention provide a distributed deployment method, a distributed network management system, and a network management server to improve system maintainability.
为达到上述目的, 本发明实施例的技术方案具体是这样实现的: 一种分布式网絡管理***, 包括: 部署服务器和至少一台网管服务器, 所述网管服务器, 用于从所述部署服务器获得与本机相关的部署信息, 根据所述部署信息从所述部署服务器获得相应的子***软件, 并运行所述子 ***软件; To achieve the above objective, the technical solution of the embodiment of the present invention is specifically implemented as follows: A distributed network management system, including: a deployment server and at least one network management server, The network management server is configured to obtain deployment information related to the local machine from the deployment server, obtain corresponding subsystem software from the deployment server according to the deployment information, and run the subsystem software;
所述部署服务器, 用于存储分布式网管***的所有子***的子***软件 和子***分布部署信息。  The deployment server is configured to store subsystem software and subsystem distribution deployment information of all subsystems of the distributed network management system.
以及, 一种网管服务器, 应用于分布式网絡管理***, 包括:  And, a network management server, applied to a distributed network management system, comprising:
信息传输模块, 用于发送获取部署信息的请求消息, 并接收返回的与所 述请求消息对应的响应信息, 由该响应信息得到与当前网管服务器相关的部 署信息, 以及从部署服务器上获得与所得到的部署信息相应的子***软件; 进程管理模块, 用于运行所述信息传输模块获得的子***软件; 部署管理模块, 用于调用所述信息传输模块获取部署信息, 根据所述信 息传输模块获得的部署信息 , 调用所述信息传输模块获取相应的子***软件 , 并在所述信息传输模块获得子***软件后 , 调用所述进程管理模块运行。  An information transmission module, configured to send a request message for obtaining deployment information, and receive the returned response information corresponding to the request message, obtain the deployment information related to the current network management server from the response information, and obtain the information from the deployment server Obtaining deployment information corresponding subsystem software; a process management module, configured to run the subsystem software obtained by the information transmission module; a deployment management module, configured to invoke the information transmission module to acquire deployment information, according to the information transmission module Obtaining the deployment information, calling the information transmission module to acquire the corresponding subsystem software, and calling the process management module to run after the information transmission module obtains the subsystem software.
以及, 一种网管服务器, 应用于分布式网管***中, 在该分布式网管系 统中其他网管服务器与该网管服务器通信, 该网管服务器包括:  And a network management server, which is used in a distributed network management system, where other network management servers communicate with the network management server, and the network management server includes:
子***加载器, 用于向传输服务模块请求获得与当前网管服务器相关的 部署信息, 根据所述获得的部署信息, 向所述传输服务模块请求获得相应的 子***软件, 将所述获得的子***软件运行;  a subsystem loader, configured to request, from the transport service module, deployment information related to the current network management server, and request, according to the obtained deployment information, the corresponding subsystem software to obtain the obtained subsystem System software running;
传输服务模块, 用于根据接收的用于获取部署信息的请求消息返回与所 述请求消息对应的响应信息, 所述响应信息包含与请求方网管服务器相关的 部署信息, 以及根据接收的用于获得与请求方网管服务器的部署信息相应的 子***软件的请求消息, 返回相应的子***软件。  a transmission service module, configured to return, according to the received request message for acquiring deployment information, response information corresponding to the request message, where the response information includes deployment information related to the requesting network management server, and is used according to the received The request message of the subsystem software corresponding to the deployment information of the requesting network management server returns the corresponding subsystem software.
以及, 一种分布式部署方法, 应用于分布式网絡管理***中的至少一台 网管服务器, 其中各网管服务器上的子***共同组成分布式网絡管理***, 包括:  And a distributed deployment method, which is applied to at least one network management server in the distributed network management system, wherein the subsystems on the network management servers jointly form a distributed network management system, including:
获得与当前网管服务器相关的部署信息; 根据所述获得的部署信息请求下载对应的子***软件, 接收返回的与该 请求对应的子***软件; Obtain deployment information related to the current network management server; And downloading, according to the obtained deployment information, the corresponding subsystem software, and receiving the returned subsystem software corresponding to the request;
运行所述子***软件。  Run the subsystem software.
由上述技术方案可见, 本发明实施例中通过釆用从部署服务器向下拉文 件的方式实现子***软件的自动安装、 部署、 升级, 从而提高分布式网管系 统的可维护性, 提高了维护效率, 降低分布式网管***的维护成本。  It can be seen that, in the embodiment of the present invention, the automatic installation, deployment, and upgrade of the subsystem software are implemented by using the method from the deployment server to the pull-down file, thereby improving the maintainability of the distributed network management system and improving the maintenance efficiency. Reduce the maintenance cost of distributed network management systems.
附图说明 DRAWINGS
图 1为本发明实施例的一种分布式网管***结构示意图;  1 is a schematic structural diagram of a distributed network management system according to an embodiment of the present invention;
图 2为本发明实施例的子***分布部署信息的内容示例图;  2 is a diagram showing an example of content distribution information of a subsystem according to an embodiment of the present invention;
图 3为本发明实施例的网管服务器的运行状态迁移示意图;  3 is a schematic diagram of a running state transition of a network management server according to an embodiment of the present invention;
图 4为本发明实施例一的分布式网管***结构示意图;  4 is a schematic structural diagram of a distributed network management system according to Embodiment 1 of the present invention;
图 5为本发明实施例一的网管服务器的内部模块示意图;  5 is a schematic diagram of internal modules of a network management server according to Embodiment 1 of the present invention;
图 6为本发明实施例二的分布式网管***结构示意图;  6 is a schematic structural diagram of a distributed network management system according to Embodiment 2 of the present invention;
图 7为本发明实施例二的网管服务器的内部模块示意图;  7 is a schematic diagram of internal modules of a network management server according to Embodiment 2 of the present invention;
图 8为本发明实施例三的分布式网管***结构示意图;  8 is a schematic structural diagram of a distributed network management system according to Embodiment 3 of the present invention;
图 9为本发明实施例的分布式部署方法的流程方框图;  9 is a flow chart showing a distributed deployment method according to an embodiment of the present invention;
图 10为本发明实施例四的分布式部署方法的交互流程图;  10 is an interaction flowchart of a distributed deployment method according to Embodiment 4 of the present invention;
图 11为本发明实施例五的升级方法的交互流程图;  11 is an interaction flowchart of an upgrade method according to Embodiment 5 of the present invention;
图 12为本发明实施例六的从部署服务器获取部署信息的交互流程图; 图 13为本发明实施例七的从部署服务器获取部署信息的交互流程图; 图 14为本发明实施例八的从部署服务器获取部署信息的交互流程图; 图 15为本发明实施例九的釆用 HTTP协议从部署服务器下载文件的交互 流程图;  12 is an interaction flowchart of obtaining deployment information from a deployment server according to Embodiment 6 of the present invention; FIG. 13 is an interaction flowchart of obtaining deployment information from a deployment server according to Embodiment 7 of the present invention; Figure 15 is an interaction flowchart of the deployment server acquiring the deployment information by using the HTTP protocol;
图 16为本发明实施例十的釆用非 HTTP协议从部署服务器下载文件的交 互流程图。  16 is a flow chart showing the interaction of downloading files from a deployment server using a non-HTTP protocol according to Embodiment 10 of the present invention.
具体实施方式 为使本发明的目的、 技术方案更加清楚明白, 以下参照附图并举实施例, 对本发明作进一步详细说明。 detailed description In order to make the objects and technical solutions of the present invention more comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings.
在本发明实施例中, 分布式网絡管理***(简称分布式网管***) 包括 部署服务器和至少一台网管服务器(又名网管主机), 其中各台网管服务器能 自动完成待部署的子***软件的首次部署、 安装, 以及已部署在本机的子系 统软件的更新 /升级。  In the embodiment of the present invention, the distributed network management system (referred to as the distributed network management system) includes a deployment server and at least one network management server (also known as a network management host), wherein each network management server can automatically complete the subsystem software to be deployed. First-time deployment, installation, and update/upgrade of subsystem software already deployed on this machine.
图 1为本发明实施例中的分布式网管***的结构示意图。 如图 1所示, 本发明实施例的分布式网管***包括部署服务器 200和网管服务器 101 - 1 ON , 其中,  FIG. 1 is a schematic structural diagram of a distributed network management system according to an embodiment of the present invention. As shown in FIG. 1, the distributed network management system of the embodiment of the present invention includes a deployment server 200 and a network management server 101-1 ON, wherein
部署服务器 200, 用于存储有该分布式网管***的所有子***软件, 以及 该网管***中各子***的分布部署信息; 这里的子***分布部署信息是网管 ***中各个子***的分布部署信息, 描述了各个子***在各个网管服务器的 分布情况, 在一种实现方式下, 内容示例如图 2所示: 该子***分布部署信 息包括子***标识信息、 网管服务器标识信息(又名设备标识信息)、 子*** 版本信息三者的映射关系 (这里的子***标识信息和子***版本信息可以统 称为子***信息), 即每条记录为每台网管服务器对应的子***标识信息和该 子***的版本信息,例如:网管服务器 1上待部署的子***对应的是子*** A, 该子*** A的版本信息是 3.2; 应当理解的是: 这里的网管服务器标识信息可 以是对应的网管服务器的 IP地址、 MAC地址或主机名等; 其中, 子***分 布部署信息的存储方式可以有几种, 一种是将所有网管服务器的部署信息存 储在一个文件中即全量部署信息文件, 一种是将各台网管服务器的部署信息 分别存储在一个文件中, 即每个部署信息文件描述一台网管服务器的部署信 息; 另一种还可以是将子***分布部署信息存储在数据库中;  The deployment server 200 is configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system; where the subsystem distribution deployment information is distributed deployment information of each subsystem in the network management system. Describes the distribution of each subsystem in each network management server. In one implementation, the content example is shown in Figure 2. The distribution information of the subsystem includes subsystem identification information and network management server identification information (also known as device identification). Information), subsystem version information mapping relationship (subsystem identification information and subsystem version information can be collectively referred to as subsystem information), that is, each record is the subsystem identification information corresponding to each network management server and the subsystem The version information, for example, the subsystem to be deployed on the network management server 1 corresponds to the subsystem A, and the version information of the subsystem A is 3.2; it should be understood that: the network management server identification information herein may be the corresponding network management server. IP address, MAC address or host name, etc.; There are several ways to store the deployment information. One is to store the deployment information of all the network management servers in one file, that is, the full deployment information file. The other is to store the deployment information of each network management server in a file. That is, each deployment information file describes the deployment information of one network management server; the other may also store the subsystem distribution deployment information in the database;
网管服务器 101-10N上的子***不完全相同, 即所有网管服务器上的子 ***共同构成了整个分布式网管***的后台***。  The subsystems on the network management server 101-10N are not identical, that is, the subsystems on all network management servers together constitute the back-end system of the entire distributed network management system.
图 3为网管服务器的运行状态迁移示意图, 下面结合图 3来介绍网管服 务器自动部署安装、 升级和打补丁的工作原理; 由于每台网管服务器的工作 原理是相同的, 这里以一台网管服务器为例进行说明: Figure 3 is a schematic diagram of the running state transition of the network management server. The network management service is introduced below with reference to Figure 3. The working principle of automatic deployment, upgrade, and patching is as follows: Since each network management server works in the same way, here is an example of a network management server:
初始态时, 当前网管服务器的本地緩存为空, ***尚不能运行。  In the initial state, the local cache of the current network management server is empty, and the system cannot run yet.
当前网管服务器在第一次启动时 (当***初始化时)进行本机子***软 件的首次安装, 即将待部署在本机上的子***软件从部署服务器下载到本地 緩存, 之后将各个子***启动, 则当前网管服务器就进入了运行态, 就可以 处理网管业务了。  The current network management server performs the first installation of the native subsystem software when the system is started for the first time (when the system is initialized), and the subsystem software to be deployed on the local machine is downloaded from the deployment server to the local cache, and then the subsystems are started. The current network management server enters the running state and can handle the network management service.
当部署服务器上的子***软件进行了升级或者安装了补丁, 则***进入 了待更新态, 此时当前网管服务器的本地緩存中的子***软件与部署服务器 上的软件存在版本不一致的情况。 当前网管服务器进行增量的更新, 针对需 要更新的子***软件从部署服务器上下载并更新本地緩存, 然后启动各个子 ***即升级当前网管服务器本地緩存中的子***软件, ***又恢复到了运行 态。  When the subsystem software on the deployment server is upgraded or a patch is installed, the system enters the state to be updated. At this time, the version of the subsystem software in the local cache of the current network management server is inconsistent with the version of the software on the deployment server. The current network management server performs incremental update, downloads and updates the local cache from the deployment server for the subsystem software that needs to be updated, and then starts each subsystem to upgrade the subsystem software in the local cache of the current network management server, and the system is restored to the running state. .
图 4为本发明实施例一的分布式网管***的结构示意图, 其中, 部署服 务器 400, 用于存储有该分布式网管***的所有子***软件, 以及该网管*** 中各子***的分布部署信息, 并根据网管服务器的请求消息返回相应的子系 统软件、 部署信息;  4 is a schematic structural diagram of a distributed network management system according to Embodiment 1 of the present invention, where the deployment server 400 is configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system. And returning corresponding subsystem software and deployment information according to the request message of the network management server;
其中, 部署服务器 400 包括: 存储模块, 用于存储有该分布式网管*** 的所有子***软件, 以及该网管***中各子***的分布部署信息; 这里的子 ***软件、 子***分布部署信息可以是以文件的形式保存到部署服务器 400 的硬盘中, 也可以是将子***分布部署信息、 子***软件保存到部署服务器 400的数据库中;  The deployment server 400 includes: a storage module, configured to store all subsystem software of the distributed network management system, and distributed deployment information of each subsystem in the network management system; where the subsystem software and subsystem distribution deployment information may be The file is saved to the hard disk of the deployment server 400, or the subsystem distribution information and the subsystem software are saved to the database of the deployment server 400.
传输服务模块 4010, 用于接收来自网管服务器的请求消息, 并根据该请 求消息从存储模块中获取对应该请求消息的响应信息并返回; 这里的响应信 息, 根据所述部署信息确定待部署在当前网管服务器的子***标识信息, 以 及从部署服务器 400获得与所述子***标识信息相应的子***软件并保存, 启动所述子***软件; 在一种实现方式下, 即用于在***初始化时, 向部署 服务器 400发送用于获取部署信息的第一请求消息, 并接收返回的与第一请 求消息对应的第一响应信息, 由所述第一响应信息得到与本机相关的部署信 息, 根据该部署信息确定待部署在当前网管服务器的子***标识信息, 例如: 子*** A, 并向部署服务器 400发送用于下载与所述子***标识信息相应的 子***软件的第二请求消息, 接收并保存返回的子***软件, 启动所述子系 统软件, 从而完成了当前网管服务器的子***软件的首次自动安装; 即网管 服务器 300-30N从初始态迁移到运行态; The transmission service module 4010 is configured to receive a request message from the network management server, and obtain response information corresponding to the request message from the storage module according to the request message, and return the response message here; Determining, according to the deployment information, subsystem identification information to be deployed in the current network management server, and obtaining subsystem software corresponding to the subsystem identification information from the deployment server 400, and saving, starting the subsystem software; The first request message for acquiring the deployment information is sent to the deployment server 400, and the returned first response information corresponding to the first request message is received by the first The response information is obtained by the deployment information related to the local device, and the subsystem identification information to be deployed in the current network management server is determined according to the deployment information, for example, the subsystem A, and the identifier information for downloading and the subsystem is sent to the deployment server 400. The second request message of the corresponding subsystem software receives and saves the returned subsystem software, and starts the subsystem software, thereby completing the first automatic installation of the subsystem software of the current network management server; that is, the network management server 300-30N is initial State transition to the running state;
网管服务器 300-30N,还用于在确定当前网管服务器已部署的子***软件 与部署服务器上当前网管服务器关联的子***不一致时, 向部署服务器 400 发送用于下载更新后的子***文件的第三请求消息, 并将返回的子***软件 保存并重启动, 从而完成了当前网管服务器的子***软件的自动升级, 即网 管服务器 300-30N从待更新态迁移到运行态;  The network management server 300-30N is further configured to send, to the deployment server 400, the system file for downloading the updated subsystem file when determining that the subsystem software deployed by the current network management server is inconsistent with the subsystem associated with the current network management server on the deployment server. Three request messages, and the returned subsystem software is saved and restarted, thereby completing the automatic upgrade of the subsystem software of the current network management server, that is, the network management server 300-30N migrates from the state to be updated to the running state;
图 5 为本发明实施例一的网管服务器的内部模块示意图, 考虑到每台网 管服务器的内部模块相同, 如下以图 4中的网管服务器 300为例进行介绍, 如图 5所示, 其中网管服务器 300包括:  FIG. 5 is a schematic diagram of an internal module of a network management server according to the first embodiment of the present invention. The internal network module of each network management server is the same. The network management server 300 in FIG. 4 is used as an example. As shown in FIG. 5, the network management server is shown in FIG. 300 includes:
部署管理模块 3010, 用于在***初始化时, 调用信息传输模块 3012获取 部署信息, 根据信息传输模块 3012获得的部署信息确定本机待部署的子*** 标识信息, 调用信息传输模块 3012获取子***软件, 并在信息传输模块 3012 获得子***软件后, 调用进程管理模块 3014进行启动; 换句话说, 部署管理 模块 3010是总控中心, 负责当前网管服务器的子***软件的部署、 升级过程 的完成;  The deployment management module 3010 is configured to: when the system is initialized, invoke the information transmission module 3012 to obtain deployment information, determine the subsystem identification information to be deployed according to the deployment information obtained by the information transmission module 3012, and invoke the information transmission module 3012 to acquire the subsystem software. After the subsystem software is obtained by the information transmission module 3012, the process management module 3014 is invoked to start; in other words, the deployment management module 3010 is the master control center, which is responsible for the deployment and upgrade process of the subsystem software of the current network management server;
信息传输模块 3012 , 用于发送获取部署信息的请求消息, 并接收部署服 务器 400返回的与所述请求消息对应的响应信息, 由该响应信息得到与当前 网管服务器相关的部署信息, 以及从部署服务器 400上获得与所述确定的待 部署的子***标识信息相应的子***软件并保存; 这里的响应信息可以是包 含有当前网管服务器相关的部署信息的响应消息, 也可以是全量部署信息文 件, 也可以是当前网管服务器对应的部署信息文件。 The information transmission module 3012 is configured to send a request message for acquiring deployment information, and receive response information corresponding to the request message returned by the deployment server 400, where the response information is obtained and current The deployment information related to the network management server, and the subsystem software corresponding to the determined subsystem identification information to be deployed are obtained from the deployment server 400, and the response information may be the deployment information related to the current network management server. The response message may also be a full deployment information file or a deployment information file corresponding to the current network management server.
进程管理模块 3014,用于将信息传输模块 3012获得的子***软件进行启 动。  The process management module 3014 is configured to start the subsystem software obtained by the information transmission module 3012.
网管服务器 300进一步包括: 存储模块 3016, 用于存储当前网管服务器 的子***软件;可选的,存储模块 3016还可以存储之前获得的部署信息文件, 可以是硬盘的一个目录;  The network management server 300 further includes: a storage module 3016, configured to store subsystem software of the current network management server; optionally, the storage module 3016 may further store the previously obtained deployment information file, which may be a directory of the hard disk;
当釆用将所有网管服务器的部署信息集中存放在一个文件中, 即一种实 现方式下的部署信息文件为全量部署信息文件 (简称全量文件, 存储在部署 服务器, 部署服务器根据访问路径返回对应的文件) 时, 信息传输模块 3012 为第一信息传输模块, 用于发送携带有全量部署信息文件访问路径信息的第 四请求消息, 并接收返回的与所述第四请求消息对应的全量文件, 从所述全 量文件中查找得到当前网管服务器相关的部署信息; 以及, 用于发送携带有 当前网管服务器待部署的子***标识信息对应的文件访问路径信息的第五请 求消息, 并接收返回的与所述第五请求消息对应的子***软件并保存。 应当 可以理解的是: 网管服务器和部署服务器预先约定好不同文件的文件访问路 径的格式, 例如: 可按子***来划分存放目录, 如对于子*** A, 那么可以 是\子*** Α\*.* , 就是子*** A的所有文件的路径了;  When the deployment information of all the network management servers is stored in one file, that is, the deployment information file in one implementation mode is a full deployment information file (referred to as a full-scale file, which is stored in the deployment server, and the deployment server returns the corresponding information according to the access path. The file transmission module 3012 is a first information transmission module, configured to send a fourth request message carrying the full deployment information file access path information, and receive the returned full file corresponding to the fourth request message, And obtaining, in the full file, the deployment information related to the current network management server; and sending the fifth request message that carries the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned information. The subsystem software corresponding to the fifth request message is described and saved. It should be understood that: The network management server and the deployment server pre-agreed the format of the file access path of different files, for example: The storage directory may be divided by subsystems, for subsystem A, then it may be \subsystemΑ\*. * , is the path to all files of subsystem A;
当釆用将所有网管服务器的部署信息集中存放在一个文件中或将所有网 管服务器的部署信息存储在部署服务器的数据库中时 (在这种方式下, 由部 署服务器负责查找到当前网管服务器相关的部署信息并返回), 信息传输模块 3012为第二信息传输模块, 用于发送携带有当前网管服务器的设备标识信息 的第六请求消息, 并接收返回的包含有当前网管服务器相关部署信息的第六 响应消息, 从该响应消息中提取得到当前网管服务器相关的部署信息; 以及, 用于发送携带有当前网管服务器待部署的子***标识信息对应的文件访问路 径信息的第七请求消息, 并接收返回的与所述第七请求消息对应的子***软 件并保存。 When the deployment information of all the network management servers is stored in one file or the deployment information of all the network management servers is stored in the database of the deployment server (in this manner, the deployment server is responsible for finding the current network management server related). The information transmission module 3012 is a second information transmission module, configured to send a sixth request message carrying the device identification information of the current network management server, and receive the returned sixth information including the current network management server related deployment information. Responding to the message, extracting the deployment information related to the current network management server from the response message; And sending a seventh request message carrying the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned subsystem software corresponding to the seventh request message and saving.
当釆用将每个网管服务器的部署信息存放在一个独立文件中, 即按各个 网管服务器存储为多个文件时 (在这种方式下, 部署服务器根据访问路径返 回对应的文件), 信息传输模块 3012 为第三信息传输模块, 用于发送携带有 当前网管服务器的部署信息对应的文件访问路径信息的第八请求消息, 并接 收返回的与所述第八请求消息对应的部署信息文件, 从所述部署信息文件中 提取得到当前网管服务器相关的部署信息; 以及, 用于发送携带有当前网管 服务器待部署的子***标识信息对应的文件访问路径信息的第九请求消息, 并接收返回的与所述第九请求消息对应的子***软件并保存。  When the deployment information of each network management server is stored in a separate file, that is, when each network management server is stored as multiple files (in this manner, the deployment server returns the corresponding file according to the access path), the information transmission module The third information transmission module is configured to send an eighth request message that carries the file access path information corresponding to the deployment information of the current network management server, and receive the returned deployment information file corresponding to the eighth request message. Extracting the deployment information related to the current network management server from the deployment information file; and transmitting the ninth request message carrying the file access path information corresponding to the subsystem identification information to be deployed by the current network management server, and receiving the returned information The subsystem software corresponding to the ninth request message is stored and saved.
部署管理模块 3010进一步用于, 定时调用信息传输模块 3012获取最新 的部署信息, 比较本机已部署子***和所述信息传输模块获得的部署信息中 当前网管服务器关联的子***, 在确定本机已部署子***与所述信息传输模 块获得的部署信息中当前网管服务器关联的子***不一致时, 调用信息传输 模块 3012获得更新后的与当前网管服务器相关的子***软件, 并且调用进程 管理模块 3014重启动更新后的子***;  The deployment management module 3010 is further configured to: periodically call the information transmission module 3012 to obtain the latest deployment information, and compare the subsystems associated with the current network management server in the deployment information obtained by the local deployed subsystem and the information transmission module, and determine the local device. When the deployed subsystem is inconsistent with the subsystem associated with the current network management server in the deployment information obtained by the information transmission module, the call information transmission module 3012 obtains the updated subsystem software related to the current network management server, and invokes the process management module 3014. Restart the updated subsystem;
信息传输模块 3012 , 进一步用于发送获取部署信息的请求消息, 并接收 部署服务器 400返回的响应信息, 由所述响应信息得到与当前设备相关的部 署信息, 以及从部署服务器上获得与当前网管服务器相关的更新后的子*** 软件;  The information transmission module 3012 is further configured to send a request message for acquiring the deployment information, and receive the response information returned by the deployment server 400, obtain the deployment information related to the current device from the response information, and obtain the current network management server from the deployment server. Related updated subsystem software;
所述进程管理模块, 进一步用于停止当前网管服务器上已部署的子***, 并启动所述信息传输模块获得的更新后的子***软件。  The process management module is further configured to stop the deployed subsystem on the current network management server, and start the updated subsystem software obtained by the information transmission module.
图 6是本发明实施例二的分布式网管***结构示意图。 其中, 网管服务 器 600 (同时担当网管服务器和部署服务器的角色), 既有作为部署服务器的 功能, 还有作为网管服务器的功能; 如图 6所示, 在该分布式网管***中其 他网管服务器 501-50N与该网管服务器 600通信, 网管服务器 600和网管服 务器 501-50N上的子***不完全相同, 即所有网管服务器上的子***共同构 成了整个分布式网管***的后台***。 FIG. 6 is a schematic structural diagram of a distributed network management system according to Embodiment 2 of the present invention. The network management server 600 (which also functions as the network management server and the deployment server) has functions as a deployment server and functions as a network management server; as shown in FIG. 6, in the distributed network management system, The network management server 501-50N communicates with the network management server 600. The subsystems on the network management server 600 and the network management server 501-50N are not completely identical, that is, the subsystems on all the network management servers together constitute the background system of the entire distributed network management system.
图 7为本发明实施例二的分布式网管***中网管服务器 600的内部模块 示意图, (网管服务器 501-50N的内部模块结构如图 5所示, 故不再描述), 如图 7所示, 网管服务器 600包括子***加载器 6020和传输服务模块 6010, 其巾:  FIG. 7 is a schematic diagram of internal modules of the network management server 600 in the distributed network management system according to the second embodiment of the present invention. (The internal module structure of the network management server 501-50N is shown in FIG. 5, and therefore is not described.) The network management server 600 includes a subsystem loader 6020 and a transport service module 6010, which:
子***加载器 6020, 用于在当前网管服务器初始化时, 向传输服务模块 6010请求获得与当前网管服务器相关的部署信息, 根据所述获得的部署信息 确定待部署在当前网管服务器的子***标识信息(子***列表), 并向所述传 输服务模块请求获得与所述子***标识信息相应的子***软件 , 将所述获得 的子***软件保存并启动;  The subsystem loader 6020 is configured to, when the current network management server is initialized, request the transmission service module 6010 to obtain the deployment information related to the current network management server, and determine the subsystem identification information to be deployed in the current network management server according to the obtained deployment information. (subsystem list), and requesting the transmission service module to obtain subsystem software corresponding to the subsystem identification information, saving and starting the obtained subsystem software;
传输服务模块 6010, 用于根据接收的用于获取部署信息的请求消息返回 与所述请求消息对应的响应信息, 所述响应信息包含与请求方网管服务器相 关的部署信息, 以及根据接收的用于获得与请求方网管服务器子***标识信 息相应的子***软件的请求消息, 返回相应的子***软件。  The transmission service module 6010 is configured to return, according to the received request message for acquiring deployment information, response information corresponding to the request message, where the response information includes deployment information related to the requester network management server, and is used according to the received Obtain a request message of the subsystem software corresponding to the requester network management server subsystem identification information, and return the corresponding subsystem software.
网管服务器 600进一步包括: 存储有该分布式网管***中所有子***软 件, 以及子***分布部署信息的存储模块;  The network management server 600 further includes: a storage module that stores all subsystem software in the distributed network management system and distribution information of the subsystem;
在一种实现方式下, 传输服务模块 6010为第二传输服务模块, 用于接收 携带有请求方网管服务器的设备标识信息的请求消息, 根据请求消息中的设 备标识信息从该存储模块中查找到与请求方相关的部署信息并返回包含部署 信息的响应信息, 以及接收携带有请求方子***标识信息对应的子***文件 访问路径信息的请求消息, 根据请求消息中的子***文件访问路径信息从该 存储模块获得对应的子***软件并返回相应的子***软件。  In an implementation manner, the transmission service module 6010 is a second transmission service module, configured to receive a request message carrying the device identification information of the requesting network management server, and find the device according to the device identification information in the request message. The deployment information related to the requesting party returns a response message including the deployment information, and receives a request message carrying the subsystem file access path information corresponding to the requesting party subsystem identification information, according to the subsystem file access path information in the request message. The storage module obtains the corresponding subsystem software and returns the corresponding subsystem software.
在一种实现方式下, 传输服务模块 6010为第一传输服务模块, 用于接收 携带有部署信息文件访问路径信息的请求消息, 根据请求消息中的部署信息 文件访问路径信息从该存储模块中获得该路径下的部署信息文件并返回, 以 及接收携带有请求方子***标识信息对应的子***文件访问路径信息的请求 消息, 根据请求消息中的子***文件访问路径信息从该存储模块中获得该路 径下的子***软件并返回相应的子***软件。 这里的部署信息文件访问路径 信息包括: 全量部署信息文件访问路径、 当前网管服务器对应的部署信息文 件的访问路径。 In an implementation manner, the transport service module 6010 is a first transport service module, configured to receive a request message carrying the deployment information file access path information, according to the deployment information in the request message. The file access path information obtains the deployment information file in the path from the storage module and returns, and receives the request message carrying the subsystem file access path information corresponding to the requester subsystem identification information, according to the subsystem file in the request message. The access path information obtains the subsystem software under the path from the storage module and returns the corresponding subsystem software. The deployment information file access path information includes: a full deployment information file access path, and an access path of the deployment information file corresponding to the current network management server.
子***加载器 6020包括:  The subsystem loader 6020 includes:
部署管理子模块 6021 , 用于在初始化时, 调用信息传输子模块 6022获取 与当前设备相关的部署信息, 根据信息传输子模块 6022获得的部署信息确定 本机待部署的子***标识信息, 调用信息传输子模块 6022获取子***软件, 并在信息传输子模块 6022获得子***软件后, 调用进程管理子模块 6023进 行启动;  The deployment management sub-module 6021 is configured to: during the initialization, invoke the information transmission sub-module 6022 to obtain the deployment information related to the current device, and determine the subsystem identification information to be deployed by the information transmission sub-module 6022, and invoke the information. The transmission sub-module 6022 acquires the subsystem software, and after the information transmission sub-module 6022 obtains the subsystem software, invokes the process management sub-module 6023 to start;
信息传输子模块 6022,用于请求传输服务模块 6010返回与获取部署信息 的请求对应的响应信息, 由该响应信息得到与当前网管服务器相关的部署信 息, 以及向传输服务模块 6010请求获得与所述确定的待部署的子***标识信 息相应的子***软件并保存所述获得的子***软件;  The information transmission sub-module 6022 is configured to request the transmission service module 6010 to return response information corresponding to the request for acquiring the deployment information, obtain the deployment information related to the current network management server from the response information, and request the transmission service module 6010 to obtain the Determining subsystem identification information to be deployed corresponding subsystem software and saving the obtained subsystem software;
当传输服务模块 6010返回的响应信息为请求方部署信息文件(即仅包含 请求方的部署信息)时, 信息传输子模块 6022从返回的部署信息文件中提取 得到与当前网管服务器相关的部署信息;  When the response information returned by the transmission service module 6010 is the requesting party deployment information file (ie, only the deployment information of the requesting party is included), the information transmission sub-module 6022 extracts the deployment information related to the current network management server from the returned deployment information file;
当传输服务模块 6010返回的响应信息为全量部署信息文件(即包含所有 网管服务器的部署信息)时, 信息传输子模块 6022从返回的部署信息文件中 查找得到与当前网管服务器相关的部署信息;  When the response information returned by the transport service module 6010 is a full deployment information file (that is, the deployment information of all the network management servers), the information transmission sub-module 6022 searches for the deployment information related to the current network management server from the returned deployment information file.
当传输服务模块 6010返回的响应信息为包含请求方相关部署信息的响应 信息时, 信息传输子模块 6022从返回的响应信息中提取得到与当前网管服务 器相关的部署信息;  When the response information returned by the transport service module 6010 is the response information including the requester-related deployment information, the information transmission sub-module 6022 extracts the deployment information related to the current network management server from the returned response information;
以及, 子***加载器 6020还包括: 进程管理子模块 6023 , 用于将信息传 输子模块 6022获得的子***软件进行启动。 And, the subsystem loader 6020 further includes: a process management submodule 6023, configured to transmit information The subsystem software obtained by the input sub-module 6022 is started.
进一步的, 子***加载器 6020包括: 緩存 6024, 用于保存信息传输子模 块 6022获得的子***软件。  Further, the subsystem loader 6020 includes: a cache 6024 for storing subsystem software obtained by the information transmission submodule 6022.
图 8 为本发明实施例三的分布式网管***的结构示意图, 描述了一个具 体的分布式网管***的场景, 其中, 网管服务器 701上的子***为拓朴服务、 安全服务; 网管服务器 702上的子***为故障服务; 网管服务器 703上的子 ***为性能管理、 电路管理; 网管服务器 704上的子***为业务发放。 这些 子***共同构成了整个分布式网管***的后台***。 不同的网管服务器处理 不同的网管业务。  FIG. 8 is a schematic structural diagram of a distributed network management system according to Embodiment 3 of the present invention, and describes a specific distributed network management system scenario, where the subsystems on the network management server 701 are topological services and security services; and the network management server 702 The subsystems are faults; the subsystems on the network management server 703 are performance management and circuit management; and the subsystems on the network management server 704 are service delivery. Together, these subsystems form the back-end system of the entire distributed network management system. Different network management servers handle different network management services.
本发明实施例还提供一种分布式部署方法, 该方法应用于分布式网絡管 理***中的至少一台网管服务器自动安装子***软件, 其中所有网管服务器 上的子***共同组成分布式网絡管理***, 图 9为本发明实施例的分布式部 署方法的流程方框图, 即对应网管服务器从初始态迁移到运行态的过程, 包 括:  The embodiment of the invention further provides a distributed deployment method, which is applied to at least one network management server automatically installing subsystem software in a distributed network management system, wherein subsystems on all network management servers form a distributed network management system FIG. 9 is a flow chart of a distributed deployment method according to an embodiment of the present invention, that is, a process for a network management server to migrate from an initial state to an operating state, including:
步骤 8010、 获得与当前设备相关的部署信息; 应当理解的是, 这里获得 部署信, 的触发条件可以是在***初始化时;  Step 8010: Obtain deployment information related to the current device. It should be understood that the trigger condition for obtaining the deployment information herein may be when the system is initialized;
具体可以是: 发送用于获取部署信息的请求消息, 并接收返回的与所述 请求消息对应的响应信息, 由该响应信息得到与当前设备相关的部署信息; 步骤 8011、根据获得的部署信息确定当前设备待部署的子***标识信息, 例如: 子*** A、 B、 C、 D。  Specifically, the method may be: sending a request message for acquiring the deployment information, and receiving the returned response information corresponding to the request message, where the response information is used to obtain deployment information related to the current device; Step 8011, determining according to the obtained deployment information. Subsystem identification information of the current device to be deployed, for example: subsystems A, B, C, and D.
其中, 部署信息包括子***标识信息、 设备标识信息、 与对应的子*** 版本信息三者的关联信息, 这里的子***标识信息和子***版本信息可以统 称为子***信息;  The deployment information includes subsystem identification information, device identification information, and associated information of the corresponding subsystem version information. The subsystem identification information and the subsystem version information herein may be collectively referred to as subsystem information.
在一种实现方式下, 具体可以是: 根据所述关联信息, 确定与当前设备 标识信息对应的子***标识信息, 所述子***标识信息为当前设备待部署的 子***的标识信息 (应当理解的是: 当待部署的子***为多个时, 可以将子 ***标识信息称为子***列表)。 In an implementation manner, the method may be: determining, according to the association information, subsystem identifier information corresponding to current device identifier information, where the subsystem identifier information is identifier information of a subsystem to be deployed by the current device (should be understood The: When there are multiple subsystems to be deployed, you can System identification information is called a subsystem list).
步骤 8012、 请求下载与该子***标识信息对应的子***软件, 并将返回 的与请求对应的子***软件保存;  Step 8012: request to download subsystem software corresponding to the subsystem identifier information, and save the returned subsystem software corresponding to the request;
步骤 8013、 启动所述子***软件。  Step 8013: Start the subsystem software.
即下载完成将各个子***启动, 当前网管服务器进入运行态, 当每台网 管服务器都进入了运行态, 整个网管***就进入了运行态。  That is, after the download is completed, each subsystem is started, and the current network management server enters the running state. When each network management server enters the running state, the entire network management system enters the running state.
为了更好的理解本发明的分布式部署方法, 下面结合图 10来具体介绍本 发明一种实施例的分布式部署方法的交互流程, 如图 10所示, 包括:  For a better understanding of the distributed deployment method of the present invention, the interaction process of the distributed deployment method according to an embodiment of the present invention is specifically described below with reference to FIG. 10, as shown in FIG. 10, including:
步骤 9010、 网管服务器和部署服务器交互, 获取与当前网管服务器相关 的部署信息; 这里存在多种实现方式, 后面将详细介绍;  Step 9010: The network management server interacts with the deployment server to obtain deployment information related to the current network management server. There are multiple implementation modes, which are described in detail later.
步骤 9011、 部署服务器根据请求方的设备标识信息是否在子***分布部 署信息中来决定是否允许部署信息和子***软件的下载; 这是可选的步骤, 进一步提高安全性; 这里的设备标识信息, 例如: IP地址、 主机名、 MAC地 址等;  Step 9011: The deployment server determines whether to allow deployment of the deployment information and the subsystem software according to whether the device identification information of the requester is in the subsystem distribution deployment information; this is an optional step to further improve security; device identification information herein, For example: IP address, host name, MAC address, etc.;
步骤 9012、 网管服务器将返回的部署信息保存在本地; 主要是方便升级 子***软件的过程中, 比较本地的部署配置信息和获取的部署配置信息是否 一致, 即网管服务器比较获得的部署信息中的当前网管服务器关联的子*** 与当前网管服务器已部署的子***是否一致;  Step 9012: The network management server saves the returned deployment information locally; mainly, in the process of upgrading the subsystem software, comparing the local deployment configuration information with the obtained deployment configuration information, that is, the deployment information obtained by the network management server is compared. Whether the subsystem associated with the current network management server is consistent with the subsystem deployed by the current network management server;
步骤 9013、 网管服务器根据当前网管服务器相关的部署信息确定本机待 部署的子***标识信息 (子***列表);  Step 9013: The network management server determines the subsystem identification information (subsystem list) to be deployed by the network management server according to the deployment information related to the current network management server.
步骤 9014、 网管服务器发送携带有与该子***标识信息对应的子***文 件访问路径信息的请求消息;  Step 9014: The network management server sends a request message carrying the subsystem file access path information corresponding to the subsystem identifier information.
步骤 9015、 部署服务器根据收到的请求消息中的文件访问路径信息获得 该路径下相应的子***软件;  Step 9015: The deployment server obtains the corresponding subsystem software in the path according to the file access path information in the received request message.
步骤 9016、 部署服务器返回获得子***软件;  Step 9016: The deployment server returns to obtain the subsystem software.
步骤 9017、 网管服务器将返回的子***软件存在本地緩存; 步骤 9018、 网管服务器启动本地緩存中的子***软件。 Step 9017: The network management server returns the returned subsystem software to the local cache. Step 9018: The network management server starts the subsystem software in the local cache.
下面结合图 12 - 14分别介绍步骤 9010的不同实施方式:  Different implementations of step 9010 are described below in conjunction with Figures 12-14:
如图 12所示为本发明实施例一的从部署服务器获取部署信息的交互流程 图, 其中部署服务器中存放有全量部署信息文件, 包括:  FIG. 12 is a flowchart of an interaction process for obtaining deployment information from a deployment server according to Embodiment 1 of the present invention, where the deployment server stores a full deployment information file, including:
步骤 1310、 网管服务器发送请求消息, 以下载全量部署信息文件, 其中 该请求消息中包括该网管服务器的设备标识信息 (可选的)和全量部署信息 文件访问路径信息;  Step 1310: The network management server sends a request message to download a full deployment information file, where the request message includes device identification information (optional) of the network management server and full deployment information file access path information.
当步骤 1310中的请求消息中携带有设备标识信息时, 部署服务器根据来 自网管服务器的请求消息中的设备标识信息来进行安全性检查, 即部署服务 器根据请求端 IP是否在子***分布部署信息中来决定是否允许部署信息文件 和其它文件 (例如: 子***软件) 的下载。  When the request message in the step 1310 carries the device identification information, the deployment server performs security check according to the device identification information in the request message from the network management server, that is, the deployment server is configured according to whether the request end IP is in the subsystem distribution deployment information. To decide whether to allow the download of information files and other files (for example: subsystem software) to be deployed.
步骤 1311、 部署服务器根据收到的请求消息中的文件访问路径信息获得 该路径下对应的全量部署信息文件;  Step 1311: The deployment server obtains the full deployment information file corresponding to the path according to the file access path information in the received request message.
步骤 1312、 部署服务器返回该全量部署信息文件;  Step 1312: The deployment server returns the full deployment information file.
步骤 1313、 网管服务器从获得的全量部署信息文件中, 根据该网管服务 器的设备标识信息查找得到当前网管服务器相关的部署信息;  Step 1313: The network management server searches for the deployment information related to the current network management server according to the device identification information of the network management server from the obtained full deployment information file.
如图 13所示为本发明实施例二的从部署服务器获取部署信息的交互流程 图, 其中部署服务器中存放有全量部署信息文件或者数据库中存储所有网管 服务器的部署信息, 包括:  As shown in FIG. 13 , the interaction flow diagram of obtaining the deployment information from the deployment server according to the second embodiment of the present invention, wherein the deployment server stores the full deployment information file or the deployment information of all the network management servers in the database, including:
步骤 1410、 网管服务器发送请求消息, 以下载本机相关的部署信息, 该 请求消息中包括该网管服务器的设备标识信息;  Step 1410: The network management server sends a request message to download the deployment information related to the local device, where the request message includes device identification information of the network management server.
步骤 1411、 部署服务器根据该请求消息中包含的设备标识信息查找得到 与该网管服务器相关的部署信息;  Step 1411: The deployment server searches for the deployment information related to the network management server according to the device identifier information included in the request message.
步骤 1412、 部署服务器返回包括有该网管服务器相关的部署信息的响应 消息;  Step 1412: The deployment server returns a response message including deployment information related to the network management server.
步骤 1413、 网管服务器从该响应消息中获得本机相关的部署信息。 如图 14所示为本发明实施例三的从部署服务器获取部署信息的交互流程 图, 其中部署服务器中存储有多个部署信息文件, 不同的部署信息文件分别 对应不同的网管服务器, 即将每个网管服务器的部署信息存放在一个独立文 件中, 包括: Step 1413: The network management server obtains local deployment information from the response message. FIG. 14 is a flowchart of an interaction process for obtaining deployment information from a deployment server according to Embodiment 3 of the present invention. The deployment server stores multiple deployment information files, and different deployment information files respectively correspond to different network management servers, that is, each The deployment information of the network management server is stored in a separate file, including:
步骤 1510、 网管服务器发送请求消息, 以下载本机相关的部署信息文件, 其中该请求消息中包括网管服务器的设备标识信息 (可选的)和部署信息文 件访问路径信息, 这里的部署信息文件访问路径信息为当前网管服务器对应 的部署信息文件的访问路径信息;  Step 1510: The network management server sends a request message to download a deployment information file related to the local device, where the request message includes device identification information (optional) of the network management server and deployment information file access path information, where the deployment information file is accessed. The path information is the access path information of the deployment information file corresponding to the current network management server.
当步骤 1510中的请求消息中携带有设备标识信息时, 部署服务器根据来 自网管服务器的请求消息中的设备标识信息来进行安全性检查, 即部署服务 器根据请求端 IP是否在子***分布部署信息中来决定是否允许部署信息文件 和其它文件 (例如: 子***软件) 的下载。  When the request message in the step 1510 carries the device identification information, the deployment server performs security check according to the device identification information in the request message from the network management server, that is, the deployment server is configured according to whether the request end IP is in the subsystem distribution deployment information. To decide whether to allow the download of information files and other files (for example: subsystem software) to be deployed.
步骤 1511、 部署服务器根据收到的请求消息中的文件访问路径信息获得 该路径下对应的部署信息文件;  Step 1511: The deployment server obtains a deployment information file corresponding to the path according to the file access path information in the received request message.
步骤 1512、 部署服务器返回该部署信息文件;  Step 1512: The deployment server returns the deployment information file.
步骤 1513、 网管服务器从该部署信息文件中直接获得本机所有相关的部 署信息。  Step 1513: The network management server directly obtains all relevant deployment information of the local machine from the deployment information file.
当网管***需要升级或者打补丁时, 管理员会在部署服务器上更新部分 文件, 并修改部署信息文件中的子***版本信息, 或者, 根据需要调整网管 ***的各个网管服务器上的子***分布, 这一步可以是人工完成或者由升级 工具完成, 此时网管***进入了待升级态, 网管服务器上的本地緩存中的软 件和部署服务器上的软件版本不一致或者是本地緩存中的软件和部署服务器 上对应该网管服务器所分布的软件不一致, 各个网管服务器通过定时获取最 新的部署配置信息并检查本机的部署配置信息是否与获取的一致, 以决定是 否需要进行同步。 这就涉及到了运行态—— >待更新态—— >运行态的过程, 下面结合图 11来描述升级方法, 如图 11所示, 本发明实施例的升级方法包 括: When the network management system needs to be upgraded or patched, the administrator will update some files on the deployment server and modify the subsystem version information in the deployment information file, or adjust the subsystem distribution on each network management server of the network management system as needed. This step can be done manually or by the upgrade tool. At this point, the network management system enters the upgrade state. The software in the local cache on the network management server is inconsistent with the software version on the deployment server or on the software and deployment server in the local cache. The software distributed by the network management server is inconsistent. Each network management server obtains the latest deployment configuration information and checks whether the deployment configuration information of the local device is consistent with the obtained configuration to determine whether synchronization is required. This refers to the process of running state -> to be updated -> running state. The upgrade method is described below with reference to FIG. 11. As shown in FIG. 11, the upgrade method package of the embodiment of the present invention Includes:
步骤 1010、 网管服务器与部署服务器交互, 定时获取最新的部署配置信 息;  Step 1010: The network management server interacts with the deployment server to periodically obtain the latest deployment configuration information.
这里, 获取最新的部署配置信息可以是从部署服务器下载部署信息文件; 步骤 1011、 网管服务器检查本机的部署配置信息是否与获取的部署配置 信息一致, 当不一致时, 执行步骤 1012; 当一致时, 本次过程结束, 等待下 次定时器触发;  Here, the latest deployment configuration information may be obtained by downloading the deployment information file from the deployment server. Step 1011: The network management server checks whether the deployment configuration information of the local device is consistent with the obtained deployment configuration information. If not, go to step 1012; , the process ends, waiting for the next timer to trigger;
当在首次安装本机软件的过程中, 网管服务器将当前获得的本机相关的 部署信息以文件保存, 并且在升级过程中, 釆用前述实施例三的方式去获取 部署信息文件(参考图 14 ), 这里的检查本机的部署配置信息是否与获取的部 署配置信息一致可以是检查本机保存的部署信息文件是否与获取的部署信息 文件一致。  In the process of installing the native software for the first time, the network management server saves the currently obtained deployment information related to the local machine as a file, and in the upgrade process, obtains the deployment information file by using the foregoing method in the third embodiment (refer to FIG. 14). The check whether the deployment configuration information of the local device is consistent with the obtained deployment configuration information may be whether the deployment information file saved by the local device is consistent with the obtained deployment information file.
步骤 1012、 停止本机上已经部署(安装) 的所有子***;  Step 1012: Stop all subsystems that have been deployed (installed) on the local machine;
步骤 1013、 请求下载部署于本机且确定不一致的子***软件;  Step 1013: request downloading subsystem software deployed on the local machine and determining inconsistency;
步骤 1014、 部署服务器返回更新的子***软件;  Step 1014: The deployment server returns the updated subsystem software.
步骤 1015、 网管服务器将更新的子***软件保存在本地緩存, 并启动本 地緩存中的所有子***软件; 该网管服务器再次进入运行态。 下面进一步来介绍在升级过程中网管服务器从部署服务器下载文件的过 程, 应当理解的是: 在本发明的一种实施方式下, 可以釆用将部署配置信息 和 /或子***软件以文件保存在部署服务器中, 故获取更新后的部署配置信息 和 /或子***软件就可以理解为下载更新后的文件;  Step 1015: The network management server saves the updated subsystem software in a local cache, and starts all subsystem software in the local cache; the network management server enters the running state again. The process of downloading files from the deployment server by the network management server during the upgrade process is further described below. It should be understood that, in an embodiment of the present invention, the deployment configuration information and/or subsystem software may be saved in the file. In the deployment server, obtaining the updated deployment configuration information and/or subsystem software can be understood as downloading the updated file;
如图 15所示为本发明实施例的釆用 HTTP协议从部署服务器下载文件的 交互流程图, 适用于升级过程, 包括:  FIG. 15 is a flowchart of an interaction process for downloading a file from a deployment server by using an HTTP protocol according to an embodiment of the present invention, and is applicable to an upgrade process, including:
步骤 1110、 网管服务器发送 HTTP请求, 以下载文件, 其中该 HTTP请 求中包括该网管服务器本地緩存中文件的文件标识信息和该文件相应的文件 访问路径信息; Step 1110: The network management server sends an HTTP request to download a file, where the HTTP request includes file identifier information of a file in the local cache of the network management server and a file corresponding to the file. Access path information;
这里的文件, 可以是部署信息文件,也可以是子***软件所在的文件(即 子***文件), 并且上述的修改时间还可以釆用 MD5等校验码; 这里的文件 标识信息, 例如文件的最后修改时间、 MD5等校验码。  The file here may be a deployment information file or a file (ie, a subsystem file) where the subsystem software is located, and the above modification time may also use a verification code such as MD5; the file identification information here, such as a file Finally modify the time, MD5 and other checksums.
步骤 1111、 部署服务器接收到该 HTTP请求, 判断该请求中携带的相应 文件的文件标识信息与本机存储的相应文件的文件标识信息是否一致, 当文 件标识信息一致时, 直接返回成功, 不用传输相应的文件内容, 结束流程; 否则, 根据该请求中包含的文件访问路径信息获得相应的文件, 并执行步骤 1112;  Step 1111: The deployment server receives the HTTP request, and determines whether the file identifier information of the corresponding file carried in the request is consistent with the file identifier information of the corresponding file stored by the local device. When the file identifier information is consistent, the direct return success is successful, and the transmission is not performed. The corresponding file content, the end of the process; otherwise, according to the file access path information contained in the request to obtain the corresponding file, and step 1112;
在一种实现方式下, 判断该请求中携带的相应文件的最后修改时间与本 机存储的相应文件的修改时间是否一致, 当修改时间一致时, 直接返回成功, 不用传输相应的文件内容; 否则, 根据该请求中包含的文件访问路径信息获 得相应的文件, 并执行下一步;  In an implementation manner, it is determined whether the last modification time of the corresponding file carried in the request is consistent with the modification time of the corresponding file stored by the local device. When the modification time is consistent, the direct return success is successful, and the corresponding file content is not transmitted; Obtaining the corresponding file according to the file access path information included in the request, and performing the next step;
例如: 当请求中携带子***文件 A的最后修改时间, 即判断子***文件 A的最后修改时间与部署服务器本机存储的子***文件 A的修改时间是否一 致。  For example: When the request carries the last modification time of the subsystem file A, it is judged whether the last modification time of the subsystem file A is consistent with the modification time of the subsystem file A stored by the deployment server.
步骤 1112、 部署服务器返回相应的文件;  Step 1112: The deployment server returns a corresponding file.
步骤 1113、 网管服务器将收到的文件保存在本地緩存中。  Step 1113: The network management server saves the received file in a local cache.
因此上述的过程, 会使网管服务器本地緩存的文件与部署服务器上的文 件高效的同步, 而且不会下载完全一样的文件。 文件更新完成, 再次启动网 管服务器本机的子***, 网管服务器再次进入运行态。  Therefore, the above process will efficiently synchronize the files cached locally by the network management server with the files on the deployment server, and will not download the exact same files. After the file update is completed, the subsystem of the network management server is started again, and the network management server enters the running state again.
为了更好的理解在升级过程中网管服务器从部署服务器下载文件的过 程, 下面再以釆用非 HTTP协议下载文件为例, 例如 FTP、 SFTP、 NFS等协 议, 为了方便描述, 本实施例中以 FTP协议为例描述, 如图 16所示, 为本发 明实施例的釆用 FTP协议从部署服务器下载文件的交互流程图, 包括:  In order to better understand the process of downloading files from the deployment server during the upgrade process, the following is an example of downloading files by using the non-HTTP protocol, such as FTP, SFTP, and NFS. For the convenience of description, in this embodiment, The FTP protocol is described as an example. As shown in FIG. 16 , an interaction flowchart of downloading files from a deployment server by using the FTP protocol according to an embodiment of the present invention includes:
步骤 1210、 网管服务器发送 FTP查询请求消息, 以获得部署服务器上的 文件详细信息; Step 1210: The network management server sends an FTP query request message to obtain a deployment server. File details;
步骤 1211、 部署服务器返回 FTP响应消息, 其中该响应消息中包括文件 标识信息, 例如: 文件最后修改时间;  Step 1211: The deployment server returns an FTP response message, where the response message includes file identification information, for example: a file modification time;
步骤 1213、 网管服务器比较本地緩存中文件的文件标识信息与返回的文 件标识信息是否一致, 当文件标识信息一致时, 返回下载成功, 结束流程; 否则, 执行步骤 1214;  Step 1213: The network management server compares the file identifier information of the file in the local cache with the returned file identifier information. When the file identifier information is consistent, the download success is successful, and the process ends; otherwise, step 1214 is performed;
在一种实现方式下, 网管服务器比较本地緩存中文件的最后修改时间与 返回的文件最后^ ί'爹改时间是否一致, 当^ ί'爹改时间一致时, 返回下载成功, 结 束流程; 否则, 执行下一步;  In an implementation manner, the network management server compares the last modification time of the file in the local cache with the last 爹 tampering time of the returned file, and when the tampering time is consistent, the download is successful, and the process ends; otherwise, , perform the next step;
步骤 1214、 网管服务器发送 FTP下载文件的请求消息, 其中, 该请求消 息中包含文件标识信息不一致的文件的访问路径信息;  Step 1214: The network management server sends a request message for the FTP download file, where the request message includes access path information of the file whose file identification information is inconsistent;
在一种实现方式下, 该请求消息中包含最后修改时间不一致的文件的访 问路径信息;  In an implementation manner, the request message includes access path information of a file whose last modification time is inconsistent;
步骤 1215、 部署服务器根据该请求消息中的文件访问路径信息获取该路 径下的相应文件;  Step 1215: The deployment server acquires a corresponding file under the path according to the file access path information in the request message.
步骤 1216、 部署服务器返回相应的文件;  Step 1216: The deployment server returns a corresponding file.
步骤 1217、 网管服务器将返回的文件保存在本地緩存中。  Step 1217: The network management server saves the returned file in the local cache.
应当理解的是: 釆用其他非 HTTP协议下载文件的过程与上述过程相同。 由本发明实施例可知, 通过釆用从部署服务器向下拉文件的方式实现子 ***软件的自动安装、 部署、 升级, 从而提高分布式网管***的可维护性, 提高了维护效率, 降低分布式网管***的维护成本, 管理员只需要单点升级、 打补丁, 各分布的网管服务器自动完成安装、 部署、 升级、 打补丁的过程; 以及, 通过釆用本发明实施例, 避免了现有基于推模式的分布式部署方 案中将每台网管服务器给主控机开发远程控制的权限, 所导致的安全性差的 问题, 以及避免了现有基于推模式的分布式部署方案中要求在部署过程中各 台网管服务器的运行状态、 网絡连接必须是正常的, 所带来的可靠性差的问 题, 从而提高了分布式网管***的安全性和可靠性。 It should be understood that: The process of downloading files using other non-HTTP protocols is the same as the above process. According to the embodiment of the present invention, the automatic installation, deployment, and upgrade of the subsystem software are implemented by using a pull-down file from the deployment server, thereby improving the maintainability of the distributed network management system, improving the maintenance efficiency, and reducing the distributed network management system. Maintenance costs, the administrator only needs to upgrade and patch a single point, and each distributed network management server automatically completes the process of installation, deployment, upgrade, and patching; and, by using the embodiment of the present invention, avoids the existing push-based mode. In the distributed deployment solution, each network management server develops the remote control authority for the main control machine, resulting in poor security, and avoids the need for the existing deployment process based on the push mode. The running status and network connection of the network management server must be normal, and the reliability caused by the problem is poor. The problem is to improve the security and reliability of the distributed network management system.
本领域普通技术人员可以理解实现上述实施例方法中安装和 /或升级的过 程可以通过程序指令相关的硬件来完成, 所述的程序可以存储于网管***或 呼叫中心的可读取存储介质中, 该程序在执行时执行上述方法中的对应步骤。 所述的存储介质可以如: ROM/RAM、 磁碟、 光盘等。  A person skilled in the art can understand that the process of implementing the installation and/or upgrade in the method of the foregoing embodiment can be completed by using hardware related to the program instruction, and the program can be stored in a readable storage medium of the network management system or the call center. The program performs the corresponding steps in the above method when executed. The storage medium may be, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范 围。 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进等, 均 应包含在本发明的保护范围之内。  The above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利 要求 书 Claim
1.一种分布式网絡管理***, 其特征在于, 包括: 部署服务器和至少一台网 管服务器,  A distributed network management system, comprising: a deployment server and at least one network management server,
所述网管服务器, 用于从所述部署服务器获得与本机相关的部署信息, 根 据所述部署信息从所述部署服务器获得相应的子***软件, 并运行所述子*** 软件;  The network management server is configured to obtain deployment information related to the local machine from the deployment server, obtain corresponding subsystem software from the deployment server according to the deployment information, and run the subsystem software;
所述部署服务器, 用于存储分布式网管***的所有子***的子***软件和 子***分布部署信息。  The deployment server is configured to store subsystem software and subsystem distribution deployment information of all subsystems of the distributed network management system.
2.根据权 1所述的***, 其特征在于, 所述网管服务器, 还用于在确定当前 网管服务器已部署的子***软件与部署服务器上当前网管服务器关联的子*** 软件不一致时, 从所述部署服务器获得更新后的子***软件, 重运行所述子系 统软件。  2. The system according to claim 1, wherein the network management server is further configured to: when determining that the subsystem software deployed by the current network management server is inconsistent with the subsystem software associated with the current network management server on the deployment server, The deployment server obtains the updated subsystem software and re-runs the subsystem software.
3.—种网管服务器, 应用于分布式网絡管理***, 其特征在于, 包括: 信息传输模块, 用于发送获取部署信息的请求消息, 并接收返回的与所述 请求消息对应的响应信息, 由该响应信息得到与当前网管服务器相关的部署信 息, 以及从部署服务器上获得与所得到的部署信息相应的子***软件;  The network management server is applied to the distributed network management system, and is characterized in that: the information transmission module is configured to send a request message for acquiring deployment information, and receive the returned response information corresponding to the request message, The response information obtains deployment information related to the current network management server, and obtains subsystem software corresponding to the obtained deployment information from the deployment server;
进程管理模块, 用于运行所述信息传输模块获得的子***软件;  a process management module, configured to run subsystem software obtained by the information transmission module;
部署管理模块, 用于调用所述信息传输模块获取部署信息, 根据所述信息 传输模块获得的部署信息, 调用所述信息传输模块获取相应的子***软件, 并 在所述信息传输模块获得子***软件后 , 调用所述进程管理模块运行。  a deployment management module, configured to invoke the information transmission module to obtain deployment information, invoke the information transmission module to acquire corresponding subsystem software according to the deployment information obtained by the information transmission module, and obtain a subsystem in the information transmission module After the software, the process management module is called to run.
4.根据权 3所述的网管服务器,其特征在于,所述部署管理模块进一步用于, 定时调用所述信息传输模块获取部署信息, 在确定本机已部署子***软件与所 述信息传输模块获得的部署信息中当前网管服务器关联的子***软件不一致 时, 调用所述信息传输模块获得更新后的与当前网管服务器相关的子***软件, 并且调用所述进程管理模块重运行子***软件;  4. The network management server according to claim 3, wherein the deployment management module is further configured to periodically invoke the information transmission module to acquire deployment information, and determine that the local deployed subsystem software and the information transmission module are determined. When the subsystem software associated with the current network management server is inconsistent in the obtained deployment information, the information transmission module is invoked to obtain the updated subsystem software related to the current network management server, and the process management module is invoked to re-run the subsystem software;
所述信息传输模块, 进一步用于从部署服务器上获得与本机相关的部署信 息, 以及从部署服务器上获得与当前网管服务器相关的且更新后的子***软件; 所述进程管理模块, 进一步用于停止当前网管服务器上已部署的子***软 件, 并运行所述信息传输模块获得的更新后的子***软件。 The information transmission module is further configured to obtain a deployment letter related to the local machine from the deployment server And obtaining the updated subsystem software related to the current network management server from the deployment server; the process management module is further configured to stop the deployed subsystem software on the current network management server, and run the information transmission module Obtained updated subsystem software.
5.根据权 3所述的网管服务器, 其特征在于, 所述信息传输模块为第一信息 传输模块, 用于发送携带有全量部署信息文件访问路径信息的第四请求消息, 并接收返回的与所述第四请求消息对应的全量部署信息文件, 从所述全量部署 信息文件中查找得到当前网管服务器相关的部署信息; 以及, 用于发送携带有 当前网管服务器待部署的子***软件对应的文件访问路径信息的第五请求消 息, 并接收返回的与所述第五请求消息对应的子***软件。  The network management server according to claim 3, wherein the information transmission module is a first information transmission module, configured to send a fourth request message carrying the full deployment information file access path information, and receive the returned And the full deployment information file corresponding to the fourth request message, and the deployment information related to the current network management server is obtained from the full deployment information file; and the file corresponding to the subsystem software to be deployed by the current network management server is sent. Accessing a fifth request message of the path information, and receiving the returned subsystem software corresponding to the fifth request message.
6. 根据权 3所述的网管服务器, 其特征在于, 所述信息传输模块为第二信 息传输模块, 用于发送携带有当前网管服务器的设备标识信息的第六请求消息, 并接收返回的包含有当前网管服务器相关部署信息的第六响应消息, 从该响应 消息中提取得到当前网管服务器相关的部署信息; 以及, 用于发送携带有当前 网管服务器待部署的子***软件对应的文件访问路径信息的第七请求消息, 并 接收返回的与所述第七请求消息对应的子***软件。  The network management server according to claim 3, wherein the information transmission module is a second information transmission module, configured to send a sixth request message carrying the device identification information of the current network management server, and receive the returned content. The sixth response message of the current network management server related deployment information, the deployment information related to the current network management server is extracted from the response message, and the file access path information corresponding to the subsystem software to be deployed by the current network management server is sent. And a seventh request message, and receiving the returned subsystem software corresponding to the seventh request message.
7. 根据权 3所述的网管服务器, 其特征在于, 所述信息传输模块为第三信 息传输模块, 用于发送携带有当前网管服务器的部署信息对应的文件访问路径 信息的第八请求消息, 并接收返回的与所述第八请求消息对应的部署信息文件 , 从所述部署信息文件中获得当前网管服务器相关的部署信息; 以及, 用于发送 携带有当前网管服务器待部署的子***软件对应的文件访问路径信息的第九请 求消息, 并接收返回的与所述第九请求消息对应的子***软件。  The network management server according to claim 3, wherein the information transmission module is a third information transmission module, configured to send an eighth request message carrying the file access path information corresponding to the deployment information of the current network management server, Receiving the returned deployment information file corresponding to the eighth request message, obtaining the deployment information related to the current network management server from the deployment information file, and sending the subsystem software corresponding to the current network management server to be deployed. The file accesses the ninth request message of the path information, and receives the returned subsystem software corresponding to the ninth request message.
8.—种网管服务器, 其特征在于, 应用于分布式网管***中, 在该分布式网 管***中其他网管服务器与该网管服务器通信, 该网管服务器包括:  8. A network management server, which is characterized in that it is applied to a distributed network management system, in which other network management servers communicate with the network management server, and the network management server includes:
子***加载器, 用于向传输服务模块请求获得与当前网管服务器相关的部 署信息, 根据所述获得的部署信息, 向所述传输服务模块请求获得相应的子系 统软件, 将所述获得的子***软件运行; 传输服务模块, 用于根据接收的用于获取部署信息的请求消息返回与所述 请求消息对应的响应信息, 所述响应信息包含与请求方网管服务器相关的部署 信息, 以及根据接收的用于获得与请求方网管服务器的部署信息相应的子*** 软件的请求消息, 返回相应的子***软件。 a subsystem loader, configured to request, from the transport service module, deployment information related to the current network management server, and request, according to the obtained deployment information, the corresponding subsystem software to obtain the obtained subsystem System software running; a transmission service module, configured to return, according to the received request message for acquiring deployment information, response information corresponding to the request message, where the response information includes deployment information related to the requesting network management server, and is used according to the received The request message of the subsystem software corresponding to the deployment information of the requesting network management server returns the corresponding subsystem software.
9.根据权 8所述的网管服务器, 其特征在于, 所述网管服务器进一步包括: 存储有该分布式网管***中所有子***软件, 以及子***分布部署信息的存储 模块;  The network management server according to claim 8, wherein the network management server further comprises: a storage module storing all subsystem software in the distributed network management system and distribution information of the subsystem distribution;
所述传输服务模块为第一传输服务模块, 用于接收携带有部署信息文件访 问路径信息的请求消息, 根据该请求消息中的部署信息文件访问路径信息从该 存储模块中获得对应的部署信息文件并返回, 以及接收携带有请求方部署信息 对应的子***文件访问路径信息的请求消息, 根据该请求消息中的子***文件 访问路径信息从该存储模块中获得对应的子***软件并返回。  The transmission service module is a first transmission service module, configured to receive a request message carrying the deployment information file access path information, and obtain a corresponding deployment information file from the storage module according to the deployment information file access path information in the request message. And returning, and receiving the request message carrying the subsystem file access path information corresponding to the requesting party deployment information, obtaining the corresponding subsystem software from the storage module according to the subsystem file access path information in the request message, and returning.
10. 根据权 8所述的网管服务器,其特征在于,所述网管服务器进一步包括: 存储有该分布式网管***中所有子***软件, 以及子***分布部署信息的存储 模块;  10. The network management server according to claim 8, wherein the network management server further comprises: a storage module that stores all subsystem software in the distributed network management system and distribution information of the subsystem;
所述传输服务模块为第二传输服务模块, 用于接收携带有请求方设备标识 信息的请求消息, 根据该请求消息中的设备标识信息从所述存储模块查找得到 与请求方相关的部署信息并返回包含该部署信息的响应信息, 以及接收携带有 请求方部署信息对应的子***文件访问路径信息的请求消息, 根据该请求消息 中的子***文件访问路径信息从所述存储模块获得对应的子***软件并返回。  The transmission service module is a second transmission service module, configured to receive a request message carrying the requester device identification information, and obtain, according to the device identification information in the request message, the deployment information related to the requesting party from the storage module. Returning the response information including the deployment information, and receiving the request message carrying the subsystem file access path information corresponding to the requester deployment information, and obtaining the corresponding child from the storage module according to the subsystem file access path information in the request message. System software and returns.
11. 根据权 8所述的网管服务器, 其特征在于, 所述子***加载器包括: 信息传输子模块, 用于请求所述传输服务模块返回与获取部署信息的请求 对应的响应信息, 由该响应信息得到与当前网管服务器相关的部署信息, 以及 向传输服务模块请求获得与所述部署信息相应的子***软件;  11. The network management server according to claim 8, wherein the subsystem loader includes: an information transmission submodule, configured to request the transmission service module to return response information corresponding to the request for acquiring deployment information, where The response information obtains deployment information related to the current network management server, and requests the transmission service module to obtain subsystem software corresponding to the deployment information;
进程管理子模块, 用于将所述信息传输子模块获得的子***软件运行; 部署管理子模块 , 用于调用所述信息传输子模块获取与当前设备相关的部 署信息, 根据所述部署信息, 调用所述信息传输子模块获取相应的子***软件, 并在所述信息传输子模块获得子***软件后 , 调用所述进程管理子模块运行。 a process management submodule, configured to run the subsystem software obtained by the information transmission submodule; and a deployment management submodule, configured to invoke the information transmission submodule to acquire a department related to the current device According to the deployment information, the information transmission sub-module is called to acquire the corresponding subsystem software, and after the information transmission sub-module obtains the subsystem software, the process management sub-module is invoked to run.
12.—种分布式部署方法, 其特征在于, 应用于分布式网絡管理***中的至 少一台网管服务器, 其中各网管服务器上的子***共同组成分布式网絡管理系 统, 包括:  12. A distributed deployment method, characterized in that it is applied to at least one network management server in a distributed network management system, wherein subsystems on each network management server form a distributed network management system, including:
获得与当前网管服务器相关的部署信息;  Obtain deployment information related to the current network management server;
根据所述获得的部署信息请求下载对应的子***软件, 接收返回的与该请 求对应的子***软件;  And downloading, according to the obtained deployment information, the corresponding subsystem software, and receiving the returned subsystem software corresponding to the request;
运行所述子***软件。  Run the subsystem software.
13.根据权 12所述的方法, 其特征在于, 所述根据所述获得的部署信息请求 下载对应的子***软件包括:  The method according to claim 12, wherein the downloading the corresponding subsystem software according to the obtained deployment information request comprises:
根据所述获得的部署信息确定当前网管服务器待部署的子***标识信息; 请求下载与该子***标识信息对应的子***软件。  Determining, according to the obtained deployment information, subsystem identification information to be deployed by the current network management server; requesting downloading subsystem software corresponding to the subsystem identification information.
14.根据权 13所述的方法,其特征在于,所述部署信息包括子***标识信息、 设备标识信息、 与对应的子***版本信息的关联信息,  The method according to claim 13, wherein the deployment information comprises subsystem identification information, device identification information, and association information with corresponding subsystem version information,
所述根据所述获得的部署信息确定当前网管服务器待部署的子***标识信 息的步骤包括:  The step of determining, according to the obtained deployment information, the subsystem identification information to be deployed by the current network management server includes:
根据所述关联信息, 确定与当前设备标识信息对应的子***标识信息, 所 述子***标识信息为当前网管服务器待部署的子***标识信息。  And determining the subsystem identifier information corresponding to the current device identifier information according to the association information, where the subsystem identifier information is the subsystem identifier information to be deployed by the current network management server.
15. 根据权 13所述的方法, 其特征在于, 所述获得与当前网管服务器相关 的部署信息的步骤包括:  15. The method according to claim 13, wherein the step of obtaining deployment information related to the current network management server comprises:
发送携带有全量部署信息文件访问路径信息的请求消息, 接收返回的与该 请求消息对应的全量部署信息文件, 并根据当前网管服务器的设备标识信息从 该全量部署信息文件中查找得到当前网管服务器相关的部署信息;  Sending a request message carrying the full deployment information file access path information, receiving the returned full deployment information file corresponding to the request message, and searching for the current network management server from the full deployment information file according to the device identification information of the current network management server. Deployment information;
或者, 发送携带有当前网管服务器的设备标识信息的请求消息, 接收返回 的包含有与当前网管服务器相关的部署信息的响应消息, 并从该响应消息中获 得当前网管服务器相关的部署信息; Or sending a request message carrying the device identification information of the current network management server, receiving the returned response message including the deployment information related to the current network management server, and obtaining the response message from the response message. Get the deployment information related to the current network management server;
或者, 发送携带有当前网管服务器对应的部署信息文件访问路径信息的请 求消息, 接收返回的与该请求消息对应的部署信息文件, 从该部署信息文件中 获得当前网管月良务器相关的部署信息。  Or sending a request message carrying the deployment information file access path information corresponding to the current network management server, receiving the returned deployment information file corresponding to the request message, and obtaining the deployment information related to the current network management server from the deployment information file. .
16. 根据权 13所述的方法, 其特征在于, 所述方法进一步包括:  16. The method of claim 13, wherein the method further comprises:
定时获取最新的部署信息;  Get the latest deployment information regularly;
确定所述获得的部署信息中的当前网管服务器关联的子***软件与当前网 管服务器已部署的子***软件不一致时, 停止当前网管服务器上已部署的子系 统软件;  When it is determined that the subsystem software associated with the current network management server in the obtained deployment information is inconsistent with the subsystem software deployed by the current network management server, the deployed subsystem software on the current network management server is stopped;
请求下载部署于当前网管服务器且确定不一致的子***软件, 接收返回的 与该请求对应的更新后的子***软件;  Requesting to download the subsystem software deployed on the current network management server and determining the inconsistency, and receiving the returned updated subsystem software corresponding to the request;
启动所接收的更新后的子***软件。  Start the updated subsystem software received.
PCT/CN2009/070755 2008-03-28 2009-03-12 Distributed network management system, network management server and method WO2009117921A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810066221.3 2008-03-28
CNA2008100662213A CN101267341A (en) 2008-03-28 2008-03-28 A distributed network management system, network management server and method

Publications (1)

Publication Number Publication Date
WO2009117921A1 true WO2009117921A1 (en) 2009-10-01

Family

ID=39989490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070755 WO2009117921A1 (en) 2008-03-28 2009-03-12 Distributed network management system, network management server and method

Country Status (2)

Country Link
CN (1) CN101267341A (en)
WO (1) WO2009117921A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297477A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Data collecting and reporting system, data processing method and proxy server
CN108616576A (en) * 2018-04-08 2018-10-02 网宿科技股份有限公司 A kind of method and apparatus of scheduling application server

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267341A (en) * 2008-03-28 2008-09-17 华为技术有限公司 A distributed network management system, network management server and method
CN102769627B (en) * 2012-07-26 2015-06-17 北京神州绿盟信息安全科技股份有限公司 Configuration file synchronizing method and device
CN103067445B (en) * 2012-12-06 2015-07-08 华为技术有限公司 Method and device of software upgrading of distributed system
CN105306237A (en) * 2014-06-26 2016-02-03 中兴通讯股份有限公司 Distributed management method and device for network management
CN105592130B (en) * 2014-09-26 2019-04-05 华为技术有限公司 A kind of service arrangement method, service management and device
CN106484443B (en) * 2015-08-26 2020-04-24 中车大连电力牵引研发中心有限公司 Train operation program updating device and ground server
CN109426514B (en) * 2017-08-24 2022-09-02 北京金山云网络技术有限公司 Service automation deployment method and device, electronic equipment and storage medium
CN110190997A (en) * 2019-05-31 2019-08-30 深圳前海微众银行股份有限公司 Configuration information obtaining method, device, equipment and computer readable storage medium
CN110806927A (en) * 2019-10-15 2020-02-18 中国航空无线电电子研究所 Software operation control method under distributed system
CN111274255B (en) * 2020-01-20 2021-06-18 拉扎斯网络科技(上海)有限公司 Service data monitoring method and system, monitoring architecture, equipment and storage medium
CN112099803B (en) * 2020-07-30 2024-04-12 浪潮通用软件有限公司 Incremental deployment method and system of ERP system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983979A (en) * 2005-12-12 2007-06-20 三星电子株式会社 Method for automatic software update and system thereof
CN1988469A (en) * 2005-12-22 2007-06-27 华为技术有限公司 Automatic managing software method and system
CN101141303A (en) * 2007-09-24 2008-03-12 华为技术有限公司 Client terminal updating method, server, client terminal of network management system
CN101267341A (en) * 2008-03-28 2008-09-17 华为技术有限公司 A distributed network management system, network management server and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983979A (en) * 2005-12-12 2007-06-20 三星电子株式会社 Method for automatic software update and system thereof
CN1988469A (en) * 2005-12-22 2007-06-27 华为技术有限公司 Automatic managing software method and system
CN101141303A (en) * 2007-09-24 2008-03-12 华为技术有限公司 Client terminal updating method, server, client terminal of network management system
CN101267341A (en) * 2008-03-28 2008-09-17 华为技术有限公司 A distributed network management system, network management server and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297477A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Data collecting and reporting system, data processing method and proxy server
CN103297477B (en) * 2012-03-02 2016-03-02 腾讯科技(深圳)有限公司 A kind of data acquisition reporting system and data processing method and proxy server
CN108616576A (en) * 2018-04-08 2018-10-02 网宿科技股份有限公司 A kind of method and apparatus of scheduling application server
CN108616576B (en) * 2018-04-08 2022-05-27 网宿科技股份有限公司 Method and device for scheduling application server

Also Published As

Publication number Publication date
CN101267341A (en) 2008-09-17

Similar Documents

Publication Publication Date Title
WO2009117921A1 (en) Distributed network management system, network management server and method
US7644405B2 (en) System with required enhancements to SyncML DM environment to support firmware updates
US7003767B2 (en) System and method for remotely updating software applications
US9485134B2 (en) Managing configurations of system management agents in a distributed environment
JP5254396B2 (en) A system that automatically handles components on the device
US8346886B2 (en) System, method, and medium for configuring client computers to operate disconnected from a server computer while using a master instance of the operating system
US20040010786A1 (en) System and method for automatically upgrading a software application
CN101110788A (en) Method and system for updating client software
CN102546246A (en) Method and system for automatic upgrade of software
CN101360127A (en) File updating method and transmission system
WO2013040906A1 (en) Method and system for managing software version of base station
WO2013078607A1 (en) Service package installation method and related device
CN111736876A (en) Client update control method, device, storage medium and server
WO2012062113A1 (en) Method and system for realizing multi-core hot patching
US20040188510A1 (en) System for registry-based automatic installation and component handling on a device
CN115964073A (en) Paas platform application publishing and updating maintenance method
Cisco PXM Backup Boot Procedures
Cisco Backup Boot Procedures
JPH10320184A (en) Software version management system
Cisco PXM1E Backup Boot Procedures
CN110650033B (en) Distributed application configuration management method and distributed computing system
KR100456978B1 (en) Method for File Downloading in Agent
CN100396033C (en) Firmware renewing method or digital subscriber line device
CN114020292A (en) Virtual NAS system upgrading method, device, equipment and storage medium
CN115061707A (en) Cross-network-segment application deployment method and terminal

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

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

Country of ref document: EP

Kind code of ref document: A1