Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-process server, restart method of software and flow scheduling method thereof

A traffic scheduling and server technology, applied in electrical components, digital transmission systems, transmission systems, etc., can solve problems such as multi-machine resources, affecting service quality, restarting failures to compete for resources, etc., to reduce additional consumption and reduce the pressure of machine operation Effect

Inactive Publication Date: 2017-08-29
CHINANETCENT TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At the multi-process level, online servers often need to be restarted to release tight resources, and adopting redundant process mode will occupy more machine resources. In a server with tight resources, it may cause restart failure or compete for resources to affect service quality.

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
  • Multi-process server, restart method of software and flow scheduling method thereof
  • Multi-process server, restart method of software and flow scheduling method thereof
  • Multi-process server, restart method of software and flow scheduling method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] The embodiment of the present invention provides a method for restarting multi-process server software. The execution subject of the method may be a multi-process server in the content distribution network architecture. The method also needs to rely on the load balancing layer in the content distribution network architecture during implementation. Traffic scheduling is carried out, so that multiple process software of a single multi-process server can be restarted in turn.

[0051] The following will combine specific implementation methods, Figure 1-Figure 3 The processing flow shown is described in detail, and the content can be as follows:

[0052] Step 100, receiving a restart signal.

[0053] In this embodiment, the restart signal is sent by the restart signal transmitting device, and the restart starts after receiving the restart signal.

[0054] Step 200, select part of the process software to restart according to the selection rules, and send a cutoff signal. ...

Embodiment 2

[0075] Based on the same inventive concept as in Embodiment 1, see Figure 4 , a multi-process server provided by an embodiment of the present invention includes:

[0076] The server 1 is used to receive the restart signal, select part of the process software to restart according to the selection rules, and send a cut-off signal;

[0077] The load balancing terminal 2 is used to stop transferring traffic to the restarting process software according to the throttling signal.

[0078] In this embodiment, server 1 receives a restart signal and begins to restart, server 1 selects part of the process software in all process software to restart according to the restart signal and selection rules, and other process software that has not been restarted continue to work. Like this, you can Using multi-process servers to provide services avoids the situation that all process software exits at the same time, resulting in inability to serve, and abandons redundant resources to assist in ...

Embodiment 3

[0096] Based on the same inventive concept as in Embodiment 1, see Figure 6 , a traffic scheduling method provided by an embodiment of the present invention, the method can be applied to a method for scheduling traffic of a multi-process server when a multi-process server is restarted in a content distribution network, and the method includes:

[0097] Step 10, receiving a restart signal;

[0098] Step 20, select part of the process software to restart according to the selection rules, and send a cutoff signal;

[0099] Step 30, according to the shutoff signal, stop transferring traffic to the restarted part of the process software.

[0100] see Figure 7 , optionally, the method also includes:

[0101] Step 40, detecting whether the restarting process software has been restarted, and sending a call-in signal when it is detected that the restarting process software is restarting;

[0102] Step 50, transfer traffic to the restarted process software according to the transfe...

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 invention discloses a multi-process server, a restart method of software and a flow scheduling method thereof. The invention belongs to the content distribution network technology field. The method comprises the following steps of through a restart signal, according to a selection rule, selecting parts of process software and restarting and emitting a closure signal; and according to the closure signal, stopping scheduling flows into parts of process software which are restarted. In the invention, the plurality of process software of a single service terminal can be restarted by turns; a condition that all the process software is exited simultaneously so that a service can not be performed is avoided; a situation that a redundancy resource is used to assist restarting is abandoned; and extra consumption of the resources and machine operation pressure can be greatly reduced.

Description

technical field [0001] The invention relates to the technical field of content distribution network, in particular to a method for restarting a multi-process server and its software, and a flow scheduling method. Background technique [0002] The server software of the online service needs to restart the service for some reasons: for example, memory fragmentation caused by long-term running may lead to a decline in service quality; and some new service configurations or external tasks need to be restarted to take effect. During the restart process, some service requests may not be served normally and affect user experience. [0003] A commonly used solution is to adopt a backup redundancy mechanism to alleviate from different layers: Among them, at the multi-process level in a single machine, multiple new backup processes are restarted, the old process stops external services, and the new service The request is transferred to the new process for processing, and the old proc...

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): H04L12/24H04L29/08
CPCH04L41/0823H04L41/0826H04L41/0836H04L41/0893H04L67/60
Inventor 曾卫波郭文强谢玉燕
Owner CHINANETCENT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products