Upgrade method and device

An upgrade and application upgrade technology, applied in the computer field, can solve problems such as unavailability, forwarding performance limitations, and inability to achieve lossless upgrade of online services, so as to improve adaptability and avoid business damage.

Active Publication Date: 2020-11-10
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Usually, when the message forwarding function is completed through the kernel module, the existing method upgrades by uninstalling the old version of the kernel module and loading the new version of the kernel module, so it is impossible to achieve non-destructive upgrade of online services; When executing in user mode, a new process is created while the original process provides services, and the new process inherits the file descriptor of the original process and then provides services for upgrading. However, this method is limited by forwarding performance and cannot be used in large traffic and high concurrency. use in the scene

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Upgrade method and device
  • Upgrade method and device
  • Upgrade method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0030] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0031] figure 1 An exemplary system architecture 100 to which the upgrading method or upgrading apparatus of the present application can be applied is shown.

[0032] Such as figure 1As shown, the system architecture 100 may include terminal devices 101 , 102 , 103 , netwo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the application discloses an upgrading method and device. A specific implementation of the upgrading method comprises the following steps: checking target message forwarding application information in response to receiving an upgrade command containing the target message forwarding application information, wherein the upgrade command is used to indicate that the original messageforwarding application is upgraded to the target message forwarding application; obtaining the target message forwarding application in response to confirming that the verification passes; upgrading the original message forwarding application running in a second memory area to the target message forwarding application when the number of connections established in the second memory area is a presetvalue; and upgrading the original message forwarding application running in a first memory area to the target message forwarding application when the number of connections established in the first memory area is the preset value. The implementation of the upgrading method improves the adaptability of hot upgrading under large traffic and high concurrent scenarios.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, specifically to the field of Internet technology, and in particular to an upgrade method and device. Background technique [0002] With the development of computer technology, due to the continuous consideration of product iteration and the handling of abnormal situations, the hot upgrade of message forwarding applications is an unavoidable process. Currently, packet forwarding applications in the industry adopt upgrade methods in different application scenarios, mainly including replacing kernel modules, replacing original processes with new processes, and so on. [0003] Usually, when the message forwarding function is completed through the kernel module, the existing method upgrades by uninstalling the old version of the kernel module and loading the new version of the kernel module, so it is impossible to achieve non-destructive upgrade of online services; When ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24G06F8/656
CPCH04L41/082
Inventor 张柬吴教仁蒋浩刘宁
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products