A software upgrade method for uninterrupted network service

A network service and software upgrade technology, applied in the direction of data exchange network, electrical components, digital transmission system, etc., can solve the problem of idle target server and increase the burden on the server

Inactive Publication Date: 2011-12-28
龚华清
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009]Therefore, the main disadvantages of current technology are:
[0011]2. Under the condition of load balancing, the burden on other servers is increased, but the target server to be upgraded is idle

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
  • A software upgrade method for uninterrupted network service
  • A software upgrade method for uninterrupted network service
  • A software upgrade method for uninterrupted network service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Specific implementation scheme 1: FTP (File Transfer Protocol) server uninterrupted service upgrade

[0038] According to the RFC959 file transfer protocol specification, it generally runs on ports 20 and 21. The TCP port number of the FTP standard command is 21, and the data port number of the Port mode is 20. Port 20 is used for data flow between client and server, while port 21 is used for control flow and is the entry point for commands to the ftp server. While data is being transferred through the data stream, the control stream is idle.

[0039] The basic process of an FTP server that does not provide simple service upgrades is figure 1 Shown:

[0040] Step 1: Use TCP port 21 as the listening port;

[0041] Step 2: If there is a connection to port 21, establish a TCP connection as a control connection, and hand over this connection to the task; continue to wait for the next TCP connection;

[0042] Step 3: Task processing generally provides a thread pool. De...

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

A software upgrade method for uninterrupted network services involving the network communication industry. First, the service program is ready for initialization; the socket reuse mechanism is used to establish a listening socket with the same conditions as the service port receiving the service before the upgrade, and the operating system Adopt the more appropriate matching principle and the principle of post-priority, and send the client's request to establish a new service directly to the upgraded service instead of the previous service; the upgraded service provides services to the client according to the normal process; the upgraded service provides services to the previous The service sends an "exit" message; after the previous service receives this message, it closes the service listening port and no longer receives new service requests, and waits for the service that has been accepted to complete, and then actively exits. The upgrade software completely takes over the service under the condition of uninterrupted network terminal service.

Description

technical field [0001] The invention relates to the technical field of computer network information communication, in particular to various software for providing network services such as web servers and FTP servers. Background technique [0002] The so-called upgrade means that one piece of software replaces one or more parts or even all of the previous software, and its essence is to replace one piece of software with another to provide services. [0003] With the rapid development of network business, more and more units or departments will complete work, business and other information through network servers. Common network servers include web servers, file servers, database servers, proxy servers, etc. In network service applications, the server part is mainly completed by two parts, one part is network connection, which provides network connection services; the other part is specific business or data, typically file storage server and database server. A typical web ar...

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/24G06F9/445
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