CN114389951A - Seamless upgrading method under 5G network, network equipment and storage medium - Google Patents

Seamless upgrading method under 5G network, network equipment and storage medium Download PDF

Info

Publication number
CN114389951A
CN114389951A CN202210200274.XA CN202210200274A CN114389951A CN 114389951 A CN114389951 A CN 114389951A CN 202210200274 A CN202210200274 A CN 202210200274A CN 114389951 A CN114389951 A CN 114389951A
Authority
CN
China
Prior art keywords
operating system
message
service
network
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210200274.XA
Other languages
Chinese (zh)
Inventor
李小军
吴闽华
孟庆晓
周智涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies 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 Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202210200274.XA priority Critical patent/CN114389951A/en
Publication of CN114389951A publication Critical patent/CN114389951A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The invention discloses a seamless upgrading method under a 5G network, network equipment and a storage medium, wherein when the network equipment is upgraded, an upgrading file is respectively loaded to a first operating system loaded on a first core and a second operating system loaded on a second core, before the first operating system is upgraded, the first operating system is forbidden to send a first message to a network port, and the first operating system is allowed to send a second message to the network port so as to switch a processing task facing to an actual service from the first operating system to the second operating system for execution, so that the actual service is seamlessly transited to the second operating system for processing, and the processing of the actual service is not interrupted when the first operating system is upgraded according to the upgrading file, and the upgrading of the second operating system is performed in the same way; therefore, the invention can upgrade the network equipment without interrupting the actual service, and simplifies the upgrading process while reducing the cost because the main equipment and the standby equipment are not required to be respectively arranged.

Description

Seamless upgrading method under 5G network, network equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a seamless upgrade method in a 5G network, a network device, and a storage medium.
Background
Currently, software upgrade of a network device requires restarting the network device or at least interrupting a service carried by the network device. Since the number of users accessing the network device on the core network side is often hundreds of thousands, interrupting the service for updating the network device on the core network side has a great influence.
The network equipment in the related technology realizes seamless upgrade without influencing the actual service by respectively arranging the main equipment and the standby equipment. However, this solution requires two sets of devices, which results in high cost and complicated upgrading process.
Disclosure of Invention
In view of this, the present invention provides a seamless upgrade method, a network device and a storage medium in a 5G network, which are used to solve the problems in the prior art that the cost for upgrading the network device is high and the upgrade flow is complex without interrupting the actual service. To achieve one or a part or all of the above or other objects, the following embodiments are provided:
the embodiment of the first aspect of the invention provides a seamless upgrading method in a 5G network, which is applied to network equipment, wherein the network equipment is provided with a processor, the processor comprises a first core and a second core, the first core carries a first operating system, the second core carries a second operating system, and the first core is connected with a network port; the method comprises the following steps: acquiring an upgrade file and loading the upgrade file to the first operating system and the second operating system respectively; prohibiting the first operating system from sending a first message to the internet access and allowing the first operating system to send a second message to the internet access so as to switch a processing task facing an actual service from the first operating system to the second operating system for execution, wherein the first message is generated by the first operating system based on the processing task, and the second message is generated by the second operating system based on the processing task; upgrading the first operating system according to the upgrading file; allowing the first operating system to send a first message to the internet access and prohibiting the first operating system from sending a second message to the internet access so as to switch the processing task facing the actual service from the second operating system to the first operating system for execution; and upgrading the second operating system according to the upgrading file.
Preferably, the first core and the second core are connected through an inter-core channel, and the loading the upgrade file to the first operating system and the second operating system respectively includes: the first operating system acquires and loads the upgrade file through the internet access; and the first operating system sends the upgrade file to the second operating system through the inter-core channel so as to enable the second operating system to load the upgrade file.
Preferably, in the case where the processing task oriented to the actual service is executed by the first operating system, the method further includes: the first operating system acquires a service message to be processed through the network port and forwards the service message to be processed to the second operating system through the inter-core channel; a first service process running in the first operating system processes the service message to be processed to execute the processing task facing to the actual service, so as to obtain the first message; a second service process running in the second operating system processes the service message to be processed to execute the processing task, so as to obtain a second message; sending the second message to the first operating system through the inter-core channel; and the first operating system sends the first message to the internet access and discards the second message.
Preferably, in the case where the processing task oriented to the actual service is executed by the second operating system, the method further includes: the first operating system acquires a service message to be processed through the network port and forwards the service message to be processed to the second operating system through the inter-core channel; the first service process processes the service message to be processed to execute the processing task, so as to obtain the first message; the second service process processes the service message to be processed to execute the processing task facing to the actual service, so as to obtain a second message; sending the second message to the first operating system through the inter-core channel; and the first operating system sends the second message to the internet access and discards the first message.
Preferably, the upgrading the first operating system according to the upgrade file includes: terminating the first business process; upgrading the first business process according to the upgrading file; and pulling up the first business process.
Preferably, the upgrading the second operating system according to the upgrade file includes: terminating the second business process; upgrading the second business process according to the upgrading file; and pulling up the second business process.
Preferably, before the first operating system is upgraded according to the upgrade file, versions of the first operating system and the second operating system are the same, and versions of the first business process and the second business process are the same.
Preferably, an internet access driver is operated on the first operating system, and the first operating system sends a message to the internet access or receives a message from the internet access through the internet access driver.
An embodiment of a second aspect of the present invention provides a network device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method for seamless upgrade in a 5G network according to any one of the embodiments of the first aspect of the present invention when executing the computer program.
An embodiment of the third aspect of the present invention provides a computer-readable storage medium, which stores computer-executable instructions for performing the method for seamless upgrade in a 5G network according to any one of the embodiments of the first aspect of the present invention.
The embodiment of the invention has the following beneficial effects:
by the seamless upgrading method, the network equipment and the storage medium under the 5G network in the embodiment of the invention, when the network equipment is upgraded, the upgrading files are respectively loaded to the first operating system loaded on the first core and the second operating system loaded on the second core, the first operating system and the second operating system bear the same service processing task, but the processing task of the first operating system faces to the actual service, and the second operating system is used as the backup of the first operating system at this time; before upgrading the first operating system, switching the processing task facing the actual service from the first operating system to the second operating system for execution by prohibiting the first operating system from sending a first message to the network port and allowing the first operating system to send a second message to the network port, so that the actual service is seamlessly transited to the second operating system for processing, and the processing of the actual service cannot be interrupted when the first operating system is upgraded according to the upgrade file; similarly, before upgrading the second operating system, the processing task facing the actual service is switched from the second operating system to the first operating system for execution by allowing the first operating system to send the first message to the network port and prohibiting the first operating system from sending the second message to the network port, so that the actual service is seamlessly transited to the first operating system for processing, and the processing of the actual service is also not interrupted when the second operating system is upgraded according to the upgrade file; in summary, the embodiment of the present invention can upgrade the network device without interrupting the actual service, and since the active device and the standby device do not need to be respectively configured, the cost is reduced and the upgrade process is simplified.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a schematic diagram of a network device in the related art;
FIG. 2 is a schematic diagram of a network device according to an embodiment of the present invention;
fig. 3 is a flowchart of a seamless upgrade method in a 5G network according to an embodiment of the present invention;
fig. 4 is a flowchart of a seamless upgrade method in a 5G network according to another embodiment of the present invention;
fig. 5 is a flowchart of a seamless upgrade method in a 5G network according to another embodiment of the present invention;
fig. 6 is a flowchart of a seamless upgrade method in a 5G network according to another embodiment of the present invention;
fig. 7 is a flowchart of a seamless upgrade method in a 5G network according to another embodiment of the present invention;
fig. 8 is a flowchart of a seamless upgrade method in a 5G network according to another embodiment of the present invention;
fig. 9 is a schematic diagram of a network device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The invention provides a seamless upgrading method, network equipment and a storage medium in a 5G network, wherein the seamless upgrading method in the 5G network comprises the following steps: acquiring an upgrade file and loading the upgrade file to a first operating system and a second operating system respectively; forbidding a first operating system to send a first message to a network port and allowing the first operating system to send a second message to the network port so as to switch a processing task facing to an actual service from the first operating system to a second operating system for execution, wherein the first message is generated by the first operating system based on the processing task, and the second message is generated by the second operating system based on the processing task; upgrading the first operating system according to the upgrading file; allowing the first operating system to send a first message to the network port and forbidding the first operating system to send a second message to the network port so as to switch the processing task facing the actual service from the second operating system to the first operating system for execution; and upgrading the second operating system according to the upgrading file. By the seamless upgrading method under the 5G network in the embodiment of the invention, when network equipment is upgraded, upgrading files are respectively loaded to a first operating system loaded on a first core and a second operating system loaded on a second core, the first operating system and the second operating system bear the same service processing task, but the processing task of the first operating system faces to actual service, and the second operating system is used as a backup of the first operating system at the moment; before upgrading the first operating system, switching the processing task facing the actual service from the first operating system to the second operating system for execution by prohibiting the first operating system from sending a first message to the network port and allowing the first operating system to send a second message to the network port, so that the actual service is seamlessly transited to the second operating system for processing, and the processing of the actual service cannot be interrupted when the first operating system is upgraded according to the upgrade file; similarly, before upgrading the second operating system, the processing task facing the actual service is switched from the second operating system to the first operating system for execution by allowing the first operating system to send the first message to the network port and prohibiting the first operating system from sending the second message to the network port, so that the actual service is seamlessly transited to the first operating system for processing, and the processing of the actual service is also not interrupted when the second operating system is upgraded according to the upgrade file; in summary, the embodiment of the present invention can upgrade the network device without interrupting the actual service, and since the active device and the standby device do not need to be respectively configured, the cost is reduced and the upgrade process is simplified.
The embodiments of the present invention will be further explained with reference to the drawings.
As shown in fig. 1, fig. 1 is a schematic diagram of a network device in the related art, and in the example of fig. 1, the network device in the related art includes an active device and a standby device, where the active device and the standby device both have a network port, and the network ports of the two devices are respectively connected to a switch. Specifically, operating systems are respectively operated on the main device and the standby device, and service processes are respectively operated on the operating systems of the two devices, so that the two devices can be mutually backed up. However, this solution requires two sets of devices, which results in high cost and complicated upgrading process.
As shown in fig. 2, fig. 2 is a schematic diagram of a network device according to an embodiment of the present invention, in the example of fig. 2, the network device is provided with a processor, the processor includes a first core and a second core, the first core carries a first operating system, the second core carries a second operating system, and the first core is connected to a network port.
Specifically, the processor of the network device provided in the embodiment of the present invention adopts an Asymmetric Multi-Processing (AMP) architecture. The processor with the asymmetric multiprocessor structure is suitable for parallel processing of multiple services without successive association, so that the performance of multiple cores can be utilized to the maximum extent. By adopting the processor, the first core and the second core of the processor can participate in the processing work of the message to be processed from the network port at the same time, namely the first core and the second core can process the service in parallel, so that the first core and the second core can be mutually backed up, and the seamless switching of the actual service between the first core and the second core can be realized in the upgrading process.
It should be noted that, the first core and the second core may represent a single core in the processor, or may represent a set of multiple cores in the processor, which is not specifically limited in the embodiment of the present invention.
It should be noted that, the actual service is used to represent a message generated by the operating system that undertakes the actual service, and the message is sent to the outside of the network device through the network port to participate in the actual work, while the message generated by the operating system that undertakes the non-actual service is not sent to the outside of the network device through the network port or sent to the outside of the network device but does not participate in the actual work.
Specifically, a first service process runs on the first operating system, a second service process runs on the second operating system, and both the first service process and the second service process can process a service packet to be processed from the network port, that is, both the first service process and the second service process can process a service, and the first service process and the second service process are backups of each other.
Specifically, under the condition that the business process is not in the upgrading process, the versions of the first operating system and the second operating system are the same, and the versions of the first business process and the second business process are the same.
Specifically, a first operating system runs a portal driver, and the first operating system sends a message to a portal or receives a message from the portal through the portal driver.
In an embodiment, the first core and the second core are connected through an inter-core channel, so that the first core and the second core can send and receive messages to and from each other through the inter-core channel.
It should be noted that the inter-core channel in the embodiment of the present invention may be a physical channel having a physical structure, or may be a virtual channel capable of implementing a communication function between the first core and the second core, which is not limited in this embodiment of the present invention.
Specifically, the inter-core channel employs a virtual Network interface (MIPC) Device (MND), which is a Multi-OS inter-process Communication (MIPC) Network Device.
The communication system and the application scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it is known to those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems with the evolution of the communication system and the occurrence of new application scenarios.
Those skilled in the art will appreciate that the network device illustrated in fig. 1 is not intended to limit embodiments of the present invention and may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components.
Based on the network device, the invention provides various embodiments of the seamless upgrading method in the 5G network.
As shown in fig. 3, fig. 3 is a flowchart of a seamless upgrade method in a 5G network according to an embodiment of the present invention, and in the example of fig. 3, the seamless upgrade method in the 5G network according to the embodiment of the present invention includes, but is not limited to, step S100, step S200, step S300, step S400, and step S500;
step S100, obtaining an upgrade file and respectively loading the upgrade file to a first operating system and a second operating system;
step S200, forbidding a first operating system to send a first message to a network port and allowing the first operating system to send a second message to the network port so as to switch a processing task facing to an actual service from the first operating system to a second operating system for execution, wherein the first message is generated by the first operating system based on the processing task, and the second message is generated by the second operating system based on the processing task;
step S300, upgrading the first operating system according to the upgrading file;
step S400, allowing the first operating system to send a first message to the network port and forbidding the first operating system to send a second message to the network port so as to switch the processing task facing the actual service from the second operating system to the first operating system for execution;
and step S500, upgrading the second operating system according to the upgrading file.
According to the scheme provided by the embodiment of the invention, when the network equipment is upgraded, the upgrade files are respectively loaded to a first operating system loaded on a first core and a second operating system loaded on a second core, the first operating system and the second operating system bear the same service processing task, but the processing task of the first operating system faces to the actual service, and the second operating system is used as the backup of the first operating system at the moment; before upgrading the first operating system, switching the processing task facing the actual service from the first operating system to the second operating system for execution by prohibiting the first operating system from sending a first message to the network port and allowing the first operating system to send a second message to the network port, so that the actual service is seamlessly transited to the second operating system for processing, and the processing of the actual service cannot be interrupted when the first operating system is upgraded according to the upgrade file;
similarly, before upgrading the second operating system, the processing task facing the actual service is switched from the second operating system to the first operating system for execution by allowing the first operating system to send the first message to the network port and prohibiting the first operating system from sending the second message to the network port, so that the actual service is seamlessly transited to the first operating system for processing, and the processing of the actual service is also not interrupted when the second operating system is upgraded according to the upgrade file; in summary, the embodiment of the present invention can upgrade the network device without interrupting the actual service, and since the active device and the standby device do not need to be respectively configured, the cost is reduced and the upgrade process is simplified.
As shown in fig. 4, the above method step S100 includes, but is not limited to, step S110 and step S120:
step S110, the first operating system obtains and loads an upgrade file through the internet access;
step S120, the first operating system sends the upgrade file to the second operating system through the inter-core channel, so that the second operating system loads the upgrade file.
It should be noted that, the steps of obtaining and loading the upgrade file by the first operating system and the second operating system may be performed synchronously or asynchronously, and the present invention is not limited to this specifically, and only needs to ensure that the corresponding system has completed loading the upgrade file before the upgrade is performed on the first operating system or before the upgrade is performed on the second operating system.
It should be noted that the first operating system runs the first service process, the second operating system runs the second service process, and the upgrade file may be used for upgrading the system or the upgrade process separately, or may be used for upgrading the system and the process simultaneously, which is not specifically limited in the embodiment of the present invention.
As shown in fig. 5, in a case that an actual service-oriented processing task is executed by a first operating system, a seamless upgrade method in a 5G network according to an embodiment of the present invention may further include, but is not limited to, steps S600 to S1000:
step S600, the first operating system obtains a service message to be processed through the network port, and forwards the service message to be processed to the second operating system through the inter-core channel;
step S700, a first service process running in a first operating system processes a service message to be processed to execute a processing task facing to an actual service, so as to obtain a first message;
step S800, a second service process running in a second operating system processes the service message to be processed to execute a processing task, so as to obtain a second message;
step S900, sending the second message to the first operating system through the inter-core channel;
step S1000, the first operating system sends the first message to the network port and discards the second message.
When the processing task facing the actual service is executed by the first operating system, the first operating system is allowed to send the first message to the network port and the first operating system is prohibited from sending the second message to the network port, and at this time, the service message to be processed is sent to the first service process and the second service process for processing, but the second service process is used as a backup of the first service process.
In an embodiment, a second message obtained after a second service process processes a service message to be processed is still sent to a first operating system through an inter-core channel and then discarded by the first operating system, so that when a processing task of an actual service needs to be switched to the second service process, part of the processed second message can be sent to the first operating system before the switching is completed to replace a first message which is generated by being missed because the first service process is terminated, and the message which is sent to the outside of the network device after being processed cannot be lost or delayed in the switching process, thereby improving the processing speed of the message and the switching stability in the switching process.
As shown in fig. 6, in a case that the processing task oriented to the actual service is executed by the second operating system, the method for seamless upgrade in a 5G network according to the embodiment of the present invention may further include, but is not limited to, steps S1100 to S1500:
step S1100, the first operating system obtains a service message to be processed through the network port, and forwards the service message to be processed to the second operating system through the inter-core channel;
step S1200, a first service process processes a service message to be processed to execute a processing task, and a first message is obtained;
step 1300, the second service process processes the service message to be processed to execute the processing task facing the actual service, so as to obtain a second message;
step S1400, sending the second message to the first operating system through the inter-core channel;
step S1500, the first operating system sends the second message to the network port and discards the first message.
When the processing task facing the actual service is executed by the second operating system, the first operating system is allowed to send the second message to the network port and the first operating system is prohibited from sending the first message to the network port, and at this time, the service message to be processed is sent to the first service process and the second service process for processing, but the first service process is used as a backup of the second service process.
In an embodiment, the first service process still processes the service message to be processed to obtain a first message, and then the first message is discarded by the first operating system, so that when a processing task of an actual service needs to be switched to the first service process, part of the processed first message can be sent to the internet access before the switching is completed to replace a second message which is generated by being missed because the second service process is terminated, and the message which is sent to the outside of the network device after being processed cannot be lost or delayed in the switching process, thereby improving the processing speed of the message and the switching stability in the switching process.
As shown in fig. 7, the above method step S300 includes, but is not limited to, step S310 and step S320:
step S310, terminating the first business process;
step S320, upgrading the first service process according to the upgrading file;
step S330, the first business process is pulled up.
As shown in fig. 8, the above method step S500 includes, but is not limited to, step S510 and step S520:
step S510, terminating the second service process;
step S520, upgrading the second service process according to the upgrading file;
step S530, the second business process is pulled up.
In an embodiment, the upgrade file may be used to upgrade an operating system or both an operating system and a business process, in addition to the business process.
It should be noted that before the first operating system is upgraded according to the upgrade file, versions of the first operating system and the second operating system are the same, and versions of the first business process and the second business process are the same, so that the first operating system and the second operating system, and the first business process and the second business process can be backed up with each other, so as to implement seamless switching of actual business.
In an embodiment, a portal driver is run on the first operating system, and the first operating system sends a message to the portal or receives a message from the portal through the portal driver.
In addition, referring to fig. 9, an embodiment of the present invention further provides a network device 100, where the network device 100 is provided with a processor 101 and a memory 102, and the processor 101 and the memory 102 are connected through a bus. In particular, processor 101 is used to provide computing and control capabilities, supporting the operation of the entire network device 100. The Processor 101 may be a Central Processing Unit (CPU), and the Processor 101 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 102 may be a Flash chip, a Read-Only Memory (ROM) magnetic disk, an optical disk, a usb disk, or a removable hard disk.
Those skilled in the art will appreciate that the structure shown in fig. 9 is a block diagram of only a portion of the structure associated with the embodiments of the present invention, and does not constitute a limitation on the network device 100 to which the embodiments of the present invention are applied, and that a particular server may include more or less components than those shown, or combine some components, or have a different arrangement of components.
The processor is configured to run a computer program stored in the memory, and when executing the computer program, implement any one of the seamless upgrade methods in a 5G network provided by the embodiments of the present invention.
In an embodiment, the processor is configured to run a computer program stored in the memory.
It should be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the network device 100 described above may refer to the corresponding process in the foregoing seamless upgrade method embodiment in the 5G network, and is not described herein again.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the seamless upgrade method under any 5G network as provided in the present specification.
The storage medium may be an internal storage unit of the electronic device described in the foregoing embodiment, for example, a hard disk or a memory of the electronic device. The storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (10)

1. A seamless upgrading method under a 5G network is applied to network equipment, the network equipment is provided with a processor, the processor comprises a first core and a second core, the first core bears a first operating system, the second core bears a second operating system, and the first core is connected with a network port;
characterized in that the method comprises:
acquiring an upgrade file and loading the upgrade file to the first operating system and the second operating system respectively;
prohibiting the first operating system from sending a first message to the internet access and allowing the first operating system to send a second message to the internet access so as to switch a processing task facing an actual service from the first operating system to the second operating system for execution, wherein the first message is generated by the first operating system based on the processing task, and the second message is generated by the second operating system based on the processing task;
upgrading the first operating system according to the upgrading file;
allowing the first operating system to send a first message to the internet access and prohibiting the first operating system from sending a second message to the internet access so as to switch the processing task facing the actual service from the second operating system to the first operating system for execution;
and upgrading the second operating system according to the upgrading file.
2. The method according to claim 1, wherein the first core and the second core are connected through an inter-core channel, and the loading the upgrade file to the first operating system and the second operating system respectively comprises:
the first operating system acquires and loads the upgrade file through the internet access;
and the first operating system sends the upgrade file to the second operating system through the inter-core channel so as to enable the second operating system to load the upgrade file.
3. The seamless upgrade method under 5G network according to claim 2, wherein in case that the processing task facing to actual service is executed by the first operating system, the method further comprises:
the first operating system acquires a service message to be processed through the network port and forwards the service message to be processed to the second operating system through the inter-core channel;
a first service process running in the first operating system processes the service message to be processed to execute the processing task facing to the actual service, so as to obtain the first message;
a second service process running in the second operating system processes the service message to be processed to execute the processing task, so as to obtain a second message;
sending the second message to the first operating system through the inter-core channel;
and the first operating system sends the first message to the internet access and discards the second message.
4. The seamless upgrade method under 5G network according to claim 3, wherein in case that the processing task facing to actual service is executed by the second operating system, the method further comprises:
the first operating system acquires a service message to be processed through the network port and forwards the service message to be processed to the second operating system through the inter-core channel;
the first service process processes the service message to be processed to execute the processing task, so as to obtain the first message;
the second service process processes the service message to be processed to execute the processing task facing to the actual service, so as to obtain a second message;
sending the second message to the first operating system through the inter-core channel;
and the first operating system sends the second message to the internet access and discards the first message.
5. The seamless upgrade method under 5G network according to claim 3, wherein the upgrading the first operating system according to the upgrade file includes:
terminating the first business process;
upgrading the first business process according to the upgrading file;
and pulling up the first business process.
6. The seamless upgrade method under 5G network according to claim 3, wherein the upgrading the second operating system according to the upgrade file includes:
terminating the second business process;
upgrading the second business process according to the upgrading file;
and pulling up the second business process.
7. The method according to claim 3, wherein before the first operating system is upgraded according to the upgrade file, versions of the first operating system and the second operating system are the same, and versions of the first business process and the second business process are the same.
8. The seamless upgrade method under 5G network according to claim 1, wherein a portal driver is running on the first operating system, and the first operating system sends or receives messages to or from the portal through the portal driver.
9. A network device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the computer program implements a seamless upgrade method under a 5G network according to any of claims 1 to 8.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method for seamless upgrade over a 5G network of any one of claims 1 to 8.
CN202210200274.XA 2022-03-02 2022-03-02 Seamless upgrading method under 5G network, network equipment and storage medium Pending CN114389951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210200274.XA CN114389951A (en) 2022-03-02 2022-03-02 Seamless upgrading method under 5G network, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210200274.XA CN114389951A (en) 2022-03-02 2022-03-02 Seamless upgrading method under 5G network, network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114389951A true CN114389951A (en) 2022-04-22

Family

ID=81205805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210200274.XA Pending CN114389951A (en) 2022-03-02 2022-03-02 Seamless upgrading method under 5G network, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114389951A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129375A (en) * 2010-01-12 2011-07-20 中国移动通信集团公司 Method and equipment for system upgrade of mobile terminal
CN102214113A (en) * 2011-06-08 2011-10-12 Tcl集团股份有限公司 Method, device and terminal for upgrading operating system
CN104252369A (en) * 2013-06-27 2014-12-31 上海博泰悦臻电子设备制造有限公司 On-board equipment and dual-system backup method and device of on-board equipment
CN104918114A (en) * 2015-06-05 2015-09-16 青岛海信电器股份有限公司 Method and device for upgrading operation system
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
US20170090897A1 (en) * 2015-09-26 2017-03-30 Cisco Technology, Inc. In-service upgrade of kernel loadable modules
CN107291505A (en) * 2017-06-28 2017-10-24 郑州云海信息技术有限公司 A kind of method and device of controller system memory upgrading
US20180088963A1 (en) * 2016-09-29 2018-03-29 Verizon Patent And Licensing Inc. Software upgrade and disaster recovery on a computing device
CN107995068A (en) * 2017-12-20 2018-05-04 北京百度网讯科技有限公司 Network interface test method and equipment
CN109302447A (en) * 2018-08-16 2019-02-01 京信通信系统(中国)有限公司 Message processing method, apparatus and system
CN109450676A (en) * 2018-10-29 2019-03-08 锐捷网络股份有限公司 A kind of switch upgrades method and device, electronic equipment, computer-readable medium
US20190171435A1 (en) * 2017-12-06 2019-06-06 Vmware, Inc. Distributed upgrade in virtualized computing environments
WO2020163760A2 (en) * 2019-02-07 2020-08-13 Apple Inc. Enabling uas service for identification and operation in 3gpp system
CN112416406A (en) * 2020-11-30 2021-02-26 腾讯科技(深圳)有限公司 Terminal equipment upgrading method and device, terminal equipment and medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129375A (en) * 2010-01-12 2011-07-20 中国移动通信集团公司 Method and equipment for system upgrade of mobile terminal
CN102214113A (en) * 2011-06-08 2011-10-12 Tcl集团股份有限公司 Method, device and terminal for upgrading operating system
CN104252369A (en) * 2013-06-27 2014-12-31 上海博泰悦臻电子设备制造有限公司 On-board equipment and dual-system backup method and device of on-board equipment
CN104918114A (en) * 2015-06-05 2015-09-16 青岛海信电器股份有限公司 Method and device for upgrading operation system
CN108027724A (en) * 2015-09-26 2018-05-11 思科技术公司 Upgrade in the service of kernel loadable module
US20170090897A1 (en) * 2015-09-26 2017-03-30 Cisco Technology, Inc. In-service upgrade of kernel loadable modules
US20180088963A1 (en) * 2016-09-29 2018-03-29 Verizon Patent And Licensing Inc. Software upgrade and disaster recovery on a computing device
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
CN107291505A (en) * 2017-06-28 2017-10-24 郑州云海信息技术有限公司 A kind of method and device of controller system memory upgrading
US20190171435A1 (en) * 2017-12-06 2019-06-06 Vmware, Inc. Distributed upgrade in virtualized computing environments
CN107995068A (en) * 2017-12-20 2018-05-04 北京百度网讯科技有限公司 Network interface test method and equipment
CN109302447A (en) * 2018-08-16 2019-02-01 京信通信系统(中国)有限公司 Message processing method, apparatus and system
CN109450676A (en) * 2018-10-29 2019-03-08 锐捷网络股份有限公司 A kind of switch upgrades method and device, electronic equipment, computer-readable medium
WO2020163760A2 (en) * 2019-02-07 2020-08-13 Apple Inc. Enabling uas service for identification and operation in 3gpp system
CN112416406A (en) * 2020-11-30 2021-02-26 腾讯科技(深圳)有限公司 Terminal equipment upgrading method and device, terminal equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEORGE KALFAS: "Medium Transparent MAC access schemes for seamless packetized fronthaul in mm-wave 5G picocellular networks", 2017 19TH INTERNATIONAL CONFERENCE ON TRANSPARENT OPTICAL NETWORKS (ICTON) *
张敏狄;郭裕顺;: "分布式网络设备的业务不中断软件升级系统设计", 计算机系统应用, no. 06 *

Similar Documents

Publication Publication Date Title
CN109493076B (en) Kafka message unique consumption method, system, server and storage medium
WO2018049888A1 (en) Application data migration method and device
CN106940699B (en) Synchronous processing method, device, server and system for memory data
CN107368353B (en) Method and device for realizing hot addition of virtual machine memory
CN103677870A (en) System upgrading method and system upgraded by means of method
CN112000353A (en) Application running method and device and storage medium
US9519600B2 (en) Driver shimming
US20180203726A1 (en) Virtual machine migration method and apparatus
CN111666088A (en) Pod replacement method and device, electronic equipment and computer-readable storage medium
CN108664343B (en) State calling method and device for micro-service
CN114218135A (en) Source end flow control method and system based on Redis cache
CN114389951A (en) Seamless upgrading method under 5G network, network equipment and storage medium
CN110413207B (en) Method, apparatus and program product for reducing data recovery time of a storage system
CN112241398A (en) Data migration method and system
CN111142972B (en) Method, apparatus, system, and medium for extending functions of application program
CN114816482A (en) Method and device for upgrading block storage service, computer equipment and storage medium
CN112632032A (en) Data migration method and device, storage medium and terminal equipment
CN108733460B (en) Method and apparatus for maintaining sessions for network storage devices
CN112231290A (en) Method, device and equipment for processing local log and storage medium
US20150046414A1 (en) Computer product, managing apparatus, and managing method
JP5317182B2 (en) POS terminal, module update method and module update program
CN108304200B (en) Method and device for upgrading driving program and electronic equipment
CN109582330A (en) Data model upgrade method, device, equipment and readable storage medium storing program for executing
WO2021254280A1 (en) Disk mounting method and device, storage medium, and electronic device
WO2023050947A1 (en) Network upgrade method, electronic device 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