Data access method and device
A data access and data technology, applied in the field of information processing, can solve problems such as inability to reuse, lack of unified interface specifications for front-end and back-end interfaces, and lack of general implementation of back-end server services, so as to reduce repetitive workload and optimize the establishment process.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0050] figure 2 It is a flow chart of a data access method provided by the first embodiment of the present invention. The method of this embodiment can be executed by a data access device, which can be implemented by hardware and / or software, and can generally be integrated into a server , and the method of this embodiment is generally applicable to the situation where the server queries a locally stored database and returns corresponding access results according to the data access request of the client. The method of this embodiment specifically includes:
[0051] 210. Receive a data access request sent by the client based on setting the data access interface.
[0052] In this embodiment, the developer of the front-end client sets the action attribute of different forms to the URI (Uniform Resource Identifie, Uniform Resource Identifier) address corresponding to the data access interface of the background server according to the different functions of the form. Among the...
no. 2 example
[0087] image 3 It is a flow chart of a data access method in the second embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, the data access request is optimized as data in a preset form format, wherein the name-value pair connector is in the form format A connector used to connect the name of the form item and the input value of the form item.
[0088] At the same time, the business object attribute, operator, and target attribute or value will be parsed from the received data access request and optimized as follows: through the background infrastructure service, the data access request will be converted into the name of the form item and the name of the form item. The two-tuple data corresponding to the input values of the form items are analyzed to obtain the target attribute or value; the preset spacer is identified in the first data corresponding to the name of the form item; according t...
no. 3 example
[0104] Figure 4 It is a flowchart of a data access method in the third embodiment of the present invention. This embodiment is optimized based on the first embodiment. In this embodiment, the data access request is optimized into data in JSON object format.
[0105] Correspondingly, the method in this embodiment specifically includes:
[0106] 410. Receive the data access request in JSON object format sent by the client based on the set data access interface.
[0107] In this embodiment, the data access request is data in JSON object format, and the JSON object is generated through data encapsulation in form format.
[0108] Wherein, the name of the JSON object corresponds to the form item name in the data in the form format, the value pair of the JSON object corresponds to the form item input value in the data in the form format, and the name-value pair is connected The character is a connector used to connect the name of the JSON object and the value pair of the JSON obj...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com