A method and equipment for creating and calling universal components
A general-purpose component and component technology, applied in the computer field, can solve problems such as waste of memory resources and low running speed of components, and achieve the effects of improving running speed, reducing system resources, and reducing the number of creations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Such as image 3 As shown, it is a schematic diagram of the method steps for creating a general component in Embodiment 1 of the present application, and the method includes the following steps:
[0041] Step 101: Generate a common component library when the software starts to initialize.
[0042] The solution of the embodiment of the present application is to start the operation of creating the general component when the software is initialized, and complete the process of creating the general component before the initialization ends. The purpose of doing this is: the operation of creating common components is completed before the software runs normally, so that when the software runs normally, the common components in the software can directly call the created common components according to requirements. If the operation of creating common components has not been completed at the end of software initialization, or even created when common components in the software n...
Embodiment 2
[0093] After the common component is created by adopting the scheme of Embodiment 1, the common component in the common component library can be further called, such as Figure 4 As shown, it is a schematic diagram of the method steps of calling the general component in the second embodiment of the present application, and the method includes the following steps:
[0094] Step 201: Determine the identifier of the general component to be called.
[0095] In the solution of this embodiment, the common component stores the identification of the general component that can be called, and when the common component needs to call the general component, it reads the identification of the common component stored by itself to perform the calling operation.
[0096] Step 202: According to the determined identifier, search for the generic component indicated by the identifier from a generic component library that has stored multiple generic components.
[0097] Depending on the form of th...
Embodiment 3
[0107] Embodiment 3 of the present application uses a specific example to describe the scheme of Embodiment 2 of the present application in detail.
[0108] Assumption: the common component to call the common component is the session window component, the common components that the session window component can call are the background common component and the border common component, and the background common component is identified as BackgroundID, which is used to indicate the background of the session window component The generic component is drawn; the border generic component is identified as BorderID, which is used to indicate which border generic component draws the border of the session window component. The identities of these two common components are documented in the session window component.
[0109] Such as Figure 5 As shown, it is a schematic diagram of steps for the session window component to call the corresponding general component in the general component l...
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