Data request processing method and device, storage medium and electronic device

A technology of data request and processing method, applied in the field of data processing, can solve the problems of call data timeout, query data failure, difficulty in server data acquisition, etc., and achieve the effect of reducing traffic pressure, ensuring validity and real-time performance

Active Publication Date: 2019-09-27
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In some scenarios, it is difficult to obtain server data, and there are limited frequency requirements. For example, only one query interaction within a specified threshold can be checked per second, but the request volume of the application side is very large, far exceeding the query frequency limit. Then when the number of users increases, Or during the peak period of business, there will be problems such as data query failure, call data timeout, or even the service of the data provider.
This will seriously affect user experience and business growth, and will also affect the reliability and stability of data provider services
[0003] The solution in the prior art is to alleviate the pressure on the data server by adding a cache server, but the data in the cache server cannot guarantee the real-time performance of the data, and, when there is no requested data in the cache server, there will still be a large number of The requests are pouring into the data server, and the root problem is not solved
[0004] For the above problems, no effective solution has been proposed

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
  • Data request processing method and device, storage medium and electronic device
  • Data request processing method and device, storage medium and electronic device
  • Data request processing method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0027] It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such th...

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 invention discloses a data request processing method and device, a storage medium and an electronic device. The method comprises the following steps: receiving a target data request; writing the target data request into a first message queue, wherein the first message queue comprises data requests to be sent to a data source server, the data requests in the first message queue are set to be taken out from the first message queue according to a sending period and sent to the data source server, and the number of the data requests taken out from the first message queue in each sending period is the same; and when the target sending period arrives, taking out a plurality of data requests including the target data request from the first message queue, and sending the plurality of data requests including the target data request to a data source server so as to inform the data source server to obtain the target data requested by the plurality of data requests.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, to a data request processing method and device, a storage medium, and an electronic device. Background technique [0002] In some scenarios, it is difficult to obtain server data, and there are limited frequency requirements. For example, only one query interaction within a specified threshold can be checked per second, but the request volume of the application side is very large, far exceeding the query frequency limit. Then when the number of users increases, Or during the peak period of business, there will be problems such as data query failure, call data timeout, or even the service of the data provider. This will seriously affect user experience and business growth, and will also affect the reliability and stability of data provider services. [0003] The solution in the prior art is to alleviate the pressure on the data server by adding a cache server,...

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): H04L29/08H04L12/865H04L47/6275
CPCH04L47/6275H04L67/61H04L67/62H04L67/568
Inventor 周罗武
Owner TENCENT TECH (SHENZHEN) 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