Software module interaction method and device, computer equipment and readable storage medium
A technology of computer equipment and software modules, applied in the direction of program control device, execution paradigm, etc., can solve the problems of input manpower and time, application program can not run, low decoupling, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] figure 1 It is a flow chart of a software module interaction method provided in Embodiment 1 of the present invention, and the method includes the following steps:
[0042] Step S11: In response to the start of the first software module, obtain the preset external interface value item of the first software module in the database, and subscribe the first software module to a change event of the external interface value item.
[0043] In the embodiment of the present invention, the cohesion of the application program can be reduced by establishing the external interface value item of the software module in the database, thereby improving the decoupling. Wherein, the value item of the external interface is established according to the application program interface API of the corresponding software module. Specifically, for example, an external interface A_API can be defined for the software module A, and a form TABLE corresponding to the external interface A_API can be est...
Embodiment 2
[0055] image 3 It is a flowchart of a software module interaction method provided in Embodiment 2 of the present invention, and the method includes the following steps:
[0056] Step S31: In response to the start of the first software module, obtain the preset external interface value item of the first software module in the database, and subscribe the first software module to a change event of the external interface value item.
[0057] This step is consistent with the above step S11, and will not be repeated here.
[0058] Step S32: When the external interface value item triggers a change, send a corresponding subscription change notification to the first software module, so that the first software module calls the corresponding changed external interface value item in the database.
[0059] This step is consistent with the above step S12, and will not be repeated here.
[0060] Step S33: Obtain the return value after the first software module calls the changed external i...
Embodiment 3
[0068] Figure 4 It is a flowchart of a software module interaction method provided in Embodiment 3 of the present invention, and the method includes the following steps:
[0069] Step S41: In response to the start of the first software module, obtain the preset external interface value item of the first software module in the database, and subscribe the first software module to a change event of the external interface value item.
[0070] This step is consistent with the above step S11, and will not be repeated here.
[0071] Step S42: When the preset external interface value item of the first software module in the database is not obtained, create a corresponding external interface value item in the database according to the application program interface of the first software module.
[0072] In the embodiment of the present invention, after the software module is started, when the computer device cannot obtain the external interface value item of the software module in the...
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