A system architecture development method and system architecture
By introducing detection modules and multiple microservices into the system architecture, the distributed functional modules are automatically detected and copied, which solves the problem of cumbersome deployment mode conversion in system development and enables efficient development and multiple distributed technologies under different deployment modes. support.
Patent Information
- Application Number
- CN202110712072.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-06-25
AI Technical Summary
In the development process of the existing system, the replacement of deployment modes is relatively cumbersome, which makes it inconvenient to convert between multiple deployment modes. The business system needs to be transformed, which affects the development efficiency.
Adopt a system architecture development method, including single application mode, distributed mode, integrated business module and architectural support. The architectural support includes detection module, Rest plug-in, multiple microservices and extension plug-ins. The detection module can automatically detect and Copy and disperse these functional modules so that the system can be developed normally under different deployment modes.
It enables conversion between multiple deployment modes without modifying the business system, supports multiple distributed technology implementation methods, simplifies the development process, and improves development efficiency and functional support.
Smart Images

Figure CN113448646B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of system development, and in particular to a system architecture development method and system architecture. Background Art
[0002] With the progress of society and the development of science and technology, various electronic products are enriching people's lives, and the normal use of these electronic products is inseparable from various software systems, which makes the development of software systems more and more important.
[0003] In the existing system development process, it is often necessary to adjust different deployment modes. In order to enable the development process to proceed normally, the business system needs to be transformed when changing different deployment modes. This process is relatively cumbersome, which makes it more troublesome to change different distribution modes and inconvenient to convert between multiple deployment modes. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a system architecture development method and system architecture.
[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a development architecture of a system architecture, wherein the system architecture includes a single application mode, a distributed mode, an integrated business module, a distributed business module and an architecture support, and the architecture support includes a detection module, a Rest plug-in, a plurality of microservices and an extension plug-in.
[0006] In order to increase the diversity of development functions, the present invention has been improved in that the multiple microservices include Dubbo, SpringCloud, Sofa, etc.
[0007] In order to enable normal development under different deployment modes, the present invention is improved in that the mode detection module can automatically detect the deployment mode of the Rest plug-in, multiple microservices and extension plug-ins.
[0008] In order to improve the management effect of the business module, the present invention is improved in that both the integrated business module and the distributed business module include multiple business modules.
[0009] In order to improve the deployment effect of the service modules, the present invention is improved in that the number of the distributed service modules is multiple groups.
[0010] In order to improve the functional support effect obtained by the business module, the present invention has the following improvements: both the integrated business module and the distributed business module rely on architecture support.
[0011] In order to improve the functional effects required by the distributed service modules, the present invention has the following improvements: the architecture supports of the distributed service modules support each other.
[0012] A system architecture development method includes the following steps:
[0013] S1: When the system architecture needs to be developed, when the monolithic application mode is selected, multiple microservice plug-ins are added to the architecture support, and the multiple business modules included in the overall business module correspond to the microservice plug-ins with corresponding functions;
[0014] S2: After mapping multiple business modules to microservice plug-ins with corresponding functions in S1, multiple extension plug-ins can be added to the architecture support to expand the functions of the architecture support so that the architecture support can meet all the functions required by the overall business module;
[0015] S3: After the architecture support in S2 can meet all the functions required by the overall business module, multiple business modules can use the REST plug-in, multiple microservices, and extension plug-ins in the architecture support to develop the system;
[0016] S4: According to S3, during the system development process, if the development mode needs to be changed to a distributed mode, the multiple business modules included in the overall business module are divided into multiple distributed business modules, so that each distributed business module includes one or more business modules;
[0017] S5: After the overall business module is divided into multiple distributed business modules according to S4, the detection module can automatically detect the distributed business modules, and copy and distribute various functions such as Rest plug-ins, multiple microservices and extension plug-ins in the original architecture support of the overall business module into multiple groups of architecture supports, so that each architecture support has a detection module, Rest plug-in, multiple microservices and extension plug-ins;
[0018] S6: After dispersing the architecture support of the overall business module into multiple groups of architecture supports in S5, the detection module will match each architecture support with the business modules included in the distributed business according to the functions of each architecture support, so that the distributed business has multiple functions required for system development, and multiple architecture supports can support each other, so that system development can proceed normally.
[0019] In order to improve the development effect of the system, the present invention is improved in that the multiple microservices supported by each architecture in step S5 include at least Dubbo and SpringCloud plug-ins.
[0020] Compared with the prior art, the advantages and positive effects of the present invention are:
[0021] In the present invention, various functional modules and deployment modes within the architecture support are automatically detected through the detection module, so that similar development processes do not need to consider deployment modes and distributed technology implementation methods, and do not need to modify the business system. They can be converted between multiple deployment modes and multiple distributed technology implementation methods. Multiple plug-ins are set to support REST and multiple microservice methods, so that a set of code can be applied to multiple deployment modes and have support for multiple microservice methods to achieve better development results. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 The present invention proposes a system architecture development method and an overall schematic diagram of the system architecture. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described below in conjunction with the accompanying drawings and embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways than those described herein. Therefore, the present invention is not limited to the specific embodiments of the following disclosure.
[0025] See also Figure 1 The present invention provides a development architecture of a system architecture, the system architecture includes a single application mode, a distributed mode, an integral business module, a distributed business module and an architecture support, the architecture support includes a detection module, a Rest plug-in, a plurality of microservices and an extension plug-in, the architecture support has a Rest plug-in, the Rest plug-in has the function of more efficiently utilizing the cache to improve the response speed, the statelessness of the communication itself allows different servers to process different requests in a series of requests, improves the scalability of the server, the browser can be used as a client, simplifies the software requirements, and has advantages over other mechanisms superimposed on the HTTP protocol, and REST has less software dependence, does not require an additional resource discovery mechanism, and has better long-term compatibility in software system development, thereby ensuring the normal progress of development, and it is based on simple text format messages and the general HTTP protocol, so that it has extremely wide applicability, and almost all languages and platforms provide support for it, and at the same time, the threshold for learning and using it is also low, so that developers can develop it.
[0026] Specifically, various microservices include Dubbo, SpringCloud, Sofa, etc. Microservices is an emerging software architecture that can split a large single application and service into dozens of supporting microservices. The microservice strategy can make work easier. It can expand a single component instead of the entire application stack to meet the service level agreement. One of the biggest advantages of microservice applications is that they often use computing resources more efficiently than traditional applications, allowing developers to only deploy computing resources for additional components instead of deploying a complete new iteration of the application. The end result is that more resources can be provided for other tasks, and they are faster and easier to update. When developers make changes to a traditional monolithic application, developers can update a single component of the application without affecting other parts. Testing microservice applications is still required, but it is easier to identify and isolate problems, thereby speeding up development and supporting DevOps and continuous application development. Microservice architecture helps emerging cloud services such as event-driven computing. Features like AWS Lambda allow developers to write code that is dormant until an application event is triggered, and computing resources are needed only when the event is processed. Enterprises only need to pay for each event instead of a fixed number of computing instances to ensure the normal development of the system.
[0027] Specifically, the mode detection module can automatically detect the deployment mode of Rest plug-ins, multiple microservices and extension plug-ins, so that the detection module can detect the deployment mode of Rest plug-ins, multiple microservices and extension plug-ins, and copy and allocate Rest plug-ins, multiple microservices and extension plug-ins according to different deployment modes to ensure that the architecture support can proceed normally.
[0028] Specifically, both the integral business module and the distributed business module include multiple business modules, and the integral business module and the distributed business module are divided into multiple business modules so that each business module can proceed normally, so that each business module can be managed during the system development process, which is conducive to the progress of system development.
[0029] Specifically, there are multiple groups of distributed business modules, which can be divided into N subsystems according to business needs. Multiple subsystems collaborate with each other to complete the business process subsystem. It has the advantages of splitting the project into several sub-projects, so that different teams can be responsible for different sub-projects, and can be flexibly deployed in a distributed manner to facilitate system development.
[0030] Specifically, both the integral business module and the distributed business module rely on the architecture support, so that the architecture support can provide the integral business module and the distributed business module with the functions required for system development, so that the system development can proceed normally.
[0031] Specifically, the architecture supports of the distributed business modules support each other, so that the architecture supports of the distributed business modules can complement each other's required functions, thereby enabling multiple distributed business modules to have the development functions required for development.
[0032] Specifically, the following steps are included:
[0033] S1: When the system architecture needs to be developed, when the monolithic application mode is selected, multiple microservice plug-ins are added to the architecture support, and the multiple business modules included in the overall business module correspond to the microservice plug-ins with corresponding functions;
[0034] S2: After mapping multiple business modules to microservice plug-ins with corresponding functions in S1, multiple extension plug-ins can be added to the architecture support to expand the functions of the architecture support so that the architecture support can meet all the functions required by the overall business module;
[0035] S3: After the architecture support in S2 can meet all the functions required by the overall business module, multiple business modules can use the REST plug-in, multiple microservices, and extension plug-ins in the architecture support to develop the system;
[0036] S4: According to S3, during the system development process, if the development mode needs to be changed to a distributed mode, the multiple business modules included in the overall business module are divided into multiple distributed business modules, so that each distributed business module includes one or more business modules;
[0037] S5: After the overall business module is divided into multiple distributed business modules according to S4, the detection module can automatically detect the distributed business modules, and copy and distribute various functions such as Rest plug-ins, multiple microservices and extension plug-ins in the original architecture support of the overall business module into multiple groups of architecture supports, so that each architecture support has a detection module, Rest plug-in, multiple microservices and extension plug-ins;
[0038] S6: After dispersing the architecture support of the overall business module into multiple groups of architecture supports in S5, the detection module will match each architecture support with the business modules included in the distributed business according to the functions of each architecture support, so that the distributed business has multiple functions required for system development, and multiple architecture supports can support each other, so that system development can proceed normally.
[0039] Specifically, the multiple microservices supported by each architecture in step S5 include at least Dubbo and SpringCloud plug-ins. Dubbo is a binary transmission and occupies less bandwidth. The interface protocol of the SpringCloud plug-in is relatively free and loose, so that it can be developed while occupying bandwidth.
[0040] The present invention automatically detects various functional modules and deployment modes within the architecture support through a detection module, so that similar development processes do not need to consider deployment modes and distributed technology implementation methods, and do not need to modify the business system. It can convert between multiple deployment modes and can convert between multiple distributed technology implementation methods. It can also set multiple plug-ins and support REST and multiple microservice methods, so that a set of code can be applied to multiple deployment modes and has support for multiple microservice methods to achieve better development results.
[0041] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for developing a software system architecture, characterized in that: The system architecture includes a single application mode, a distributed mode, an overall business module, a distributed business module and an architecture support module, and the architecture support module includes a detection module, a Rest plug-in, a variety of microservices and extension plug-ins; The following steps are involved: S1: When the system architecture needs to be developed, when the monolithic application mode is selected, multiple microservice plug-ins are added to the architecture support, and the multiple business modules included in the overall business module correspond to the microservice plug-ins with corresponding functions; S2: After multiple business modules are mapped to microservice plug-ins with corresponding functions in S1, multiple extension plug-ins are added to the architecture support to expand the functions of the architecture support so that the architecture support can meet all the functions required by the overall business module; S3: After the architecture support in S2 can meet all the functions required by the overall business module, multiple business modules can use the Rest plug-in, multiple microservices and extension plug-ins in the architecture support to develop the system; S4: During the system development process in S3, if the development mode needs to be changed to a distributed mode, the multiple business modules included in the overall business module are divided into multiple distributed business modules, so that each distributed business module includes one or more business modules; S5: After the overall business module is divided into multiple distributed business modules in S4, the detection module can automatically detect the distributed business modules, and copy and distribute the Rest plug-ins, multiple microservices and extension plug-ins in the original architecture support of the overall business module into multiple groups of architecture supports, so that each architecture support has a detection module, a Rest plug-in, multiple microservices and extension plug-ins; S6: After the architecture support of the overall business module is dispersed into multiple groups of architecture supports in S5, the detection module will match each architecture support with the business modules included in the distributed business according to the functions of each architecture support, so that the distributed business has multiple functions required for system development, and multiple architecture supports can support each other, so that system development can proceed normally.
2. A method for developing a software system architecture according to claim 1, characterized in that: The multiple microservices include Dubbo, SpringCloud, and Sofa.
3. The method for developing a software system architecture according to claim 1, characterized in that: It also includes a mode detection module, which can automatically detect the deployment mode of Rest plug-ins, various microservices and extension plug-ins.
4. The method for developing a software system architecture according to claim 1, characterized in that: The overall business module and the distributed business module both include multiple business modules.
5. The method for developing a software system architecture according to claim 1, characterized in that: The number of the distributed service modules is multiple groups.
6. The method for developing a software system architecture according to claim 1, characterized in that: Both the overall business module and the distributed business module rely on architecture support.
7. The method for developing a software system architecture according to claim 1, characterized in that: The multiple microservices supported by each architecture in step S5 include at least Dubbo and SpringCloud plug-ins.
Citation Information
Patent Citations
Electric marketing service application system, and construction method and platform thereof
CN106656630A
Method, device and system for software development based on micro services
CN107102847A
Cloud platform expansion method and system based on micro-service architecture
CN108650262A
Water affair micro-service supporting platform
CN110517165A
