CN113472599B - Data communication method and system of network node - Google Patents

Data communication method and system of network node Download PDF

Info

Publication number
CN113472599B
CN113472599B CN202111033201.8A CN202111033201A CN113472599B CN 113472599 B CN113472599 B CN 113472599B CN 202111033201 A CN202111033201 A CN 202111033201A CN 113472599 B CN113472599 B CN 113472599B
Authority
CN
China
Prior art keywords
network node
upgraded
network
control platform
communication link
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
CN202111033201.8A
Other languages
Chinese (zh)
Other versions
CN113472599A (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.)
Beijing Huayuan Information Technology Co Ltd
Original Assignee
Beijing Huayuan Information 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 Beijing Huayuan Information Technology Co Ltd filed Critical Beijing Huayuan Information Technology Co Ltd
Priority to CN202111033201.8A priority Critical patent/CN113472599B/en
Publication of CN113472599A publication Critical patent/CN113472599A/en
Application granted granted Critical
Publication of CN113472599B publication Critical patent/CN113472599B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

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

Abstract

Embodiments of the present disclosure provide a data communication method, system, device and computer-readable storage medium of a network node. The method comprises the following steps: the network node management and control platform sends a mirror image network upgrading file to the network node to be upgraded; the network node to be upgraded uses the received mirror image network upgrade file to carry out network upgrade; when the network node to be upgraded is upgraded, actively establishing a first communication link with a network node control platform; and the network node to be upgraded and the network node control platform carry out data communication through a first communication link. In this way, the situation that the network node management and control platform needs to poll the network nodes, so that a manager needs to repeatedly test the restart speed and the synchronization time of different types of network nodes when different mirror image versions are loaded to determine a proper polling time can be avoided; and the connection back to the network node control platform can also improve the communication efficiency between the network node control platform and the network node to be upgraded, and avoid resource consumption caused by polling.

Description

Data communication method and system of network node
Technical Field
Embodiments of the present disclosure relate generally to the field of the internet and, more particularly, to a data communication method, system, device and computer-readable storage medium of a network node.
Background
Currently, in an SDN (Software Defined Network) wide area Network communication Network, if Network functions of transmission nodes constituting the Network need to be upgraded, a specific image file (group) needs to be imported into a Network node management platform (SDN Controller) and an image file management service is started, and an archive file such as star, gz or qcow2 is distributed to each Network node through the service process.
The network node management and control platform executes a group of configuration commands on the network node to activate the distributed archive and install the image file. Network nodes typically automatically reboot after installing the image to initialize the system and load the installed image file. The network node management and control platform actively starts to poll the network node at a preset time (for example, after 3 minutes) after the mirror image installation process of the network node is activated, for example, using a PING command to detect whether the network node has a response.
Once the network node completes the reboot and responds to the PING command from the network node management platform, the network node management platform issues a more specific Command Line Interface (CLI) command to the network communication nodes to determine the upgraded state.
The scheme for upgrading the network function of the node by using the mirror image file has the following problems:
firstly, the network nodes may need a relatively long time to restart after the mirror image is installed, which requires a manager to repeatedly test the restart speed and synchronization time of different types of network nodes when different mirror image versions are loaded, so that the network node management and control platform can initiate polling test at a relatively proper time, which greatly affects the availability of the network.
Second, since network nodes may exist in various local area network environments, their underlying network connections may be local area network gateway devices using Dynamic Host Configuration Protocol (DHCP) services to dynamically assign traffic IP addresses. The DHCP service does not enforce that the service IP address assigned to the same host at each time is completely consistent with that previously assigned, and the service IP address obtained by the network communication node from the local lan gateway device after the restart may not be consistent with that previously assigned. In this case, when the network node management and control platform polls the old traffic IP address of the network node, an error is generated.
In addition, opening a port on the upgraded network node to listen for later live polling by the network node management and control platform may create a potential security breach.
Finally, a firewall may be deployed between the network node and the network node management and control platform. The change of the service IP address and the interruption of the session may cause the network node management and control platform to fail to access the node after the network node is restarted.
Disclosure of Invention
According to an embodiment of the present disclosure, a data communication scheme of a network node is provided.
In a first aspect of the disclosure, a method of data communication of a network node is provided. The method comprises the following steps:
the network node management and control platform sends a mirror image network upgrading file to the network node to be upgraded;
the network node to be upgraded uses the received image network upgrade file to carry out network upgrade;
when the network node to be upgraded is finished, actively establishing a first communication link with the network node control platform;
and the network node to be upgraded and the network node management and control platform carry out data communication through the first communication link.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the network node to be upgraded actively establishes a first communication link with the network node management and control platform when the network upgrade is completed, where the method includes:
when the network node to be upgraded finishes network upgrading, actively sending a first connection request to the network node control platform through a service IP address of the network node to be upgraded; the first connection request carries an identifier of the network node to be upgraded;
and after receiving the first connection request, the network node management and control platform establishes the first communication link with the network node to be upgraded.
As to the above-mentioned aspects and any possible implementation manner, there is further provided an implementation manner, where if the network node management and control platform does not establish the first communication link with the network node to be upgraded within a preset time period, the network node management and control platform sends a second connection request to the fixed management IP address of the network node to be upgraded, so as to establish a second communication link with the network node to be upgraded.
The above-described aspects and any possible implementations further provide an implementation, and the method further includes:
the network node management and control platform sends a control instruction to the network node to be upgraded through the second communication link, wherein:
the control instructions include at least one of:
a state rollback instruction, a node restart instruction and a reinstallation instruction of the image network upgrade file.
In the foregoing aspect and any possible implementation manner, an implementation manner is further provided, where the network node management and control platform determines the preset time length according to an upgrade requirement corresponding to the image network upgrade file.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the network node management and control platform sends an upgrade query request to the network node to be upgraded based on the first communication link or the second communication link;
after receiving the upgrading query request, the network node to be upgraded returns a mirror image upgrading result to the network node management and control platform;
the image upgrade result comprises at least one of:
whether to utilize the image network upgrading file to complete network upgrading, network upgrading progress, network upgrading time consumption, network upgrading resource consumption and starting conditions of the network node to be upgraded.
The above-described aspects and any possible implementation further provide an implementation, where the first communication link or the second communication link is an encrypted network tunnel based on a TCP connection;
the network node to be upgraded and the network node management and control platform perform data communication through the first communication link, and the method includes:
on the first communication link, the network node to be upgraded reports target information to the network node management and control platform in an RPC mode, wherein the target information comprises: the network state of the network node to be upgraded and the resource use condition of the network node to be upgraded.
In a second aspect of the disclosure, a data communication system of a network node is provided. The system comprises:
the network node control platform is used for sending a mirror image network upgrading file to the network node to be upgraded;
and the network node to be upgraded carries out network upgrade by utilizing the received image network upgrade file, actively establishes a first communication link with the network node control platform when the network upgrade is completed, and carries out data communication with the network node control platform through the first communication link.
In a third aspect of the disclosure, an electronic device is provided. The electronic device includes: a memory having a computer program stored thereon and a processor implementing the method as described above when executing the program.
In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method as according to the first and/or second aspect of the present disclosure.
The technical scheme of the present disclosure can achieve the following technical effects:
after the network node to be upgraded is upgraded by using the received image network upgrade file, the network node to be upgraded can actively return to the network node control platform, so that the situation that a manager needs to repeatedly test the restart speed and the synchronization time of different types of network nodes when different image versions are loaded to determine a proper polling time due to the fact that the network node control platform needs to poll the network nodes can be avoided; and the connection back to the network node control platform can also improve the communication efficiency between the network node control platform and the network node to be upgraded, and avoid resource consumption caused by polling.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
fig. 1 shows a flow chart of a method of data communication of a network node according to an embodiment of the present disclosure;
fig. 2 shows a flow chart of another method of data communication of a network node according to an embodiment of the present disclosure;
fig. 3 shows a block diagram of a data communication system of a network node according to an embodiment of the present disclosure;
fig. 4 shows a schematic diagram of a data communication system of a network node according to an embodiment of the present disclosure;
FIG. 5 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the disclosure, after the network node to be upgraded performs network upgrade by using the received image network upgrade file, the network node to be upgraded is actively returned to the network node control platform, so that the situation that a manager needs to repeatedly test the restart speed and the synchronization time of different types of network nodes when different image versions are loaded to determine a proper polling time due to the fact that the network node control platform needs to poll the network nodes can be avoided; and the connection back to the network node control platform can also improve the communication efficiency between the network node control platform and the network node to be upgraded, and avoid resource consumption caused by polling.
Fig. 1 shows a flow chart of a method 100 of data communication of a network node according to an embodiment of the present disclosure. As shown in fig. 1, the method 100 may include:
step 110, the network node management and control platform sends a mirror image network upgrade file to the network node to be upgraded; the network node to be upgraded may be one or more nodes in the intranet that need to be upgraded, or certainly may not be the intranet, such as a node in the wide area network that needs to be upgraded.
The network node management and control platform is used for managing and controlling the network node to be upgraded, and may be located in the same network or a different network from the network node to be upgraded, which is not limited in this disclosure.
Step 120, the network node to be upgraded uses the received image network upgrade file to perform network upgrade;
the image network upgrading file is used for upgrading the network functions of the network node to be upgraded, such as a wifi module.
Step 130, when the network node to be upgraded is finished, actively establishing a first communication link with the network node management and control platform; the first communication link is also established based on the network upgraded with the image network upgrade file.
And 140, performing data communication between the network node to be upgraded and the network node management and control platform through the first communication link.
After the network node to be upgraded is upgraded by using the received image network upgrade file, the network node to be upgraded can actively return to the network node control platform, so that the situation that a manager needs to repeatedly test the restart speed and the synchronization time of different types of network nodes when different image versions are loaded to determine a proper polling time due to the fact that the network node control platform needs to poll the network nodes can be avoided; and the connection back to the network node control platform can also improve the communication efficiency between the network node control platform and the network node to be upgraded, and avoid resource consumption caused by polling.
In addition, no matter what the type of the network node to be upgraded and the version of the image network upgrade file are, the network node to be upgraded can actively return to the network node control platform when the network upgrade is completed, so that the potential security loophole caused by opening a port on the upgraded network node for monitoring can be avoided; furthermore, it can be avoided that the network node management and control platform cannot access the network node after the network node is restarted due to the change of the service IP address of the network node to be upgraded because a firewall may be deployed between the network node and the network node management and control platform.
In one embodiment, when the network node to be upgraded is completed, actively establishing a first communication link with the network node management and control platform, including:
when the network node to be upgraded finishes network upgrading, actively sending a first connection request to the network node control platform through a service IP address of the network node to be upgraded; the first connection request carries an identifier of the network node to be upgraded; the identifier includes, but is not limited to, a service IP address, a number, a name, etc. of the network node to be upgraded, for example, the identifier may include the number of machines of the XX local area network in addition to the service IP address.
The traffic IP address may be an IP address dynamically assigned by the network node local area network gateway device to be upgraded using a Dynamic Host Configuration Protocol (DHCP) service. The service IP address is used for daily communication between the network node to be upgraded and the network node control platform.
And after receiving the first connection request, the network node management and control platform establishes the first communication link with the network node to be upgraded.
When the network node to be upgraded is upgraded, the network node to be upgraded can actively send the first connection request to the network node control platform through the service IP address of the network node to be upgraded, so that the network node control platform establishes the first communication link with the network node to be upgraded after receiving the first connection request, and the network node to be upgraded can be quickly connected back.
And the network node to be upgraded is actively connected back, so that even if the service IP address of the network node to be upgraded changes before and after the network node to be upgraded is upgraded, communication errors caused by polling of the old service IP address by the network node management and control platform can be avoided.
In an embodiment, if the network node management and control platform does not establish the first communication link with the network node to be upgraded within a preset time period, the network node management and control platform sends a second connection request to a fixed management IP address of the network node to be upgraded, so as to establish a second communication link with the network node to be upgraded.
The fixed management IP address may be maintained by a Virtual Network Function (VNF), such as by manual configuration of the management IP address by the VNF.
The second communication link and the first communication link use different network modules on the network node to be upgraded, if the first communication link uses a wifi module, the second communication link uses a 5G SIM card module or a 4G SIM card module, and the second communication link is not necessarily enabled due to various limitations of bandwidth, charging and the like, so that network resources on the network node to be upgraded are reasonably used.
If the network node management and control platform does not establish the first communication link with the network node to be upgraded within the preset time length, the network node to be upgraded may not successfully utilize the mirror image network upgrade file to complete the upgrade of the network function, so that the fixed management IP address of the network node to be upgraded can be utilized to send a second connection request to the fixed management IP address of the network node to be upgraded so as to establish a second communication link with the network node to be upgraded, and even if the network node to be upgraded does not complete the upgrade of the network function, the network node management and control platform and the network node to be upgraded are not disconnected, and normal communication can be maintained.
In addition, since the service IP address is dynamically allocated to the network node to be upgraded by the lan gateway device using a Dynamic Host Configuration Protocol (DHCP) service, the service IP address may be dynamically changed, so that the network node to be upgraded maintains a fixed management IP address, when the network node to be upgraded cannot communicate with the network node management and control platform using the service IP address due to a network upgrade failure, the network node management and control platform can still normally communicate with the network node to be upgraded through the management IP address of the network node to be upgraded, and a communication failure between the network node management and control platform and the network node to be upgraded due to a change in the service IP address is avoided.
In one embodiment, the method further comprises:
the network node management and control platform sends a control instruction to the network node to be upgraded through the second communication link, wherein:
the control instructions include at least one of:
a state rollback instruction, a node restart instruction and a reinstallation instruction of the image network upgrade file.
After the network node management and control platform cannot establish the first communication link with the network node to be upgraded, the network node management and control platform can automatically send a control instruction to the network node to be upgraded through the established second communication link so as to control the network node to be upgraded, for example, control the network node to be upgraded to perform state rollback, restart the network node to be upgraded or control the network node to be upgraded to reinstall the image network upgrade file.
The state rollback instruction is used for controlling the network node to be upgraded to roll back to the network state corresponding to the image network upgrading file before updating.
In an embodiment, the network node management and control platform determines the preset duration according to an upgrade requirement corresponding to the image network upgrade file.
The network node management and control platform can automatically determine accurate preset time according to the specific corresponding upgrading requirement of the image network upgrading file, for example: if the upgrade requirement is to upgrade a part of files in the image network upgrade files, the preset time is short, and if the upgrade requirement is to upgrade the whole image network files, the preset time is long.
In one embodiment, the network node management and control platform sends an upgrade inquiry request to the network node to be upgraded based on the first communication link or the second communication link;
after receiving the upgrading query request, the network node to be upgraded returns a mirror image upgrading result to the network node management and control platform;
the image upgrade result comprises at least one of:
whether to utilize the image network upgrading file to complete network upgrading, network upgrading progress, network upgrading time consumption, network upgrading resource consumption and starting conditions of the network node to be upgraded.
The network node management and control platform can automatically send an upgrading query request to the network node to be upgraded by utilizing the first communication link or the second communication link, so that a mirror image upgrading result of the network node to be upgraded is obtained, and the upgrading state of the network node to be upgraded can be timely confirmed.
Of course, since the second communication link is established only when the first communication link cannot be established (i.e. the network node to be upgraded cannot successfully complete the network function upgrade using the image network upgrade file), the contents to be queried of the upgrade query request sent through the first communication link and the upgrade query request sent through the second communication link are different, for example: if the upgrade query request can be sent through the first communication link, the network upgrade is finished, so that whether the network upgrade and the network upgrade progress are finished by using the image network upgrade file is not required to be inquired, and the upgrade query request is sent through the second communication link, whether the network upgrade and the network upgrade progress are finished by using the image network upgrade file is required to be inquired, so that whether the network node to be upgraded cannot be successfully connected back or not due to the fact that the network upgrade cannot be finished by using the image network upgrade file successfully is determined.
In one embodiment, the first communication link or the second communication link is an encrypted network tunnel based on a TCP connection;
the network node to be upgraded and the network node management and control platform perform data communication through the first communication link, and the method includes:
on the first communication link, the network node to be upgraded reports target information to the network node management and control platform in an RPC mode, wherein the target information comprises: the network state of the network node to be upgraded and the resource use condition of the network node to be upgraded.
No matter the first communication link or the second communication link between the network node to be upgraded and the network node control platform can be an encrypted network tunnel based on TCP connection, that is, the TCP network link between the network node to be upgraded and the network node control platform can be established on the encrypted network protocol based on Secure Shell (SSH), so as to ensure further system security.
Certainly, on the first communication link, the network node to be upgraded may report the target information to the network node management and control platform in an RPC (Remote Procedure Call) manner, so that the network node management and control platform may timely know the current state of the network node to be upgraded, such as resource consumption condition, whether the network state is good, and so on, thereby timely scheduling and reasonably allocating resources and optimizing the network environment.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
The technical solution of the present invention will be further described in detail with reference to fig. 2:
installing and loading an independent microkernel on a controlled wide area network node to monitor the real-time state of the node and monitor and issue a control instruction;
installing or upgrading new function module software on a wide area network node, namely restarting the node after finishing network upgrading by using a mirror image network upgrading file;
furthermore, the wide area network node actively initiates a TCP connection request to the network node management by the client identity so as to actively connect back with the network node management platform;
on the encryption network tunnel, a network node management and control platform manages the network node in an RPC (Remote Procedure Call) mode through a NETCONF network management protocol, and sends various control instructions and the like;
and the wide area network node replies a request of the network node control platform in an RPC mode on the encrypted network tunnel, and reports the current state of the wide area network node, such as the CPU use condition, whether the network is good or not, and the like.
The above is a description of embodiments of the method, and the embodiments of the apparatus are further described below.
Fig. 3 shows a block diagram of a data communication system 300 of a network node according to an embodiment of the present disclosure; fig. 4 shows a schematic diagram of a data communication system 400 of a network node according to an embodiment of the present disclosure. As shown in fig. 3, the system 300 includes:
the network node management and control platform 310 (equivalent to the network node management platform in fig. 4) sends a mirror image network upgrade file to the network node 320 to be upgraded;
the network node 320 to be upgraded (which is equivalent to the network node a and the network node B in fig. 4) performs network upgrade using the received image network upgrade file, and actively establishes a first communication link with the network node management and control platform 310 when network upgrade is completed, and performs data communication with the network node management and control platform 310 through the first communication link.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
FIG. 5 shows a schematic block diagram of an electronic device 500 that may be used to implement embodiments of the present disclosure. The device 500 may be used to implement at least one of the data communication system 300 of the network node of fig. 3 and the data communication system 400 of the network node of fig. 4. As shown, device 500 includes a CPU501 that may perform various appropriate actions and processes according to computer program instructions stored in ROM502 or loaded from storage unit 508 into RAM 503. In the RAM503, various programs and data required for the operation of the device 500 can also be stored. The CPU501, ROM502, and RAM503 are connected to each other via a bus 504. An I/O interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 505 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processing unit 501 performs the various methods and processes described above, such as the methods 100, 200. For example, in some embodiments, the methods 100, 200 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM502 and/or the communication unit 509. When the computer program is loaded into the RAM503 and executed by the CPU501, one or more steps of the methods 100, 200 described above may be performed. Alternatively, in other embodiments, the CPU501 may be configured to perform the methods 100, 200 by any other suitable means (e.g., by way of firmware).
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (8)

1. A method of data communication of a network node, comprising:
the network node management and control platform sends a mirror image network upgrading file to the network node to be upgraded; the network node to be upgraded comprises a plurality of nodes needing network upgrading;
the network node to be upgraded uses the received image network upgrade file to carry out network upgrade;
when the network node to be upgraded is finished, actively establishing a first communication link with the network node control platform;
the network node to be upgraded and the network node management and control platform carry out data communication through the first communication link;
if the network node management and control platform does not establish the first communication link with the network node to be upgraded within a preset time length, sending a second connection request to a fixed management IP address of the network node to be upgraded so as to establish a second communication link with the network node to be upgraded;
the network node management and control platform sends an upgrading inquiry request to the network node to be upgraded based on the first communication link or the second communication link;
after receiving the upgrading query request, the network node to be upgraded returns a mirror image upgrading result to the network node management and control platform;
the image upgrade result comprises at least one of:
network upgrading progress, network upgrading time consumption, network upgrading resource consumption and starting conditions of the network nodes to be upgraded;
the second communication link and the first communication link use different network modules on the network node to be upgraded.
2. The method according to claim 1, wherein the network node to be upgraded actively establishes a first communication link with the network node management and control platform when the network upgrade is completed, and the method includes:
when the network node to be upgraded finishes network upgrading, actively sending a first connection request to the network node control platform through a service IP address of the network node to be upgraded; the first connection request carries an identifier of the network node to be upgraded;
and after receiving the first connection request, the network node management and control platform establishes the first communication link with the network node to be upgraded.
3. The method of claim 1, further comprising:
the network node management and control platform sends a control instruction to the network node to be upgraded through the second communication link, wherein:
the control instructions include at least one of:
a state rollback instruction, a node restart instruction and a reinstallation instruction of the image network upgrade file.
4. The method of claim 1,
and the network node control platform determines the preset time length according to the upgrading requirement corresponding to the image network upgrading file.
5. The method according to any one of claims 1 to 4,
the first communication link or the second communication link is an encrypted network tunnel based on TCP connection;
the network node to be upgraded and the network node management and control platform perform data communication through the first communication link, and the method includes:
on the first communication link, the network node to be upgraded reports target information to the network node management and control platform in an RPC mode, wherein the target information comprises: the network state of the network node to be upgraded and the resource use condition of the network node to be upgraded.
6. A data communication system of a network node, comprising:
the network node control platform is used for sending a mirror image network upgrading file to the network node to be upgraded; the network node to be upgraded comprises a plurality of nodes needing network upgrading;
the network node to be upgraded is used for upgrading the network by using the received image network upgrading file, and when the network upgrading is completed, a first communication link is actively established with the network node control platform, and data communication is carried out between the network node to be upgraded and the network node control platform through the first communication link;
the network node management and control platform is further configured to:
if the first communication link is not established with the network node to be upgraded within a preset time length, sending a second connection request to a fixed management IP address of the network node to be upgraded so as to establish a second communication link with the network node to be upgraded;
the network node management and control platform sends an upgrading inquiry request to the network node to be upgraded based on the first communication link or the second communication link;
after receiving the upgrading query request, the network node to be upgraded returns a mirror image upgrading result to the network node management and control platform;
the image upgrade result comprises at least one of:
network upgrading progress, network upgrading time consumption, network upgrading resource consumption and starting conditions of the network nodes to be upgraded;
the second communication link and the first communication link use different network modules on the network node to be upgraded.
7. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202111033201.8A 2021-09-03 2021-09-03 Data communication method and system of network node Active CN113472599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111033201.8A CN113472599B (en) 2021-09-03 2021-09-03 Data communication method and system of network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111033201.8A CN113472599B (en) 2021-09-03 2021-09-03 Data communication method and system of network node

Publications (2)

Publication Number Publication Date
CN113472599A CN113472599A (en) 2021-10-01
CN113472599B true CN113472599B (en) 2021-12-10

Family

ID=77867434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111033201.8A Active CN113472599B (en) 2021-09-03 2021-09-03 Data communication method and system of network node

Country Status (1)

Country Link
CN (1) CN113472599B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909474A (en) * 2006-08-04 2007-02-07 华为技术有限公司 Method for remote updating equipment
CN111610990A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method, device and related system for upgrading application program
CN113220433A (en) * 2021-05-14 2021-08-06 北京奇艺世纪科技有限公司 Agent program operation management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580360A (en) * 2014-11-28 2015-04-29 英业达科技有限公司 System and method for updating firmware through heterogeneous network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909474A (en) * 2006-08-04 2007-02-07 华为技术有限公司 Method for remote updating equipment
CN111610990A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method, device and related system for upgrading application program
CN113220433A (en) * 2021-05-14 2021-08-06 北京奇艺世纪科技有限公司 Agent program operation management method and system

Also Published As

Publication number Publication date
CN113472599A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US10812597B2 (en) Content delivery network (CDN) management system, method, and apparatus
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
CN111782232A (en) Cluster deployment method and device, terminal equipment and storage medium
CN106549789B (en) Method and system for realizing server installation
US20210173709A1 (en) Redistributing update resources during update campaigns
CN105229972A (en) The DHCP method strengthened
CN110716787A (en) Container address setting method, apparatus, and computer-readable storage medium
CN112491630A (en) Bare computer automatic deployment method and device and cloud environment platform
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
CN113965548A (en) Hardware drive updating method, system, equipment and medium of storage server
CN112948008A (en) Ironic based physical bare computer management method
CN113472599B (en) Data communication method and system of network node
CN112667293B (en) Method, device and storage medium for deploying operating system
US11256575B2 (en) Methods, electronic devices and computer program products for managing and performing data backup jobs
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
US7350065B2 (en) Method, apparatus and program storage device for providing a remote power reset at a remote server through a network connection
CN108234215B (en) Gateway creating method and device, computer equipment and storage medium
CN113542322A (en) Installation method and device for active directory program, computing equipment and medium
CN116820686B (en) Physical machine deployment method, virtual machine and container unified monitoring method and device
US20230297395A1 (en) Parameter Configuration Method, Apparatus, and System
US20240154862A1 (en) Pre-provisioning server hardware for deployment on an edge network
CN112104506B (en) Networking method, networking device, server and readable storage medium
WO2021259108A1 (en) Resource allocation method and apparatus, server, and storage medium

Legal Events

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