Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data service packaging method and device

A data service and data technology, applied in the direction of creating/generating source code, software design, software reuse, etc., to improve efficiency, reduce cooperation time, and solve the effects of front-end and back-end coupling

Pending Publication Date: 2019-06-07
GUANGZHOU JOIWAY INFORMATION SCI & TECHCO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the high coupling between the front-end and the back-end in the software development project, the present invention provides a technical solution, which not only separates the development of the front-end and the back-end, but also provides a set of back-end interfaces for use by multiple platforms, saving The development cost also solves the problem of front-end and back-end coupling, which greatly improves productivity and reduces time cost

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to facilitate those skilled in the art to understand and implement the present invention, the method and apparatus for encapsulating data services according to the present invention will now be further described with reference to the accompanying drawings and specific embodiments.

[0042] like figure 1 Shown is a schematic diagram of a data service encapsulation device of the present invention, the device comprising:

[0043] The first encapsulation modules A1 and A2 are used to receive a data service request initiated by a data service requester, and analyze the data service request to obtain data service request parameters;

[0044]The second encapsulation modules B1 and B2 are configured to receive the data service request parameters sent by the first encapsulation module, and perform multi-layer encapsulation processing on the data service request parameters through a recursive algorithm. The multi-layer encapsulation processing includes: a layer of HASH p...

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 a data service packaging method and device. The method comprises the following steps: A, analyzing a data service request initiated by a data service requester and obtaining data service request parameters; B, processing the data service request parameters; C, obtaining data source data from a data source corresponding to the data service based on the data service information query instruction; D, converting the data source data into relational data, packaging the relational data into response data and packaging the response data into a data service response data packetaccording to the session mode of the data service; E, performing control information encapsulation operation on a packet header of the data service response data packet, and constructing a response wrapper; and F, feeding back response data to the data service requester through the response wrapper. According to the method, service logic and resource access are separately processed, so that the cooperation time of front-end and rear-end developers is shortened, and the efficiency is improved.

Description

technical field [0001] The invention relates to the field of software development, in particular to a method and device for encapsulating data services. Background technique [0002] The existing software usually adopts the restful architecture. In the development process, the logic of the front-end and the back-end is completely separated, and the restful interface is used as the interaction. The JavaWeb project using the above architecture uses several background frameworks: springmvc / struts+spring+spring jdbc / hibernate / mybatis and so on. The Java backend is divided into three layers, the control layer (controller / action), the business layer (service / manage), and the persistence layer (dao). in, [0003] The control layer is responsible for receiving parameters, calling related business layers, encapsulating data, and routing & rendering to the jsp page, and then using various tags or handwritten java expressions (<%=%>) on the jsp page to display the background da...

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): G06F8/20G06F8/36
CPCY02D30/50
Inventor 王锐旭
Owner GUANGZHOU JOIWAY INFORMATION SCI & TECHCO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products