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

Service request processing method and device

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

Active Publication Date: 2017-12-12
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 5 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
  • Service request processing method and device
  • Service request processing method and device
  • Service request processing method and device

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

The embodiment of the invention provides a service request processing method and device which are applied to a service node. The method comprises the following steps: receiving a service request sent by a service proxy; setting the state of the service node as the offline state when detecting that the preset offline condition is triggered, thereby enabling the service proxy to stop sending service request to the service node when detecting that the service node is in the offline state; processing the received service request, and closing the service node after all service requests are completely processed. By using the processing method provided by the embodiment of the invention, the normal processing on the service request is maintained to an extreme, the jittering produced on the service calling is avoided, the redundancy resource is unnecessary to configure, the service proxy is unnecessary to update and restart, the service node completely and actively controls the online and offline by itself, and the smooth processing on the service request is realized.

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
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