CN112769610A - Management method and device of centralized management system, electronic equipment and storage medium - Google Patents

Management method and device of centralized management system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112769610A
CN112769610A CN202011643284.8A CN202011643284A CN112769610A CN 112769610 A CN112769610 A CN 112769610A CN 202011643284 A CN202011643284 A CN 202011643284A CN 112769610 A CN112769610 A CN 112769610A
Authority
CN
China
Prior art keywords
address
information
devices
client
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011643284.8A
Other languages
Chinese (zh)
Inventor
李静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202011643284.8A priority Critical patent/CN112769610A/en
Publication of CN112769610A publication Critical patent/CN112769610A/en
Pending legal-status Critical Current

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The application provides a management method, a device, an electronic device and a storage medium of a centralized management system, wherein the centralized management system comprises a client, a proxy server and a plurality of managed devices, the proxy server and the managed devices are in the same local area network, and the method is applied to the proxy server and comprises the following steps: detecting a plurality of managed devices to obtain addresses and ports corresponding to the surviving devices, wherein the surviving devices represent the devices with the ports in the current opening state; when an information request sent by a client is received, sending an address and a port corresponding to each survival device obtained by detection to the client; receiving at least one management request sent by a client, wherein each management request comprises an address and a port corresponding to a survival device; and resolving the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request so as to realize the management of at least one surviving device.

Description

Management method and device of centralized management system, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a management method and apparatus for a centralized management system, an electronic device, and a storage medium.
Background
At present, when a centralized management party performs centralized management on a plurality of different network devices, due to the differentiation between different types of network devices, the centralized management party and each type of network device provider are required to perform function joint debugging during the centralized management, and such a centralized management mode has the problem that the more types of network devices are managed, the longer the time required for the function joint debugging is, the higher the time cost and the higher the labor cost are.
Disclosure of Invention
An object of the embodiments of the present application is to provide a management method and apparatus of a centralized management system, an electronic device, and a storage medium, so as to solve the problem that the existing centralized management method requires a centralized manager to perform function joint debugging with each type of network device provider, and thus the longer the time required for function joint debugging is when the types of network devices are more, the higher the time cost and the labor cost are.
In a first aspect, the present invention provides a management method for a centralized management system, where the centralized management system includes a client, a proxy server and a plurality of managed devices, the proxy server and the managed devices are in the same local area network, and the method is applied to the proxy server, and includes: detecting the managed devices to obtain addresses and ports corresponding to the surviving devices, wherein the surviving devices represent devices with ports in an opening state currently; when an information request sent by the client is received, sending an address and a port corresponding to each survival device obtained by detection to the client; receiving at least one management request sent by the client, wherein each management request comprises an address and a port corresponding to a survival device; and resolving the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request so as to realize the management of the at least one surviving device.
In the management method designed above, the present solution probes a plurality of managed devices in the local area network through the proxy server to further obtain addresses and ports corresponding to the surviving devices in the plurality of managed devices, then sends the detected addresses and ports corresponding to the surviving devices to the client when receiving the information request sent by the client, and further after receiving at least one management request sent by the client, the proxy server analyzes the address and port in each management request to further forward the management request to the surviving devices corresponding to the address and port in the management request, so as to realize the management of at least one surviving device, thus it can be seen that the present application solution realizes the centralized management of a plurality of managed devices in the local area network through the combination of the surviving device probing and the proxy technology to achieve the purpose of centralized and remote management without performing function joint debugging on different managed devices, the problem of current centralized management mode need the centralized management side all to carry out the function joint debugging with each kind of network equipment merchant and then the time that needs the function joint debugging when network equipment kind is more longer time that exists time cost and human cost height is solved, practiced thrift cost and time, improved centralized management's efficiency.
In an optional implementation manner of the first aspect, an information configuration file is maintained in the proxy server, where the information configuration file stores addresses, ports, and state information of the multiple managed devices, where the state information includes an alive state and a non-alive state, and after the probing of the multiple managed devices to obtain the addresses and the ports corresponding to the alive devices, the method further includes: and updating the addresses, the ports and the state information of the plurality of managed devices stored in the information configuration file according to the addresses and the ports corresponding to the survival devices obtained by detection.
In an optional implementation manner of the first aspect, the updating, according to the address and the port corresponding to the survivable device obtained by the detection, the addresses, the ports, and the state information of the multiple managed devices stored in the information configuration file includes: updating the state information of the managed equipment, which is stored in the information configuration file and has the same address and port as the address and port corresponding to the alive equipment, into the alive state; updating the state information of the managed device of which the state information is the survival state and does not belong to the survival device in the information configuration file into the non-survival state; and newly adding the address and the port corresponding to the survival equipment which does not exist in the information configuration file into the information configuration file, and setting the state information of the newly added survival equipment to be in a survival state.
In an optional implementation manner of the first aspect, the sending, to the client, an address and a port corresponding to each surviving device obtained by probing when receiving the information request sent by the client includes: reading the updated information configuration file when receiving the information request sent by the client; and sending the address and the port corresponding to the managed device with the state information in the updated information configuration file as the survival state to the client.
In an optional implementation manner of the first aspect, the probing the multiple managed devices to obtain the addresses and ports corresponding to the surviving devices includes: broadcasting an ARP request with a preset IP address to all managed devices in the local area network; and acquiring the address and the port corresponding to the survival device according to the address and the port of the managed device of the return message.
In an optional implementation manner of the first aspect, after the parsing the address and the port in each of the management requests to forward the management request to the surviving device corresponding to the address and the port in the management request, the method further includes: receiving response information returned by each survival device according to the management request; and sending the response information corresponding to each survival device to the client so as to display the client to the user.
In a second aspect, the present invention provides a management apparatus for a centralized management system, where the centralized management system includes a client, a proxy server, and a plurality of managed devices, the proxy server is in the same local area network as the managed devices, and the apparatus is applied to the proxy server, and includes: the detection module is used for detecting the managed devices to obtain addresses and ports corresponding to the surviving devices, wherein the surviving devices represent the devices with the ports in the current opening state; the sending module is used for sending the address and the port corresponding to each survival device obtained by detection to the client when receiving the information request sent by the client; the receiving module is used for receiving at least one management request sent by the client, and each management request comprises an address and a port corresponding to a survival device; and the analysis forwarding module is used for analyzing the address and the port in each management request so as to forward the management request to the survival equipment corresponding to the address and the port in the management request, so that the management of at least one survival equipment is realized.
In the management device designed above, the present solution probes a plurality of managed devices in the local area network through the proxy server to further obtain addresses and ports corresponding to the surviving devices in the plurality of managed devices, then sends the detected addresses and ports corresponding to the surviving devices to the client when receiving the information request sent by the client, and further after receiving at least one management request sent by the client, the proxy server analyzes the address and port in each management request to further forward the management request to the surviving devices corresponding to the address and port in the management request, so as to realize the management of at least one surviving device, thus it can be seen that the present application solution realizes the centralized management of a plurality of managed devices in the local area network through the combination of the surviving device probing and the proxy technology to achieve the purpose of centralized and remote management without performing function joint debugging on different managed devices, the problem of current centralized management mode need the centralized management side all to carry out the function joint debugging with each kind of network equipment merchant and then the time that needs the function joint debugging when network equipment kind is more longer time that exists time cost and human cost height is solved, practiced thrift cost and time, improved centralized management's efficiency.
In an optional implementation manner of the second aspect, an information configuration file is maintained in the proxy server, where the information configuration file stores addresses, ports, and state information of the multiple managed devices, and the state information includes an alive state and a non-alive state, and the apparatus further includes an updating module, configured to update the addresses, the ports, and the state information of the multiple managed devices stored in the information configuration file according to the addresses and the ports corresponding to the detected alive devices.
In an optional implementation manner of the second aspect, the updating module is specifically configured to update, to the alive state, the state information of the managed device, stored in the information configuration file, of which the address and the port of the managed device are the same as the address and the port corresponding to the alive device; updating the state information of the managed device of which the state information is the survival state and does not belong to the survival device in the information configuration file into the non-survival state; and newly adding the address and the port corresponding to the survival equipment which does not exist in the information configuration file into the information configuration file, and setting the state information of the newly added survival equipment to be in a survival state.
In an optional implementation manner of the second aspect, the sending module is specifically configured to read an updated information configuration file when receiving an information request sent by the client; and sending the address and the port corresponding to the managed device with the state information in the updated information configuration file as the survival state to the client.
In an optional implementation manner of the second aspect, the detection module is specifically configured to broadcast an ARP request of a preset IP address to all managed devices in the local area network; and acquiring the address and the port corresponding to the survival device according to the address and the port of the managed device of the return message.
In an optional implementation manner of the second aspect, the receiving module is further configured to receive response information returned by each surviving device according to the management request; the sending module is further configured to send response information corresponding to each surviving device to the client, so that the client is displayed to the user.
In a third aspect, the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to perform the method in the first aspect or any optional implementation manner of the first aspect.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect, any of the alternative implementations of the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a computer, causes the computer to perform the method of the first aspect, any of the optional implementations of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a centralized management system according to an embodiment of the present application;
FIG. 2 is a first flowchart of a management method according to an embodiment of the present application;
FIG. 3 is a second flowchart of a management method provided by an embodiment of the present application;
FIG. 4 is a third flowchart of a management method provided by an embodiment of the present application;
FIG. 5 is a fourth flowchart of a management method provided by an embodiment of the present application;
fig. 6 is a fifth flowchart of a management method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a management device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Icon: 10-a client; 20-a proxy server; 30-a managed device; 200-a detection module; 201-a sending module; 202-a receiving module; 203-parsing forwarding module; 204-an update module; 3-an electronic device; 301-a processor; 302-a memory; 303-communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a centralized management system, as shown in fig. 1, the centralized management system includes a client 10, a proxy server 20, and a plurality of managed devices 30, where the proxy server 20 and the managed devices 30 are in the same local area network, where the managed devices 30 may specifically be network devices, such as gateways, routers, and the like; a user can send a request, for example, a management information acquisition request for acquiring information of a currently manageable managed device, a management information forwarding request, or the like, to the proxy server 20 through the client terminal 10; the management information forwarding request is used for requesting the proxy server to forward the management information to the corresponding managed device which can be managed currently; as a possible implementation, for example, the user may send an http request to the proxy server 20 through a browser on the client 10, and the client 10 may communicate with the proxy server 20 by sending an information request through another means besides the browser.
On the basis of the centralized management system designed above, the present application provides a management method, which is applied to the aforementioned proxy server, as shown in fig. 2, and the management method specifically includes the following steps:
step S100: and detecting a plurality of managed devices to obtain the corresponding addresses and ports of the surviving devices.
Step S102: and when an information request sent by the client is received, sending the address and the port corresponding to each survival device obtained by detection to the client.
Step S104: at least one management request sent by a client is received.
Step S106: and resolving the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request so as to realize the management of at least one surviving device.
In step S100, the proxy server in the present application may probe a plurality of managed devices in the local area network, and further probe a surviving device of the plurality of managed devices to obtain an address and a port of each surviving device, where the proxy server may probe once every a preset time interval during probing, and the surviving device indicates a managed device that is capable of communicating when a current port is in an open state.
As a possible implementation manner, in the solution of the present application, when the proxy server performs detection, Address Resolution Protocol (ARP) technology may be used for detection, specifically, the detection is performed by using the ARP technology, as shown in fig. 3, which may include the following steps:
step S1000: and broadcasting the ARP request with the preset IP address to all managed devices in the local area network.
Step S1001: and acquiring the address and the port corresponding to the survival device according to the address and the port of the managed device of the return message.
In the above steps, an ARP request of a preset IP address is broadcasted to all managed devices in a local area network, and when a port of a managed device is in an open state, the managed device returns a message to a proxy server according to the received request, where the message carries the address and the port of the managed device; when the port of the managed device is in the closed state, the managed device does not return a message to the proxy server, and therefore, the address and the port corresponding to the surviving device in the plurality of managed devices can be obtained in the above manner.
In addition to the detection by the APR technique, the present application may also perform the detection of the alive device by other manners, for example, the detection may be performed by using a network Control Message Protocol (ICMP).
After detecting the addresses and ports of the surviving devices in the plurality of management devices in step S100, the proxy server may store the detected addresses and ports of the surviving devices, and further execute step S102, when receiving the information request sent by the client, sending the detected address and port corresponding to each surviving device to the client.
In step S102, the information request sent by the client is the aforementioned management information obtaining request, which is used to obtain the information of the currently manageable managed device, that is, the address and the port of the surviving device detected in step S100, wherein the initiation of the client information request can be initiated by the operation of the user on the client; after the proxy server receives the information request sent by the client, the detected address and port of the surviving device are sent to the client based on the information request.
In an optional implementation manner of this embodiment, after detecting and obtaining the addresses and ports of the surviving devices in the multiple management devices, the proxy server may store the addresses and ports of the surviving devices, and specifically, an information configuration file may be maintained in the proxy server, where the information configuration file stores the addresses, ports, and status information of the multiple management devices, where the status information includes a surviving state and a non-surviving state, the surviving state corresponds to the surviving devices, and the non-surviving state corresponds to the managed devices with the ports closed; on the basis of the above, the proxy server may further perform the following steps between performing step S100 and step S102, as shown in fig. 4:
step S101: and updating the addresses, the ports and the state information of the plurality of managed devices stored in the information configuration file according to the addresses and the ports corresponding to the survival devices obtained by detection.
In step S101, the proxy server updates the addresses, ports, and status information of the managed devices stored in the information configuration file according to the detected addresses and ports corresponding to the alive devices. Specifically, as shown in fig. 5, the updating process may include the following steps:
step S1010: and updating the state information of the managed device, which is stored in the information configuration file and has the same address and port as the address and port corresponding to the alive device, into the alive state.
Step S1011: and updating the state information of the managed device of which the state information is the survival state and does not belong to the survival device in the information configuration file into the non-survival state.
Step S1012: and newly adding the address and the port corresponding to the survival equipment which does not exist in the information configuration file into the information configuration file, and setting the state information of the newly added survival equipment to be in a survival state.
In the above steps, after the step S100 is executed to detect and obtain the address and the port corresponding to the surviving device, the proxy server may find the stored state information corresponding to the managed device with the same address and port as the surviving device in the information configuration file, and further change the state information into the surviving state; the proxy server searches for managed devices of which the state information is in an alive state but not in the alive state in the information configuration file, and then updates the state information of the managed devices to be in a non-alive state; meanwhile, the proxy server adds the address and the port corresponding to the surviving device which are not in the information configuration file to the information configuration file and sets the state information of the added surviving device to be a surviving state, and through the modes, the proxy server completes one time of updating the information configuration file. It should be noted that the sequence of steps S1000 to S1002 is not limited, and steps S1000 to S1002 may be performed simultaneously or sequentially in the above sequence; as described above, the proxy server may detect a surviving device of the plurality of management devices at a time interval, and on the basis, the proxy server may update the information profile according to the detected address and port of the surviving device after detecting each time.
Based on the above-mentioned maintenance of an information configuration file by the proxy server, as shown in fig. 4, step S102 may specifically be the following steps:
step S1020: and reading the updated information configuration file when receiving the information request sent by the client.
Step S1021: and sending the address and the port corresponding to the managed equipment with the state information in the updated information configuration file as the survival state to the client.
In the above step, when the proxy server receives the information request sent by the client, the proxy server may read the updated information configuration file, then extract the address and port corresponding to the managed device whose state information is in the alive state from the updated information configuration file, then send the address and port corresponding to the managed device whose state information is in the alive state to the client, and then execute step S104.
Before describing step S104, after the address and the port corresponding to each alive device obtained by the detection in step S102 are sent to the client, the client may display the address and the port corresponding to the alive device on the client, so that the user may select the alive device for management, when the user selects the alive device, the client may send a management request corresponding to the alive device to the proxy server, and the proxy server may execute step S104, in step S104, the proxy server may receive at least one management request sent by the client, where each management request includes an address and a port corresponding to an alive device. It should be noted here that the client may send one or more management requests to the proxy server in sequence under the selection of the user, where each management request includes an address and a port corresponding to an alive device, and the management request includes management content in addition to the address and the port corresponding to the alive device, where the management content refers to content that needs to be managed by the managed device corresponding to the address and the port, for example, the managed device needs to be closed or perform some operation, and the like.
After receiving the management request sent by the client, the proxy server may perform step S106, and in step S106, the proxy server may parse each management request to obtain an address and a port corresponding to each management request, and then forward each management request to the surviving device corresponding to the corresponding address and port, thereby implementing management of one or more surviving devices.
In an optional implementation manner of this embodiment, after the proxy server performs step S106 to forward the management request to the surviving device corresponding to the corresponding address and port, as shown in fig. 6, the proxy server may further perform the following steps:
step S107: and receiving response information returned by each survival device according to the management request.
Step S108: and sending the response information corresponding to each survival device to the client so as to enable the client to be displayed to the user.
In the above steps, after the proxy server forwards the management request to the surviving device corresponding to the corresponding address and port, the surviving device executes corresponding response operation according to the management content in the management request, and after executing the corresponding response operation, response information can be returned to the proxy server, the proxy server can receive the response information returned by each surviving device according to the management request, then the proxy server sends the response information corresponding to each alive device to the client, so that the client can show the response information corresponding to each alive device to the user, the user can master the response and the current state of each survival device according to the display content, and as a possible implementation mode, the display mode of the client can display the response information corresponding to each survival device through the browser.
In the management method designed above, the present solution probes a plurality of managed devices in the local area network through the proxy server to further obtain addresses and ports corresponding to the surviving devices in the plurality of managed devices, then sends the detected addresses and ports corresponding to the surviving devices to the client when receiving the information request sent by the client, and further after receiving at least one management request sent by the client, the proxy server analyzes the address and port in each management request to further forward the management request to the surviving devices corresponding to the address and port in the management request, so as to realize the management of at least one surviving device, thus it can be seen that the present application solution realizes the centralized management of a plurality of managed devices in the local area network through the combination of the surviving device probing and the proxy technology to achieve the purpose of centralized and remote management without performing function joint debugging on different managed devices, the problem of current centralized management mode need the centralized management side all to carry out the function joint debugging with each kind of network equipment merchant and then the time that needs the function joint debugging when network equipment kind is more longer time that exists time cost and human cost height is solved, practiced thrift cost and time, improved centralized management's efficiency.
Fig. 7 shows a schematic structural block diagram of a management device of a centralized management system provided in the present application, and it should be understood that the device corresponds to the above-mentioned method embodiment executed by the proxy server in fig. 2 to 6, and can execute the steps related to the method executed by the proxy server in the foregoing embodiment, and the specific functions of the device may be referred to the description above, and in order to avoid repetition, the detailed description is appropriately omitted here. The device includes at least one software function that can be stored in memory in the form of software or firmware (firmware) or solidified in the Operating System (OS) of the device. Specifically, the apparatus includes: a detection module 200, configured to detect multiple managed devices to obtain an address and a port corresponding to a surviving device, where the surviving device indicates a device whose port is currently in an open state; a sending module 201, configured to send, to a client, an address and a port corresponding to each survivable device obtained through detection when receiving an information request sent by the client; a receiving module 202, configured to receive at least one management request sent by a client, where each management request includes an address and a port corresponding to a surviving device; and the analysis forwarding module 203 is configured to analyze the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request, so as to implement management on at least one surviving device.
In the management device of the centralized management system designed above, the present solution probes a plurality of managed devices in the local area network through the proxy server, and further obtains addresses and ports corresponding to the surviving devices in the plurality of managed devices, and then sends the detected addresses and ports corresponding to the surviving devices to the client when receiving the information request sent by the client, and further after receiving at least one management request sent by the client, the proxy server parses the address and port in each management request and further forwards the management request to the surviving devices corresponding to the address and port in the management request, so as to implement the management of at least one surviving device, thus it can be seen that the present application solution realizes the centralized management of a plurality of managed devices in the local area network to achieve the purpose of centralized and remote management through the combination of the surviving device probing and proxy technologies, the method and the system have the advantages that function joint debugging is not needed to be carried out on different managed devices, the problems that an existing centralized management mode needs a centralized manager and each type of network device merchants to carry out function joint debugging, and the time cost and the labor cost are high when the time for the function joint debugging is long when the types of the network devices are more are solved, the cost and the time are saved, and the efficiency of centralized management is improved.
In an optional implementation manner of this embodiment, an information configuration file is maintained in the proxy server, where the information configuration file stores addresses, ports, and state information of a plurality of managed devices, and the state information includes an alive state and a non-alive state, and the apparatus further includes an updating module 204, configured to update the addresses, the ports, and the state information of the plurality of managed devices stored in the information configuration file according to the addresses and the ports corresponding to the alive devices obtained through detection.
In an optional implementation manner of this embodiment, the updating module 204 is specifically configured to update, to the alive state, the state information of the managed device, stored in the information configuration file, of which the address and the port of the managed device are the same as the address and the port corresponding to the alive device; updating the state information of the managed device of which the state information is the survival state and does not belong to the survival device in the information configuration file into the non-survival state; and adding the address and the port corresponding to the survival equipment which does not exist in the information configuration file into the information configuration file, and setting the state information of the added survival equipment to be in a survival state.
In an optional implementation manner of this embodiment, the sending module 201 is specifically configured to read an updated information configuration file when receiving an information request sent by a client; and sending the address and the port corresponding to the managed equipment with the state information in the updated information configuration file as the survival state to the client.
In an optional implementation manner of this embodiment, the detection module 200 is specifically configured to broadcast an ARP request of a preset IP address to all managed devices in a local area network; and acquiring the address and the port corresponding to the survival device according to the address and the port of the managed device of the return message.
In an optional implementation manner of this embodiment, the receiving module 202 is further configured to receive response information returned by each surviving device according to the management request; the sending module 201 is further configured to send response information corresponding to each surviving device to the client, so that the client is shown to the user.
As shown in fig. 8, the present application provides an electronic device 3 including: a processor 301 and a memory 302, the processor 301 and the memory 302 being interconnected and communicating with each other via a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the computer program being executable by the processor 301 when the computing device is running to perform the method process of any of the previous implementations, such as the steps S100 to S106: detecting a plurality of managed devices to obtain addresses and ports corresponding to the surviving devices; when an information request sent by a client is received, sending an address and a port corresponding to each survival device obtained by detection to the client; receiving at least one management request sent by a client; and resolving the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request so as to realize the management of at least one surviving device.
The present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the method processes of any of the preceding implementations.
The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
The present application provides a computer program product which, when run on a computer, causes the computer to perform the method processes of any of the preceding implementations.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A management method of a centralized management system, wherein the centralized management system includes a client, a proxy server and a plurality of managed devices, the proxy server is in the same local area network as the plurality of managed devices, and the method is applied to the proxy server, and includes:
detecting the managed devices to obtain addresses and ports corresponding to the surviving devices, wherein the surviving devices represent devices with ports in an opening state currently;
when an information request sent by the client is received, sending an address and a port corresponding to each survival device obtained by detection to the client;
receiving at least one management request sent by the client, wherein each management request comprises an address and a port corresponding to a survival device;
and resolving the address and the port in each management request to forward the management request to the surviving device corresponding to the address and the port in the management request so as to realize the management of at least one surviving device.
2. The method of claim 1, wherein an information profile is maintained in the proxy server, the information profile storing addresses, ports and status information of the managed devices, the status information including an alive status and a non-alive status, and after the probing the managed devices to obtain the corresponding addresses and ports of the alive devices, the method further comprises:
and updating the addresses, the ports and the state information of the plurality of managed devices stored in the information configuration file according to the addresses and the ports corresponding to the survival devices obtained by detection.
3. The method according to claim 2, wherein the updating the addresses, the ports and the status information of the plurality of managed devices stored in the information configuration file according to the addresses and the ports corresponding to the alive devices obtained by the probing comprises:
updating the state information of the managed equipment, which is stored in the information configuration file and has the same address and port as the address and port corresponding to the alive equipment, into the alive state;
updating the state information of the managed device of which the state information is the survival state and does not belong to the survival device in the information configuration file into the non-survival state;
and newly adding the address and the port corresponding to the survival equipment which does not exist in the information configuration file into the information configuration file, and setting the state information of the newly added survival equipment to be in a survival state.
4. The method according to claim 2, wherein the sending, to the client, the address and the port corresponding to each alive device obtained by probing when receiving the information request sent by the client comprises:
reading the updated information configuration file when receiving the information request sent by the client;
and sending the address and the port corresponding to the managed device with the state information in the updated information configuration file as the survival state to the client.
5. The method of claim 1, wherein the probing the plurality of managed devices to obtain the addresses and ports corresponding to the surviving devices comprises:
broadcasting an ARP request with a preset IP address to all managed devices in the local area network;
and acquiring the address and the port corresponding to the survival device according to the address and the port of the managed device of the return message.
6. The method of claim 1, wherein after the parsing the address and port in each of the management requests to forward the management request to the surviving device corresponding to the address and port in the management request, the method further comprises:
receiving response information returned by each survival device according to the management request;
and sending the response information corresponding to each survival device to the client so as to display the client to the user.
7. A management apparatus of a centralized management system, wherein the centralized management system includes a client, a proxy server and a plurality of managed devices, the proxy server is in the same local area network as the plurality of managed devices, and the apparatus is applied to the proxy server, and includes:
the detection module is used for detecting the managed devices to obtain addresses and ports corresponding to the surviving devices, wherein the surviving devices represent the devices with the ports in the current opening state;
the sending module is used for sending the address and the port corresponding to each survival device obtained by detection to the client when receiving the information request sent by the client;
the receiving module is used for receiving at least one management request sent by the client, and each management request comprises an address and a port corresponding to a survival device;
and the analysis forwarding module is used for analyzing the address and the port in each management request so as to forward the management request to the survival equipment corresponding to the address and the port in the management request, so that the management of at least one survival equipment is realized.
8. The apparatus according to claim 7, wherein an information profile is maintained in the proxy server, the information profile stores addresses, ports and status information of the managed devices, and the status information includes an alive status and a non-alive status, and the apparatus further comprises an updating module for updating the addresses, the ports and the status information of the managed devices stored in the information profile according to the addresses and the ports corresponding to the alive devices obtained by the probing.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the method of any of claims 1 to 6 when executing the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
CN202011643284.8A 2020-12-30 2020-12-30 Management method and device of centralized management system, electronic equipment and storage medium Pending CN112769610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643284.8A CN112769610A (en) 2020-12-30 2020-12-30 Management method and device of centralized management system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643284.8A CN112769610A (en) 2020-12-30 2020-12-30 Management method and device of centralized management system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112769610A true CN112769610A (en) 2021-05-07

Family

ID=75698660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643284.8A Pending CN112769610A (en) 2020-12-30 2020-12-30 Management method and device of centralized management system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112769610A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116599842A (en) * 2023-07-17 2023-08-15 北京中科睿信科技有限公司 Multi-module array system management method, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
CN103974380A (en) * 2013-01-24 2014-08-06 杭州华三通信技术有限公司 Terminal access position keep-alive method and device
CN104717107A (en) * 2015-03-27 2015-06-17 北京奇虎科技有限公司 Method, device and system for detecting network device
CN105071965A (en) * 2015-08-07 2015-11-18 上海斐讯数据通信技术有限公司 Management system of network equipment
CN106301909A (en) * 2016-08-11 2017-01-04 杭州华三通信技术有限公司 A kind of port detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
CN103974380A (en) * 2013-01-24 2014-08-06 杭州华三通信技术有限公司 Terminal access position keep-alive method and device
CN104717107A (en) * 2015-03-27 2015-06-17 北京奇虎科技有限公司 Method, device and system for detecting network device
CN105071965A (en) * 2015-08-07 2015-11-18 上海斐讯数据通信技术有限公司 Management system of network equipment
CN106301909A (en) * 2016-08-11 2017-01-04 杭州华三通信技术有限公司 A kind of port detection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116599842A (en) * 2023-07-17 2023-08-15 北京中科睿信科技有限公司 Multi-module array system management method, equipment and medium
CN116599842B (en) * 2023-07-17 2023-09-19 北京中科睿信科技有限公司 Multi-module array system management method, equipment and medium

Similar Documents

Publication Publication Date Title
CN106210155B (en) Method and device for connecting application server
CN108809890B (en) Vulnerability detection method, test server and client
CN111835794A (en) Firewall policy control method and device, electronic equipment and storage medium
CN107707688A (en) A kind of method and device of kubernetes clusters parsing host host name
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
CN101621548A (en) Method and system for realizing terminal resource sharing based on peer connection system
CN109151025B (en) Load balancing method and device based on URL, computer storage medium and equipment
CN104717314A (en) IP management method and system, client-side and server
CN110968356A (en) Method and device for acquiring configuration information
CN106302638B (en) Data management method, forwarding equipment and system
CN111147616A (en) Resource acquisition method and device, electronic equipment and storage medium
CN109802842B (en) Application topology generation method and related equipment
CN111586201A (en) Domain name resolution system, method, device and storage medium
CN111371897B (en) Reverse connection method, device and storage medium based on networking system
CN112769610A (en) Management method and device of centralized management system, electronic equipment and storage medium
CN112087327B (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
CN106067879A (en) The detection method of information and device
CN108076165B (en) Method, equipment and system for domain name resolution information management
CN108960378B (en) Data downloading method, system, device and storage medium
CN111008209A (en) Data account checking method, device and system, storage medium and electronic device
CN115348191B (en) Internet of things terminal data acquisition method and device in wireless VPDN (virtual private digital network)
CN112583760A (en) Object storage access method, device, equipment and computer storage medium
CN111193677A (en) Method, device and medium for attributing FC (fiber channel) port of host to corresponding host
CN116346429A (en) Illegal external connection equipment detection method and device
CN116566945A (en) Access method and device for decentralised application, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507