Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for safely closing service

A technology of safe shutdown and service process, applied in program control devices, program control design, instruments, etc., can solve the problems of data table damage, service management module without safe shutdown service, system abnormality, etc.

Pending Publication Date: 2022-02-08
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the system is shut down, the service management module does not shut down the service safely. Usually, the operating system directly kills the process of the service. data table corruption

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
  • Method and device for safely closing service
  • Method and device for safely closing service
  • Method and device for safely closing service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0030] It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0031] At least in order to solve the problems existing in the background technology, some embodiments of the present application provide a set of service shutdown processing framework, through which the system shutdown command can be repackaged to intercept the system shutdown event, by calling the startup script of each service module, In order to achieve 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 provides a method and device for safely closing a service, and the method comprises the steps: responding to a system shutdown message received by a service management process, calling a starting script of each service module in at least one service module to close a service process used for operating the service module, wherein the starting script is used for ensuring that the service module executes target operation before the service process is closed; in response to a message which is fed back by the service management process and indicates that all service processes are closed, continuing to execute system shutdown operation, wherein all service processes being processes corresponding to all service modules which are in operation and are provided with starting scripts. The embodiment of the invention aims to provide a method and a device for safely closing services. Through the method and the device provided by the embodiment of the invention, the function of safely closing various services can be achieved.

Description

technical field [0001] The present application relates to the field of service closing, and specifically, the embodiments of the present application relate to a method and device for safely closing a service. Background technique [0002] The service management module mainly manages service processes in the system in the software operating system (such as: http service process, database service or service program for processing business), and is mainly responsible for managing the start, stop, and health monitoring of these service processes. The purpose is to ensure the stability of the system. However, when the system is shut down, the service management module does not shut down the service safely. Usually, the operating system directly kills the process of the service. The data table is corrupted. [0003] Therefore, how to solve the problem of shutting down the service safely when the system is shut down has become a technical problem to be solved urgently. Contents...

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/445G06F21/71
CPCG06F9/44594G06F21/71
Inventor 陈旭陈景恒
Owner BEIJING TOPSEC NETWORK SECURITY TECH