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

Edge server management system and server cluster Download PDF

Info

Publication number
CN115190168B
CN115190168B CN202210802035.1A CN202210802035A CN115190168B CN 115190168 B CN115190168 B CN 115190168B CN 202210802035 A CN202210802035 A CN 202210802035A CN 115190168 B CN115190168 B CN 115190168B
Authority
CN
China
Prior art keywords
data
module
edge
central
proxy module
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.)
Active
Application number
CN202210802035.1A
Other languages
Chinese (zh)
Other versions
CN115190168A (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

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

Abstract

The invention provides an edge server management system, which comprises: the edge proxy module registers a data channel with the central proxy module, receives the operation instruction and/or data sent by the central proxy module through the data channel, executes the operation instruction and/or data on the edge server and sends the execution result of the instruction to the central proxy module; the central agent module establishes a data channel with the edge agent module, and transmits operation instructions and/or data of the edge agent module to the edge agent module through the data channel operation and maintenance management platform and transmits the data transmitted by the edge agent module to the operation and maintenance management platform; and the data synchronous forwarding module establishes a relation mapping table according to the network address of the edge proxy module and the network address of the central proxy module, and forwards operation instructions and/or data of the operation and maintenance management platform to the edge server between a plurality of central proxy modules based on the relation 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 era of cloud computing, the demand of servers is increasing, and meanwhile, with the development of 5G technology, edge servers with small volume, low power consumption and wide temperature application range customized for scenes such as edge computing are generated. Usually, due to the limitation of an edge computing scene, most edge servers can only be connected through a 4G/5G or wifi module to realize edge computing and network communication. At the same time, the servers supporting the large data volume interaction basically need to be managed through an operation and maintenance software platform. Under the realistic use scene, the operation and maintenance platform and the edge server are mostly unidirectional networks, so how to realize the nanotubes of the edge equipment and the like through the operation and maintenance platform under the unidirectional network condition becomes a problem, and an effective solution is 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 proxy module is configured to register a data channel with the central proxy module, receive an operation instruction and/or data sent by the central proxy 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 proxy 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 edge agent module of the operation and maintenance management platform to the edge agent module and send the 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 relation mapping table according to the network address of the edge proxy module and the network address of the central proxy module, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server between a plurality of central proxy modules based on the relation mapping table.
In some embodiments of the present invention, the data synchronous forwarding module is further configured to:
sending heartbeat detection and a copy of the relation mapping table to the central agency module at a preset time interval, receiving the updated copy of the relation mapping table sent by the central agency module, and updating the relation mapping table based on the copy of the relation mapping table;
and deleting the central agency module from the relation mapping table in response to the central agency module not responding to the heartbeat detection.
In some embodiments of the invention, the central agency module is further configured to:
and in response to successful data channel registration of the edge proxy module and the central proxy module, acquiring the IP address and the unique identifier of the edge proxy module, and adding the IP address, the unique identifier and the IP address of the central proxy module to the relation mapping table copy.
In some embodiments of the invention, the central agency module is further configured to:
receiving an operation instruction and/or data of the edge proxy module of the operation and maintenance management platform, and judging whether the edge proxy module registers a data channel in the proxy module;
and in response to the edge proxy module not registering a data channel in the central proxy module, forwarding the operation instruction and/or the data to the data synchronous forwarding module.
In some embodiments of the present invention, the data synchronous forwarding module is further configured to:
and responding to the received operation instruction and/or data forwarded by the central agency module, acquiring an edge agency module address operated by the operation instruction and/or data, inquiring the relation mapping table, finding a corresponding central agency module through the relation mapping table, and sending the operation instruction and/or data to the central agency module.
In some embodiments of the invention, the central agency 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
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 responding to the received 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 the data length of the execution result and the identification information of the operation and maintenance management platform, encrypting the response identification code and the execution result data of the operation instruction and/or data, and then transmitting the encrypted response identification code and the encrypted execution result data of the operation instruction and/or data to the central proxy module.
In some embodiments of the invention, the central agency 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 data;
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.
In some embodiments of the invention, the central agency module is further configured to:
and sending heartbeat detection to the edge proxy module at predetermined time intervals, and deleting the edge proxy module from the relation mapping table copy in response to the edge proxy module not responding to the heartbeat detection.
Another aspect of the present invention also 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 above 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. The distributed deployment architecture and design logic are adopted, so that the possibility of large-batch, rapid, controllable and load-balancing of the nanotube edge equipment is realized.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 schematic 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 will be described in further detail with reference to the accompanying drawings.
The invention is applied to the field of edge calculation and aims to solve the access problem of edge equipment. Along with the development of network technology and hardware technology, the internet of things is greatly developed, intelligent (networking) terminal devices which are visible in life are more and more, if the huge internet of things terminal devices are managed in a traditional PC network access mode, a plurality of huge network channels are required to be established, namely, corresponding bidirectional TCP connection is established with each internet of things device, but because the data interaction frequency between the internet of things terminal devices and the servers corresponding to the back ends is not high, and the operation instructions and/or data of the back end servers are received passively, the transmission of network data is usually that the back end servers firstly send corresponding instructions, and therefore, a large amount of TCP connection resources on the servers are wasted. And because IPV6 is not fully popularized, a large number of terminal devices are still deployed in an IPV4 manner, and in the layer-by-layer NAT network, when TCP connection is not continuously established, the backend server cannot actively connect to the corresponding terminal devices (multiple terminals share an IPV4 address to form a network in a NAT mapping manner). Therefore, the access and management of the existing edge equipment is high in construction cost and maintenance cost.
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 proxy module 1 is configured to register a data channel with the central proxy module 2, receive an operation instruction and/or data sent by the central proxy 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 proxy module 2;
the central proxy module 2 is configured to establish a data channel with the edge proxy module 1, and send an operation instruction and/or data of the edge proxy module 1 of the operation and maintenance management platform to the edge proxy module 1 and send the data sent by the edge proxy module 1 to the operation and maintenance management platform through the data channel operation and maintenance management platform;
the data synchronous forwarding module 3 is configured to establish a relationship mapping table according to the network address of the edge proxy module 1 and the network address of the central proxy module 2, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server between the plurality of central proxy modules 2 based on the relationship mapping table.
In the embodiment of the present invention, as shown in fig. 1, the 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, in some routers, which is used to manage a plurality of terminals, as mentioned above, in the current network device deployment, the device with an IPV4 address is typically only a router or a light cat, so that a large number of interrupt devices, such as mobile phones, and IP addresses used by computers are all local network addresses allocated by NAT technologies, and computers outside the local network cannot actively access devices in the local network. The edge proxy module 1 in the invention is used for establishing a corresponding network channel with the central proxy module on one hand, and communicating with equipment without public network IP in the local area network on the other hand. And receiving corresponding operation instructions and/or data forwarded by the central agency module 2, and performing related operations on equipment in a corresponding local area network according to instruction content. Typical application scenarios include: remote access to home smart devices and control or management of monitoring devices or other smart devices in a large mall.
Further, the central proxy module 2 is a proxy node for establishing network channels with the plurality of edge proxy modules 1, and the main service is to forward the operation instruction and/or data of the operation and maintenance management platform to the corresponding edge proxy modules 1, and the computing capacity of the server of the whole proxy node is used for establishing the network connection channels. On one hand, a corresponding network connection channel is established with the edge proxy module 1, an operation instruction and/or data of the operation and maintenance management platform or corresponding data are forwarded to the corresponding edge proxy module 1, and on the other hand, when feedback data which are sent by the edge proxy module 1 and respond to the operation instruction and/or data of the operation and maintenance management platform are 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 manner of HTTP protocol, and when the edge proxy module 1 does not have an IP address of a public network, the connection with the central proxy module 2 may be maintained by establishing a 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 proxy module 1 is located has a public network IP address, the central proxy 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 proxy module 1, the operation instruction and/or data may be forwarded directly through the port where the IP address accesses the edge proxy module 1.
In the embodiment of the present invention, the data synchronous forwarding module 3 is configured to establish a corresponding relationship mapping table with the edge proxy module 1 of the corresponding central proxy module 2 that establishes a network channel, where the content of the relationship mapping table is as follows:
table 1: relation mapping table
It should be noted that, the number of the central proxy modules 2 is at least 1, and is usually a plurality, one central proxy module 2 may establish a channel with a plurality of edge proxy modules 1, while the edge proxy modules 1 may only establish a channel with 1 central proxy module 2 at the same time, and the operation and maintenance management platform only needs to send the IP (which may be a public network IP shared by a plurality of devices) of the edge proxy module to be operated and the operation instruction and/or data to the central proxy module 2, if the corresponding central proxy module 2 and the edge proxy module 1 have network channels, the operation instruction and/or data is directly sent to the edge proxy 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 proxy module 2 according to the central proxy IP address recorded on the relation mapping table. The operation instructions and/or data are processed by the corresponding central agency module 2. SN is a Serial Number, typically a unique identification.
In some embodiments of the present invention, the data synchronous forwarding module 3 is further configured to:
sending heartbeat detection and copies of the relation mapping table to the central agency module 2 at preset time intervals, receiving the updated relation mapping table copies sent by the central agency module 2, and updating the relation mapping table based on the relation mapping table copies;
and deleting the central agency module 2 from the relation mapping table in response to the central agency module 2 not responding to the heartbeat detection.
In this embodiment, the data synchronous forwarding module 3 also sends the heartbeat detection and the copy of the relationship mapping table to one or more central proxy modules 2 at regular time, if the corresponding central proxy module 2 is normal, the heartbeat detection will be responded, meanwhile, the connection or disconnection between the central proxy module 2 and the edge proxy module 1 in the heartbeat detection interval is updated to the copy of the relationship mapping table, and the relationship 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 relationship mapping table to the relationship mapping table.
Further, if there is a failure in the central agency module 2 in response to the heartbeat detection, the corresponding central agency module 2 is considered to be failed, and the central agency module 2 is deleted from the relationship map. And simultaneously deleting the information of a plurality of edge proxy modules 1 corresponding to the central proxy module 2.
In some embodiments of the present invention, the central agency module 2 is further configured to:
and in response to successful data channel registration of the edge proxy module 1 and the central proxy module 2, acquiring the IP address and the unique identifier of the edge proxy module 1, and adding the IP address, the unique identifier and the IP address of the central proxy module to the relation mapping table copy.
In this embodiment, the central proxy module 2 maintains a copy of the relationship mapping table sent by the data synchronous forwarding module 3, and when there is an edge proxy module 1 connected to the central proxy module 2, acquires the IP address and SN of the edge proxy module 1, and adds the IP address of itself and the IP address and SN of the edge proxy module 1 to the copy of the relationship mapping table on the central proxy module 2.
In some embodiments of the invention, the central proxy module 2 is further configured to:
receiving an operation instruction and/or data of the edge proxy module 1 by the operation and maintenance management platform, and judging whether the edge proxy module registers a data channel in the proxy module;
and in response to the edge proxy module not registering a data channel in the central proxy module, 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 proxy module 2 first detects whether the corresponding edge proxy module 1 registers a data channel in the central proxy module 2, if so, sends the operation instruction and/or data to the corresponding edge proxy module 1, and if not, forwards the operation instruction and/or data to the data synchronous forwarding module 3.
In some embodiments of the present invention, the data synchronous forwarding module 3 is further configured to:
and responding to the received operation instruction and/or data forwarded by the central agency module 2, acquiring the address of the edge agency module 1 operated by the operation instruction and/or data, inquiring the relation mapping table, finding the corresponding central agency module 2 through the relation mapping table, and transmitting the operation instruction and/or data to the central agency module 2.
In this embodiment, as described above, the data synchronous forwarding module 3 searches the corresponding central proxy module 2 according to the relationship mapping table after receiving the operation instruction and/or data sent by the central proxy module 2, and sends the operation instruction and/or data to the corresponding central proxy module 2, and the corresponding central proxy module 2 sends the operation instruction and/or data to the edge proxy module 1 that establishes a connection channel with the operation instruction and/or data.
In some embodiments of the present invention, the central agency 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
encrypting the operation instruction and/or data and the identification code and transmitting the encrypted operation instruction and/or data to the edge proxy module 1.
In this embodiment, when the central agency module 2 sends an operation instruction and/or data to the edge agency module 1, the data length of the operation instruction and/or data is calculated first, and then the unique identifier of the operation and maintenance platform is obtained. The detailed calculation formula is as follows:
in the above, M identifies the identification code,identification operation and maintenance pipeLetter order in the name of the management platform, +.>A data length of the operation instructions and/or data is identified.
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 operation instruction and/or data are sent to the edge proxy module 1.
In some embodiments of the invention, the edge proxy module is further configured to:
and responding to the received 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 the data length of the execution result and the identification information of the operation and maintenance management platform, encrypting the response identification code and the execution result data of the operation instruction and/or data, and then transmitting the encrypted response identification code and the encrypted execution result data of the operation instruction and/or data to the central proxy module.
Correspondingly, after receiving the data sent by the central agency module 2, the edge agency module 1 decrypts the data to obtain the length of the data, then reversely analyzes the length of the data hidden in the identification code according to the generation method of the identification code, compares the length of the data obtained after decryption with the length of the data carried in the identification code, and considers that the data is not tampered if the lengths of the data are consistent. Executing the operation instruction and/or data, and returning an execution result.
Further, similarly to the center 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 center agent module, and the unique name of the operation and maintenance management platform, and then encrypts and transmits the identification code together with the data to be returned to the center agent module 2.
In some embodiments of the invention, the central agency 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 data;
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.
In this embodiment, further, after receiving the encrypted data returned by the edge proxy module 1, the central proxy module 2 decrypts the data, then reversely obtains the length of the data carried in the identification code based on the generation method of the identification code, and compares the length with the length of the data sent by the decrypted edge proxy module 1, if the length is consistent, it is indicated that the data is not 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 present invention, the central agency module 2 is further configured to:
and sending heartbeat detection to the edge proxy module 1 at preset time intervals, and deleting the edge proxy module 1 from the relation mapping table copy in response to the edge proxy module not responding to the heartbeat detection.
In this embodiment, the central proxy module 2 sends heartbeat detection to the edge proxy module 1 at predetermined time intervals to confirm whether the edge proxy module 1 is in a normal state, if the edge proxy module 1 does not respond to the heartbeat detection, the edge proxy module 1 is considered to be abnormal, the channel with the edge proxy module 1 is disconnected, and the edge proxy module 1 is deleted from the relationship mapping table copy.
Examples:
as shown in fig. 3, fig. 3 is a network topology diagram of an edge server management system according to the present invention, in which reference numbers 1-15 represent key processes of operation of the edge server management system, and the details are 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 the central agents are distributed. And recording IP and port information of the proxy center in the data synchronous forwarding module. The maximum registered edge agent number N (N can be set according to the actual scene) is input into the central agent module, and the IP of the machine where the data synchronous forwarding module is located.
(2) And starting a central proxy module at the operation and maintenance platform end, starting a WebSocket service at a given port by the central proxy module, and waiting for receiving registration data of the edge proxy module.
(3) Starting a data synchronous forwarding module at an operation and maintenance platform end, creating an edge proxy and center proxy corresponding relation table edge_center, wherein fields comprise a number, an edge proxy IP, an edge proxy SN, a center proxy IP, a center proxy port and the like, and synchronizing the edge_center table to each center proxy module. And simultaneously, sending a heartbeat packet to the central agency module at a timing (60 s is assumed), and deleting information corresponding to the central agency module from the edge_center table if the central agency module is not on line.
Table 2: edge_center table
(4) And starting an edge proxy module at the edge server, registering with the first central proxy service according to the central proxy IP and the port information recorded by the information recording module in sequence, simultaneously transmitting the SN and the 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 and IP and the IP and port information of the local machine into an edge_center table, and sends the information to the data synchronous forwarding module to inform the form synchronization.
(6) The data synchronous forwarding module receives the edge_center table and the synchronous signal sent by the center module and synchronously forwards the form data to each center agent.
(7) If the central agency module receives the registration information of the edge agency module and exceeds the maximum number N input by the data input module, the central agency module does not write information into the edge_center table and returns registration failure information to the edge agency module; otherwise, writing the list and returning the successful registration, and at the moment, using the edge proxy IP and the SN as identifiers to establish the channel corresponding to the center proxy IP successfully. After the channel is established, the central agency can send heartbeat packets to the edge agency periodically (60 s, for example), monitor the online state of the edge agency and ensure the normal channel link.
(8) And (4) after receiving the registration failure information, the edge proxy module continues to register with the next central proxy service.
(9) After all the edge proxy registration and the form synchronization of the data forwarding module are completed, the operation and maintenance platform can send data to any central proxy at the moment to operate any edge proxy registration node.
The central proxy module opens a unique interface to the operation and maintenance platform, wherein the interface comprises an edge proxy IP, an operation type (GET, POST, PUT, PATCH, DELETE, etc.), an operation URI, operation data, etc. And after receiving the message sent by the operation and maintenance platform, analyzing the sent data and judging the edge proxy IP. If the edge proxy IP to be operated is registered in the current center proxy, 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 edge proxy IP, and sending the data; and if the edge proxy module is not registered in the current central node, transmitting the data to the data synchronous forwarding module.
The identification code is used for judging the current operation and maintenance platform and can be used as a complete identifier of data, and the generation method of the identification code is as follows:
the identification code is M, the number of English name letters of the operation and maintenance platform is n, and the alphabet sequence corresponding to each letter is,/>,…,/>The data byte length to be transmitted is +.>
The identification code can be obtained:
and ⑪, after receiving the data, the data synchronous forwarding module judges a central agency registered by the edge agency IP according to the corresponding relation in the edge_center table and sends the received data to the central agency.
After the ⑫ edge proxy module receives the data sent by the central proxy module, the data are decrypted, the identification code is obtained, and the byte length of the data is obtainedAccording to the algorithm in step (ii), +.>Judging->If the lengths are inconsistent, returning data exception, and not processing the data; if the lengths are consistent, the operation types are analyzed, request processing is respectively sent aiming at different operation types such as GET, POST, PUT, PATCH, DELETE, and the edge server waits for returning the result.
⑬ the edge proxy module waits until the edge server returns the result, adds the identification code according to the identification code generation algorithm in the data packet, encrypts the data again and sends the returned data.
After the ⑭ central agency module receives the data, decrypting the data, checking the identification code, and returning the data to the operation and maintenance platform if the verification is successful; if the verification and identification fail, the data are not processed, and the edge proxy IP and the edge proxy data exception message are returned to the operation and maintenance platform.
⑮ if the central agency receives the offline of the edge agency or detects the abnormal channel of the edge agency, the central agency deletes the corresponding relation of the IP-SN-IP from the edge_center table, synchronizes other central agency through the data synchronous forwarding module, and returns to the offline of the equipment if the corresponding request of the related 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. The distributed deployment architecture and design logic are adopted, so that the possibility of large-batch, rapid, controllable and load-balancing of the 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 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 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 foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages 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 for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (8)

1. The edge server management system is characterized by comprising an edge proxy module, a central proxy module and a data synchronous forwarding module, wherein:
the edge proxy module is configured to register a data channel with the central proxy module, receive an operation instruction and/or data sent by the central proxy 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 proxy 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 edge agent module of the operation and maintenance management platform to the edge agent module and send the 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 relation mapping table according to the network address of the edge proxy module and the network address of the central proxy module, and forward the operation instruction and/or data of the operation and maintenance management platform to the edge server between a plurality of central proxy modules based on the relation mapping table;
the central agency module is further configured to:
receiving an operation instruction and/or data of the edge proxy module of the operation and maintenance management platform, and judging whether the edge proxy module registers a data channel in the proxy module;
responsive to the edge proxy module not registering a data channel with the central proxy module, forwarding the operational instructions and/or data to the data synchronization forwarding module;
the data synchronous forwarding module is further configured to:
and responding to the received operation instruction and/or data forwarded by the central agency module, acquiring an edge agency module address operated by the operation instruction and/or data, inquiring the relation mapping table, finding a corresponding central agency module through the relation mapping table, and sending the operation instruction and/or data to the central agency module.
2. The system of claim 1, wherein the data synchronization forwarding module is further configured to:
sending heartbeat detection and a copy of the relation mapping table to the central agency module at a preset time interval, receiving the updated copy of the relation mapping table sent by the central agency module, and updating the relation mapping table based on the copy of the relation mapping table;
and deleting the central agency module from the relation mapping table in response to the central agency module not responding to the heartbeat detection.
3. The system of claim 2, wherein the central proxy module is further configured to:
and in response to successful data channel registration of the edge proxy module and the central proxy module, acquiring the IP address and the unique identifier of the edge proxy module, and adding the IP address, the unique identifier and the IP address of the central proxy module to the relation mapping table copy.
4. The system of claim 1, wherein the central proxy 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
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.
5. The system of claim 1, wherein the edge proxy module is further configured to:
and responding to the received corresponding operation instruction and/or data, executing the operation instruction and/or data on the edge proxy module, generating a response identification code of the operation instruction and/or data by the data length of the execution result and the identification information of the operation and maintenance management platform, encrypting the response identification code and the execution result data of the operation instruction and/or data, and then transmitting the encrypted response identification code and the encrypted execution result data of the operation instruction and/or data to the central proxy module.
6. The system of claim 5, wherein the central proxy 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 data;
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.
7. The system of claim 3, wherein the central proxy module is further configured to:
and sending heartbeat detection to the edge proxy module at predetermined time intervals, and deleting the edge proxy module from the relation mapping table copy in response to the edge proxy module not responding to the heartbeat detection.
8. A server cluster, one or more server nodes of the server cluster being deployed with corresponding modules in the system of any of claims 1-7.
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 CN115190168A (en) 2022-10-14
CN115190168B true 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
CN115190168A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US20180337892A1 (en) Scalable proxy clusters
CN104967595B (en) The method and apparatus that equipment is registered in platform of internet of things
EP2406917B1 (en) Push notification service
US6931016B1 (en) Virtual private network management system
CN108881354B (en) Push information storage method and device, server and computer storage medium
CN106878199B (en) Configuration method and device of access information
CN107172001B (en) Control method and device of website proxy server and key proxy server
CN103631652A (en) Method and system for achieving virtual machine migration
WO2020057445A1 (en) Communication system, method, and device
CN110875857B (en) Method, device and system for reporting disconnected network state
CN114938312B (en) Data transmission method and device
US11711367B2 (en) Continuing a media access control security (MACsec) key agreement (MKA) session upon a network device becoming temporarily unavailable
CN115190168B (en) Edge server management system and server cluster
WO2017032110A1 (en) Application message processing system and method, and application device
CN109150661A (en) A kind of method for discovering equipment and device
CN113472625B (en) Transparent bridging method, system, equipment and storage medium based on mobile internet
CN110830477B (en) Service identification method, device, gateway, system and storage medium
CN113904857A (en) Method, device and equipment for filtering data packets in local area network and readable medium
CN114915583A (en) Message processing method, client device, server device, and medium
US8036218B2 (en) Technique for achieving connectivity between telecommunication stations
CN106878051B (en) Multi-machine backup implementation method and device
CN108322941B (en) Information communication method and device
CN113923046B (en) Method and system for realizing distributed firewall secure communication
CN113452800B (en) Method for realizing load balance based on multiple Broker in MQTT protocol
CN113766019B (en) Internet of things system based on cloud and edge computing combination

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