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

Data acquisition method and device

A data acquisition and data technology, applied in the computer field, can solve problems such as inefficiency in the transformation process, and achieve the effect of improving efficiency

Active Publication Date: 2020-01-21
ADVANCED NEW TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above technology, since the number of JSON services provided by the data provider is usually more than one, and the above transformation process needs to be carried out for each JSON service, this makes the transformation process very inefficient

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 acquisition method and device
  • Data acquisition method and device
  • Data acquisition method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] figure 1 It is a system architecture diagram for implementing data requests shown in an exemplary embodiment. Such as figure 1 As shown, the system mainly includes: a client 10 , a wireless gateway 20 , a front-end system 30 and a back-end system 40 . Wherein, the client 10 needs to access the front-end system through the wireless gateway 20, and can access the back-end system 40 through the front-end system 30 to improve security; on the other hand, by setting the front-end system 30 and the back-end system 40, the front-end The system 30 deploys the front-end logic, and the back-end system only needs to provide data available for query, so as to realize the separation of front-end and back-end, and further improve security. Among them, the back-end system 40 often includes multiple, and the client 10 usually needs to request data from multiple back-end systems 40 through the front-end system 30 when it needs to obtain and display web data (such as user asset informa...

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

A data acquisition method and device for improving the efficiency of access mode transformation. Wherein, the method includes: the data provider receives the request object sent by the data request end and contains at least one request parameter value, and the request parameter value includes at least the user ID logged in at the data request end; the data provider receives the request object according to the request object The request parameter value contained in the request object is converted into an HTTP request; the data provider assigns the variable used to indicate the user login status as the user information corresponding to the user ID; the data provider calls the HTTP request The corresponding Controller layer service performs data query, and returns the queried data to the data requesting end. The above process can complete the transformation of the access mode without changing the original JSON service of the data provider and the business code of the Controller layer, thereby improving the efficiency of code transformation.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data acquisition method and device. Background technique [0002] Usually, the data requester (such as the client) and the data provider (such as the server) can communicate through the HTTP protocol. When the data requester needs to obtain data from the data provider, it can send an HTTP request to the data provider. Get the required data by calling the JSON service on the data provider side, and display the data to the user on the data request side. [0003] At present, with the development of technology, there is a need to transform the mode of accessing the data provider from the data requester to the mode of Web Service or RPC (Remote Procedure Call Protocol) from the HTTP request mode. In related technologies, it is generally necessary to implement the transformation of the above-mentioned access mode through the following process: First, it is necessary to a...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/565
Inventor 刘晨曦
Owner ADVANCED NEW TECH CO LTD