CN115190168A - Edge server management system and server cluster - Google Patents

Edge server management system and server cluster Download PDF

Info

Publication number
CN115190168A
CN115190168A CN202210802035.1A CN202210802035A CN115190168A CN 115190168 A CN115190168 A CN 115190168A CN 202210802035 A CN202210802035 A CN 202210802035A CN 115190168 A CN115190168 A CN 115190168A
Authority
CN
China
Prior art keywords
data
agent module
edge
module
operation instruction
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.)
Granted
Application number
CN202210802035.1A
Other languages
Chinese (zh)
Other versions
CN115190168B (en
Inventor
刘程程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210802035.1A priority Critical patent/CN115190168B/en
Publication of CN115190168A publication Critical patent/CN115190168A/en
Application granted granted Critical
Publication of CN115190168B publication Critical patent/CN115190168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an edge server management system, comprising: the edge agent module registers a data channel with the central agent module, receives the operation instruction and/or the data sent by the central agent module through the data channel, executes the operation instruction and/or the data on the edge server and sends the execution result of the instruction to the central agent module; the central agent module and the edge agent module establish a data channel, and the operation and maintenance management platform sends the operation instruction and/or data of the operation and maintenance management platform to the edge agent module and sends the data sent by the edge agent module to the operation and maintenance management platform through the data channel operation and maintenance management platform; and the data synchronous forwarding module establishes a relational mapping table according to the network address of the edge agent module and the network address of the central agent module, and forwards the operation instruction and/or data of the operation and maintenance management platform to the edge server among a plurality of central agent modules based on the relational mapping table.

Description

Edge server management system and server cluster
Technical Field
The invention belongs to the field of computers, and particularly relates to an edge server management system, namely a server cluster.
Background
In the age when cloud computing is great, the demand of servers is increasing day by day, and meanwhile, with the development of 5G technology, edge servers which are customized for scenes such as edge computing and the like and have small volume, low power consumption and wide temperature application range are produced. Usually, due to the limitation of the edge computing scenario, most edge servers can only perform network connection through a 4G/5G or wifi module, so as to implement edge computing and network communication. Meanwhile, servers supporting huge data interaction basically need to be managed through the operation and maintenance software platform. In a practical use scene, most of the operation and maintenance platform and the edge server are unidirectional networks, so how to implement the admission of the devices such as the edge through the operation and maintenance platform under the condition of the unidirectional networks becomes a problem, and an effective solution is urgently needed.
Disclosure of Invention
In order to solve the above problems, the present invention provides an edge server management system, which includes an edge proxy module, a central proxy module, and a data synchronous forwarding module, wherein:
the edge agent module is configured to register a data channel with the central agent module, receive an operation instruction and/or data sent by the central agent module through the data channel, execute the operation instruction and/or data on an edge server, and send an execution result of the instruction to the central agent module;
the central agent module is configured to establish a data channel with the edge agent module, and send an operation instruction and/or data of the operation and maintenance management platform to the edge agent module and send data sent by the edge agent module to the operation and maintenance management platform through the data channel operation and maintenance management platform;
the data synchronous forwarding module is configured to establish a relational mapping table according to the network address of the edge agent module and the network address of the central agent module, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server among the plurality of central agent modules based on the relational mapping table.
In some embodiments of the present invention, the data synchronization forwarding module is further configured to:
sending a heartbeat detection and a copy of the relation mapping table to the central agent module at a preset time interval, receiving an updated relation mapping table copy sent by the central agent module, and updating the relation mapping table based on the relation mapping table copy;
in response to the central agent module not responding to the heartbeat detection, deleting the central agent module from the relational mapping table.
In some embodiments of the invention, the central agent module is further configured to:
and responding to the successful registration of the data channels of the edge agent module and the central agent module, acquiring the IP address and the unique identifier of the edge agent module, and adding the IP address, the unique identifier and the IP address of the central agent module to the relation mapping table copy.
In some embodiments of the invention, the central agent module is further configured to:
receiving an operation instruction and/or data of the operation and maintenance management platform to an edge agent module, and judging whether the edge agent module registers a data channel in the agent module;
and responding to the data channel which is not registered in the central agent module by the edge agent module, and forwarding the operation instruction and/or the data to the data synchronous forwarding module.
In some embodiments of the present invention, the data synchronization forwarding module is further configured to:
responding to an operation instruction and/or data forwarded by a central agent module, acquiring an edge agent module address of the operation instruction and/or data operation, inquiring the relation mapping table, finding a corresponding central agent module through the relation mapping table, and sending the operation instruction and/or data to the central agent module.
In some embodiments of the invention, the central agent module is further configured to:
generating an identification code of the operation instruction and/or the data based on the data length of the operation instruction and/or the data and the identification information of the operation and maintenance management platform; and
and encrypting the operation instruction and/or data and the identification code and sending the encrypted operation instruction and/or data to an edge proxy module.
In some embodiments of the invention, the edge proxy module is further configured to:
and in response to receiving the corresponding operation instruction and/or data, executing the operation instruction and/or data on the edge proxy server, generating a response identification code of the operation instruction and/or data by using the data length of the execution result and the identification information of the operation and maintenance management platform, and encrypting the response identification code and the execution result data of the operation instruction and/or data and then sending the encrypted response identification code and the execution result data of the operation instruction and/or data to the central proxy module.
In some embodiments of the invention, the central agent module is further configured to:
in response to receiving the encrypted data sent by the edge proxy module, decrypting the encrypted data to obtain a corresponding response identification code and execution result data of the operation instruction and/or the data;
and analyzing the response identification code according to the generation mode of the response identification code, and sending the execution result data of the operation instruction and/or the data to the operation and maintenance management platform according to the unique identifier of the operation and maintenance management platform in the identification code.
In some embodiments of the invention, the central agent module is further configured to:
and sending heartbeat detection to the edge proxy module at a preset time interval, and deleting the edge proxy module from the relation mapping table copy in response to the fact that the edge proxy module does not respond to the heartbeat detection.
Another aspect of the present invention further provides a server cluster, where one or more server nodes in the server cluster are deployed with corresponding modules in the system as in the foregoing embodiment.
The edge server management system provided by the invention realizes the distributed management of the operation and maintenance platform on the edge equipment in the scene of a unidirectional network. By adopting a distributed deployment architecture and design logic, the possibility of large-batch, quick, controllable and load-balanced nanotube edge equipment is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an edge server management system according to an embodiment of the present invention;
fig. 2 is an interaction diagram of an edge server management system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server cluster according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
The invention is applied to the field of edge computing and aims to solve the access problem of edge equipment. With the development of network technology and hardware technology, the internet of things is also greatly developed, more and more intelligent (networking) terminal devices are visible in life, if the huge internet of things terminal devices are managed by adopting the conventional PC network access mode, a plurality of huge network channels need to be established, namely, corresponding bidirectional TCP connection is established with each internet of things device, but because the data interaction frequency of the internet of things terminal devices and a server corresponding to a back end is not high, most of the internet of things terminal devices passively receive operation instructions and/or data of the back end server, the transmission of network data usually has the effect that the back end server firstly sends a corresponding instruction, and therefore a large amount of TCP connection resources on the server are wasted. And because IPV6 is not fully popularized, a large number of terminal devices are still deployed in IPV4 and in a layer-level NAT network, when TCP connection is not continuously established, a backend server cannot actively connect to a corresponding terminal device (a plurality of terminals share one IPV4 address and are networked in NAT mapping). Therefore, the construction cost and the maintenance cost of the access and management of the existing edge equipment are high.
As shown in fig. 1, to solve the above problems, the present invention provides an edge server management system, which includes an edge proxy module 1, a central proxy module 2, and a data synchronous forwarding module 3, wherein:
the edge agent module 1 is configured to register a data channel with the central agent module 2, receive the operation instruction and/or data sent by the central agent module 2 through the data channel, execute the operation instruction and/or data on an edge server, and send an execution result of the instruction to the central agent module 2;
the central agent module 2 is configured to establish a data channel with the edge agent module 1, and send an operation instruction and/or data of the operation and maintenance management platform to the edge agent module 1 through the data channel operation and maintenance management platform, and send the data sent by the edge agent module 1 to the operation and maintenance management platform;
the data synchronous forwarding module 3 is configured to establish a relation mapping table according to the network address of the edge agent module 1 and the network address of the center agent module 2, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server among the plurality of center agent modules 2 based on the relation mapping table.
In an embodiment of the present invention, as shown in fig. 1, an edge server management system provided by the present invention includes an edge proxy module 1, a central proxy module 2, and a data synchronization forwarding module 3, where the edge proxy module 1 operates on an edge server, and the edge server may be a common PC or an embedded device, for example, some routers, and is used to manage multiple terminals. The edge agent module 1 in the invention is used for establishing a corresponding network channel with the central agent module on one hand, and is used for communicating with a device without a public network IP in a local area network on the other hand. And receiving the corresponding operation instruction and/or data forwarded by the central agent module 2, and performing related operation on the corresponding equipment in the local area network according to the instruction content. Typical application scenarios include: remote access and control of home smart devices or management of monitoring devices or other smart devices in a large mall.
Further, the central agent module 2 is an agent node for establishing a network channel with the plurality of edge agent modules 1, and the main service of the central agent module is to forward an operation instruction and/or data from the operation and maintenance management platform to the corresponding edge agent module 1, and the computing power of the server of the whole agent node is used for establishing a network connection channel. On one hand, a corresponding network connection channel is established with the edge agent module 1, and the operation instruction and/or data or corresponding data of the operation and maintenance management platform are forwarded to the corresponding edge agent module 1, and on the other hand, when feedback data responding to the operation instruction and/or data of the operation and maintenance management platform sent by the edge agent module 1 is received, the feedback data are forwarded to the operation and maintenance management platform.
In some embodiments of the present invention, the network channel between the edge proxy module 1 and the central proxy module 2 may be a WebSocket channel, where WebSocket is a special connection mode of an HTTP protocol, and when the edge proxy module 1 does not have an IP address of a public network, the edge proxy module 1 may maintain a connection with the central proxy module 2 in a mode of establishing the WebSocket channel with the central proxy module 2, so that the central proxy module 2 may actively access the edge proxy module 1.
Further, if the device where the edge agent module 1 is located has a public network IP address, the central agent module 2 may directly record the public network address, and when the operation and maintenance management platform sends a corresponding operation instruction and/or data to the edge agent module 1, the operation instruction and/or data may be directly forwarded by accessing the port of the edge agent module 1 through the IP address.
In the embodiment of the present invention, the data synchronization forwarding module 3 is configured to establish a corresponding mapping table with the edge proxy module 1 that establishes a network channel with the corresponding central proxy module 2, where the contents of the mapping table are as follows:
number of Edge proxy IP Edge proxy server SN Central proxy IP Central agent port
1
Table 1: relational mapping table
It should be noted that the number of the central agent modules 2 is at least 1, and is usually multiple, one edge agent module 2 may establish a channel with multiple edge agent modules 1, while the edge agent module 1 can only establish a channel with 1 central agent module 2 at the same time, the edge agent modules 1 connected to different central agent modules 2 are different, the operation and maintenance management platform only needs to send the IP of the edge agent module to be operated (the IP may be only a public network IP shared by multiple devices) and the operation instruction and/or data to the central agent module 2, and if the corresponding central agent module 2 and the edge agent module 1 have a network channel, the operation instruction and/or data is directly sent to the edge agent module 1. If not, the operation instruction and/or the data are sent to the data synchronous forwarding module 3, and the data synchronous forwarding module 3 forwards the operation instruction and/or the data to the corresponding central agent module 2 according to the central agent IP address recorded in the relation mapping table. The operating instructions and/or data are processed by the corresponding central agent module 2. SN is a Serial Number, typically a unique identification.
In some embodiments of the present invention, the data synchronization forwarding module 3 is further configured to:
sending a heartbeat detection and a copy of the relational mapping table to the central agent module 2 at a preset time interval, receiving an updated copy of the relational mapping table sent by the central agent module 2, and updating the relational mapping table based on the copy of the relational mapping table;
in response to the central agent module 2 not responding to the heartbeat detection, the central agent module 2 is deleted from the relational mapping table.
In this embodiment, the data synchronous forwarding module 3 further sends a copy of the heartbeat detection and the relation mapping table to one or more central agent modules 2 at regular time, if the corresponding central agent module 2 is normal, the heartbeat detection is responded, meanwhile, the connection or disconnection connection established between the central agent module 2 and the edge agent module 1 within the heartbeat detection interval is updated to the copy of the relation mapping table, and the relation mapping table is sent to the data synchronous forwarding module 3, and the data synchronous forwarding module 3 updates the content in the copy of the relation mapping table to the relation mapping table.
Further, if there is an unresponsive heartbeat detection in the central agent module 2, the central agent module 2 is deleted from the relational mapping table if it is considered that the corresponding central agent module 2 is faulty. And simultaneously, the information of a plurality of edge agent modules 1 corresponding to the central agent module 2 is deleted.
In some embodiments of the invention, the central agent module 2 is further configured to:
and responding to the successful registration of the data channels of the edge agent module 1 and the central agent module 2, acquiring the IP address and the unique identifier of the edge agent module 1, and adding the IP address, the unique identifier and the IP address of the central agent module of the edge agent module to the relation mapping table copy.
In this embodiment, the central agent module 2 maintains a copy of the map table sent by the data synchronization forwarding module 3, and when there is an edge agent module 1 connected to the central agent module 2, obtains the IP address and SN of the edge agent module 1, and adds its own IP address and the IP address and SN of the edge agent module 1 to the copy of the map table on the central agent module 2.
In some embodiments of the invention, the central agent module 2 is further configured to:
receiving an operation instruction and/or data of the operation and maintenance management platform to the edge agent module 1, and judging whether the edge agent module registers a data channel in the agent module;
and responding to the data channel which is not registered in the central agent module by the edge agent module, and forwarding the operation instruction and/or the data to the data synchronous forwarding module.
In this embodiment, after receiving the operation instruction and/or data sent by the operation and maintenance management platform, the central agent module 2 first needs to detect whether the corresponding edge agent module 1 registers the data channel in the central agent module 2, if so, the central agent module sends the operation instruction and/or data to the corresponding edge agent module 1, and if not, the central agent module forwards the operation instruction and/or data to the data synchronization forwarding module 3.
In some embodiments of the present invention, the data synchronization forwarding module 1 is further configured to:
responding to the received operation instruction and/or data forwarded by the central agent module 2, acquiring the address of the edge agent module 1 operated by the operation instruction and/or data, inquiring the relation mapping table, finding the corresponding central agent module 2 through the relation mapping table, and sending the operation instruction and/or data to the central agent module 2.
In this embodiment, as described above, after receiving the operation instruction and/or data sent by the central agent module 2, the data synchronization forwarding module 3 searches the corresponding central agent module 2 according to the mapping table, and sends the operation instruction and/or data to the corresponding central agent 2, and the corresponding central agent module 2 sends the operation instruction and/or data to the edge agent module 1 that establishes the connection channel with the operation instruction and/or data.
In some embodiments of the invention, the central agent module 2 is further configured to:
generating an identification code of the operation instruction and/or the data based on the data length of the operation instruction and/or the data and the identification information of the operation and maintenance management platform; and
and encrypting the operation instruction and/or data and the identification code and sending the encrypted operation instruction and/or data to the edge proxy module 1.
In this embodiment, when the central agent module 2 sends the operation instruction and/or the data to the edge agent module 1, first calculate the data length of the operation instruction and/or the data, and then obtain the unique identifier of the operation and maintenance platform, in this embodiment, the unique identifier is the name of the operation and maintenance platform named by the permutation and combination of letters, and the calculation is performed according to the order of the letters in the name and the data length of the data. The detailed calculation formula is as follows:
Figure BDA0003738150780000091
in the above formula, M identifies the identification code, x i Identifying the order of letters in the name of the operation and maintenance management platform, l 1 Identifying operating instructions and/or numbersAccording to the data length.
Further, after the identification code is calculated, the identification and the operation instruction and/or data are encrypted together, and finally, the encrypted identification code and the operation instruction and/or data are sent to the edge code module 1.
In some embodiments of the invention, the edge proxy module is further configured to:
and in response to receiving the corresponding operation instruction and/or data, executing the operation instruction and/or data on the edge proxy server, generating a response identification code of the operation instruction and/or data by using the data length of the execution result and the identification information of the operation and maintenance management platform, and encrypting the response identification code and the execution result data of the operation instruction and/or data and then sending the encrypted response identification code and the execution result data of the operation instruction and/or data to the central proxy module.
Correspondingly, after receiving the data sent by the central agent module 2, the edge agent module 1 decrypts the data to obtain the length of the data, performs reverse analysis according to the generation method of the identification code to obtain the length of the data hidden in the identification code, compares the length of the data obtained after decryption with the length of the data carried in the identification code, and if the lengths of the data are consistent, determines that the data is not tampered. Executing the operation instruction and/or data and returning the execution result.
Further, similar to the central agent module 2, the edge agent module 1 generates a new identification code according to the same generation process of the identification code, the length of the data content to be returned to the central agent module and the unique name of the operation and maintenance management platform, and then encrypts and sends the identification code and the data to be returned to the central agent module 2.
In some embodiments of the invention, the central agent module is further configured to:
in response to receiving the encrypted data sent by the edge proxy module, decrypting the encrypted data to obtain a corresponding response identification code and execution result data of the operation instruction and/or the data;
and analyzing the response identification code according to the generation mode of the response identification code, and sending the execution result data of the operation instruction and/or the data to the operation and maintenance management platform according to the unique identifier of the operation and maintenance management platform in the identification code.
In this embodiment, further, after receiving the encrypted data returned by the edge proxy module 1, the central proxy module 2 decrypts the data, reversely obtains the length of the data carried in the identification code based on the identification code generation method, and then compares the length with the length of the data sent by the edge proxy module 1 after decryption, and if the lengths are consistent, it indicates that the data has not been tampered in the data transmission process. And forwarding the data sent by the edge management platform 1 to the operation and maintenance management platform.
In some embodiments of the invention, the central agent module 2 is further configured to:
and sending heartbeat detection to the edge proxy module 1 at a preset time interval, and deleting the edge proxy module 1 from the relation mapping table copy in response to the fact that the edge proxy module does not respond to the heartbeat detection.
In this embodiment, the central agent module 1 sends heartbeat detection to the edge agent module 1 at a predetermined time interval to determine whether the edge agent module 1 is in a normal state, and if the edge agent module 1 does not respond to the heartbeat detection, the edge agent module 1 is considered to be abnormal, a channel with the edge agent module 1 is disconnected, and the edge agent module 1 is deleted from the map copy.
The embodiment is as follows:
as shown in fig. 3, fig. 3 shows a schematic diagram of a network topology of an edge server management system according to the present invention, where reference numbers 1 to 15 in the diagram represent key processes of an operation of the edge server management system, which are detailed as follows:
(1) and starting information input, inputting IP and port information of the central agents at the edge agent end, and inputting the IP and port information of the central agents if a plurality of central agents exist in distributed deployment. And inputting the IP and port information of the proxy center in the data synchronous forwarding module. The maximum registrable edge agent number N (which can be set according to the real scene) and the IP of the machine where the data synchronous forwarding module is located are recorded in the central agent module.
(2) And starting the central agent module at the operation and maintenance platform end, starting the WebSocket service at the given port by the central agent module, and waiting for receiving the registration data of the edge agent module.
(3) And starting a data synchronous forwarding module at an operation and maintenance platform end, creating an edge agent and central agent corresponding relation table edge _ center, wherein fields comprise fields such as a number, an edge agent IP, an edge agent SN, a central agent IP and a central agent port, and synchronizing the edge _ center table to each central agent module. And simultaneously sending a heartbeat packet to the central agent module at regular time (assumed to be 60 s), and deleting the information corresponding to the central module from the edge _ center table if the central agent module is not online.
Numbering Edge proxy IP Edge proxy server SN Central proxy IP Central agent port
1
Table 2: edge _ center table
(4) And starting an edge agent module at the edge server, registering to the first central agent service according to the central agent IP and the port information recorded by the information recording module in sequence, simultaneously sending SN and IP information of the current machine, and waiting for a return result.
(5) The central agent module receives the registration information of the edge agent module, writes the received SN, IP and the IP and port information of the local machine into an edge _ center table, and sends the table to the data synchronization forwarding module to inform the form synchronization.
(6) And the data synchronous forwarding module receives the edge _ center table and the synchronous signal sent by the central module and synchronously forwards the form data to each central agent.
(7) If the central agent module receives the registration information of the edge agent module and exceeds the maximum number N recorded by the data recording module, the central agent module does not write information into the edge _ center table and returns registration failure information to the edge agent module; otherwise, writing the table and returning the successful registration, and at the moment, establishing the channel corresponding to the central agent IP by taking the edge agent IP and the SN as the identifiers successfully. After the channel is established, the central agent will periodically (for example, 60 s) send heartbeat packets to the edge agent, monitor the online state of the edge agent, and ensure that the channel link is normal.
(8) And (4) after receiving the registration failure information, the edge agent module continues to register to the next central agent service, and the same step is carried out.
(9) And after all the edge agent registration and the data forwarding module form are synchronously completed, the operation and maintenance platform can send data to any central agent at the moment and operate any edge agent registration node.
The R center agent module opens a unique interface to the operation and maintenance platform, and the interface comprises an edge agent IP, operation types (GET, POST, PUT, PATCH, DELETE and the like), operation URI, operation data and the like. And after receiving the message sent by the operation and maintenance platform, analyzing the sent data and judging the edge proxy IP. If the IP of the edge agent to be operated is registered in the current center agent, directly adding a data identification code M to the data, encrypting the whole data (AES or RSA encryption and the like), putting the data into a channel corresponding to the IP of the edge agent, and sending the data; and if the edge proxy module is not registered in the current central node, sending the data to the data synchronous forwarding module.
The identification code is used for judging the current operation and maintenance platform and can also be used as a complete data identifier, and the identification code generation method comprises the following steps:
setting the identification code as M, the number of English name letters of the operation and maintenance platform as n, and the sequence of the alphabet corresponding to each letter as x 1 ,x 2 ,…,x n The length of the data byte to be transmitted is l 1
The identification code can be obtained:
Figure BDA0003738150780000121
Figure BDA0003738150780000126
and after receiving the data, the data synchronous forwarding module judges the central agent registered by the edge agent IP according to the corresponding relation in the edge _ center table, and sends the received data to the central agent.
Figure BDA0003738150780000125
After the edge agent module receives the data sent by the central agent module, the edge agent module decrypts the data, acquires the identification code and acquires the byte length l of the data 2 According to the algorithm in step R, it is obtained
Figure BDA0003738150780000127
Judgment of l 12 If the lengths are not consistent, returning data exception, and not processing the data; and if the lengths are consistent, analyzing the operation types, respectively sending request processing aiming at different operation types such as GET, POST, PUT, PATCH, DELETE and the like, and waiting for the edge server to return a result.
Figure BDA0003738150780000124
After the edge proxy module waits until the edge server returns the result, the edge proxy module adds the identification code according to the identification code generation algorithm in the R, encrypts the data again and sends the returned data.
Figure BDA0003738150780000123
After receiving the data, the central agent module decrypts the data, verifies the identification code, and returns the data to the operation and maintenance platform if the verification is successful; and if the verification identification fails, the data is not processed, and an edge proxy IP and an edge proxy data abnormal message are returned to the operation and maintenance platform.
Figure BDA0003738150780000122
If the central agent receives the offline of the edge agent or detects the abnormal channel of the edge agent, the central agent deletes the corresponding relation of the IP-SN-IP from the edge _ center table, synchronizes other central agents through the data synchronization forwarding module, and returns the offline of the equipment if a corresponding request of the relevant IP exists at the moment.
As shown in fig. 2, another aspect of the present invention further provides a server cluster, where one or more server nodes in the server cluster are deployed with corresponding modules in the system as in the foregoing embodiment.
The edge server management system provided by the invention realizes the distributed management of the operation and maintenance platform on the edge equipment in the scene of a unidirectional network. By adopting a distributed deployment architecture and design logic, the possibility of large-batch, quick, controllable and load-balanced nanotube edge equipment is realized.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. An edge server management system is characterized by comprising an edge agent module, a central agent module and a data synchronous forwarding module, wherein:
the edge agent module is configured to register a data channel with the central agent module, receive an operation instruction and/or data sent by the central agent module through the data channel, execute the operation instruction and/or data on an edge server, and send an execution result of the instruction to the central agent module;
the central agent module is configured to establish a data channel with the edge agent module, and send an operation instruction and/or data of the operation and maintenance management platform to the edge agent module and send data sent by the edge agent module to the operation and maintenance management platform through the data channel operation and maintenance management platform;
the data synchronous forwarding module is configured to establish a relational mapping table according to the network address of the edge agent module and the network address of the central agent module, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server among the plurality of central agent modules based on the relational mapping table.
2. The system of claim 1, wherein the data synchronization forwarding module is further configured to:
sending a heartbeat detection and a copy of the relational mapping table to the central agent module at a preset time interval, receiving an updated relational mapping table copy sent by the central agent module, and updating the relational mapping table based on the relational mapping table copy;
in response to the central agent module not responding to the heartbeat detection, deleting the central agent module from the relational mapping table.
3. The system of claim 2, wherein the central agent module is further configured to:
and responding to the successful registration of the data channels of the edge agent module and the central agent module, acquiring the IP address and the unique identifier of the edge agent module, and adding the IP address, the unique identifier and the IP address of the central agent module to the relation mapping table copy.
4. The system of claim 1, wherein the central agent module is further configured to:
receiving an operation instruction and/or data of the operation and maintenance management platform to an edge agent module, and judging whether the edge agent module registers a data channel in the agent module;
and responding to the data channel which is not registered in the central agent module by the edge agent module, and forwarding the operation instruction and/or the data to the data synchronous forwarding module.
5. The system of claim 4, wherein the data synchronization forwarding module is further configured to:
responding to an operation instruction and/or data forwarded by a central agent module, acquiring an edge agent module address of the operation instruction and/or data operation, inquiring the relation mapping table, finding a corresponding central agent module through the relation mapping table, and sending the operation instruction and/or data to the central agent module.
6. The system of claim 1, wherein the central agent module is further configured to:
generating an identification code of the operation instruction and/or the data based on the data length of the operation instruction and/or the data and the identification information of the operation and maintenance management platform; and
and encrypting the operation instruction and/or data and the identification code and sending the encrypted operation instruction and/or data to an edge proxy module.
7. The system of claim 1, wherein the edge proxy module is further configured to:
and in response to receiving the corresponding operation instruction and/or data, executing the operation instruction and/or data on the edge proxy server, generating a response identification code of the operation instruction and/or data by using the data length of the execution result and the identification information of the operation and maintenance management platform, and encrypting the response identification code and the execution result data of the operation instruction and/or data and then sending the encrypted response identification code and the execution result data of the operation instruction and/or data to the central proxy module.
8. The system of claim 7, wherein the central agent module is further configured to:
in response to receiving the encrypted data sent by the edge proxy module, decrypting the encrypted data to obtain a corresponding response identification code and execution result data of the operation instruction and/or the data;
and analyzing the response identification code according to the generation mode of the response identification code, and sending the execution result data of the operation instruction and/or the data to the operation and maintenance management platform according to the unique identification of the operation and maintenance management platform in the identification code.
9. The system of claim 3, wherein the central agent module is further configured to:
and sending heartbeat detection to the edge proxy module at a preset time interval, and deleting the edge proxy module from the relation mapping table copy in response to the fact that the edge proxy module does not respond to the heartbeat detection.
10. A server cluster, one or more server nodes in the server cluster deployed with corresponding modules in the system of any one of claims 1-9.
CN202210802035.1A 2022-07-08 2022-07-08 Edge server management system and server cluster Active CN115190168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210802035.1A CN115190168B (en) 2022-07-08 2022-07-08 Edge server management system and server cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210802035.1A CN115190168B (en) 2022-07-08 2022-07-08 Edge server management system and server cluster

Publications (2)

Publication Number Publication Date
CN115190168A true CN115190168A (en) 2022-10-14
CN115190168B CN115190168B (en) 2023-08-04

Family

ID=83516680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210802035.1A Active CN115190168B (en) 2022-07-08 2022-07-08 Edge server management system and server cluster

Country Status (1)

Country Link
CN (1) CN115190168B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023995A (en) * 2012-11-29 2013-04-03 中国电力科学研究院 Hadoop-based distributive type cloud storage type automatic grading data managing system
WO2016202007A1 (en) * 2015-06-16 2016-12-22 中兴通讯股份有限公司 Device operation and maintenance method and system
CN111526223A (en) * 2020-04-23 2020-08-11 腾讯科技(深圳)有限公司 Management method of edge service server, service data processing method and device
CN114500527A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Out-of-band management system and method for edge device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023995A (en) * 2012-11-29 2013-04-03 中国电力科学研究院 Hadoop-based distributive type cloud storage type automatic grading data managing system
WO2016202007A1 (en) * 2015-06-16 2016-12-22 中兴通讯股份有限公司 Device operation and maintenance method and system
CN111526223A (en) * 2020-04-23 2020-08-11 腾讯科技(深圳)有限公司 Management method of edge service server, service data processing method and device
CN114500527A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Out-of-band management system and method for edge device

Also Published As

Publication number Publication date
CN115190168B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US20180337892A1 (en) Scalable proxy clusters
US7978631B1 (en) Method and apparatus for encoding and mapping of virtual addresses for clusters
US6931016B1 (en) Virtual private network management system
CN112703717B (en) Unique identity of endpoints of a cross-layer 3network
CN108964940B (en) Message sending method and device and storage medium
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
CN108306806B (en) Message forwarding method and device
US11711367B2 (en) Continuing a media access control security (MACsec) key agreement (MKA) session upon a network device becoming temporarily unavailable
US20160080340A1 (en) Communication control device
CN113709250A (en) Cross-domain user data synchronization method based on subscription sending mode
US20210264051A1 (en) Blockchain system, blockchain management apparatus, network control apparatus, method and program
WO2017032110A1 (en) Application message processing system and method, and application device
CN116719868A (en) Network asset identification method, device and equipment
CN115190168B (en) Edge server management system and server cluster
CN112702361B (en) Safety blocking method, device and equipment based on lightweight distributed cooperative equipment
JP2018174550A (en) Communication system
CN109150661A (en) A kind of method for discovering equipment and device
CN113904857A (en) Method, device and equipment for filtering data packets in local area network and readable medium
CN106878051B (en) Multi-machine backup implementation method and device
CN108259292B (en) Method and device for establishing tunnel
CN117424928B (en) Network equipment and resource sharing method
CN108322941B (en) Information communication method and device
US7400621B2 (en) Technique for achieving connectivity between telecommunication stations
CN109510801B (en) Explicit forward proxy and SSL interception integrated system and operation method thereof
KR20240000161A (en) Method, device and system for dds communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant