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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com