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

Associated query request processing method and device, equipment and storage medium

A technology related to query and processing methods, applied in multi-program devices, database management systems, inter-program communication, etc., can solve the problems of long response time of front-end services and affect user experience, and achieve the goal of improving user experience and shortening response time. Effect

Pending Publication Date: 2022-08-05
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, when performing associated queries based on GraphQL API, it is usually necessary to call GraphQL API multiple times, resulting in a long response time for front-end services and affecting user experience

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
  • Associated query request processing method and device, equipment and storage medium
  • Associated query request processing method and device, equipment and storage medium
  • Associated query request processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.

[0044] Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.

[0045] The associated query request refers to using the return result of the previous query request as the query parameter of the next query request. For example, according to the user ID of a user to query the department number and all employees corresponding...

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 provides an associated query request processing method and device, equipment and a storage medium, and the method comprises the steps: when a target application program interface (API) call request is received, sending a first call request to a first target server based on a query parameter carried by the target API call request, and receiving a first call result returned by the first target server, and assigning a preset intermediate variable based on the first return parameter value, sending a second calling request carrying the preset intermediate variable to a second target server, receiving a second calling result returned by the second target server, and returning an API calling result corresponding to the target API calling request based on the first calling result and the second calling result. According to the method and the device, the preset intermediate variable is introduced, and the value is assigned to the preset intermediate variable, so that the front-end service can complete the associated query request only by calling the API once, the response time of the front-end service is greatly shortened, and the user experience is improved.

Description

technical field [0001] The present disclosure relates to the field of data processing, and in particular, to a method, apparatus, device and storage medium for processing an association query request. Background technique [0002] The associated query request refers to using the return result of the previous query request as the query parameter of the next query request. For example, according to the user ID of a user to query the department number and all employees corresponding to the department number, the corresponding department number is obtained first based on the user ID query, and then the department number is used as the query parameter for the next query. Initiate the next query request, the above corresponds to an associated query request. [0003] In related technologies, when performing an associated query based on a GraphQL API, it is usually necessary to call the GraphQL API multiple times, resulting in a long response time for front-end services and affecti...

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): G06F16/25G06F9/54
CPCG06F16/252G06F9/547G06F2209/544
Inventor 刘童武鑫
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD