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

Data query method, system and device based on data interface configuration and medium

A data interface and data query technology, applied in the field of data interface, can solve problems such as low work efficiency and repeated development of interfaces

Pending Publication Date: 2020-10-23
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a data query method, system, device and medium based on data interface configuration in order to overcome the defects of repeated development interfaces and low work efficiency in the data query provided by the data interface in the prior art

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 query method, system and device based on data interface configuration and medium
  • Data query method, system and device based on data interface configuration and medium
  • Data query method, system and device based on data interface configuration and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 1 As shown, this embodiment provides a data query method based on data interface configuration, including:

[0043] Step 101, configure data interface information.

[0044] In this embodiment, the data interface information includes structured query language (SQL), object data table and verification code; that is, configuration structured query language, configuration object data table and configuration verification code.

[0045] Step 102, acquiring a request instruction of the data interface.

[0046] In this embodiment, the verification code is used to verify the legitimacy of the request instruction of the data interface.

[0047] Step 103, test the data interface, if there is a request returned, then the data interface test is normal, and execute step 104; if no request is returned, execute step 106.

[0048] Step 104, according to the request instruction of the data interface, obtain the configured structured query language.

[0049] In this emb...

Embodiment 2

[0067] Such as image 3 As shown, the present embodiment provides a data query system based on data interface configuration, including: a configuration module 1, a first acquisition module 2, a verification module 3, a test module 4, a second acquisition module 5, and a query module 6;

[0068] Configuration module 1 is used for configuring data interface information; In the present embodiment, data interface information comprises structured query language (SQL), object data table and verification code; Namely configuration module 1 is used for configuring structured query language, configuration object data table and configuration verification code.

[0069] The first obtaining module 2 is used to obtain the request instruction of the data interface.

[0070] The verification module 3 is used to verify the legitimacy of the request instruction of the data interface according to the verification code.

[0071] The test module 4 is used to test the data interface. If a reques...

Embodiment 3

[0090] Figure 5 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the data query method based on the data interface configuration of Embodiment 1 is implemented. Figure 5 The electronic device 30 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.

[0091] Such as Figure 5 As shown, electronic device 30 may take the form of a general-purpose computing device, which may be a server device, for example. Components of the electronic device 30 may include, but are not limited to: at least one processor 31 , at least one memory 32 , and a bus 33 connecting different system components (including the memory 32 and the processor 31 ).

[0092] The bus 33 includes a data bu...

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 query method, a system and a device based on data interface configuration and a medium. The data query method based on data interface configuration comprises the steps of configuring the data interface information, wherein the data interface information comprises a structured query language and an object data table; obtaining a request instruction of a data interface; obtaining a configured structured query language according to a request instruction of the data interface; and querying the target data from the configured object data table according to the structured query language. By configuring the data interface information, when the interface calling request is received, for the normal calling interface, the target data is directly queried from the objectdata table according to the structured query language, so that the operation of repeatedly developing the interface is avoided, and the working efficiency is improved.

Description

technical field [0001] The present invention relates to the field of data interface technology, in particular to a data query method, system, device and medium based on data interface configuration. Background technique [0002] In the prior art, the query method of Redis (remote dictionary service) is relatively simple, specifically querying the value (function) through a unique key (key). This query method is more effective in simple unique value queries, but when encountering multiple keyword queries from the same data source, it is necessary to maintain multiple data sources. For example, in the price trend interface, various price trend combinations are provided: domestic, international, one-way, round-trip, route, flight. It is necessary to return the price data within a certain range of take-off time in the same period of history according to the query time, so it is necessary to store data of multiple dates and times, and it is necessary to cycle through the prices ...

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/22G06F16/23G06F16/242G06F16/25G06F16/27
CPCG06F16/2282G06F16/23G06F16/2433G06F16/25G06F16/27
Inventor 李文广许鹏谷银银吴小龙杨彦青
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0