Method and device for starting plug-in in main program
A main program and plug-in technology, applied in the direction of program control device, program loading/starting, etc., can solve the problems of waste of resources, reduce processing efficiency, etc., and achieve the effect of reducing the number of downloads, improving processing efficiency, and improving matching rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] figure 2 A flowchart showing a method for starting a plug-in in a main program according to another embodiment of the present invention. Such as figure 2 As shown, the method at least includes the following steps S202 to S214.
[0073] Step S202, receiving a plug-in startup instruction, and obtaining a current plug-in identifier of the plug-in to be started.
[0074] Step S204: Search for a plug-in ID that matches the current plug-in ID among multiple plug-in IDs whose corresponding plug-ins are adapted to the main program, and obtain a search result. If the search result is that a plug-in ID that matches the current plug-in ID is found, then Continue to execute step S206; if the result of the search is that no plug-in ID matching the current plug-in ID is found, continue to execute step S208.
[0075] Step S206, start the plug-in to be started.
[0076] Step S208, selecting a plug-in ID from multiple plug-in IDs, and then downloading a corresponding plug-in accordi...
Embodiment 2
[0087] In the embodiment of the present invention, it is also possible to capture the background plug-in upgrade event, obtain the plug-in ID of the plug-in to be upgraded, and then update multiple plug-in IDs according to the plug-in ID of the upgraded plug-in, realize timely update, and improve the accuracy of search and matching. image 3 A flow chart of a method for upgrading a background plug-in according to an embodiment of the present invention is shown. Such as image 3 As shown, the method at least includes the following steps S302 to S314.
[0088] Step S302, capture the background plug-in upgrade event, and obtain the plug-in ID of the plug-in to be upgraded.
[0089] Here, capturing background plug-in upgrade events can be implemented in various ways, such as setting an upgrade time in advance or when a preset upgrade event is triggered, and so on.
[0090] Step S304, compare the plug-in ID of the plug-in to be upgraded with multiple plug-in IDs, and determine wh...
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