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

Inter-module calling method, device and system in application program

An application and inter-module technology, applied in multi-programming devices, program control design, program startup/switching, etc., can solve the problems of disordered module calling sequence, high module reuse cost, high coupling degree, and improve flexibility. , the effect of reducing the cost of multiplexing and reducing the coupling degree

Active Publication Date: 2017-09-26
ALIBABA GRP HLDG LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In short, this strong association between business modules and basic function modules may cause confusion in the calling order between modules, and the coupling degree between modules is relatively high, and the cost of module reuse is very high.

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
  • Inter-module calling method, device and system in application program
  • Inter-module calling method, device and system in application program
  • Inter-module calling method, device and system in application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] see figure 1 , the first embodiment of the present application first provides an inter-module calling system in an application program, the system includes: a framework core module 101, a module resource 102 and a service interface 103, the module resource 102 includes basic function modules 1021 and business Module 1022, the basic function module 1021 corresponds to the service interface 103. In the specific implementation, the framework core module can be added to the application program, and each business module, basic function module and service interface can be written based on the framework core module according to actual needs. in:

[0065] The framework core module 101 is used to maintain application-related context information and provide an event-aware interface; the context information includes application running environment information, configuration parameter information, and registration information of module resources and service interfaces.

[0066] F...

Embodiment 2

[0095]In the second embodiment, an inter-module calling method in an application program is provided from the perspective of a framework core module. First of all, it should be noted that the application program includes: a framework core module, module resources and service interfaces. The module resource includes a basic function module and a business module, and the basic function module corresponds to the service interface;

[0096] see Figure 4 , the method may include the following steps:

[0097] S401: The framework core module maintains application-related context information, and provides an event-aware interface; the context information includes application running environment information, configuration parameter information, and registration information of module resources and service interfaces, and the context information is used for Shared among various module resources;

[0098] S402: When sensing the target event, provide the target event information to the ...

Embodiment 3

[0100] In the third embodiment, from the perspective of business modules, an inter-module calling method in an application program is provided. First of all, it should be noted that the application program includes: a framework core module, module resources and service interfaces. The module resources include basic function modules and business modules, and the basic function modules correspond to the service interface; the framework core module is used to maintain application-related context information and provide an event-aware interface; the context information includes Running environment information, configuration parameter information of the application, and registration information of module resources and service interfaces, the context information is used for sharing among various module resources;

[0101] see Figure 5 , the method may include the following steps:

[0102] S501: The business module performs event awareness by implementing the event awareness interf...

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 embodiment of the invention discloses an inter-module calling method, device and system in an application program. The system comprises a frame core module, a service module and a service interface, wherein the frame core module is used for maintaining contextual information related to the application program and providing an event perceptual interface; the contextual information is used for sharing various module resources; the service module is used for performing event perception through the event perceptual interface of the frame core module and initiating a calling request for the service interface corresponding to a target event when the target event is perceived; the service interface is used for calling a corresponding basic function module according to the calling request of the service module, transmitting parameters in the calling request to the basic function module, and returning a processing result to the service module after receiving the processing result returned back by the basic function module. According to the inter-module calling method, device and system in the application program, the reuse cost of the modules can be lowered, and the flexibility of the modules is improved.

Description

technical field [0001] The present application relates to the technical field of application development, and in particular, to a method, apparatus and system for calling between modules in an application. Background technique [0002] With the continuous development of mobile communication and Internet technologies, various mobile terminal applications (usually referred to as Apps) continue to emerge, providing convenience for users' life and work in all walks of life, including e-commerce apps, such as , Taobao, Tmall, Juhuasuan, etc. [0003] In the field of mobile terminal application development, common mobile terminal operating systems include iOS (a mobile operating system developed by Apple), Android (a free and open source operating system based on Linux) and so on. App development needs to be done in different ways for different operating systems. Among them, the application under the iOS system has a UIApplication, UIApplication is the beginning of the iOS appli...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881
Inventor 秦诗杰
Owner ALIBABA GRP HLDG LTD
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