An application running method and application architecture
A technology of application program and operation method, applied in the computer field, which can solve problems such as being unable to be loaded correctly
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] This embodiment provides a method for running an application program, such as figure 1 As shown, the method is applied to an application program including a kernel initialization module, a kernel communication module and a business module, and the method includes a S11 communication channel establishment process and an S12 kernel communication process;
[0034] S11. The communication channel establishment process includes: loading a kernel initialization module, a kernel communication module and a service module according to a preset policy;
[0035] S12. The kernel communication process includes: the kernel communication module receives the request from the service module, calls a kernel function to process the request, and returns a processing result to the service module.
[0036] In the embodiment of the present invention, a method for running an application program is proposed, which supports communication between multiple service modules and the kernel.
[0037] ...
Embodiment 2
[0051] This embodiment specifically describes the method in the above embodiment, and the description in the above method embodiment is also applicable to this embodiment. The application program of this embodiment mainly includes the following features:
[0052] (1) Modular design is adopted;
[0053] The application program includes a kernel initialization module, a kernel communication module and a plurality of business modules;
[0054] Such as figure 2 As shown, the kernel communication technology mainly relies on the kernel initialization module and the kernel communication module. During the loading process, these two modules are loaded in order. If any module fails to load, the program exits abnormally.
[0055] After the two modules are loaded successfully, the kernel communication channel is established, and the business modules such as business module 1 and business module 2 that need to communicate with the kernel are started according to the preset order. Failu...
Embodiment 3
[0070] This embodiment provides an application program architecture, and the descriptions in the above method embodiments are also applicable to this embodiment, such as image 3 As shown, the application program includes a kernel initialization module 31, a kernel communication module 31 and a business module 31, wherein:
[0071] The kernel initialization module 31 is used for kernel initialization and kernel startup;
[0072] The kernel communication module 31 is used to establish a kernel communication interface and a registration interface; wherein, the kernel communication interface is used for active communication between the application program and the kernel; and the registration interface is used for active communication between the kernel and the application program.
[0073] In an exemplary embodiment, the kernel multiplexes codes in the service module 31; wherein, the multiplexed codes are implemented in the service module 31 through predefined macros.
[0074] I...
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