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

A method and device for introducing external database in HTML5 application

A database and consistent technology, applied in the HTML5 field, can solve problems such as consuming CPU and memory resources, slow SQL statements, and data errors, saving CPU and memory resources, avoiding data errors, and improving user experience.

Active Publication Date: 2016-10-12
北京新学堂网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem with the above method is that the access performance to the external database is poor, specifically, the execution speed of the SQL statement is slow, especially when the amount of data in the database is large, the problem of slow speed is more prominent, resulting in poor user performance. to experience
If the user exits the application while the SQL statement is being executed, data errors in the database will occur. Since this error is caused by the user's operation mode, it cannot be detected and avoided.
In addition, converting the database into SQL statements consumes CPU and memory resources and takes up a large storage space

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 device for introducing external database in HTML5 application
  • A method and device for introducing external database in HTML5 application
  • A method and device for introducing external database in HTML5 application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Hereinafter, exemplary embodiments of the present invention will be described in detail based on the accompanying drawings.

[0041] Before proceeding to the detailed description, it should be understood that the terms and words used in the specification and claims may not be limited to their ordinary or dictionary meanings, but are used in the best manner in which the inventor is able to explain the invention using new words. In principle, it is interpreted as a meaning or concept suitable for the technical scope of the present invention.

[0042] Embodiments are provided so that this disclosure will be thorough and will fully encompass those skilled in the art. Specific details such as specific steps and devices are described for a thorough understanding of this embodiment. It will be apparent to those skilled in the art that specific details need not be employed, that embodiments may be embodied in many different forms and that neither should be construed to limit t...

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 a device for introducing an external database into an HTML5 application. The method includes: determining the local path where the HTML5 application saves the local database; judging whether there is an external database in the local path; if not, copying the external database to the local path; configuration file to activate the external database copied in said local path. Through the present invention, HTML5 applications do not need to use external databases through SQL statements, so that users do not need to worry about speed issues, user experience is improved, data errors caused by user operations are avoided, and CPU and memory resources are also saved.

Description

technical field [0001] The invention relates to the technical field of HTML5, in particular to a method and device for introducing an external database into an HTML5 application. Background technique [0002] Hypertext Markup Language (HTML, Hypertext Markup Language) 5 is the next major revision of HTML. In a broad sense, HTML5 refers to a set of technology combinations including HTML, Cascading Style Sheets (CSS, Cascading Style Sheets) and JavaScript. A standard for enhancing web applications. Specifically, HTML5 provides some new elements and attributes, including "Web SQL Database" (referred to as HTML5 local database in this paper), which is an embedded database that can be accessed through SQL statements. In HTML4, the database can only be accessed on the server side, and can only be accessed through the server, while in HTML5, the embedded database can be directly accessed like a local file. [0003] When the database is an external database provided by a third pa...

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): G06F17/30
Inventor 张昀
Owner 北京新学堂网络科技有限公司