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

Method and device for directly querying structured data

A technology for structured data and query results, which is applied in the fields of electrical digital data processing, special data processing applications, digital data information retrieval, etc., can solve problems such as increasing the workload of developers, and achieve the effect of reducing the amount of code

Active Publication Date: 2020-06-19
北京飞漫软件技术有限公司
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method and device for directly querying structured data to solve the problem of writing additional script programs when manipulating structured data in the prior art, which increases the workload of developers. The problem

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
  • Method and device for directly querying structured data
  • Method and device for directly querying structured data
  • Method and device for directly querying structured data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0032] Embodiments of the present invention provide a method for directly querying structured data, such as figure 1 As shown, the method includes the following steps:

[0033] Step S101: Perform a legality check according to the data query request sent by the user agent, and generate a valid data query statement.

[0034] In an embodiment, before perf...

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 method and device for directly querying structured data, and the method comprises the following steps: carrying out the validity check according to a data query request transmitted by a user agent, and generating an effective data query statement; executing according to the effective data query statement to obtain a query result; and writing the socket according to the query result to obtain response output of the query result. The embodiment of the invention provides a method and device for directly querying structured data. By introducing new lsql, rsql and rsqls graphs, a method for directly accessing a local or remote database and executing SQL statements is provided for an HTML webpage, and the code quantity for writing a front-end script program or a background server program is reduced. Therefore, by implementing the method and the device, the technical problems that an extra script program needs to be written when the structured data is operated and the occupied memory is relatively large in the prior art are solved.

Description

technical field [0001] The invention relates to the technical field of webpage front ends, in particular to a method and device for directly querying structured data. Background technique [0002] The front end of the webpage is a webpage that runs on browsers such as PCs and mobiles and is displayed to users for browsing. Front-end technology is generally divided into front-end design and front-end development. Front-end design can generally be understood as the visual design of the website, and front-end development is the front-end code implementation of the website, including basic HTML (Hypertext Marked Language, Hypertext Markup Language) and CSS (Cascading Style Sheets, Cascading Style Sheets,) and JavaScript / ajax. [0003] Before HTML 5, the browser can only access the database through the HTTP server, and cannot directly operate the local database (only a simple local storage mechanism such as Cookie is provided). In HTML 5, interfaces for accessing local storage ...

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): G06F16/2455
CPCG06F16/2455Y02D10/00
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