Micro-business service process interface generation method and terminal
A business process and microservice technology, applied in the generation of microservice business process interface, can solve the problems of no callback, high access cost, increased system resource investment, etc., and achieve the effect of reducing development cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Please refer to figure 1 and image 3 , Embodiment 1 of the present invention is:
[0062] A method for generating a microservice business process interface, comprising:
[0063] S1. According to the preset framework, scan all the methods in the project, and add the methods marked with preset annotations to the execution unit list;
[0064] The annotation attributes of the preset annotation include execution unit name, lower-level execution unit name, parameter conversion function, execution completion stage type, root task attribute and execution unit completion callback function;
[0065] The method of adding the method marked with the preset annotation to the execution unit list in the step S1 is specifically:
[0066] Obtain the information identifying the method with the preset annotation, and add it to the execution unit list in the form of a key-value pair, where the key in the key-value pair is the method name, and the value corresponds to the preset annotati...
Embodiment 2
[0115] Please refer to figure 2 , the second embodiment of the present invention is:
[0116] A generation terminal 1 of a microservice business process interface, including a processor 2, a memory 3, and a computer program stored on the memory 3 and operable on the processor 2, when the processor 2 executes the computer program, the above The steps in the first embodiment.
[0117] To sum up, the generation method and terminal of a microservice business process interface provided by the present invention do not require the introduction of Conductor, and mark the methods of each microservice through preset annotations, which are lightweight and rely on very little. The resource consumption is small, and the annotation attribute contains multiple contents, which can meet the development and operation requirements; the system can analyze the business process required by the aggregation / combination class interface according to the annotation information of the interface to be g...
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