Go server hot update method and related equipment

A server and hot update technology, applied in the direction of instruments, software engineering design, electrical digital data processing, etc., can solve the problems of programmers who have high programming requirements and users who lose data, etc.

Pending Publication Date: 2021-09-03
武汉虚咖科技有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The existing technical solution uses the official plugin solution provided by the server for hot update when the server written in go language is updated. However, the plugin solution supports compiling codes into multiple dynamic libraries and running them after dynamic loading. At the same time, the user terminal will not be able to use the server being updated very smoothly. At the same time, the plugin

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
  • Go server hot update method and related equipment
  • Go server hot update method and related equipment
  • Go server hot update method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention 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 the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0042] figure 1 It is a flow chart of a go server hot update method provided in the embodiment of this application. The go server hot update method provided in this embodiment is applicable to the go server update scenario. The method can be executed by a go server hot update device, which can be implemented by software and / or hardware, and is usually integrated into a terminal.

[0043] Such as figure 1 As shown, the embodiment of the present invention provides a go server hot update method, which is used on th...

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 invention discloses a go server hot update method and related equipment. The method comprises the following steps: acquiring update information; generating a process based on a to-be-executed file; loading basic data interacted by a to-be-updated network network process in the process to obtain a target process; and replacing the to-be-updated network process with the target process based on the interaction node to complete the hot update process of the go server. Through the technical scheme of the embodiment of the invention, the problems that in the prior art, when the go server is updated, the server needs to be restarted, and the connection between the client and the server needs to be disconnected, so that data loss or vulnerability is caused, and the user experience is influenced are solved.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of server maintenance, in particular to a go server hot update method and related equipment. Background technique [0002] The existing technical solution uses the official plugin solution provided by the server for hot update when the server written in go language is updated. However, the plugin solution supports compiling codes into multiple dynamic libraries and running them after dynamic loading. At the same time, the user terminal will not be able to use the server being updated very smoothly. At the same time, the plugin solution has high programming requirements for programmers, and if the server written in go language is not updated using the plugin solution, only a new program can only be recompiled. Replace the original program and complete the replacement process by restarting. In this case, if the go server has multiple clients connected, it is easy to cause users to los...

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
IPC IPC(8): G06F8/656
CPCG06F8/656
Inventor 熊秭燚吴柳
Owner 武汉虚咖科技有限公司
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