Micro-service architecture version release control method
By determining the correlation factors and characteristic data of the sub-docking system in the microservice architecture, collaborative version release is carried out, and the load difference and adaptation degree are optimized through adjustment strategies, which solves the problem of version release progress and efficiency, and achieves more efficiency and accuracy. version is released.
Patent Information
- Application Number
- CN202410639169.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the microservice architecture, due to the lack of communication between systems during the version release process, it is impossible to identify related systems in real time, which makes joint debugging and docking of multiple systems difficult and affects the progress and efficiency of version release.
By randomly selecting the first sub-docking system and the second sub-docking system from the sub-docking system, obtain their parameters, determine the correlation factors, determine whether to generate version collaborative release tags, obtain feature data, and perform microservice architecture version collaborative release based on these data , and optimize the load difference and adaptation degree through adjustment strategies.
It effectively improves the efficiency and accuracy of microservice architecture version release and ensures the smoothness and adaptability of version release.
Smart Images

Figure CN118626129A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of version release, and in particular to a control method for version release of a microservice architecture. Background Art
[0002] Microservice architecture is a software architecture style that decomposes a large application into multiple independent small services, each of which runs in its own process and is usually organized around business functions. These services can collaborate with each other through lightweight communication mechanisms such as HTTP, RESTful, API. Each service in the microservice architecture is independent and can be developed, deployed, upgraded, and expanded separately. This independence allows the team to use the technology stack that best suits a specific service, thereby improving flexibility and efficiency.
[0003] Version release control can manage each version in the software development process, allowing developers to easily maintain different versions of the software. However, in daily version iteration work, especially when the version to be released involves cross-departmental or regional situations, it is often necessary to connect to multiple systems. Due to the lack of communication between systems, the related systems cannot be identified in real time due to irregular version releases, making the process of multi-system joint debugging and docking difficult, affecting the progress of version release. At the same time, it is impossible to determine whether two different sub-docking systems can be collaboratively released, reducing the efficiency of version release. Summary of the invention
[0004] The embodiment of the present invention provides a control method for the release of a microservice architecture version, which is used to solve the technical problem in the prior art that the version release of the microservice architecture cannot be accurately controlled and the version release efficiency of two different sub-docking systems cannot be improved.
[0005] In order to achieve the above object, the present invention provides a control method for microservice architecture version release, comprising: Randomly selecting a first sub-docking system and a second sub-docking system from a plurality of sub-docking systems, and acquiring first system parameters and second system parameters of the first sub-docking system and the second sub-docking system respectively; determining a correlation factor between the first docking sub-system and the second docking sub-system according to the first system parameter and the second system parameter; Determining whether to generate a version collaborative release tag for the first sub-docking system and the second sub-docking system according to the correlation factor; When the version collaborative release tag is identified, first feature data and second feature data of the first sub-docking system and the second sub-docking system are acquired; The first sub-docking system and the second sub-docking system are collaboratively released with respect to microservice architecture versions based on the first feature data and the second feature data.
[0006] Further, when determining the correlation factor of the first sub-docking system and the second sub-docking system according to the first system parameter and the second system parameter, it includes: constructing a first feature set according to the first system parameters; constructing a second feature set according to the second system parameters; Determine an intersection feature between the first feature set and the second feature set, and construct a third feature set based on the intersection feature; respectively determining a first degree of association between the first feature set and the microservice architecture, a second degree of association between the second feature set and the microservice architecture, and a third degree of association between the third feature set and the microservice architecture; The correlation factor between the first sub-docking system and the second sub-docking system is calculated according to the first correlation degree, the second correlation degree and the third correlation degree; wherein: The correlation factor between the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, A is the correlation factor between the first sub-docking system and the second sub-docking system, Bmax is the maximum correlation, Bmin is the minimum correlation, B1 is the first correlation, B2 is the second correlation, B3 is the third correlation, a1 is the weight corresponding to the maximum correlation, and a2 is the weight corresponding to the minimum correlation.
[0007] Further, when judging whether a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system according to the correlation factor, it includes: Acquire a corresponding correlation factor threshold, and determine whether to generate a version collaborative release tag for the first sub-interconnection system and the second sub-interconnection system according to a relationship between the correlation factor and the correlation factor threshold; When the correlation factor is less than the correlation factor threshold, it is determined that a version collaborative release tag cannot be generated for the first sub-docking system and the second sub-docking system; When the correlation factor is greater than or equal to the correlation factor threshold, it is determined that a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system.
[0008] Further, when the microservice architecture version of the first sub-docking system and the second sub-docking system is collaboratively released based on the first feature data and the second feature data, it includes: Determining the usage demand load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Obtaining a first demand load line graph according to the usage demand load, and determining a minimum load point on the first demand load line graph; Determining the version receiving load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Calculating the load difference between the minimum load point and the version receiving load, and if the load difference is positive, generating a service link for version release according to the upstream and downstream call relationship between the first sub-interconnection system and the second sub-interconnection system, wherein the service link records the operation nodes involved in the version release process; Based on the service link, the first sub-docking system and the second sub-docking system are collaboratively released with respect to a microservice architecture version; If the load difference is negative, the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy until the load difference is positive.
[0009] Further, when the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy, it includes: Inputting the adjustment strategy into a pre-trained version release model to obtain a parameter adjustment set; Constructing a second demand load line graph according to the adjustment parameters of each link in the parameter adjustment set; Inputting the second demand load line graph into a pre-trained point graph smoothing model to obtain a third demand load line graph; Fitting the third load demand line graph to obtain a load demand variation curve; Calculating adjustment indexes of the first sub-docking system and the second sub-docking system according to the demand load variation curve; The first docking subsystem and the second docking subsystem are adjusted according to the adjustment index; wherein, The adjustment index of the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, R is the adjustment index of the first sub-docking system and the second sub-docking system, n is the total number of adjustment items in the adjustment strategy; ti is the time period of the i-th adjustment item in the adjustment strategy, xi is the maximum load value on the demand load change curve, yi is the maximum load value of the i-th adjustment item in the adjustment strategy, ki is the weight of the i-th adjustment item in the adjustment strategy, and fi is the maximum slope corresponding to the i-th adjustment item in the adjustment strategy on the demand load change curve.
[0010] Further, after the microservice architecture versions of the first sub-docking system and the second sub-docking system are collaboratively released based on the first feature data and the second feature data, the method further includes: Obtaining the adaptability of the first sub-docking system and the second sub-docking system to the microservice architecture version, and obtaining the time interval for receiving the next version of the first sub-docking system and the second sub-docking system; Determining whether it is necessary to adjust the time interval for receiving the next version according to the relationship between the adaptation degree and the adaptation degree threshold; When the adaptation degree is less than the adaptation degree threshold, it is determined that the next version receiving time interval needs to be adjusted; When the adaptation degree is greater than or equal to the adaptation degree threshold, it is determined that there is no need to adjust the next version receiving time interval.
[0011] Further, when it is determined that the time interval for receiving the next version needs to be adjusted, it includes: Acquire historical data information and system performance data of the first sub-docking system and the second sub-docking system, wherein the historical data information includes a total number of collaborations and a total collaboration duration, and the performance data includes a minimum throughput and a minimum request delay; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the historical data information and the system performance data, and the next version receiving time interval is adjusted based on the adjustment coefficients.
[0012] Further, when setting the adjustment coefficients of the first sub-docking system and the second sub-docking system according to the historical data information and the system performance data, it includes: Evaluate the first sub-docking system and the second sub-docking system according to the total number of collaborations, the total collaboration duration, the minimum throughput, and the minimum request delay, and determine evaluation indexes of the first sub-docking system and the second sub-docking system; Presetting a first preset evaluation index and a second preset evaluation index; Presetting a first preset adjustment coefficient, a second preset adjustment coefficient, and a third preset adjustment coefficient; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the relationship between the evaluation index, the first preset evaluation index and the second preset evaluation index: When the evaluation index is less than the first preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the first preset adjustment coefficients; When the evaluation index is greater than or equal to the first preset evaluation index, and the evaluation index is less than the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the second preset adjustment coefficients; When the evaluation index is greater than or equal to the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the third preset adjustment coefficients.
[0013] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses a control method for the release of a microservice architecture version. The method comprises the following steps: selecting a first sub-docking system and a second sub-docking system from a plurality of sub-docking systems, and obtaining first system parameters and second system parameters; determining a correlation factor between the first sub-docking system and the second sub-docking system according to the first system parameters and the second system parameters; judging whether a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system according to the correlation factor; obtaining first feature data and second feature data of the first sub-docking system and the second sub-docking system; and performing a microservice architecture version collaborative release on the first sub-docking system and the second sub-docking system based on the first feature data and the second feature data. The present invention can perform version collaborative release on different sub-docking systems, effectively improve the efficiency of microservice architecture version release, and enhance the accuracy and smoothness of microservice architecture version release. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A flow chart of a control method for releasing a microservice architecture version in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0015] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0016] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0017] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0018] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0019] The following is a description of preferred embodiments of the present invention with reference to the accompanying drawings.
[0020] like Figure 1 As shown, an embodiment of the present invention discloses a control method for releasing a microservice architecture version, including: S110: randomly selecting a first sub-docking system and a second sub-docking system from a plurality of sub-docking systems, and acquiring first system parameters and second system parameters of the first sub-docking system and the second sub-docking system respectively; In this embodiment, all sub-docking systems can receive the microservice architecture version.
[0021] In this embodiment, the system parameters include user data, domain data, work data, etc. of the sub-docking system.
[0022] S120: Determine a correlation factor between the first sub-docking system and the second sub-docking system according to the first system parameter and the second system parameter; In some embodiments of the present application, when determining the association factor between the first sub-docking system and the second sub-docking system according to the first system parameter and the second system parameter, it includes: constructing a first feature set according to the first system parameters; constructing a second feature set according to the second system parameters; Determine an intersection feature between the first feature set and the second feature set, and construct a third feature set based on the intersection feature; respectively determining a first degree of association between the first feature set and the microservice architecture, a second degree of association between the second feature set and the microservice architecture, and a third degree of association between the third feature set and the microservice architecture; The correlation factor between the first sub-docking system and the second sub-docking system is calculated according to the first correlation degree, the second correlation degree and the third correlation degree; wherein: The correlation factor between the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, A is the correlation factor between the first sub-docking system and the second sub-docking system, Bmax is the maximum correlation, Bmin is the minimum correlation, B1 is the first correlation, B2 is the second correlation, B3 is the third correlation, a1 is the weight corresponding to the maximum correlation, and a2 is the weight corresponding to the minimum correlation.
[0023] In this embodiment, for example, if part of the user data in the first system parameter and part of the data in the second system parameter are the same, they are taken as intersection features.
[0024] In this embodiment, the correlation between the feature set and the microservice architecture can be output based on the pre-trained correlation model.
[0025] The beneficial effect of the above technical solution is: the present invention calculates the correlation factor of the first sub-docking system and the second sub-docking system according to the first correlation degree, the second correlation degree and the third correlation degree, thereby laying a foundation for whether to generate a version collaborative release label and ensuring processing accuracy.
[0026] S130: Determine whether to generate a version collaborative release tag for the first sub-interconnection system and the second sub-interconnection system according to the correlation factor; In some embodiments of the present application, when judging whether a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system according to the correlation factor, it includes: Acquire a corresponding correlation factor threshold, and determine whether to generate a version collaborative release tag for the first sub-interconnection system and the second sub-interconnection system according to a relationship between the correlation factor and the correlation factor threshold; When the correlation factor is less than the correlation factor threshold, it is determined that a version collaborative release tag cannot be generated for the first sub-docking system and the second sub-docking system; When the correlation factor is greater than or equal to the correlation factor threshold, it is determined that a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system.
[0027] The beneficial effect of the above technical solution is that the present invention determines whether a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system according to the relationship between the correlation factor and the correlation factor threshold, thereby ensuring convenience and intuitiveness of the judgment.
[0028] S140: When the version collaborative release tag is identified, first feature data and second feature data of the first sub-docking system and the second sub-docking system are acquired; In this embodiment, the characteristic data includes daily load data of the first sub-docking system and the second sub-docking system, including usage load and performance load required by the receiving version.
[0029] S150: Collaboratively publish microservice architecture versions of the first sub-docking system and the second sub-docking system based on the first feature data and the second feature data.
[0030] In some embodiments of the present application, when the first sub-docking system and the second sub-docking system are collaboratively released with respect to the microservice architecture version based on the first feature data and the second feature data, the method includes: Determining the usage demand load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Obtaining a first demand load line graph according to the usage demand load, and determining a minimum load point on the first demand load line graph; Determining the version receiving load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Calculating the load difference between the minimum load point and the version receiving load, and if the load difference is positive, generating a service link for version release according to the upstream and downstream call relationship between the first sub-interconnection system and the second sub-interconnection system, wherein the service link records the operation nodes involved in the version release process; Based on the service link, the first sub-docking system and the second sub-docking system are collaboratively released with respect to a microservice architecture version; If the load difference is negative, the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy until the load difference is positive.
[0031] In this embodiment, the usage demand load refers to the load caused by the user using the first sub-docking system and the second sub-docking system.
[0032] In this embodiment, the version receiving load refers to the load required for the first sub-docking system and the second sub-docking system to receive the new version.
[0033] The beneficial effect of the above technical solution is: the present invention can ensure the normal release of the microservice architecture version by judging whether the load difference is positive, avoiding causing a major impact. At the same time, when the load difference is negative, the first sub-docking system and the second sub-docking system can be adjusted to ensure the release progress.
[0034] In some embodiments of the present application, when the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy, the method includes: Inputting the adjustment strategy into a pre-trained version release model to obtain a parameter adjustment set; Constructing a second demand load line graph according to the adjustment parameters of each link in the parameter adjustment set; Inputting the second demand load line graph into a pre-trained point graph smoothing model to obtain a third demand load line graph; Fitting the third load demand line graph to obtain a load demand variation curve; Calculating adjustment indexes of the first sub-docking system and the second sub-docking system according to the demand load variation curve; The first docking subsystem and the second docking subsystem are adjusted according to the adjustment index; wherein, The adjustment index of the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, R is the adjustment index of the first sub-docking system and the second sub-docking system, n is the total number of adjustment items in the adjustment strategy; ti is the time period of the i-th adjustment item in the adjustment strategy, xi is the maximum load value on the demand load change curve, yi is the maximum load value of the i-th adjustment item in the adjustment strategy, ki is the weight of the i-th adjustment item in the adjustment strategy, and fi is the maximum slope corresponding to the i-th adjustment item in the adjustment strategy on the demand load change curve.
[0035] In this embodiment, the version release model and the point graph smoothing model are both pre-trained.
[0036] In this embodiment, the adjustment strategy includes several adjustment items, such as reducing the user's usage frequency or reducing the user's usage time, which can play a role in adjusting the demand load.
[0037] The beneficial effect of the above technical solution is that the present invention calculates the adjustment index of the first sub-docking system and the second sub-docking system according to the demand load change curve, thereby ensuring the calculation accuracy of the adjustment index, avoiding large errors, and laying the foundation for the adjustment of the demand load.
[0038] In some embodiments of the present application, after the microservice architecture versions of the first sub-docking system and the second sub-docking system are collaboratively released based on the first feature data and the second feature data, the method further includes: Obtaining the adaptability of the first sub-docking system and the second sub-docking system to the microservice architecture version, and obtaining the time interval for receiving the next version of the first sub-docking system and the second sub-docking system; Determining whether it is necessary to adjust the time interval for receiving the next version according to the relationship between the adaptation degree and the adaptation degree threshold; When the adaptation degree is less than the adaptation degree threshold, it is determined that the next version receiving time interval needs to be adjusted; When the adaptation degree is greater than or equal to the adaptation degree threshold, it is determined that there is no need to adjust the next version receiving time interval.
[0039] In this embodiment, the microservice architecture version is released irregularly, so the time interval for receiving the next version, that is, the release time of the next version, can be obtained.
[0040] The beneficial effect of the above technical solution is: the present invention determines whether it is necessary to adjust the time interval for receiving the next version based on the relationship between the degree of adaptation and the degree of adaptation threshold. By determining whether it is necessary to adjust the time interval for receiving the next version, it is possible to avoid the phenomenon that the adaptability is poor and the sub-docking system cannot fully adapt to the current version.
[0041] In some embodiments of the present application, when it is determined that the next version receiving time interval needs to be adjusted, it includes: Acquire historical data information and system performance data of the first sub-docking system and the second sub-docking system, wherein the historical data information includes a total number of collaborations and a total collaboration duration, and the performance data includes a minimum throughput and a minimum request delay; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the historical data information and the system performance data, and the next version receiving time interval is adjusted based on the adjustment coefficients.
[0042] In this embodiment, the total number of collaborations refers to the historical number of collaborations between the first sub-docking system and the second sub-docking system, and the total collaboration time refers to the corresponding total time.
[0043] In some embodiments of the present application, when setting the adjustment coefficients of the first sub-docking system and the second sub-docking system according to the historical data information and the system performance data, it includes: Evaluate the first sub-docking system and the second sub-docking system according to the total number of collaborations, the total collaboration duration, the minimum throughput, and the minimum request delay, and determine evaluation indexes of the first sub-docking system and the second sub-docking system; Presetting a first preset evaluation index and a second preset evaluation index; Presetting a first preset adjustment coefficient, a second preset adjustment coefficient, and a third preset adjustment coefficient; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the relationship between the evaluation index, the first preset evaluation index and the second preset evaluation index: When the evaluation index is less than the first preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the first preset adjustment coefficients; When the evaluation index is greater than or equal to the first preset evaluation index, and the evaluation index is less than the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the second preset adjustment coefficients; When the evaluation index is greater than or equal to the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the third preset adjustment coefficients.
[0044] In this embodiment, the first preset evaluation index is smaller than the second preset evaluation index.
[0045] In this embodiment, the first preset adjustment coefficient is smaller than the second preset adjustment coefficient which is smaller than the third preset adjustment coefficient, and 0.8<first preset adjustment coefficient<second preset adjustment coefficient<third preset adjustment coefficient<1.
[0046] In this embodiment, after the adjustment coefficient is set, the product of the adjustment coefficient and the next version receiving time interval is used as the new next version receiving time interval.
[0047] The beneficial effect of the above technical solution is: the present invention sets the adjustment coefficient of the first sub-docking system and the second sub-docking system according to the relationship between the evaluation index, the first preset evaluation index and the second preset evaluation index. By setting the adjustment coefficient of the first sub-docking system and the second sub-docking system, the adjustment accuracy of the next version receiving time interval can be guaranteed, so that the sub-docking system has better adaptability to the microservice architecture.
[0048] In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
[0049] Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed by the present invention may be used in combination with each other in any manner, and the fact that these combinations are not fully described in this specification is only for the sake of omitting space and saving resources. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
[0050] Those skilled in the art can understand that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for the release of a microservice architecture version, characterized in that: include: Randomly selecting a first sub-docking system and a second sub-docking system from a plurality of sub-docking systems, and acquiring first system parameters and second system parameters of the first sub-docking system and the second sub-docking system respectively; determining a correlation factor between the first docking sub-system and the second docking sub-system according to the first system parameter and the second system parameter; Determining whether to generate a version collaborative release tag for the first sub-docking system and the second sub-docking system according to the correlation factor; When the version collaborative release tag is identified, first feature data and second feature data of the first sub-docking system and the second sub-docking system are acquired; The first sub-docking system and the second sub-docking system are collaboratively released with respect to microservice architecture versions based on the first feature data and the second feature data.
2. The control method for microservice architecture version release according to claim 1 is characterized in that: When determining the correlation factor between the first sub-docking system and the second sub-docking system according to the first system parameter and the second system parameter, it includes: constructing a first feature set according to the first system parameters; constructing a second feature set according to the second system parameters; Determine an intersection feature between the first feature set and the second feature set, and construct a third feature set based on the intersection feature; respectively determining a first degree of association between the first feature set and the microservice architecture, a second degree of association between the second feature set and the microservice architecture, and a third degree of association between the third feature set and the microservice architecture; The correlation factor between the first sub-docking system and the second sub-docking system is calculated according to the first correlation degree, the second correlation degree and the third correlation degree; wherein: The correlation factor between the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, A is the correlation factor between the first sub-docking system and the second sub-docking system, Bmax is the maximum correlation, Bmin is the minimum correlation, B1 is the first correlation, B2 is the second correlation, B3 is the third correlation, a1 is the weight corresponding to the maximum correlation, and a2 is the weight corresponding to the minimum correlation.
3. The control method for microservice architecture version release according to claim 1 is characterized in that: When judging whether to generate a version collaborative release tag for the first sub-docking system and the second sub-docking system according to the correlation factor, the method includes: Acquire a corresponding correlation factor threshold, and determine whether to generate a version collaborative release tag for the first sub-interconnection system and the second sub-interconnection system according to a relationship between the correlation factor and the correlation factor threshold; When the correlation factor is less than the correlation factor threshold, it is determined that a version collaborative release tag cannot be generated for the first sub-docking system and the second sub-docking system; When the correlation factor is greater than or equal to the correlation factor threshold, it is determined that a version collaborative release tag can be generated for the first sub-docking system and the second sub-docking system.
4. The control method for microservice architecture version release according to claim 1 is characterized in that: When the microservice architecture version of the first sub-docking system and the second sub-docking system is collaboratively released based on the first feature data and the second feature data, the method includes: Determining the usage demand load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Obtaining a first demand load line graph according to the usage demand load, and determining a minimum load point on the first demand load line graph; Determine the version receiving load of the first sub-docking system and the second sub-docking system within a preset time period according to the first characteristic data and the second characteristic data; Calculating the load difference between the minimum load point and the version receiving load, and if the load difference is positive, generating a service link for version release according to the upstream and downstream call relationship between the first sub-interconnection system and the second sub-interconnection system, wherein the service link records the operation nodes involved in the version release process; Collaboratively publishing microservice architecture versions of the first sub-docking system and the second sub-docking system based on the service link; If the load difference is negative, the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy until the load difference is positive.
5. The control method for microservice architecture version release according to claim 4 is characterized in that: When the first docking sub-system and the second docking sub-system are adjusted based on a preset adjustment strategy, the method includes: Inputting the adjustment strategy into a pre-trained version release model to obtain a parameter adjustment set; Constructing a second demand load line graph according to the adjustment parameters of each link in the parameter adjustment set; Inputting the second demand load line graph into a pre-trained point graph smoothing model to obtain a third demand load line graph; Fitting the third load demand line graph to obtain a load demand variation curve; Calculating adjustment indexes of the first sub-docking system and the second sub-docking system according to the demand load variation curve; The first docking subsystem and the second docking subsystem are adjusted according to the adjustment index; wherein, The adjustment index of the first docking subsystem and the second docking subsystem is calculated according to the following formula: ; Among them, R is the adjustment index of the first sub-docking system and the second sub-docking system, n is the total number of adjustment items in the adjustment strategy; ti is the time period of the i-th adjustment item in the adjustment strategy, xi is the maximum load value on the demand load change curve, yi is the maximum load value of the i-th adjustment item in the adjustment strategy, ki is the weight of the i-th adjustment item in the adjustment strategy, and fi is the maximum slope corresponding to the i-th adjustment item in the adjustment strategy on the demand load change curve.
6. The control method for microservice architecture version release according to claim 1 is characterized in that: After the microservice architecture versions of the first sub-docking system and the second sub-docking system are collaboratively released based on the first feature data and the second feature data, the method further includes: Obtaining the adaptability of the first sub-docking system and the second sub-docking system to the microservice architecture version, and obtaining the time interval for receiving the next version of the first sub-docking system and the second sub-docking system; Determining whether it is necessary to adjust the time interval for receiving the next version according to the relationship between the adaptation degree and the adaptation degree threshold; When the adaptation degree is less than the adaptation degree threshold, it is determined that the next version receiving time interval needs to be adjusted; When the adaptation degree is greater than or equal to the adaptation degree threshold, it is determined that there is no need to adjust the next version receiving time interval.
7. The control method for microservice architecture version release according to claim 6 is characterized in that: When it is determined that the time interval for receiving the next version needs to be adjusted, the method includes: Acquire historical data information and system performance data of the first sub-docking system and the second sub-docking system, wherein the historical data information includes a total number of collaborations and a total collaboration duration, and the performance data includes a minimum throughput and a minimum request delay; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the historical data information and the system performance data, and the next version receiving time interval is adjusted based on the adjustment coefficients.
8. The control method for microservice architecture version release according to claim 7, characterized in that: When the adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the historical data information and the system performance data, the method includes: Evaluate the first sub-docking system and the second sub-docking system according to the total number of collaborations, the total collaboration duration, the minimum throughput, and the minimum request delay, and determine evaluation indexes of the first sub-docking system and the second sub-docking system; Presetting a first preset evaluation index and a second preset evaluation index; Presetting a first preset adjustment coefficient, a second preset adjustment coefficient, and a third preset adjustment coefficient; The adjustment coefficients of the first sub-docking system and the second sub-docking system are set according to the relationship between the evaluation index, the first preset evaluation index and the second preset evaluation index: When the evaluation index is less than the first preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the first preset adjustment coefficients; When the evaluation index is greater than or equal to the first preset evaluation index, and the evaluation index is less than the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the second preset adjustment coefficients; When the evaluation index is greater than or equal to the second preset evaluation index, the adjustment coefficients of the first sub-docking system and the second sub-docking system are set to the third preset adjustment coefficients.
