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

Widget instance operation method and system

An operating method and subsystem technology, applied in transmission systems, electrical components, etc., can solve problems such as poor user experience and achieve the effect of open functions

Active Publication Date: 2011-03-16
ZTE CORP
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, in the prior art, the running mode of the widget application managed by the widget engine is single-instance, that is, only one instance of a widget application can run on the widget engine, and the user experience is poor.

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
  • Widget instance operation method and system
  • Widget instance operation method and system
  • Widget instance operation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment describes the process for the widget engine to start a multi-instance widget application, such as figure 1 shown, including the following steps:

[0039] Step 101, the user issues a command to start the widget application, and the widget engine reads the widget configuration file (config.xml) to obtain widget resources;

[0040] Step 102, the widget engine reads the type of the widget application instance;

[0041] The method for reading the type may be: taking out the name identifier of the widget application, and using a hash algorithm to generate a unique digital identification sequence for the name identifier, and the digital identification sequence is the type of the widget application. If the name identifier of the widget application cannot be found in the configuration file, the name of the folder where the widget application is located can be used as the widget name identifier.

[0042] Step 103, the widget engine generates an index for the wid...

Embodiment 2

[0054] This embodiment describes the procedure for the widget engine to close the widget application instance, such as figure 2 shown, including the following steps:

[0055] Step 201, the widget engine receives a command from the user to close a certain widget application instance;

[0056] Step 202, the widget engine saves the runtime parameters and private configuration data of the widget application instance as historical data;

[0057] If you set to save the data of only one widget instance as historical data, you can save the data of the widget instance as historical data every time you close the widget instance, and save the data of the other widget when other widget instances of the same widget application are closed Instance data is used as historical data to overwrite previous historical data.

[0058] If you set the data of multiple widget instances to be saved as historical data, you need to save them separately.

[0059] Step 203, saving the identifier and the...

Embodiment 3

[0063] This embodiment describes the process of widget engine unloading widget application, such as image 3 shown, including the following steps:

[0064] Step 301, the widget engine receives a command from a user to uninstall a widget application;

[0065] Step 302, the widget engine judges whether there are instances running in the widget application, if yes, close all instances, and execute step 303, if not, directly execute step 303;

[0066] In step 303, the widget engine deletes all data related to the widget application type in the widget instance data table, that is, deletes all data of all instances of the widget application.

[0067] If other tables have been generated, the data in the corresponding tables also needs to be deleted.

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 widget instance operation method and a widget instance operation system, and provides a widget multi-instance operation scheme. The method comprises the following steps of: creating a widget instance data table for widget application; when each instance of the widget application is started, generating unique identifier information for the current instance; storing the identifier information in the widget instance data table; and storing configuration data generated in the current instance operation process in a table entry in the widget instance data table, which corresponds to the identifier information. The system comprises a table creation subsystem, an identifier generation subsystem and a storage subsystem. By the method and the system, a widget engine can manage the operation of multiple instances of the widget application and conflicts among the instances can be avoided.

Description

technical field [0001] The present invention mainly relates to the technical field of mobile terminal applications, and in particular to a widget instance running method and system. Background technique [0002] Widget is translated as "micro technology" in Chinese, which refers to the application program running on the user's computer or mobile device under the Internet environment. The widget specifically includes a widget application and a widget engine. An application based on the widget engine, which can update data from the local or the Internet, with the purpose of assisting users in enjoying various applications and network services. The World Wide Web Consortium (WWC) has standardized the widget application packaging file format, which generally includes the following files: [0003] Widget home page file, generally named index.html; [0004] The widget style sheet file is used to identify the layout of the widget home page; [0005] widget icon file, used to id...

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
IPC IPC(8): H04L29/08
Inventor 陈万东
Owner ZTE CORP
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