Data inquiry method and system

A data query and data technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as data redundant transmission channels, congestion, etc., to improve data transmission efficiency, increase data utilization, and avoid data transmission. Effects of Redundancy and Transmission Channel Congestion

Active Publication Date: 2016-12-07
SHANGHAI CTRIP COMMERCE CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to overcome the defects of data redundancy and transmission channel blockage that exis

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 inquiry method and system
  • Data inquiry method and system
  • Data inquiry method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0064] Example 1

[0065] The data query of the present embodiment mainly involves three parts, as figure 1 As shown, there are database server 101, interface module 102 and client server 103 respectively. Wherein the database server stores data available for query; the client server obtains the data in the database server through the interface module, and the interface module can be an API interface module; the client server can be of any type, such as according to the business layer can be divided into The three categories are Web (web page) server, mobile server and distribution server, in which the Web server provides data information to the target website, and the mobile server provides data information to the iphone client, ipad client, andrid client, Windows phone client and other mobile phones , the tablet client provides data information, and the distribution server provides data information to qunar, taobao, 360 and other distribution platforms.

[0066] The data q...

Example Embodiment

[0084] Example 2

[0085] The data query method of the present embodiment has been improved as follows on the data query method of embodiment 1: the interface module is also provided with a user configuration file (Profile) library, and the user configuration file library stores a file identifier (ProfileID) and configuration information corresponding to the file identifier.

[0086] like Figure 4 As shown, the data query method also includes:

[0087] Step 301, the client server initiates a second query request to the database server, the second query request carries a dynamic query protocol, and the dynamic query protocol includes a first file identifier. The dynamic query protocol may also include a dynamic protocol identifier, and the dynamic protocol identifier is used to indicate that the type of the query protocol carried by the second query request is a dynamic query protocol instead of the static query protocol mentioned above, and also That is to say, the interfa...

Example Embodiment

[0102] Example 3

[0103] The data query method of this embodiment is basically the same as the data query method of Embodiment 2, the difference is that in the data query method of this embodiment, the interface module is also provided with a dynamic protocol library, and the dynamic query protocol also includes The field information of the request query. like Image 6 As shown, the data query method also includes:

[0104] Step 303 further includes: the interface module storing the dynamic query protocol into the dynamic protocol library.

[0105] Replace step 304 with step 304': the interface module supplements the field information into a complete query code according to the acquired configuration information, transmits the query code to the database server, and then performs step 307.

[0106] Step 307, the database server transmits data to the client server according to the query code, and then ends the procedure.

[0107]The data query system of this embodiment is b...

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 inquiry method and system. The method comprises the following steps: adding an interface module into a database server; setting a static protocol base for storing static inquiry protocols, wherein the static inquiry protocols correspond to data in the database server; sending a first inquiry request to the database server by a client server, wherein the first inquiry request carries a first inquiry protocol; inquiring whether the static inquiry protocol matched with the first inquiry protocol is stored in the static protocol base or not by the interface module; if so, acquiring data corresponding to the static inquiry protocol matched with the first inquiry protocol and transmitting the data to the client server; otherwise, rejecting the first inquiry request. By adopting the data inquiry method and system, the disadvantages in the prior art that data redundancy and blocked transmission channels are caused when a client and a target source server are in interface butt joint are overcome; and an interface model and a customer server are matched and the aim of data slimming by utilizing the static inquiry protocols and dynamic inquiry protocols is realized, so that the data transmission efficiency is improved.

Description

technical field [0001] The invention relates to a data query method and system. Background technique [0002] With the rise of e-commerce and the popularity of mobile clients, a unified data interface is difficult to meet the needs of different agents and various client display platforms. Often, when the client interfaces with the target source server, it has to pull the full amount of data from the target source server, resulting in a large amount of useless data being released, resulting in data redundancy and transmission channel congestion. Contents of the invention [0003] The technical problem to be solved by the present invention is to overcome the defects of data redundancy and transmission channel blockage that exist when the client (client server) and the target source server (database server) are interfaced in the prior art, and provide a data Query method and system. [0004] The present invention solves the above technical problems through the following tec...

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): G06F17/30
Inventor 叶亚明
Owner SHANGHAI CTRIP COMMERCE 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