Process survival control method and device

A technology for controlling equipment and control methods, which is applied in the field of computers, can solve problems such as error accumulation, sub-process programming defects, and operating errors, and achieve the effects of eliminating error accumulation, improving long-term stability, and small errors

Inactive Publication Date: 2011-04-13
CHINA MOBILE COMM GRP CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Embodiments of the present invention provide a process survival control method and device to solve the problem that sub-processes fail due to error accumulation during uninterrupted operation due to programming defects or operating errors of sub-processes

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
  • Process survival control method and device
  • Process survival control method and device
  • Process survival control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Such as figure 1 As shown, it is a schematic diagram of the process survival control method in Embodiment 1 of the present invention, and the method includes the following steps:

[0028] Step 101: the server creates a main control process and multiple application service sub-processes.

[0029] In this step, the server creates multiple application service sub-processes according to the system scale and the number of users, and each application service sub-process can respond to the application service requested by the user and provide the user with the required data service.

[0030] The master control process needs to use the characteristics of the upper-layer operating system of the server to create shared information including communication endpoint identifiers. The communication endpoint identifiers in this embodiment include TCP / IP communication endpoint identifiers. The main control process sends shared information to each created application service sub-process...

Embodiment 2

[0054] Embodiment 2 of the present invention also provides a process survival control device, such as figure 2 As shown, the device includes: a creation module 11, a notification module 12 and a request module 13, wherein: the creation module 11 is used to trigger the server to create a main control process and multiple application service sub-processes, and the application service sub-processes are used for Response to the application service requested by the user; the notification module 12 is used to trigger the application service sub-process to accumulate the number of times of the application service that responds to itself, and when the number of responses reaches the set value, notify the main control process and stop the application service that responds to the user request ; The request module 13 is used to trigger the main control process to request the server to re-create an application service sub-process.

[0055] The process survival control device further incl...

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 process survival control method and device. An application service child process created by a server accumulates the number of application services responded by per se and stops responding the application services requested by application users when the response number reaches a set value, and the disabled application service child process is substituted by the new application service child process re-created by the server, thus error accumulation caused by programming error or run error can be eliminated and error of the application service child process in a running state is ensured to be smaller so as to improve the long-term stability of a server program.

Description

technical field [0001] The invention relates to computer technology, in particular to a process survival control method and equipment. Background technique [0002] The network server plays a very important role in network services, and needs to carry a large number of requests from user terminals, and provide various required data services to user terminals. Since the operation of the application process in the network server directly affects the service quality of the user terminal, the design of the application process in the network server should be stable, efficient and carry a large amount of business. [0003] Currently, there are two commonly used network server process architectures: [0004] The first process architecture: [0005] A server process runs continuously in the background, listening to requests from user terminals at all times. When a user terminal initiates a request, the running server process will create a sub-process, and the created sub-process ...

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): G06F9/46G06F9/48
Inventor 王磊范晓晖赵辉刘越于蓉蓉
Owner CHINA MOBILE COMM GRP 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