Service processing method and device, terminal device and storage medium

A service processing and processing device technology, which is applied in the direction of multi-programming device, electronic digital data processing, program control design, etc., can solve problems such as frame collapse, service program unavailability, avalanche effect, etc., to improve stability and avoid avalanche effect of effect

Pending Publication Date: 2019-10-18
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are chain calls between service programs. However, during the actual work of each service program, one or several service programs may lose their response due to some reasons that they cannot work normally, which will lead to dependence on the service program ( Refers to the service program that cannot work normally), and other service programs cannot obtain response information in time, and there is a backlog of service requests, which will cause an avalanche effect in severe cases, resulting in the existence of conflicts with the service program (service program that cannot work normally) Other service programs of dependencies are unavailable, which eventually leads to the collapse of the entire framework

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 processing method and device, terminal device and storage medium
  • Service processing method and device, terminal device and storage medium
  • Service processing method and device, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] figure 1 It is a schematic flowchart of a service processing method provided in Embodiment 1 of the present disclosure. The method is applicable to the situation that when the service that the system depends on is abnormal, the service is processed to avoid the system avalanche effect. on a terminal, such as a server. For details, see figure 1 As shown, the service processing method includes the following steps:

[0060] Step 110, monitor the working status of the target service.

[0061] Wherein, the target service includes services that the system functions depend on. Taking the Feed system as an example, the target service includes services that implement various functions of the Feed stream, such as the Sati service for obtaining the video ID list, and the Sati service for obtaining the display information of each video. Item service, RPC (Remote Procedure Call, remote procedure call) service for obtaining music, etc., or Pack service for packaging information r...

Embodiment 2

[0076] figure 2 It is a schematic flowchart of a service processing method provided in Embodiment 2 of the present disclosure. This embodiment is based on the various optional solutions in the above embodiments, and provides an optional service processing method. Specifically, after the fuse mechanism is triggered, when an access request for the target service is received, the target service is called first. The backup service of the service ensures that the system has better service function while avoiding the avalanche effect. see figure 2 As shown, the service processing method specifically includes the following steps:

[0077] Step 210, monitor the working status of the target service.

[0078] Step 220: If the working status of the target service meets the trigger condition, trigger a circuit breaker mechanism to shut down the target service and prohibit the target service from being accessed.

[0079] Step 230, when receiving the access request of the target servi...

Embodiment 3

[0090] image 3It is a schematic flowchart of a service processing method provided in Embodiment 3 of the present disclosure. This embodiment is based on the various optional solutions in the above embodiments, and provides an optional service processing method. Specifically, when the fusing mechanism is triggered, the timing is started, and the fusing mechanism is turned off after the first set duration. To enable the target service and allow the target service to be accessed, so as to deal with the situation that the target service is temporarily abnormal due to unknown reasons. see image 3 As shown, the service processing method specifically includes the following steps:

[0091] Step 310, monitor the working status of the target service.

[0092] Step 320 , if the working status of the target service meets the trigger condition, trigger a circuit breaker mechanism to shut down the target service, prohibit the target service from being accessed, and start timing.

[00...

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 discloses a service processing method and device, a terminal device and a storage medium. The method comprises the steps of monitoring a working state of a target service; if the working state of the target service meets the triggering condition, triggering a fusing mechanism to close the target service, and forbidding the target service from being accessed; when anaccess request of the target service is received, calling services except the target service; wherein the target service and the services except the target service comprise services on which system functions are depended. Through the technical scheme of the embodiment of the invention, the avalanche effect caused by abnormal target service is avoided, and the stability of the system is improved.

Description

technical field [0001] Embodiments of the present disclosure relate to application software data processing technologies, and in particular, to a service processing method, device, terminal equipment, and storage medium. Background technique [0002] With the widespread use of smart terminals, various application software are constantly being introduced. Among them, a list page (usually called a feed page) is a relatively common interface presentation form in existing application software clients. Due to the interesting content presented on the feed page of some application software clients and the accuracy of content recommendation, it perfectly caters to the interests of each user and attracts a large number of fans, making the fans unable to put it down. In this way, the feed pages of some application software clients need to carry huge daily data. [0003] It can be seen that the feed page of the application software client carries most of the advertising revenue of ea...

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/48G06F9/50G06F9/52
CPCG06F9/4881G06F9/5027G06F9/505G06F9/524
Inventor 林明星张小斌张晓聪
Owner BEIJING BYTEDANCE NETWORK TECH 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