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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com