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

Service restarting method and device

A technology of restarting and serving children, applied in the computer field, can solve the problems of inconvenient upgrade and deployment, cumbersome update service operation, etc., and achieve the effect of convenient service upgrade and simple operation.

Inactive Publication Date: 2017-05-10
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, Thrift uses the above-mentioned backup method to deploy and update the service service. The operation of each update service is cumbersome, and the upgrade deployment is not convenient.

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
  • Service restarting method and device
  • Service restarting method and device
  • Service restarting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] In order to solve at least one of the problems of cumbersome update service operation and inconvenient upgrade deployment when deploying and updating the service service in a backup manner, the embodiment of the present invention performs hot restart of the service, that is, restarts the service without interrupting the service. There is no need to deploy a backup server, the operation is simple, and the upgrade is convenient...

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 service restarting method and device. The method comprises the steps of: by a service process, acquiring a socket bound with a target interface according to a restart instruction; creating a service subprocess which is the same with the service process, and transmitting the bound socket into the service subprocess; after judging that the service process does not has a request, closing the service process; and aiming at data of the target interface, calling the bound socket by adopting the service subprocess. Hot restart on a service is implemented; the service can be restarted in a case of not interrupting the service; the service restarting method and device are simple to operate, do not need to use a backup server, and are convenient and rapid to carry out service upgrading.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a service restart method and a service restart device. Background technique [0002] Thrift is a set of RPC (Remote Procedure Call Protocol) framework for communication between different languages. Those skilled in the art find that when using Thrift for development, Thrift uses multiple services to back up each other to deploy and update service services. [0003] For example, if a service runs on a server A, if you want to upgrade the service, you need to replace it with another backup server B that deploys the same service. That is to hand over all online requests of the service to server B, then stop the service on server A, update the service on A and restart it, and then replace the service from B back to A, so as to realize the upgrade of the service. [0004] However, Thrift uses the above-mentioned backup method to deploy and update the service, which is cumbersome t...

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): G06F9/48
CPCG06F9/485
Inventor 郝延凯
Owner BEIJING QIHOO TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More