Off-line application generation and call method, terminal and system
An offline and terminal technology, applied in the computer field, can solve the problems of reducing user experience, cumbersome access operations, inability to perform page operations and database operations, etc., to achieve the effect of improving user experience and convenient operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] An embodiment of the present invention provides a method for generating and calling an offline application, such as figure 1 shown, including:
[0039] 101. Read the offline configuration file corresponding to the opened network application.
[0040] Wherein, the network application and the offline configuration file are provided by a network server, and the information recorded in the offline configuration file may include at least one of the following: icon information of the offline application, file name information, interface basic file package information, Script information, user interface information, database information, synchronization interface information, and synchronization authentication information.
[0041] The specific method may be: after opening the web application provided by the web server, parsing the preset offline configuration label in the web application. For example, an offline configuration tag, such as a manifest tag in HTML5, may be add...
Embodiment 2
[0056] An embodiment of the present invention provides a method for generating and calling an offline application, such as image 3 shown, including:
[0057] 301. Parse the preset offline configuration label in the opened network application.
[0058] Wherein, the network application is stored on the network server, and the terminal accessing the network application does not have relevant files of the network application itself. If the offline configuration tag is pre-added in the code file of the network application, the terminal can parse the offline configuration tag from the code file of the network application after accessing and opening the network application from the network server. For example, the form of the offline configuration tag may be: . Through the enhancement tag, the name and storage path of the corresponding offline configuration file test.xml can be obtained. The path of the offline configuration file can be an absolute path or a relative path.
[00...
Embodiment 3
[0100] An embodiment of the present invention provides a terminal for generating and invoking an offline application, such as Figure 5 As shown, it includes: a reading unit 51 , a generating unit 52 , and a calling unit 53 .
[0101] The reading unit 51 is configured to read the offline configuration file corresponding to the opened network application, wherein the network application and the offline configuration file are provided by the network server, and the offline configuration file records information for realizing the network application Component file information.
[0102] Wherein, the information recorded in the offline configuration file may include at least one of the following: icon information of the offline application, file name information, interface basic file package information, script information, user interface information, database information, synchronization interface information, synchronization Authentication information.
[0103] The generating u...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 