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

Method and device for realizing mutual calling of multiple service modules, electronic device and storage medium

A technology of business modules and mutual calls, applied in the direction of program control devices, program control design, electrical digital data processing, etc., can solve problems such as high coupling degree and poor code maintainability

Pending Publication Date: 2020-02-21
WUBA
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method, device, electronic equipment and storage medium for realizing mutual calling of multi-service modules, so as to solve the problem of introducing callable methods or jumpable page headers in other modules into each module in the prior art. files, resulting in many problems such as poor code maintainability and high coupling in the module

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
  • Method and device for realizing mutual calling of multiple service modules, electronic device and storage medium
  • Method and device for realizing mutual calling of multiple service modules, electronic device and storage medium
  • Method and device for realizing mutual calling of multiple service modules, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0076] In a scheme that can realize multi-business module interaction provided by the existing technology, in order to enable a certain business module to call the method inside another business module, or realize the jump from the page of this business module to the page of another business module, It is necessary to introduce the header...

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 invention discloses a method and a device for realizing mutual calling of multiple service modules, an electronic device and a storage medium. The method comprises: when an application program isstarted, reading a plurality of services exposed to the outside by service modules from preset configuration files of the service modules according to preset configuration information, and each service comprising a service name and calling information; establishing a mapping relationship between the service name of each service and the calling information; and when a target service name transmitted by the first service module is received, searching calling information corresponding to the target service name from the mapping relationship, and finally calling a target service according to the searched calling information, the target service belonging to services exposed to the outside by the second business module. According to the method, codes such as header files of the called service donot need to be introduced into the first service module, so that the codes in the service module are maintained, and the code coupling degree is reduced.

Description

technical field [0001] The present application relates to the technical field of application program development, in particular to a method, device, electronic equipment and storage medium for realizing mutual calling of multi-service modules. Background technique [0002] With the expansion and enrichment of mobile terminal services, the functions of terminal-oriented application programs are also becoming more and more abundant. The functions of the application program depend on the various business modules that make up the application program, such as "home page", "discovery", "message", "personal center" and so on. If there are many business modules in an application, there must be intricate interactions between multiple business modules. For example, a certain business module calls methods in other business modules or jumps to pages of other business modules. [0003] In a solution that can realize the interaction of multiple business modules, in order to enable a cert...

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/445G06F9/448G06F16/901
CPCG06F9/44505G06F9/448G06F16/901
Inventor 贺亚龙吕庆春彭飞
Owner WUBA
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