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

A method and device for processing a service request

A service request and service proxy technology, applied in the field of data processing, can solve problems such as short-term service processing interruption, service request loss, interrupt service request processing, etc., to achieve the effect of avoiding jitter, smooth processing, and maintaining normal processing

Active Publication Date: 2021-07-16
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the service node releases the service or fails, it usually needs to update the code, which will cause the service node to restart and interrupt the processing of service requests
[0003] In one solution, the service agent can identify the health status of the service node through the health check to ensure that the service request is sent to the service node in a normal state for processing. However, due to the health check interval, if the service node is in the interval If the version is upgraded or fails during the period, the service agent will not be able to detect it in time, so it will continue to forward the service request to the service node, resulting in the loss of the service request, and when the service request is in a high concurrency situation, the short interval will cause A large number of service requests are lost
[0004] In another solution, a batch of new service nodes can be deployed, and service nodes that need to be released or have failed service nodes on the service agent can be removed to ensure that service requests are sent to service nodes in normal state. processing, but it needs to use redundant service nodes, usually using 1:1 redundancy, which increases the cost, and the service agent must be updated after the service release or failure occurs, which may also cause short-term service processing interruption

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
  • A method and device for processing a service request
  • A method and device for processing a service request
  • A method and device for processing a service request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0046] The embodiment of the present invention can be applied in the network topology of large-scale services, such as figure 1 As shown, the topology of large-scale services can be deployed in the form of service proxy + multiple service nodes. When the service caller 101 sends a service request to the service cluster 103, the service proxy 102 can represent multiple service nodes in the service cluster 103 1031 to respond to ser...

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

Embodiments of the present invention provide a method and device for processing service requests, which are applied to service nodes. The method includes: receiving a service request sent by a service agent; The status of the node is set to an offline state, so that the service agent stops sending service requests to the service node when detecting that the service node is in an offline state; the received service request is processed, and in all After the processing of the service request is completed, the service node is shut down. Through the embodiment of the present invention, the normal processing of the service request is maintained to the greatest extent, the "jitter" generated by the service call is avoided, and there is no need to configure redundant resources, no need to update and restart the service agent, and the service node itself actively controls the up and down Line to achieve smooth processing of service requests.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a service request processing method and a service request processing device. Background technique [0002] In the topology of large-scale services, it is generally deployed in the form of service agent + multiple service nodes to ensure high availability of service nodes and improve service reliability. However, when the service node releases the service or fails, it usually needs to update the code, which will cause the service node to restart and interrupt the processing of service requests. [0003] In one solution, the service agent can identify the health status of the service node through the health check to ensure that the service request is sent to the service node in a normal state for processing, but due to the interval of the health check, if the service node is in the interval If the version is upgraded or fails during the period, the service agent will not be able to ...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/60
Inventor 周志远
Owner BEIJING QIYI CENTURY SCI & 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