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

A method and apparatus for providing data services

A data service and data technology, applied in the field of data processing, can solve problems such as single interface functionality, complex operation, inflexible data service provision methods and maintenance costs, and achieve the effect of improving flexibility and efficiency

Inactive Publication Date: 2018-12-28
北京猫眼文化传媒有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing Spring MVC (Model View Controller, Model View Controller) framework can be used to provide data service interfaces, but due to the single functionality of the interface, it is more suitable for providing strong business services
Moreover, for the traditional hard-coding method, the business analysis logic needs to be written into the project and coupled to the system code. Once the business of the data service changes, the system code needs to be modified and re-published as a whole. The operation is complex and time-consuming. Time
Therefore, the existing data service provision method is not flexible enough and the cost of modification and maintenance is relatively large

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
  • A method and apparatus for providing data services
  • A method and apparatus for providing data services
  • A method and apparatus for providing data services

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] A method for providing data services provided by an embodiment of the present invention is described in detail.

[0050] Reference figure 1 , Shows a flowchart of the steps of a data service providing method in an embodiment of the present invention.

[0051] Step 110: Receive a data query request sent by the client.

[0052] In the embodiment of the present invention, the user can send the data query request in any available manner through the client, which is not limited in the embodiment of the present invention. For example, for a movie theater data management system, the daily box office data of the movie 1 currently being released can be inquired, and then the data query request for the daily box office data of the movie 1 sent by the user through the client can be received.

[0053] Step 120: Obtain the signature function and the query request variable in the data query request.

[0054] In the embodiment of the present invention, in order to obtain the corresponding quer...

Embodiment 2

[0066] A method for providing data services provided by an embodiment of the present invention is described in detail.

[0067] Reference figure 2 , Shows a flowchart of the steps of a data service providing method in an embodiment of the present invention.

[0068] Step 210: Set signature functions and database query statements for different data query services respectively, and store the signature functions and the database query statements in the metadata database; wherein, the data query service includes data query statements for different dimensional data. Query service, and / or query service for different business data.

[0069] In the embodiment of the present invention, in order to record the signature functions and database query statements for different data query services, so that the data query request can be quickly and accurately called to obtain the query result data when the data query request is received, the unary database can be set in advance, and for different T...

Embodiment 3

[0098] A data service providing apparatus provided by an embodiment of the present invention is described in detail.

[0099] Reference image 3 , Shows a schematic structural diagram of a data service providing apparatus in an embodiment of the present invention.

[0100] The query request receiving module 310 is configured to receive a data query request sent by the client.

[0101] The query parameter obtaining module 320 is configured to obtain the signature function and the query request variable in the data query request.

[0102] The query result obtaining module 330 is configured to obtain query result data corresponding to the signature function based on the signature function and the query request variable.

[0103] The query result return module 340 is configured to return the query result data to the client.

[0104] The data service providing device in the embodiment of the present invention may be a server, of course, it may also be any other available device, which is not ...

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 service providing method and a device. The method comprises obtaining a signature function and a query request variable in the data query request; acquiring query resultdata corresponding to the signature function based on the signature function and the query request variable; returning the query result data to the client. The invention solves the technical problemsthat the existing data service providing method is not flexible enough and the cost of modification and maintenance is large, and achieves the beneficial effects of improving the flexibility of dataservice providing and reducing the cost of modification and maintenance.

Description

Technical field [0001] The invention relates to the technical field of data processing, in particular to a data service providing method and device. Background technique [0002] At present, with the rapid development of the Chinese film market, the number of film releases has also increased, so the demand for data query and data management of the film is becoming more and more extensive. Therefore, a kind of data such as movie scheduling and box office is needed. The interface service provides solutions to support the aggregation of multiple data sources, while being flexible and configurable. Currently, the JavaWeb framework is the preferred architecture for back-end data services. By providing RPC (Remote Procedure Call Protocol) protocol services, you can efficiently publish your own data services, so it can be used as the bottom layer to provide movie-related data Framework, combined with Redis caching service, and Kylin OLAP (On-Line Analysis Processing) service, to aggreg...

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): G06F9/54G06F17/30
CPCG06F9/547G06F2209/541
Inventor 王鹏赵斌
Owner 北京猫眼文化传媒有限公司
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