WO2013139268A1 - 离线应用的生成及调用方法、终端及系统 - Google Patents

离线应用的生成及调用方法、终端及系统 Download PDF

Info

Publication number
WO2013139268A1
WO2013139268A1 PCT/CN2013/072912 CN2013072912W WO2013139268A1 WO 2013139268 A1 WO2013139268 A1 WO 2013139268A1 CN 2013072912 W CN2013072912 W CN 2013072912W WO 2013139268 A1 WO2013139268 A1 WO 2013139268A1
Authority
WO
WIPO (PCT)
Prior art keywords
offline
application
file
network
generating
Prior art date
Application number
PCT/CN2013/072912
Other languages
English (en)
French (fr)
Inventor
朱喆
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2013139268A1 publication Critical patent/WO2013139268A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an offline application generation and calling method, a terminal, and a system.
  • BACKGROUND OF THE INVENTION With the development of network and computer technologies, daily work and life are increasingly dependent on various web pages and related applications provided by web servers. However, in many scenarios, continuous network connections cannot be provided, such as by airplane, or disconnected network connections depending on user needs. In this case, how to achieve offline access to web applications has become an important issue.
  • the fifth version of the Hypertext Markup Language 5 (HTML5) standard defines an application cache function that allows a terminal to call an application content already stored in the cache while offline.
  • HTML5 Hypertext Markup Language 5
  • a corresponding manifes t file is referenced, and a list of components to be stored in the cache is listed in the manif es t file.
  • accessing the above web page will save the relevant components in the cache according to the component list in the manifes t file.
  • the network is disconnected and accesses the above webpage again, that is, offline access, the corresponding cache file can be read and loaded according to the components listed in the manifes t file.
  • Embodiments of the present invention provide a method and a system for generating and invoking an offline application, which can implement offline access of a network application by directly calling an offline application file package, simplifying user operations, and allowing users to use Page operations and database operations during the offline application process improve the user experience.
  • a method for generating and calling an offline application including:
  • the offline configuration file corresponding to the opened network application is read, where the network application and the offline configuration file are provided by a network server, and component file information for implementing the network application is recorded in the offline configuration file;
  • the offline application file package is loaded to implement the function of the network application on the terminal.
  • a method for implementing a network application comprising: setting a file, wherein the offline configuration file records component file information for implementing the network application;
  • An offline application generation and calling terminal includes:
  • a reading unit configured to read an offline configuration file corresponding to the opened network application, where the network application and the offline configuration file are provided by a network server, where the offline configuration file records a network application for implementing the network application Component file information;
  • a generating unit configured to save a corresponding component file according to the offline configuration file, obtain an offline application file package, and generate an offline application;
  • the calling unit is configured to load the offline application file package when the offline application is invoked on the terminal, so as to implement the function of the network application on the terminal.
  • a network server including:
  • a storage unit configured to store a component file for implementing a network application and an offline configuration file corresponding to the network application, where the offline configuration file records component file information used to implement the network application;
  • a sending unit configured to send the component file to the generating and calling terminal of the offline application, so that the generating and calling terminal of the offline application receives the component file and saves the file as an offline application file, thereby generating a corresponding offline application.
  • An offline application generation and calling system comprising:
  • an at least one network server and the at least one network server; the offline application generating and calling terminal, configured to read an offline configuration file corresponding to the opened network application, and save the The component file corresponding to the network application, the offline application file package is generated, and the offline application is generated, wherein the offline configuration file records component file information for implementing the network application; when the offline application is invoked, the offline application is loaded. a file package to implement the functions of the network application on the terminal;
  • the network server is configured to store a component file for implementing the network application and an offline configuration file corresponding to the network application, where the offline configuration file records component file information for implementing the network application;
  • the component file is sent to the generating and invoking terminal of the offline application, so that the generating and calling terminal of the offline application receives the component file and saves it as an offline application file package, thereby generating a corresponding offline application.
  • the offline application generation and calling method, the terminal, and the system provided by the embodiment of the present invention download the offline application file package corresponding to the network application according to the pre-configured offline configuration file when the network application is opened, and store the offline application file package as an offline application for offline call.
  • the same URL can only be accessed by opening the browser to achieve offline access of the cache file. It is more convenient to call the offline application file package without the cumbersome operation of opening the browser.
  • the component files recorded in the offline configuration file for implementing all functions of the network application are stored locally as offline application file packages, and the method for saving only the display content on the accessed pages in the prior art is Compared with the page operation and database operation, it can realize all the functions of the network application in the form of offline application and improve the user experience.
  • FIG. 1 is a flowchart of a method for generating and invoking an offline application according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for implementing a network application according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for generating and invoking an offline application according to Embodiment 2 of the present invention
  • FIG. 4 is a flowchart of a method for implementing a network application according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic diagram of a composition of an offline application generating and calling terminal according to Embodiment 3 of the present invention
  • FIG. 6 is a schematic diagram of another offline application generating and calling terminal according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of a network server according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of an offline application generation and calling system according to Embodiment 3 of the present invention.
  • the embodiment of the invention provides a method for generating and invoking an offline application, as shown in FIG. 1 , which includes:
  • 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, file name information, interface basic file package information of the offline application, Script information, user interface information, database information, synchronization interface information, synchronization authentication information.
  • the specific method may be: after opening the web application provided by the web server, parsing the offline configuration label preset in the web application. For example, you can add an offline configuration tag to a web application's code file, such as the manifes t tag in HTML5, or you can redefine a tag, such as a enhancement tag.
  • the corresponding offline configuration file with the extension . manifes t or . enhancement is stored on the web server.
  • the offline configuration label of the network application is parsed, and the storage path and file name of the offline configuration file corresponding to the offline configuration label are obtained, where the path may be a relative path or an absolute path, according to the The storage path and file name can be obtained to the corresponding offline configuration file.
  • the corresponding offline configuration file may be directly obtained, or the corresponding offline configuration file may not be obtained after parsing the offline configuration label, but after receiving the user instruction indicating that the offline application is generated. , then get the corresponding offline configuration file.
  • the information required to save the network application as the corresponding offline application may be included in the offline configuration file, and may include any one or more of the following information: icon information and file name information of the offline application.
  • the offline configuration file records information about component files corresponding to the network application for forming an offline application file package, and each component file may be a document, a picture, a folder, or a file package.
  • the corresponding component file is obtained from the network server according to the information of the component file recorded in the offline configuration file, and is saved on the local terminal to obtain an offline application file package.
  • the offline application file package may also be saved according to system rules of the terminal, such as a default storage location of the terminal system, a storage format, and the like.
  • the process of generating an offline application may include saving an offline application file package for opening a stored offline application file package in a corresponding loader or browser to implement an offline application.
  • the offline application file package is loaded to implement the function of the network application on the terminal.
  • the web application corresponding to the offline application may be accessed again by opening a browser, and the offline application file package may be loaded in an offline state to implement an offline application.
  • the offline application file package can also be directly loaded by the loader by using the same open mode as the local application on the terminal, and the loader can be embedded with a browser kernel that meets the running requirements of the network application, and can be operated. Loading and rendering of environment and application interfaces, and loading of offline application packages in the runtime environment and application interface.
  • the embodiment of the present invention further provides a method for implementing a network application.
  • the method includes: a line configuration file, where component file information for implementing the network application is recorded in the offline configuration file.
  • the network application such as a webpage, is stored on the network server, and is used to provide access to and use of the network application by each terminal.
  • an offline configuration file corresponding to the network application is further stored on the network server, and information that needs to be loaded when the network application is saved as an offline application is recorded in the offline configuration file.
  • the information recorded in the offline configuration file includes 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, Synchronize interface information, synchronization authentication information, and so on.
  • the information recorded in the offline configuration file records information corresponding to the network application for each component file that constitutes an offline application file package, and each component file may be a document, a picture, a folder, or a file package. .
  • the network server may send, to the terminal, a component file corresponding to the information of each component file recorded in the offline configuration file, so that the terminal stores the component file as Offline application package to generate offline apps.
  • the method for generating and invoking an offline application downloadeds an offline application file package corresponding to the network application according to the pre-configured offline configuration file when the network application is opened, and stores the offline application file package as an offline application for offline calling, and existing In technology, only by opening the browser and accessing the same URL again, the offline access of the cache file can be realized. Compared with the offline application file package, the complicated operation such as opening the browser can be avoided, and the operation is more convenient.
  • the component files recorded in the offline configuration file for implementing all functions of the network application are stored locally as offline application file packages, and the method for saving only the display content on the accessed pages in the prior art is
  • the user can perform page operations and database operations after calling the offline application, and implement all the functions of the network application in the form of an offline application, thereby improving the user experience.
  • Example 2
  • the embodiment of the invention provides a method for generating and invoking an offline application, as shown in FIG. 3, which includes:
  • the network application is stored on the network server, and the terminal accessing the network application itself does not have related files of the network application.
  • the offline configuration label can be parsed from the code file of the network application.
  • the path to the offline configuration file can be either an absolute path or a relative path.
  • step 302. Determine, according to a result of parsing an offline configuration label in the network application, whether the network application supports an offline application. If the network application supports an offline application, perform step 303. If the network application does not support an offline application, Then step 313 is performed.
  • some network applications on some network servers may not support offline applications, and offline configuration tags are not added in the code of these network applications that do not support offline applications.
  • offline configuration label if the offline configuration label is not found in the code of the network application, it is determined that the network application does not support the offline application, and a dialog box may be popped up to prompt the user to Web apps do not support offline apps, or do not provide "Save as offline apps".
  • the process of saving the network application as an offline application may be automatically performed, or step 303 is performed, and the network application is saved as an offline application according to a trigger of the user. Process.
  • step 303 may be performed when determining that the network application supports the network application.
  • the method may be configured to display prompt information that allows the network application to be saved as a corresponding offline application, for example, a pop-up dialog box prompts whether to save the current network application as an offline application, according to the user.
  • the selection proceeds to step 304 or does nothing.
  • step 304 After determining that the network application supports the offline application, the subsequent operation of generating the offline application is not performed, but after receiving the user instruction indicating that the offline application is generated, Go to step 304.
  • Providing an operation label or a control for saving the web application as a corresponding offline application for example, providing a button of "storing as an offline application” on the browser, and after receiving the trigger of the button, performing step 304, Save the web app as an offline app.
  • the corresponding component file is read from the network server according to the information of the component file corresponding to the network application and used to form the offline application file package recorded in the offline configuration file.
  • the offline configuration file records information that needs to be loaded when the network application is saved as an offline application, and includes component file information required to invoke an offline application corresponding to the network application and implement a complete function of the network application. , such as the name and path of the component file.
  • the component files may constitute an offline application file package to generate an offline application.
  • the component file information used by the offline application corresponding to the network application is recorded in the offline configuration file, at least one of the following: icon information, file name information, interface basic file package information, script information, user interface of the offline application Information, database information, synchronization interface information, synchronization authentication information.
  • the recorded information includes: icon of the offline application, name, basic view file package, user interface (UI) style package, database name, database access interface file, synchronization interface Information such as documents.
  • ⁇ DatabaseTable> is operated on the database table name ⁇ /DatabaseTable> ⁇ database name ⁇ DatabaseAccess>/off linetest/ packaged database caller. js ⁇ /DatabaseAccess>
  • the corresponding component file can be obtained according to the name and path of the component file listed in the offline configuration file.
  • the offline configuration file can be an XML file, and the XML schema allows for custom extensions, so the content defined in the offline configuration file can be expanded according to the actual application needs.
  • the relevant component file corresponding to the network application obtained in step 304 is saved on the terminal, and the offline application file package is obtained, thereby generating an offline application.
  • the offline application package can be "project planning software. off”.
  • the saved path can be defined by an offline profile. It can also be the default storage location for the terminal running system.
  • the offline application file package is stored on the terminal to generate the offline application
  • the offline application can be called by the browser to access the same address again in the offline state, and the stored offline application file package is loaded.
  • the method of the embodiment of the present invention may further include the following steps:
  • the icon file is obtained according to the icon information recorded in the offline configuration file, and the shortcut icon of the offline application is generated, and the corresponding application name is also displayed, for example, “project planning software. lnk”.
  • the shortcut icon of the offline application is generated, so that the user can directly open the saved offline application file package by the associated loader or browser through the shortcut to implement the offline application.
  • the extension of the offline application file package can be associated with the loader or the browser, so that the open mode of the offline application defaults to the corresponding loader or browser.
  • the offline application generated on the terminal is "project planning software. off”
  • files with the extension . off can be associated with the installed loader on the terminal.
  • the loader has a built-in browser kernel that can be used to open offline apps as an application. After receiving the trigger of the user clicking on the shortcut icon named "Project Planning Software. Ink”, the file in the offline application package "Project Planning Software. off” is loaded by the loader, and the offline application is opened for the user to use.
  • the offline application can also be associated with the browser, and the offline application is opened by the browser.
  • the terminal When receiving the triggering instruction of the offline application, the terminal loads the running environment corresponding to the offline application and renders the application interface.
  • the running environment of the offline application is the same as the running environment required by the corresponding network application
  • the terminal mainly includes the running system of the terminal, the running software, the browser kernel, and the like, and the application boundary
  • the face mainly includes user-set interface rules, system interface rules, and screen size and resolution.
  • the specific running environment required to invoke the offline application may be separately set according to the actual situation of the terminal, or may be loaded and rendered according to the running environment of the corresponding network application.
  • the method of the embodiment of the present invention may further include the step 309, as the network application on the network server may be updated at any time, and the network application is saved as an offline application, in order to ensure that the user accesses the latest version of the network application.
  • the code file of the offline application includes the network address of the network application corresponding to the offline application.
  • the terminal may first check whether there is a network connection, and may also ask the user whether to open the network connection. In the state of having a network connection, the terminal may check whether there is an update by accessing the network application address corresponding to the offline application. If the network application has an update, the user may be asked whether to update the latest version of the network application to the current terminal. , or you can perform the update automatically. Download the latest offline application file package on the web server to the terminal, and update the previously stored offline application file package. In this way, the loader or browser opens the offline app to load the updated offline app package and open the latest version of the offline app offline.
  • the method of the embodiment of the present invention may further include:
  • the database corresponding to the offline application is also saved to the terminal when the offline application is generated by the database information recorded in the offline configuration file.
  • the terminal runs the offline application, allowing the user to perform database operations, such as filling in forms, uploading files, and the like.
  • the terminal saves the intermediate data generated by the offline application during the running process in the database.
  • the terminal when the terminal connects to the network server again, it can check the offline application. Whether the content of the database is different from the content of the database on the network server, if there is a difference, the user may be prompted to synchronize the intermediate data generated during the running of the offline application to the network server. Alternatively, step 31 1 may be omitted, and the intermediate data generated during the offline application running process is automatically synchronized to the network server.
  • the intermediate data is sent to the network server, so that the network server receives the intermediate data. And stored in the network database.
  • the network application is prompted not to support the offline application.
  • the embodiment of the invention further provides a method for implementing a network application.
  • the method includes: a line configuration file, wherein the offline configuration file records component file information for implementing the network application.
  • 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.
  • the method of the embodiment of the present invention may further include:
  • Embodiment 2 of the present invention may refer to the actual implementation.
  • the corresponding content in the first embodiment, the embodiment of the present invention will not be described again here.
  • the method for generating and invoking an offline application downloadeds an offline application file package corresponding to the network application according to the pre-configured offline configuration file when the network application is opened, and stores the offline application file package as an offline application for offline calling, and existing In technology, only by opening the browser and accessing the same URL again, the offline access of the cache file can be realized. Compared with the offline application file package, the complicated operation such as opening the browser can be avoided, and the operation is more convenient.
  • the component files recorded in the offline configuration file for implementing all functions of the network application are stored locally as offline application file packages, and the method for saving only the display content on the accessed pages in the prior art is Compared with the page operation and database operation, it can realize all the functions of the network application in the form of offline application and improve the user experience.
  • Example 3
  • the embodiment of the present invention provides a terminal for generating and invoking an offline application.
  • the present invention includes: a reading unit 51, a generating unit 52, and a calling unit 53.
  • the reading unit 51 is configured to read an offline configuration file corresponding to the opened network application, where the network application and the offline configuration file are provided by a network server, where the offline configuration file records Component file information.
  • 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.
  • the generating unit 52 is configured to save the corresponding component file according to the offline configuration file, obtain an offline application file package, and generate an offline application.
  • the calling unit 53 is configured to load the offline application file package when the offline application is invoked on the terminal, so as to implement the function of the network application on the terminal.
  • the generating and invoking terminal of the offline application may further include: a parsing unit 54.
  • the parsing unit 54 is configured to parse the offline configuration label preset in the web application.
  • the reading unit 51 is further configured to obtain an offline configuration file from the network server according to the offline configuration label.
  • the generating and invoking terminal of the offline application may further include:
  • the download instruction unit 55 is configured to receive a user instruction indicating that the offline application is generated.
  • the reading unit 51 is further configured to: after the download instruction unit 55 receives the user instruction indicating that the offline application is generated, perform the reading of the offline configuration file corresponding to the opened network application.
  • the generating unit 52 includes: a reading module 521 and a saving module 522.
  • the reading module 521 is configured to read the corresponding component file from the network server according to the information of the component file for composing the offline application file package corresponding to the network application recorded in the offline configuration file. .
  • the saving module 522 is configured to store the component file on the terminal to obtain an offline application file package.
  • the generating module 523 is configured to generate an offline application after the saving module obtains the offline application file package.
  • the generating module 523 is further configured to generate a shortcut icon of the offline application according to the icon information recorded in the offline configuration file.
  • the parsing unit 54 may further include: a parsing module 541 and a determining module 542.
  • the parsing module 541 is configured to parse whether the offline configuration label is included in the opened web application.
  • the determining module 542 is configured to determine, after the parsing module 541 parses the offline configuration label preset in the network application, whether the network application supports the offline application when the offline application label is included in the network application.
  • parsing unit 54 may further include: a control module 543.
  • the control module 543 is configured to: when the determining module 542 determines that the network application supports an offline application, display prompt information that allows the network application to be saved as a corresponding offline application, and/or Providing an operation tag or control that saves the web application as a corresponding offline application.
  • the generating and invoking terminal of the offline application further includes: an associating unit 56.
  • the association unit 56 is configured to associate the offline application with a corresponding loader or browser before the calling unit 53 invokes the offline application, to load the offline application file by using the loader or browser. package.
  • the calling unit 53 includes: a running module 531 and a loading module 532.
  • the running module 531 is configured to: when the terminal receives the triggering instruction for calling the offline application, load the running environment corresponding to the offline application and render the application interface.
  • the loading module 532 is configured to load the offline application file package in the running environment and the application interface, so as to implement the function of the network application on the terminal.
  • the calling unit 53 may further include: an updating module 533.
  • the update module 533 is configured to update the offline application file package according to the network application network address corresponding to the offline application before the loading module 532 loads the offline application file package.
  • the loading module 532 is specifically configured to load the updated offline application file package.
  • the calling unit 53 further includes: an intermediate data module 534.
  • the intermediate data module 534 is configured to save the intermediate data generated in the offline application running after the loading module 532 loads the offline application file package.
  • the calling unit 53 further includes: a synchronization module 535.
  • the synchronization module 535 is configured to synchronize the intermediate data saved by the intermediate data module 534 to the network server when a connection occurs with the network.
  • the calling unit 53 further includes: a prompting module 536.
  • the prompting module 536 is configured to prompt the user whether to synchronize the intermediate data to the network server before the synchronization module 535 synchronizes the intermediate data saved by the intermediate data module 534 to the network server.
  • the synchronization module 535 is specifically configured to perform, after receiving a selection instruction that is selected by the user according to the prompt of the prompting module 536, to synchronize the intermediate data saved by the intermediate data module 534 to the network server; Wherein the selection instruction indicates that intermediate data is synchronized to On the web server.
  • the embodiment of the invention further provides a network server, as shown in FIG. 7, comprising: a storage unit 61 and a sending unit 62.
  • the storage unit 61 is configured to store the network application and an offline configuration file corresponding to the network application, where component file information for implementing the network application is recorded in the offline configuration file.
  • 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.
  • the sending unit 62 is configured to send the component file to the generating and calling terminal of the offline application, so that the generating and calling terminal of the offline application receives the component file and saves it as an offline application file package, thereby generating a corresponding offline application. .
  • the network server further includes: a receiving unit 63.
  • the receiving unit 63 is configured to receive intermediate data generated when the offline application runs on the terminal, and store the data.
  • the embodiment of the present invention further provides a system for generating and invoking an offline application, as shown in FIG. 8, including:
  • At least one offline application generates and invokes the terminal 71 and at least one web server 72.
  • the offline application generating and calling terminal 71 is configured to read an offline configuration file corresponding to the opened network application, save the component file corresponding to the network application according to the offline configuration file, and obtain an offline application file package, and generate an offline An application, wherein the offline configuration file records component file information for implementing the network application; when the offline application is invoked, loading the offline application file package to implement the function of the network application on the terminal.
  • the network server 72 is configured to store a component file for implementing the network application and an offline configuration file corresponding to the network application, where the offline configuration file records component file information for implementing the network application; Sending the component file to the generating and calling terminal of the offline application, so that the offline application generating and calling terminal 71 receives the component file and Save as an offline application package to generate the corresponding offline application.
  • the information recorded in the offline configuration file includes 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 Right information.
  • Embodiment 3 of the present invention For a description of some of the functional modules and devices in Embodiment 3 of the present invention, reference may be made to the corresponding contents in Embodiment 1 and Embodiment 2, and the embodiments of the present invention will not be described again.
  • the network server, the offline application generating and calling terminal and the system provided by the embodiment of the present invention download the offline application file package corresponding to the network application according to the pre-configured offline configuration file when the network application is opened, and store the offline application file package as an offline application for offline Calling, compared with the prior art, only by opening the browser to access the same URL again to achieve offline access of the cache file, the offline application file package can be directly called without the complicated operation such as opening the browser, and the operation is more convenient.
  • the component files recorded in the offline configuration file for implementing all functions of the network application are stored locally as offline application file packages, and the method for saving only the display content on the accessed pages in the prior art is Compared with the page operation and database operation, it can realize all the functions of the network application in the form of offline application and improve the user experience.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种离线应用的生成及调用方法、终端及系统,涉及计算机技术领域,可以通过打开应用程序的方式实现离线访问,并允许用户在调用离线应用的过程中进行页面操作和数据库操作。本发明的方法包括:读取已打开的网络应用对应的离线配置文件,其中离线配置文件由网络服务器提供,所述离线配置文件中记录有用于实现所述网络应用的组件文件信息;根据离线配置文件保存对应的组件文件,得到离线应用文件包,生成离线应用;在调用离线应用时加载离线应用文件包,在终端上实现所述网络应用的功能。本发明主要用于将网络应用保存为离线应用并在离线状态下调用的过程中。

Description

离线应用的生成及调用方法、 终端及系统 本申请要求于 2012年 3月 20日提交中国专利局、 申请号为 201210074650.1中国专利申请的优先权,其全部内容通过引用结合在本申请 中。
技术领域 本发明涉及计算机技术领域, 尤其涉及一种离线应用的生成及调用方 法、 终端及系统。 背景技术 随着网络和计算机技术的发展, 日常工作和生活越来越依赖于网络服 务器提供的各种网页及相关应用。 然而在许多场景中不能提供持续的网络 连接, 例如乘坐飞机, 或者根据用户需求会出现断开网络连接等等。 在这 类情况下, 如何实现网络应用的离线访问便成了重要的课题。
现有技术中, 第五版超文本标记语言 ( Hyper text Markup Language 5 , HTML5 )标准里定义了应用緩存的功能, 允许终端在离线状态下调用已存储 在緩存中的应用内容。 具体的, 在某个网页的 HTML 文件中通过添加一个 manifes t标签, 引用一个对应的 manifes t文件, 在 manif es t文件中罗歹' J 了需存放于緩存中的组件清单。 在有网络连接时, 访问上述网页便会依据 manifes t文件中的组件清单将相关组件保存在緩存中。 当网络断开时再次 访问上述网页, 即离线访问, 则可以依据 manifes t文件中罗列的组件, 读 取并加载对应的緩存文件。
在实现上述离线应用的生成及调用的过程中, 发明人发现现有技术中 至少存在如下问题: 由于只能通过打开浏览器再次访问相同的网址才能实 现緩存文件的离线访问, 访问的操作过于繁瑣。 并且, 由于緩存中仅保存 已访问的页面上的显示内容, 不能进行页面操作和数据库操作, 降低了用 户体验。 发明内容 本发明的实施例提供一种离线应用的生成及调用方法、 终端及系统, 可以通过直接调用离线应用文件包的方式实现网络应用的离线访问, 简化 了用户的操作, 并允许用户在使用离线应用的过程中进行页面操作和数据 库操作, 提高了用户体验。
为达到上述目的, 本发明的实施例釆用如下技术方案:
一种离线应用的生成及调用方法, 包括:
读取已打开的网络应用对应的离线配置文件, 其中所述网络应用及所 述离线配置文件由网络服务器提供, 所述离线配置文件中记录有用于实现 所述网络应用的组件文件信息;
根据所述离线配置文件保存所述网络应用对应的组件文件, 得到离线 应用文件包, 生成离线应用;
在终端上调用所述离线应用时, 加载所述离线应用文件包, 以便在终 端上实现所述网络应用的功能。
一种网络应用的实现方法, 包括: 置文件, 其中所述离线配置文件中记录有用于实现所述网络应用的组件文 件信息;
将所述组件文件发送给离线应用的生成及调用终端, 以便所述离线应 用的生成及调用终端接收所述组件文件并保存为离线应用文件包, 进而生 成对应的离线应用。
一种离线应用的生成及调用终端, 包括:
读取单元, 用于读取已打开的网络应用对应的离线配置文件, 其中所 述网络应用及所述离线配置文件由网络服务器提供, 所述离线配置文件中 记录有用于实现所述网络应用的组件文件信息; 生成单元, 用于根据所述离线配置文件保存对应的组件文件, 得到离 线应用文件包, 生成离线应用;
调用单元, 用于在终端上调用所述离线应用时, 加载所述离线应用文 件包, 以便在终端上实现所述网络应用的功能。
一种网络服务器, 包括:
存储单元, 用于存储用于实现网络应用的组件文件及所述网络应用对 应的离线配置文件, 其中所述离线配置文件中记录有用于实现所述网络应 用的组件文件信息;
发送单元, 用于将所述组件文件发送给离线应用的生成及调用终端, 以便所述离线应用的生成及调用终端接收所述组件文件并保存为离线应用 文件包, 进而生成对应的离线应用。
一种离线应用的生成及调用系统, 包括:
至少一个离线应用的生成及调用终端; 及至少一个网络服务器; 所述离线应用的生成及调用终端, 用于读取已打开的网络应用对应的 离线配置文件, 根据所述离线配置文件保存所述网络应用对应的组件文件, 得到离线应用文件包, 生成离线应用, 其中所述离线配置文件中记录有用 于实现所述网络应用的组件文件信息; 在调用所述离线应用时, 加载所述 离线应用文件包, 以便在终端上实现所述网络应用的功能;
所述网络服务器, 用于存储用于实现所述网络应用的组件文件及所述 网络应用对应的离线配置文件, 其中所述离线配置文件中记录有用于实现 所述网络应用的组件文件信息; 将所述组件文件发送给离线应用的生成及 调用终端, 以便所述离线应用的生成及调用终端接收所述组件文件并保存 为离线应用文件包, 进而生成对应的离线应用。
本发明实施例提供的离线应用的生成及调用方法、 终端及系统, 在打 开网络应用时根据预先配置的离线配置文件, 下载该网络应用对应的离线 应用文件包, 并存储为离线应用以便离线调用, 与现有技术中只能通过打 开浏览器再次访问相同的网址才能实现緩存文件的离线访问相比, 可以直 接调用离线应用文件包而免去打开浏览器等繁瑣的操作, 操作更便捷。 并且, 在离线配置文件中记录的用于实现所述网络应用全部功能的组 件文件均被存储到本地作为离线应用文件包, 与现有技术中仅保存已访问 的页面上的显示内容的方法相比, 能够进行页面操作和数据库操作, 以离 线应用的形式实现网络应用的全部功能, 提高了用户体验。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。
图 1为本发明实施例 1中的一种离线应用生成及调用方法流程图; 图 2为本发明实施例 1中的一种网络应用实现方法流程图;
图 3为本发明实施例 2中的一种离线应用生成及调用方法流程图; 图 4为本发明实施例 1中的一种网络应用实现方法流程图;
图 5为本发明实施例 3中的一种离线应用生成及调用终端组成示意图; 图 6为本发明实施例 3中的另一种离线应用生成及调用终端组成示意 图;
图 7为本发明实施例 3中的一种网络服务器组成示意图;
图 8为本发明实施例 3中的一种离线应用生成及调用系统组成示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。 实施例 1
本发明实施例提供一种离线应用的生成及调用方法, 如图 1 所示, 包 括:
101、 读取已打开的网络应用对应的离线配置文件。
其中, 所述网络应用及所述离线配置文件由网络服务器提供, 所述离 线配置文件中记录的信息可以包括以下至少一个: 所述离线应用的图标信 息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数据 库信息、 同步接口信息、 同步鉴权信息。
具体的方法可以为: 在打开网络服务器提供的网络应用之后, 解析所 述网络应用中预设的离线配置标签。 例如, 可以在网络应用的代码文件中 添加离线配置标签, 例如 HTML5中的 manifes t标签, 或者可以重新定义一 个标签, 例如 enhancement 标签。 对应的在网络服务器上存储扩展名 为. manifes t 或. enhancement 的离线配置文件。 在打开网络应用后, 解析 网络应用的离线配置标签, 便可获取该离线配置标签对应的离线配置文件 的存储路径和文件名称, 其中, 该路径可以是相对路径, 也可以是绝对路 径, 根据该存储路径和文件名称可以获取到对应的离线配置文件。 当然, 在解析到离线配置标签后, 可以直接获取对应的离线配置文件, 也可以在 解析到离线配置标签后暂不获取对应的离线配置文件, 而是在接收到指示 生成离线应用的用户指令后, 再获取对应的离线配置文件。
其中, 在离线配置文件中可以记录有将该网络应用保存为对应的离线 应用时, 所需的信息, 可以包括以下信息中的任意一个或多个: 所述离线 应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界 面信息、 数据库信息、 同步接口信息、 同步鉴权信息。
102、 根据所述离线配置文件保存所述网络应用对应的组件文件, 得到 离线应用文件包, 生成离线应用。 其中, 所述离线配置文件所记录的信息中记录有与所述网络应用对应 的用于组成离线应用文件包的组件文件的信息, 每个组件文件可以是文档、 图片、 文件夹或文件包, 在本地终端上生成离线应用时, 可以根据离线配 置文件中记录的组件文件的信息, 从所述网络服务器上获取对应的组件文 件, 并保存在本地终端上, 得到离线应用文件包。 在终端上保存离线应用 文件包时, 还可以根据终端的系统规则, 例如终端系统默认的存储位置、 存储格式等, 保存所述离线应用文件包。
生成离线应用的过程可以包括保存离线应用文件包, 用于在对应的加 载器或浏览器中打开已存储的离线应用文件包, 实现离线应用。
1 03、 在终端上调用所述离线应用时, 加载所述离线应用文件包, 以便 在终端上实现所述网络应用的功能。
其中, 在终端上调用所述离线应用时, 可以通过打开浏览器再次访问 所述离线应用对应的网络应用的网址, 在离线状态下加载离线应用文件包, 实现离线应用。 也可以釆用与终端上的本地应用程序一样的打开方式, 通 过加载器直接加载离线应用文件包, 所述加载器可以内嵌有符合所述网络 应用的运行要求的浏览器内核, 可以实现运行环境和应用界面的加载和渲 染, 以及在所述运行环境和应用界面中对离线应用文件包的加载。
本发明实施例还提供一种网络应用的实现方法, 如图 2所示, 包括: 线配置文件, 其中所述离线配置文件中记录有用于实现所述网络应用的组 件文件信息。
其中, 在网络服务器上存储有所述网络应用, 例如网页, 用于提供给 各个终端访问和使用所述网络应用。 在本发明实施例中, 在网络服务器上 还对应存储有与所述网络应用对应的离线配置文件, 在所述离线配置文件 中记录有所述网络应用保存为离线应用时所需要加载的信息。 所述离线配 置文件中记录的信息包括以下至少一个: 所述离线应用的图标信息、 文件 名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数据库信息、 同步接口信息、 同步鉴权信息等。 其中, 所述离线配置文件所记录的信息 中记录有与所述网络应用对应的用于组成离线应用文件包的各个组件文件 的信息, 每个组件文件可以是文档、 图片、 文件夹或文件包。
202、 将所述组件文件发送给离线应用的生成及调用终端, 以便所述离 线应用的生成及调用终端接收所述组件文件并保存为离线应用文件包, 进 而生成对应的离线应用。
其中, 当终端发起保存所述网络应用作为离线应用的请求时, 网络服 务器可以将所述离线配置文件中记录的各个组件文件的信息对应的组件文 件发送给终端, 以便终端存储所述组件文件作为离线应用文件包, 生成离 线应用。
本发明实施例提供的离线应用的生成及调用方法, 在打开网络应用时 根据预先配置的离线配置文件, 下载该网络应用对应的离线应用文件包, 并存储为离线应用以便离线调用, 与现有技术中只能通过打开浏览器再次 访问相同的网址才能实现緩存文件的离线访问相比, 可以直接调用离线应 用文件包而免去打开浏览器等繁瑣的操作 , 操作更便捷。
并且, 在离线配置文件中记录的用于实现所述网络应用全部功能的组 件文件均被存储到本地作为离线应用文件包, 与现有技术中仅保存已访问 的页面上的显示内容的方法相比, 用户在调用离线应用后能够进行页面操 作和数据库操作, 以离线应用的形式实现网络应用的全部功能, 提高了用 户体验。 实施例 2
本发明实施例提供一种离线应用的生成及调用方法, 如图 3 所示, 包 括:
301、 解析所述已打开的网络应用中预设的离线配置标签。
其中, 网络应用存储在网络服务器上, 访问所述网络应用的终端上本 身并没有所述网络应用的相关文件。 若所述网络应用的代码文件中预先添 加了离线配置标签, 则终端从网络服务器上访问并打开了所述网络应用后, 可以从该网络应用的代码文件中解析出离线配置标签。 例如, 离线配置标 签的形式可以为: <html enhancement= "\tes t. xml " >。 通过 enhancement 标签, 便可得到对应的离线配置文件 tes t, xml的名称及其存储路径。 离线 配置文件的路径可以是绝对路径, 也可以是相对路径。
302、 根据解析所述网络应用中的离线配置标签的结果, 确定所述网络 应用是否支持离线应用; 若所述网络应用支持离线应用, 则执行步骤 303; 若所述网络应用不支持离线应用, 则执行步骤 313。
可以理解的是, 在实际应用场景中, 部分网络服务器上的部分网络应 用可能不支持离线应用, 在这些不支持离线应用的网络应用的代码中并未 添加离线配置标签。 这样, 根据解析所述网络应用的中的离线配置标签的 结果, 若所述网络应用的代码中未查找到离线配置标签, 则确定所述网络 应用不支持离线应用, 可以弹出对话框提示用户该网络应用不支持离线应 用, 或不提供 "另存为离线应用" 的操作控件。 若所述网络应用中预先添 加了所述离线配置标签, 则可以自动执行将所述网络应用保存为离线应用 的流程, 或者执行步骤 303 ,根据用户的触发执行将所述网络应用保存为离 线应用的流程。
进一步的, 为了便于用户知悉当前终端已打开的网络应用是否支持离 线应用, 可以在确定所述网络应用支持网络应用时, 执行步骤 303。
303、 显示允许将所述网络应用保存为对应的离线应用的提示信息, 和 /或提供将所述网络应用保存为对应的离线应用的操作标签或控件。
其中, 通过步骤 302确定所述网络应用支持离线应用后, 可以显示允 许将所述网络应用保存为对应的离线应用的提示信息, 例如弹出对话框提 示是否将当前网络应用保存为离线应用, 根据用户的选择执行步骤 304 或 不执行任何操作。
可选的, 也可以在确定所述网络应用支持离线应用后, 不执行后续的 生成离线应用的操作, 而是在接收到指示生成离线应用的用户指令后, 再 执行步骤 304。提供将所述网络应用保存为对应的离线应用的操作标签或控 件, 例如在浏览器上提供 "另存为离线应用" 的按钮, 在接收到对该按钮 的触发后, 执行步骤 304 , 将所述网络应用另存为离线应用。
304、 才艮据所述离线配置文件中记录的与所述网络应用对应的用于组成 离线应用文件包的组件文件的信息, 从所述网络服务器上读取对应的组件 文件。
其中, 离线配置文件中记录有所述网络应用保存为离线应用时所需要 加载的信息, 包括调用所述网络应用对应的离线应用并实现所述网络应用 的完整功能所需用到的组件文件信息, 如组件文件的名称和路径。 所述组 件文件可以组成离线应用文件包, 以便生成离线应用。 在离线配置文件中 记录有所述网络应用对应生成的离线应用所用到的组件文件信息, 以下至 少一个: 所述离线应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数据库信息、 同步接口信息、 同步鉴权信息。 例如, 以下为一个离线配置文件的实例, 其中记录的信息包括: 离线应用 的图标、 名称、 基本视图文件包、 用户界面 (user interface , UI )风格 包、 数据库名称、 数据库访问接口文件、 同步接口文件等信息。
离线配置文件的内容:
<ICON>/pics/off lineicon. ico</IC0N> 〃图标
< ¾^>项目规划软件. off</NAME> 〃名称
<Database>
<DatabaseTable>被操作数据库表名 </DatabaseTable> 〃数据库名称 <DatabaseAccess>/off linetest/ 封 装 过 的 数 据 库 调 用 程 序. js</DatabaseAccess>
</Database>
<View> 〃基本视图文件包
<Fi le>/ index. html</Fi le>
<Fi le>/play. css</Fi le>
<File>/item. js</File>
</View>
<UIfiles> II UI风格包
<def ault>/essential. zip</ def aul t>
<I0S4>/ios4. zip</I0S4>
<I0S5>/ios5. zip</I0S5>
<Android22>/Android22. zip</ Android22>
</UIfiles>
<SyncEngine:^f装过的同步处理程序 . js </SyncEngine> 〃同步接口文 件
<Versi on>标识此网络应用的版本信息 < / Ve r s i on>
<Token>同步接口标识 </Token>
其中, 根据离线配置文件中罗列的组件文件的名称和路径, 便可获取 对应的组件文件。 另外, 离线配置文件可以为 XML文件, XML schema允许 自定义扩展, 因此, 离线配置文件中定义的内容可以根据实际应用需要进 行扩展。
305、 将所述组件文件存储在终端上得到离线应用文件包, 生成离线应 用。
其中, 将步骤 304 中获取得到的网络应用对应的相关组件文件等保存 在终端上, 得到离线应用文件包, 从而生成离线应用。 例如该离线应用文 件包可以为 "项目规划软件. off"。保存的路径可以由离线配置文件中定义, 也可以是终端运行系统的默认存储位置。
进一步的, 在将离线应用文件包存储到终端上生成离线应用之后, 便 可在离线状态时由浏览器再次访问相同的地址来调用离线应用, 加载已存 储的离线应用文件包。 当然, 为了方便用户可以不依赖于浏览器, 通过运 行本地应用程序的方式打开离线应用, 本发明实施例的方法还可以包括步 骤:
306、 才艮据所述离线配置文件中记录的图标信息, 生成所述离线应用的 快捷图标。
其中, 根据离线配置文件中记录的图标信息, 获取对应的图标文件, 生成所述离线应用的快捷图标, 还可以显示相应的应用名称, 例如 "项目 规划软件. lnk"。 生成所述离线应用的快捷图标, 可方便用户直接通过快捷 方式由相关联的加载器或浏览器打开已保存的离线应用文件包, 实现离线 应用。
307、 将所述离线应用与对应的加载器或浏览器相关联, 以用所述加载 器或浏览器加载所述离线应用文件包。
其中, 可以将离线应用文件包的扩展名与加载器或浏览器相关联, 使 得离线应用的打开方式默认为对应的加载器或浏览器。 例如, 终端上生成 的离线应用为 "项目规划软件. off" , 则可以将扩展名为. off 的文件均关联 到终端上已安装的加载器。 该加载器内嵌有浏览器内核, 可以以应用程序 的形式打开离线应用。 当接收到用户点击名称为 "项目规划软件. Ink" 的 快捷图标的触发后, 通过加载器加载离线应用文件包 "项目规划软件. off" 中的文件, 打开离线应用以便用户使用。 当然, 所述离线应用也可以关联 到浏览器, 通过浏览器打开所述离线应用。
308、 终端在接收到调用所述离线应用的触发指令时, 加载所述离线应 用对应的运行环境并渲染应用界面。
其中, 离线应用的运行环境与对应的网络应用所需的运行环境相同, 在终端上主要包括终端的运行系统、 运行软件、 浏览器内核等, 而应用界 面则主要包括用户设置的界面规则、 系统界面规则以及屏幕大小及分辨率 等。 具体的调用离线应用所需的运行环境可以根据终端的实际情况另行设 定, 也可以参照对应的网络应用的运行环境进行加载和渲染。
进一步的, 由于网络服务器上的网络应用随时可能更新, 将网络应用 保存为离线应用后, 为了保证用户访问到最新版本的网络应用, 本发明实 施例的方法还可以包括步骤 309 :
309、 才艮据所述离线应用对应的网络应用的网络地址, 更新所述离线应 用文件包, 并加载更新后的离线应用文件包。
其中, 离线应用的代码文件中包含所述离线应用对应的网络应用的网 络地址, 终端在打开该离线应用时, 可以先检查是否有网络连接, 也可以 询问用户是否开启网络连接。 在有网络连接的状态下, 终端可以通过访问 该离线应用对应的网络应用地址, 检查是否有更新, 若所述网络应用有更 新, 则可以询问用户是否将最新版本的网络应用更新到当前终端上, 或者 可以自动执行更新。 将网络服务器上最新的离线应用文件包下载到终端上, 更新之前存储的离线应用文件包。 这样, 加载器或浏览器打开离线应用便 可加载更新后的离线应用文件包, 在离线状态下打开最新版本的离线应用。
进一步的, 为了保证用户在离线状态下依然可以进行网页操作和数据 库操作, 在离线配置文件中定义有对应的数据库名称和路径, 在生成离线 应用时保存在离线应用文件包中。 因此, 本发明实施例的方法还可以包括:
31 0、 将运行所述离线应用时产生的中间数据保存。
其中, 通过离线配置文件中记录的数据库信息, 在生成离线应用时将 离线应用对应的数据库也保存到终端上。 在离线状态下, 终端运行所述离 线应用, 允许用户进行数据库操作, 例如填表、 上传文件等操作。 终端将 离线应用在运行过程中产生的中间数据保存在数据库中。
31 1、 在与网络发生连接时, 提示用户是否将中间数据同步到所述网络 服务器上。
其中, 当终端再次与网络服务器发生连接时, 可以检查离线应用中的 数据库内容与所述网络服务器上的数据库内容是否有差别, 若有差别, 则 可以提示用户是否将离线应用运行过程中产生的中间数据同步到网络服务 器上。 或者也可以省去步骤 31 1 , 自动将离线应用运行过程中产生的中间数 据同步到网络 Λ良务器上。
312、 当接收到用户根据所述提示进行选择的选择指令后, 将已保存的 中间数据同步到所述网络服务器上。
其中, 若步骤 31 1 中在是否执行同步的选择提示中, 接收到将中间数 据同步到所述网络服务器上的选择指令, 则将所述中间数据发送给网络服 务器, 以便网络服务器接收这些中间数据并存储到网络数据库中。
31 3、 提示所述网络应用不支持离线应用。
其中, 根据步骤 302 中对离线配置标签的解析结果, 若所述网络应用 不支持离线应用, 则提示所述网络应用不支持离线应用。
发明实施例还提供一种网络应用的实现方法, 如图 4所示, 包括: 线配置文件, 其中所述离线配置文件中记录有用于实现所述网络应用的组 件文件信息。
其中, 所述离线配置文件中记录的信息可以包括以下至少一个: 所述 离线应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用 户界面信息、 数据库信息、 同步接口信息、 同步鉴权信息。
402、 将所述组件文件发送给离线应用的生成及调用终端, 以便所述离 线应用的生成及调用终端接收所述组件文件并保存为离线应用文件包, 进 而生成对应的离线应用。
进一步的, 为了将离线应用在离线状态下运行时产生的中间数据同步 到网络服务器上, 本发明实施例的方法还可以包括:
403、 接收所述离线应用被调用后产生的中间数据并存储。 即, 接收所 述离线应用在所述终端上运行时产生的中间数据并存储。
需要说明的是, 本发明实施例 2 中的部分步骤的具体描述可以参考实 施例 1中的对应内容, 本发明实施例这里将不再——赘述。
本发明实施例提供的离线应用的生成及调用方法, 在打开网络应用时 根据预先配置的离线配置文件, 下载该网络应用对应的离线应用文件包, 并存储为离线应用以便离线调用, 与现有技术中只能通过打开浏览器再次 访问相同的网址才能实现緩存文件的离线访问相比, 可以直接调用离线应 用文件包而免去打开浏览器等繁瑣的操作 , 操作更便捷。
并且, 在离线配置文件中记录的用于实现所述网络应用全部功能的组 件文件均被存储到本地作为离线应用文件包, 与现有技术中仅保存已访问 的页面上的显示内容的方法相比, 能够进行页面操作和数据库操作, 以离 线应用的形式实现网络应用的全部功能, 提高了用户体验。 实施例 3
本发明实施例提供一种离线应用的生成及调用终端, 如图 5 所示, 包 括: 读取单元 51、 生成单元 52、 调用单元 53。
读取单元 51 , 用于读取已打开的网络应用对应的离线配置文件, 其中 所述网络应用及所述离线配置文件由网络服务器提供, 所述离线配置文件 中记录有用于实现所述网络应用的组件文件信息。
其中, 所述离线配置文件中记录的信息可以包括以下至少一个: 所述 离线应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用 户界面信息、 数据库信息、 同步接口信息、 同步鉴权信息。
生成单元 52 , 用于根据所述离线配置文件保存对应的组件文件, 得到 离线应用文件包, 生成离线应用。
调用单元 53 , 用于在终端上调用所述离线应用时, 加载所述离线应用 文件包, 以便在终端上实现所述网络应用的功能。
进一步的, 如图 6所示, 所述离线应用的生成及调用终端还可以包括: 解析单元 54。
解析单元 54 , 用于解析所述网络应用中预设的离线配置标签。 所述读取单元 51 , 还用于根据所述离线配置标签从所述网络服务器上 获取离线配置文件。
在本实施例的另一种应用场景中, 该离线应用的生成及调用终端还可 以包括:
下载指令单元 55 , 用于接收指示生成离线应用的用户指令。
所述读取单元 51还用于: 在所述下载指令单元 55接收到指示生成离 线应用的用户指令之后, 执行所述读取已打开的网络应用对应的离线配置 文件。
进一步的, 所述生成单元 52包括: 读取模块 521、 保存模块 522。 读取模块 521 ,用于才艮据所述离线配置文件中记录的与所述网络应用对 应的用于组成离线应用文件包的组件文件的信息, 从所述网络服务器上读 取对应的组件文件。
保存模块 522 , 用于将所述组件文件存储在终端上得到离线应用文件 包。
生成模块 523, 用于在所述保存模块得到所述离线应用文件包之后, 生 成离线应用。
进一步的, 所述生成模块 523还可以用于根据所述离线配置文件中记 录的图标信息, 生成所述离线应用的快捷图标。
进一步的,所示解析单元 54还可以包括:解析模块 541、确定模块 542。 解析模块 541 ,用于解析所述已打开的网络应用中是否包含所述离线配 置标签。
确定模块 542 ,用于在所述解析模块 541解析所述网络应用中预设的离 线配置标签之后, 在所述网络应用中包含所述离线配置标签时, 确定所述 网络应用是否支持离线应用。
进一步的, 所述解析单元 54还可以包括: 控件模块 543。
控件模块 543 ,用于在所述确定模块 542确定所述网络应用支持离线应 用时, 显示允许将所述网络应用保存为对应的离线应用的提示信息, 和 /或 提供将所述网络应用保存为对应的离线应用的操作标签或控件。
进一步的, 该离线应用的生成及调用终端还包括: 关联单元 56。
关联单元 56 , 用于在所述调用单元 53调用所述离线应用之前, 将所述 离线应用与对应的加载器或浏览器相关联, 以用所述加载器或浏览器加载 所述离线应用文件包。
进一步的, 所述调用单元 53包括: 运行模块 531、 加载模块 532。 运行模块 531 , 用于在终端接收到调用所述离线应用的触发指令时,加 载所述离线应用对应的运行环境并渲染应用界面。
加载模块 532 ,用于在所述运行环境和应用界面中加载所述离线应用文 件包, 以便在所述终端上实现所述网络应用的功能。
进一步的, 所述调用单元 53还可以包括: 更新模块 533。
更新模块 533 ,用于在所述加载模块 532加载所述离线应用文件包之前, 才艮据所述离线应用对应的网络应用网络地址, 更新所述离线应用文件包。
所述加载模块 532 , 具体用于加载更新后的离线应用文件包。
进一步的, 所述调用单元 53还包括: 中间数据模块 534。
中间数据模块 534 ,用于在所述加载模块 532加载所述离线应用文件包 之后, 将所述离线应用运行中产生的中间数据保存。
进一步的, 所述调用单元 53还包括: 同步模块 535。
同步模块 535 , 用于在与网络发生连接时, 将所述中间数据模块 534已 保存的中间数据同步到所述网络服务器上。
进一步的, 所述调用单元 53还包括: 提示模块 536。
提示模块 536 ,用于在所述同步模块 535将所述中间数据模块 534已保 存的中间数据同步到所述网络服务器上之前, 提示用户是否将中间数据同 步到网络服务器上。
所述同步模块 535 ,具体用于在接收到用户根据所述提示模块 536的提 示进行选择的选择指令后执行所述将所述中间数据模块 534 已保存的中间 数据同步到所述网络服务器上; 其中所述选择指令指示将中间数据同步到 网络服务器上。
本发明实施例还提供一种网络服务器, 如图 7 所示, 包括: 存储单元 61、 发送单元 62。
存储单元 61 , 用于存储所述网络应用及所述网络应用对应的离线配置 文件, 其中所述离线配置文件中记录有用于实现所述网络应用的组件文件 信息。
其中, 所述离线配置文件中记录的信息可以包括以下至少一个: 所述 离线应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用 户界面信息、 数据库信息、 同步接口信息、 同步鉴权信息。
发送单元 62 ,用于将所述组件文件发送给离线应用的生成及调用终端, 以便所述离线应用的生成及调用终端接收所述组件文件并保存为离线应用 文件包, 进而生成对应的离线应用。
进一步的, 该网络服务器还包括: 接收单元 63。
接收单元 63 , 用于接收所述离线应用在所述终端上运行时产生的中间 数据并存储。
本发明实施例还提供一种离线应用的生成及调用系统, 如图 8 所示, 包括:
至少一个离线应用的生成及调用终端 71及至少一个网络服务器 72。 所述离线应用的生成及调用终端 71 , 用于读取已打开的网络应用对应 的离线配置文件, 根据所述离线配置文件保存所述网络应用对应的组件文 件, 得到离线应用文件包, 生成离线应用, 其中所述离线配置文件中记录 有用于实现所述网络应用的组件文件信息; 在调用所述离线应用时, 加载 所述离线应用文件包, 以便在终端上实现所述网络应用的功能。
所述网络服务器 72 , 用于存储用于实现所述网络应用的组件文件及所 述网络应用对应的离线配置文件, 其中所述离线配置文件中记录有用于实 现所述网络应用的组件文件信息; 将所述组件文件发送给离线应用的生成 及调用终端, 以便所述离线应用的生成及调用终端 71接收所述组件文件并 保存为离线应用文件包, 进而生成对应的离线应用。
其中, 所述离线配置文件中记录的信息包括以下至少一个: 所述离线 应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界 面信息、 数据库信息、 同步接口信息、 同步鉴权信息。
本发明实施例 3中的部分功能模块和装置的描述可以参考实施例 1和 实施例 2中的对应内容, 本发明实施例这里将不再——赘述。
本发明实施例提供的网络服务器、 离线应用的生成及调用终端和系统, 在打开网络应用时根据预先配置的离线配置文件, 下载该网络应用对应的 离线应用文件包, 并存储为离线应用以便离线调用, 与现有技术中只能通 过打开浏览器再次访问相同的网址才能实现緩存文件的离线访问相比, 可 以直接调用离线应用文件包而免去打开浏览器等繁瑣的操作, 操作更便捷。
并且, 在离线配置文件中记录的用于实现所述网络应用全部功能的组 件文件均被存储到本地作为离线应用文件包, 与现有技术中仅保存已访问 的页面上的显示内容的方法相比, 能够进行页面操作和数据库操作, 以离 线应用的形式实现网络应用的全部功能, 提高了用户体验。
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方 案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出 来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬 盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。

Claims

权利要求
1、 一种离线应用的生成及调用方法, 其特征在于, 包括:
读取已打开的网络应用对应的离线配置文件, 其中所述网络应用及所 述离线配置文件由网络服务器提供, 所述离线配置文件中记录有用于实现 所述网络应用的组件文件信息;
根据所述离线配置文件保存所述网络应用对应的组件文件, 得到离线 应用文件包, 生成离线应用;
在终端上调用所述离线应用时, 加载所述离线应用文件包, 以便在终 端上实现所述网络应用的功能。
2、 根据权利要求 1所述的离线应用的生成及调用方法, 其特征在于, 所述离线配置文件中记录的信息包括以下至少一个: 所述离线应用的图标 信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数 据库信息、 同步接口信息、 同步鉴权信息。
3、 根据权利要求 1所述的离线应用的生成及调用方法, 其特征在于, 在读取已打开的网络应用对应的离线配置文件之前, 还包括:
解析所述已打开的网络应用中预设的离线配置标签, 其中, 所述离线 配置标签包括离线配置文件的存储路径和文件名称;
所述读取已打开的网络应用对应的离线配置文件为: 根据所述离线配 置标签从所述网络服务器上获取离线配置文件。
4、 根据权利要求 1所述的离线应用的生成及调用方法, 其特征在于, 在读取已打开的网络应用对应的离线配置文件之前, 还包括:
接收指示生成离线应用的用户指令。
5、 根据权利要求 1-4中任一项所述的离线应用的生成及调用方法, 其 特征在于, 所述根据所述离线配置文件保存所述网络应用对应的组件文件, 得到离线应用文件包, 生成离线应用, 包括:
根据所述离线配置文件, 从所述网络服务器上读取与所述网络应用对 应的用于组成离线应用文件包的组件文件, 并存储在终端上得到离线应用 文件包, 进而生成离线应用。
6、 根据权利要求 5所述的离线应用的生成及调用方法, 其特征在于, 在所述生成离线应用之后, 还包括:
根据所述离线配置文件中记录的图标信息, 生成所述离线应用的快捷 图标。
7、 根据权利要求 3所述的离线应用的生成及调用方法, 其特征在于, 所述解析所述已打开的网络应用中预设的离线配置标签, 包括:
解析所述已打开的网络应用中是否包含所述离线配置标签;
若所述网络应用中包含所述离线配置标签, 则确定所述网络应用支持 离线应用。
8、 根据权利要求 7所述的离线应用的生成及调用方法, 其特征在于, 在所述解析所述网络应用中预设的离线配置标签之后, 还包括:
当解析所述离线配置标签的结果为确定所述网络应用支持离线应用 时, 显示允许将所述网络应用保存为对应的离线应用的提示信息, 和 /或提 供将所述网络应用保存为对应的离线应用的操作标签或控件。
9、 根据权利要求 1所述的离线应用的生成及调用方法, 其特征在于, 在调用所述离线应用之前, 还包括:
将所述离线应用与对应的加载器或浏览器相关联, 以用所述加载器或 浏览器加载所述离线应用文件包。
1 0、 根据权利要求 9所述的离线应用的生成及调用方法, 其特征在于, 所述在终端上调用所述离线应用时, 加载所述离线应用文件包, 包括: 所述终端在接收到调用所述离线应用的触发指令时, 加载所述离线应 用对应的运行环境并渲染应用界面;
在所述运行环境和应用界面中加载所述离线应用文件包。
1 1、 根据权利要求 9所述的离线应用的生成及调用方法, 其特征在于, 在所述加载所述离线应用文件包之前, 还包括:
居所述离线应用对应的网络应用的网络地址, 更新所述离线应用文 件包;
所述加载所述离线应用文件包具体为: 加载更新后的离线应用文件包。
12、根据权利要求 10所述的离线应用的生成及调用方法,其特征在于, 在加载所述离线应用文件包之后, 还包括:
将运行所述离线应用时产生的中间数据保存。
1 3、根据权利要求 12所述的离线应用的生成及调用方法,其特征在于, 在所述将运行所述离线应用时产生的中间数据保存之后, 还包括:
在与网络发生连接时, 将已保存的中间数据同步到所述网络服务器上。
14、根据权利要求 1 3所述的离线应用的生成及调用方法,其特征在于, 在将已保存的中间数据同步到所述网络服务器上之前, 还包括:
提示用户是否将中间数据同步到网络服务器上;
所述将已保存的中间数据同步到所述网络服务器上具体当接收到用户 根据所述提示进行选择的选择指令后执行, 其中所述选择指令指示将中间 数据同步到网络服务器上。
15、 一种网络应用的实现方法, 其特征在于, 包括: 置文件, 其中所述离线配置文件中记录有用于实现所述网络应用的组件文 件信息;
将所述组件文件发送给离线应用的生成及调用终端, 以便所述终端接 收所述组件文件并保存为离线应用文件包, 进而生成离线应用。
16、 根据权利要求 15所述的网络应用的实现方法, 其特征在于, 所述 离线配置文件中记录的信息包括以下至少一个: 所述离线应用的图标信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数据库信 息、 同步接口信息、 同步鉴权信息。
17、 根据权利要求 15或 16所述的网络应用的实现方法, 其特征在于, 在所述将所述组件文件发送给离线应用的生成及调用终端之后, 还包括: 接收所述离线应用在所述终端上运行时产生的中间数据并存储。
18、 一种离线应用的生成及调用终端, 其特征在于, 包括:
读取单元, 用于读取已打开的网络应用对应的离线配置文件, 其中所 述网络应用及所述离线配置文件由网络服务器提供, 所述离线配置文件中 记录有用于实现所述网络应用的组件文件信息;
生成单元, 用于根据所述离线配置文件保存所述网络应用对应的组件 文件, 得到离线应用文件包, 生成离线应用;
调用单元, 用于在终端上调用所述离线应用时, 加载所述离线应用文 件包, 以便在终端上实现所述网络应用的功能。
19、根据权利要求 18所述的离线应用的生成及调用终端,其特征在于, 所述离线配置文件中记录的信息包括以下至少一个: 所述离线应用的图标 信息、 文件名信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数 据库信息、 同步接口信息、 同步鉴权信息。
20、 根据权利要求 18或 19所述的离线应用的生成及调用终端, 其特 征在于, 还包括:
解析单元, 用于在所述读取单元读取已打开的网络应用对应的离线配 置文件之前, 解析所述已打开的网络应用中预设的离线配置标签, 其中所 述离线配置标签包括离线配置文件的存储路径和文件名称;
所述读取单元具体用于: 根据所述离线配置标签从所述网络服务器上 获取离线配置文件。
21、 根据权利要求 18或 19所述的离线应用的生成及调用终端, 其特 征在于, 还包括:
下载指令单元, 用于接收指示生成离线应用的用户指令;
所述读取单元具体用于: 在所述下载指令单元接收到指示生成离线应 用的用户指令之后, 执行所述读取已打开的网络应用对应的离线配置文件。
22、 根据权利要求 18-21中任一项所述的离线应用的生成及调用终端, 其特征在于, 所述生成单元包括:
读取模块, 用于根据所述离线配置文件, 从所述网络服务器上读取与 所述网络应用对应的用于组成离线应用文件包的组件文件; 保存模块, 用于将所述组件文件存储在终端上得到离线应用文件包; 生成模块, 用于在所述保存模块得到所述离线应用文件包之后, 生成 离线应用。
23、根据权利要求 22所述的离线应用的生成及调用终端,其特征在于, 所述生成模块还用于:
根据所述离线配置文件中记录的图标信息, 生成所述离线应用的快捷 图标。
24、根据权利要求 20所述的离线应用的生成及调用终端,其特征在于, 所述解析单元包括:
解析模块, 用于解析所述已打开的网络应用中是否包含所述离线配置 标签;
确定模块, 用于在所述网络应用中包含所述离线配置标签时, 确定所 述网络应用支持离线应用。
25、根据权利要求 24所述的离线应用的生成及调用终端,其特征在于, 还包括:
控件模块, 用于在所述确定模块确定所述网络应用支持离线应用时, 显示允许将所述网络应用保存为对应的离线应用的提示信息, 和 /或提供将 所述网络应用保存为对应的离线应用的操作标签或控件。
26、根据权利要求 18所述的离线应用的生成及调用终端,其特征在于, 还包括:
关联单元, 用于在所述调用单元调用所述离线应用之前, 将所述离线 应用与对应的加载器或浏览器相关联, 以用所述加载器或浏览器加载所述 离线应用文件包。
27、根据权利要求 26所述的离线应用的生成及调用终端,其特征在于, 所述调用单元包括:
运行模块, 用于在所述终端接收到调用所述离线应用的触发指令时, 加载所述离线应用对应的运行环境并渲染应用界面;
加载模块, 用于在所述运行环境和应用界面中加载所述离线应用文件 包, 以便在所述终端上实现所述网络应用的功能。
28、根据权利要求 27所述的离线应用的生成及调用终端,其特征在于, 所述调用单元还包括:
更新模块, 用于在所述加载模块加载所述离线应用文件包之前, 根据 所述离线应用对应的网络应用的网络地址, 更新所述离线应用文件包; 所述加载模块具体用于: 加载更新后的离线应用文件包。
29、根据权利要求 27所述的离线应用的生成及调用终端,其特征在于, 所述调用单元还包括:
中间数据模块, 用于在所述加载模块加载所述离线应用文件包之后, 将所述离线应用运行中产生的中间数据保存。
30、根据权利要求 29所述的离线应用的生成及调用终端,其特征在于, 所述调用单元还包括:
同步模块, 用于在与网络发生连接时, 将所述中间数据模块已保存的 中间数据同步到所述网络服务器上。
31、根据权利要求 30所述的离线应用的生成及调用终端,其特征在于, 所述调用单元还包括:
提示模块, 用于在所述同步模块将所述中间数据模块已保存的中间数 据同步到所述网络服务器上之前, 提示用户是否将中间数据同步到网络服 务器上;
所述同步模块, 具体用于在接收到用户根据所述提示模块的提示进行 选择的选择指令后, 且在与网络发生连接时, 执行所述将所述中间数据模 块已保存的中间数据同步到所述网络服务器上; 其中所述选择指令指示将 中间数据同步到网络服务器上。
32、 一种网络服务器, 其特征在于, 包括:
存储单元, 用于存储用于实现网络应用的组件文件及所述网络应用对 应的离线配置文件, 其中所述离线配置文件中记录有用于实现所述网络应 用的组件文件信息;
发送单元, 用于将所述组件文件发送给离线应用的生成及调用终端, 以便所述离线应用的生成及调用终端接收所述组件文件并保存为离线应用 文件包, 进而生成对应的离线应用。
33、 根据权利要求 32所述的网络服务器, 其特征在于, 所述离线配置 文件中记录的信息包括以下至少一个: 所述离线应用的图标信息、 文件名 信息、 界面基本文件包信息、 脚本信息、 用户界面信息、 数据库信息、 同 步接口信息、 同步鉴权信息。
34、 根据权利要求 32或 33所述的网络服务器, 其特征在于, 还包括: 接收单元, 用于接收所述离线应用在所述终端上运行时产生的中间数 据并存储。
35、 一种离线应用的生成及调用系统, 其特征在于, 包括:
至少一个如权利要求 18-31 中任一项所述的离线应用的生成及调用终 端; 及至少一个如权利要求 32-34中任一项所述的网络服务器。
PCT/CN2013/072912 2012-03-20 2013-03-20 离线应用的生成及调用方法、终端及系统 WO2013139268A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210074650.1 2012-03-20
CN2012100746501A CN103324517A (zh) 2012-03-20 2012-03-20 离线应用的生成及调用方法、终端及系统

Publications (1)

Publication Number Publication Date
WO2013139268A1 true WO2013139268A1 (zh) 2013-09-26

Family

ID=49193281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072912 WO2013139268A1 (zh) 2012-03-20 2013-03-20 离线应用的生成及调用方法、终端及系统

Country Status (2)

Country Link
CN (1) CN103324517A (zh)
WO (1) WO2013139268A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765622B (zh) * 2014-01-03 2019-12-27 腾讯科技(深圳)有限公司 页面资源的加载方法及装置
CN105278971A (zh) * 2014-06-17 2016-01-27 中国移动通信集团浙江有限公司 一种移动终端安装包的批量生成方法及装置
CN106331049A (zh) * 2015-07-03 2017-01-11 阿里巴巴集团控股有限公司 缓存资源、更新缓存资源的方法、客户端、服务器及系统
CN107528718B (zh) * 2016-08-16 2020-03-03 腾讯科技(深圳)有限公司 获取资源的方法、装置和系统
CN108132814A (zh) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 应用程序的页面加载方法、装置、计算机设备和存储介质
CN108154569B (zh) * 2017-12-27 2021-02-12 广州奥格智能科技有限公司 一种基于对象模型化配置的巡查采集方法
CN108363760A (zh) * 2018-02-02 2018-08-03 东南大学 基于b/s模型的ietm显示数据生成及离线控制方法
CN110806902B (zh) * 2018-07-18 2021-09-03 马上消费金融股份有限公司 一种数据处理方法、应用画像方法及装置
CN111966392A (zh) * 2020-08-20 2020-11-20 深圳康佳电子科技有限公司 一种智能终端客制化配置方法、智能终端及存储介质
CN114637550B (zh) * 2022-02-25 2024-05-10 广州点云科技有限公司 云游戏离线模式快速进入方法、装置、终端设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268238A1 (en) * 2004-05-28 2005-12-01 Pham Quang Application server configuration tool
CN1794723A (zh) * 2005-10-11 2006-06-28 华为技术有限公司 一种离线消息处理方法
CN101299683A (zh) * 2008-06-25 2008-11-05 中兴通讯股份有限公司 一种离线数据的配置设备和方法
CN101529415A (zh) * 2006-10-30 2009-09-09 微软公司 基于web的应用程序的离线执行

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9083765B2 (en) * 2004-07-02 2015-07-14 Oracle International Corporation Systems and methods of offline processing
US8832595B2 (en) * 2004-08-06 2014-09-09 Nokia Corporation Mobile communications terminal and method
CN101431525B (zh) * 2007-11-06 2012-08-29 北京傲游天下科技有限公司 网络内容加载的加速方法、系统及其服务器和终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268238A1 (en) * 2004-05-28 2005-12-01 Pham Quang Application server configuration tool
CN1794723A (zh) * 2005-10-11 2006-06-28 华为技术有限公司 一种离线消息处理方法
CN101529415A (zh) * 2006-10-30 2009-09-09 微软公司 基于web的应用程序的离线执行
CN101299683A (zh) * 2008-06-25 2008-11-05 中兴通讯股份有限公司 一种离线数据的配置设备和方法

Also Published As

Publication number Publication date
CN103324517A (zh) 2013-09-25

Similar Documents

Publication Publication Date Title
US11799984B2 (en) Installable web applications
WO2013139268A1 (zh) 离线应用的生成及调用方法、终端及系统
US11829186B2 (en) System and methods for integration of an application runtime environment into a user computing environment
EP3441876B1 (en) Patch upgrade-based file processing method and device, terminal, and storage medium
US8656265B1 (en) Low-latency transition into embedded web view
US8041763B2 (en) Method and system for providing sharable bookmarking of web pages consisting of dynamic content
US8843820B1 (en) Content script blacklisting for use with browser extensions
EP2916243B1 (en) Method, apparatus, server and system for implementing web application
US11853820B2 (en) Cross-process communication method, apparatus, and device
KR102159416B1 (ko) 하이브리드 모바일 애플리케이션을 구축하고 사용하는 시스템 및 방법
US9317681B2 (en) Information processing apparatus, information processing method, and computer program product
US9747117B2 (en) System and methods for loading an application and its modules in a client device
US11553035B2 (en) Cross-platform module for loading across a plurality of device types
WO2014101393A1 (zh) 应用实现方法及装置
JP2018045704A (ja) リモーティングセッションを通じた非サポートファイル形式の開封
WO2013097592A1 (zh) 脚本加载技术
CN111596916A (zh) 一种应用程序管理方法、装置、设备及计算机存储介质
CN113591000B (zh) 一种浏览器引擎的切换方法和装置及设备
KR101482152B1 (ko) 페이지 연동 기능을 구비한 웹 어플리케이션 실행 장치 및 방법
WO2024017278A1 (en) Method, device and program carrier for cross-platform porting of applications
Ghoda et al. Advanced Silverlight 3 Features

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13764823

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13764823

Country of ref document: EP

Kind code of ref document: A1