Supercharge Your Innovation With Domain-Expert AI Agents!

An internal call method to remove the dependence of functional modules

A technology of functional modules and calling modules, applied in the direction of version control, execution example, program control device, etc., can solve the problems of unfixed customer situations, unsatisfactory product forms, and inability to choose development and deployment, etc., to achieve easy reuse Effect

Active Publication Date: 2022-05-31
北京华御数观科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When designing an application, in the case of a fixed application scenario, combined with factors such as the number of users and the amount of data, choose to use a single or distributed architecture, but this cannot be satisfied in the form of a product
Because after the product development is completed, the functions are fixed, but the customer's situation is not fixed, which leads to the number of users, data volume and other factors are also not fixed
At this point, we cannot choose to develop and deploy the application as a single or microservice

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
  • An internal call method to remove the dependence of functional modules
  • An internal call method to remove the dependence of functional modules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Assume that the business module is the A module, and the functional module is the B module. Based on internal calls, module A does not depend on the methods of module B

[0035] a1) Create an annotation for opening the internal adjustment used on the startup class, and the annotation for opening the internal adjustment is used for

[0036] a2) Create the declaration internal call interface annotation acting on the interface, and the declaration internal call interface annotation includes true

[0038] a4) Create the implementation class of InvocationHandler; when calling the method of the proxy object, this implementation will be executed.

[0039] a5) create an internal call registrar; when adding the opening internal call annotation on the startup class, the internal call register

[0040] When using, inject the proxy object of the interface into the function module through the annotation of @Autowired or @Resource

[0041] As shown in Figure 2, through the instance obtai...

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 an internal call method for releasing the dependence of function modules, constructs an internal call module, and communicates and connects the function module and the business module through the internal call module. By adding an internal call module between the function module and the service module, the present invention realizes the release of the dependency relationship between the function module and the service module, and can also ensure that the service module can call the function module.

Description

An Internal Calling Method for Relieving Function Module Dependency technical field [0001] The present invention relates to the technical fields of software architecture, function implementation, and code reuse. Specifically, a defunct mode Block-dependent internal call method. Background technique [0002] When using the java language to develop applications based on the spring framework, modular programming is usually used to complete the application. development. A function module simply refers to a collection of program elements such as data descriptions, executable statements, etc. It refers to a separately named A procedure, function, subroutine, or macro call accessible by name. Functional modularity is the division of a program into several functions Modules, each functional module completes a sub-function, and establishes the necessary connections between these modules, through the interaction of the modules A programming method that cooperates to complet...

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 Patents(China)
IPC IPC(8): G06F9/448G06F8/71
CPCG06F9/449G06F8/71
Inventor 王帅张大伟
Owner 北京华御数观科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More