Iterative method, device, computer equipment and storage medium for devops architecture change

Through the knowledge graph model and the update of the recursive model, the iterative content of the Devops architecture is automatically determined and notified, which solves the problems of large workload and notification omissions caused by the rapid iteration frequency, and improves efficiency and accuracy.

CN111414157BActive Publication Date: 2024-11-15CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010101145.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-19
Publication Date
2024-11-15
Estimated Expiration
2040-02-19

AI Technical Summary

Technical Problem

The iteration frequency of the Devops architecture is too fast, causing IT operation and maintenance personnel to manually summarize the changes in function and notify business personnel, resulting in wasted time and manpower, and the probability of notification omission is high.

Method used

Use the knowledge graph model to automatically determine the functional changes of iterative data, and locate the affected business personnel and computers through the data association layer, send the iterative function changes, and use the updated recursive model to replace the iterative data with the original online data to reduce manual operations. and notification omitted.

Benefits of technology

It improves the work efficiency of IT operation and maintenance personnel, reduces the chance of notification omission, realizes automated iterative content determination and notification, and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111414157B_ABST
    Figure CN111414157B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an iterative method, device, computer equipment and storage medium for devops architecture change, which relates to the field of big data processing technology. The method includes: receiving iterative data, then determining the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locating the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, so as to send the iterative function change content to the affected business personnel, realize automatic determination of the update content and notify the business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data processing technology, and in particular to an iterative method, apparatus, computer equipment and storage medium for devops architecture changes. Background Art

[0002] Devops (a combination of Development and Operations) is a collective term for a set of processes, methods and systems that are used to promote communication, collaboration and integration between development (application / software engineering), technical operations and quality assurance departments. It makes building, testing and releasing software faster, more frequent and more reliable by automating the processes of "software delivery" and "architecture change". Compared with the large-scale and infrequent deployment of traditional development methods, which is usually done in quarters or years, Devops' iterations in days or weeks greatly increase the frequency of deployment tasks. Since deployment is carried out frequently, each deployment will not have a huge impact on the production system. The application will gradually grow at a smooth rate. For sudden bug problems, the inspection scope can be narrowed down to only check the content of the last iteration, which improves the emergency response efficiency. However, after Devops is put into use, it has the following disadvantages:

[0003] Because the iteration frequency of the deployed system is too fast, the functions of the deployed system are migrated or changed in each iteration, and IT operation and maintenance personnel are required to manually summarize the changes and notify the business personnel of the relevant functional changes, which wastes too much time and manpower. Summary of the invention

[0004] In order to solve the above-mentioned technical problems, the embodiments of the present application provide an iterative method, apparatus, computer equipment and storage medium for devops architecture changes, which automatically determine the update content and notify business personnel to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.

[0005] In order to solve the above technical problems, an iterative method for changing a devops architecture described in an embodiment of the present application adopts the following technical solution:

[0006] An iterative approach to devops architecture changes, including:

[0007] Receive iteration data;

[0008] Determine the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locate the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, wherein the iterative function change content is in text form;

[0009] The iterative function change content is sent to the affected business personnel; the iterative data is sent to the computer to be iterated, and the iterative data is replaced with the original online data by updating the recursive model.

[0010] Furthermore, the step of determining, in the data definition layer of the preset knowledge graph model, the iterative function change content of the iterative data relative to the original online data includes:

[0011] Obtain the first code text of the iteration data and the second code text of the original online data;

[0012] Determining an addition function of the first code text according to a code difference between the first code text and the second code text;

[0013] According to the increment function, a corresponding regression use case is retrieved from the use case function relationship library of the development cluster, wherein the regression use case is a code functionality detection framework with a compliance condition, wherein the compliance condition includes whether the code input into the framework achieves a corresponding functional effect;

[0014] Performing functional code segmentation on the first code text to obtain a plurality of first functional code segments, and inputting the plurality of first functional code segments into regression use cases respectively, so as to screen out the first functional code that meets the standard condition from the plurality of first functional code segments, and the first functional code that meets the standard condition is regarded as an iterative functional change code;

[0015] A test report is generated according to the iterative function change code, wherein the test report records the iterative function change content in text form corresponding to the iterative function change code.

[0016] Furthermore, the training process of the data definition layer of the knowledge graph model includes:

[0017] Import the code texts and several incremental function relationship expressions corresponding to multiple previous and subsequent iteration versions into the knowledge graph model;

[0018] Establish a coordinate axis, with the code text corresponding to the previous iteration version as the Y axis, and the code text corresponding to the next iteration version as the X axis;

[0019] Overlap the codes of previous and next iterations to determine the covered and uncovered parts.

[0020] A training addition function is randomly called from several addition function relationship equations to the coordinate axis, wherein the training addition function takes the covered part and does not take the uncovered part, thereby forming a discontinuous coordinate axis function line; the coordinate axis function line is used to call regression use cases from a use case function relationship library.

[0021] Furthermore, the step of locating the affected business personnel and the computers to be iterated according to the iterative function change content in the data association layer of the knowledge graph model includes:

[0022] Identify the functional category corresponding to the iterative functional change content;

[0023] The affected business personnel and the computers to be iterated corresponding to the functional categories are respectively determined in the business personnel knowledge graph and the computer knowledge graph preset in the knowledge graph model.

[0024] Furthermore, the data association layer of the knowledge graph model includes a business personnel knowledge graph and a computer knowledge graph, and the business personnel knowledge graph is produced in the following manner:

[0025] Obtain the email text in the business personnel's email mailbox as email training text and import it into the knowledge graph model;

[0026] Use the NLP BERT model to perform semantic recognition on email text to crawl the names and functions of business personnel in the email text;

[0027] The business personnel names are used as the personnel nodes of the business personnel knowledge graph, and the functions of the business personnel are correspondingly labeled to the personnel nodes to draw the business personnel knowledge graph;

[0028] The computer knowledge graph is produced in the following way:

[0029] Obtaining registration information of a number of computers logging in for the first time, and identifying the functional scope of the computer and the local computer name from the registration information;

[0030] The local computer name is used as a computer node of the computer graph, and the computer node is labeled correspondingly with the functional scope to create the computer knowledge graph.

[0031] Furthermore, the step of replacing the iterative data with the original online data by updating the recursive model includes:

[0032] Importing the iterative data and the original online data into the data persistence layer of the updated recursive model;

[0033] Performing interval calculation on the code texts of the iterative data and the original online data by using an interval recursive algorithm preset in the update recursive model to obtain repeated code intervals and difference code intervals;

[0034] Deleting the codes except the repeated code interval of the original online data in the computer to be iterated, and running the repeated code interval for trial operation to obtain the bug location;

[0035] Identify the bug code portion and the iterative function code portion filled in the difference code interval;

[0036] The iterative function code portion is projected into the code portion of the original online data, and the bug filling code portion is projected into the bug position.

[0037] Furthermore, the interval recursive algorithm for updating the recursive model is:

[0038]

[0039] Among them, γ k In (s', s), s' is the repeated code interval, and s is the difference code interval. is the code expression of the original online data, A code expression for iterating data.

[0040] This application proposes an iterative device for changing a devops architecture, including:

[0041] A receiving unit, used for receiving iterative data;

[0042] An identification unit, used to determine, in a data definition layer of a preset knowledge graph model, the iterative function change content of the iterative data relative to the original online data, and locate the affected business personnel and the computer to be iterated according to the iterative function change content in a data association layer of the knowledge graph model, wherein the iterative function change content is in text form;

[0043] The iteration unit is used to send the iterative function change content to the affected business personnel; send the iterative data to the computer to be iterated, and replace the iterative data with the original online data by updating the recursive model.

[0044] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0045] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the iterative method for changing the devops architecture as described in any one of the above technical solutions are implemented.

[0046] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0047] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the iterative method for changing the devops architecture as described in any one of the technical solutions above.

[0048] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0049] By receiving iterative data, the iterative function changes of the iterative data relative to the original online data are determined in the data definition layer of the preset knowledge graph model, and the affected business personnel and the computers to be iterated are located according to the iterative function changes in the data association layer of the knowledge graph model, so that the iterative function changes are sent to the affected business personnel, and the update content is automatically determined and notified to the business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;

[0052] Figure 2 Flow chart of the iterative method for changing the devops architecture described in the embodiments of the present application;

[0053] Figure 3 for Figure 2 A flow chart of an embodiment of step S2;

[0054] Figure 4 A principle coordinate diagram of the training data definition layer in the knowledge graph model of the iterative method for devops architecture change described in the embodiment of the present application;

[0055] Figure 5 for Figure 2 Another embodiment flow chart of step S2;

[0056] Figure 6 for Figure 2 A flow chart of an embodiment of step S3;

[0057] Figure 7 A schematic diagram of the classification of each data layer of the update recursive model of the intermediate server of the iterative method for the devops architecture change described in the embodiment of the present application;

[0058] Figure 8 A schematic diagram of the structure of an embodiment of an iterative device for changing the devops architecture described in an embodiment of the present application;

[0059] Fig. 9 It is a structural diagram of an embodiment of a computer device in the embodiments of the present application. DETAILED DESCRIPTION

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0061] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects.

[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0063] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the relevant drawings in the embodiments of the present application.

[0064] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0065] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0066] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc.

[0067] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0068] It should be noted that the iterative method for changing the devops architecture provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the iterative device for changing the devops architecture is generally set in the server / terminal device.

[0069] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0070] Continue to refer Figure 2 , shows a flowchart of an embodiment of the iterative method for changing the devops architecture in the embodiment of the present application. The iterative method for changing the devops architecture includes the following steps:

[0071] S1, receiving iterative data;

[0072] The execution subject of the iterative method for changing the devops architecture proposed in this application is an intermediate server between development, operation and maintenance, and business. The above-mentioned development is the abbreviation of the computer cluster where developers upload data; the above-mentioned operation and maintenance is the abbreviation of the computer cluster where IT operation and maintenance personnel maintain the data uploaded by developers; the above-mentioned business is the business personnel, who perform business work through the computers with online applications that have application functions;

[0073] The above-mentioned iteration data is data uploaded by the developer for iterating the online application version, and the intermediate server receives the iteration data.

[0074] S2, determining the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locating the affected business personnel and the computers to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, and the iterative function change content is in text form;

[0075] The above-mentioned knowledge graph model is a model that is pre-trained with a neural network and stored in an intermediate server, which includes a data definition layer and a data association layer, wherein the data definition layer is a code that defines the previous and subsequent iterative versions, and then determines the iterative function change content, and the data association layer is used to determine the associated affected business personnel and / or computers based on the iterative function change content; the above-mentioned affected business, for example: the function update of the iterative version only updates the algorithm components of some financial loan interest of the online application (i.e., the components used to calculate loan interest in the online application), so the business personnel affected by the business should be the business personnel marked with "finance", "loan", etc. in the knowledge graph model. Similarly, computers marked with "finance", "loan", etc. in the knowledge graph model are also affected by the business. Because the computer is affected by the business, it needs to iterate the online application and is regarded as a computer to be iterated; the above-mentioned iterative function change content is the function change content determined by the knowledge graph model to replace the original online version based on the iterative data. The intermediate server will send the iterative function change content in text form to the business personnel to inform the business personnel of the corresponding online application function changes.

[0076] Reference Figure 3 ,for Figure 2 The flowchart of step S2 in the above-mentioned preset knowledge graph model comprises the following steps:

[0077] S21, respectively obtaining a first code text of the iteration data and a second code text of the original online data;

[0078] S22, determining an addition function of the first code text according to a code difference between the first code text and the second code text;

[0079] S23, according to the increment function, retrieve the corresponding regression use case from the use case function relationship library of the development cluster, where the regression use case is a code functionality detection framework with a compliance condition, where the compliance condition includes whether the code input into the framework achieves a corresponding functional effect;

[0080] S24, performing functional code segmentation on the first code text to obtain a plurality of first functional code segments, and inputting the plurality of first functional code segments into the regression use case respectively, so as to screen out the first functional code that meets the standard condition from the plurality of first functional code segments, and the first functional code that meets the standard condition is regarded as an iterative functional change code;

[0081] S25, forming a test report according to the iterative function change code, wherein the test report records the iterative function change content in text form corresponding to the iterative function change code.

[0082] The intermediate server obtains the first code text and the second code text of the iterative data and the original online data, compares the first code text and the second code text, obtains the code difference between the first code text and the second code, and thus determines the increment function of the first code text of the iterative data. The increment function is, for example: Δf(x)=f(x0+Δx)-f(x0). It can be understood that f(x0) is the second code text, and the first code text is the code text obtained by adding the corresponding increment Δx to f(x0). The increment Δx can be an add (ADD) code or a delete (delete) code. The increment function Δf(x)=f(x0+Δx)-f(x0) is used to retrieve the associated regression use case from the use case function relationship library of the development cluster. Subsequently, the regression use case is executed to test the first code text of the iterative data. When the intermediate server tests the iterative data in this way, because querying the regression use case from the development cluster through the increment function is an automated process, no manual operation is required, so as to save manpower.

[0083] The testing process, for example: splitting the first code text according to the function, wherein the function is determined by the development cluster returned by the regression use case according to the increment function for each online application function possessed by the first code text, and then testing each split code, thereby testing the functional changes of the first code text of the iterative data relative to the second code text, and finally forming a text-based test report and feeding it back to the intermediate server.

[0084] Furthermore, the training process of the data definition layer of the above knowledge graph model includes:

[0085] Import the code texts and several incremental function relationship expressions corresponding to multiple previous and subsequent iteration versions into the knowledge graph model;

[0086] Establish a coordinate axis, with the code text corresponding to the previous iteration version as the Y axis, and the code text corresponding to the next iteration version as the X axis;

[0087] Overlap the codes of previous and next iterations to determine the covered and uncovered parts.

[0088] Randomly call a training addition function from several addition function relationship equations to the coordinate axis. The training addition function takes the covered part and does not take the uncovered part, forming a discontinuous coordinate axis function line to call the regression case from the case function relationship library;

[0089] Reference Figure 4 , which is the principle coordinate diagram of the training data definition layer in the knowledge graph model of the business notification and iteration method of the devops architecture change in this application; the intermediate server covers and overlaps the codes before and after the iterative version, and determines the covered part and the uncovered part, and the uncovered part includes the code part R that the new iterative version has but the original version does not have, and the code part T that the new iterative version does not have but the original version has; then, the intermediate server uses the code text corresponding to the previous iterative version in the previous and subsequent iterative versions as the Y-axis, and the code text corresponding to the subsequent iterative version as the X-axis, and then randomly quotes a training increment function h from several increment functions and adds it to the above coordinate axis. The training increment function h is in the form of a function line in the coordinate axis, which takes the covered area of ​​the previous and subsequent iterative versions, and does not take the uncovered area, thus forming an intermittent function line. The intermediate server calls the corresponding regression use case from the development cluster for the intermittent function line to achieve the retrieval of the regression use case;

[0090] When the training increment function is added to the coordinate axis, a coherent coordinate axis function line will be formed. Subsequently, the coordinate axis function line takes the part covered by the X-axis and Y-axis codes, and does not take the uncovered part, so as to obtain a discontinuous coordinate axis function line. In the final practical application, the corresponding regression use case is found from the development cluster through the training increment function corresponding to the discontinuous coordinate axis function line, so as to realize the retrieval of the regression use case. By training the data definition layer of the knowledge graph in the above manner, a coordinate axis function line can be accurately determined from the code differences between the previous and subsequent iterative versions, and then the accurate regression use case can be accurately retrieved from the development cluster.

[0091] Reference Figure 5 ,for Figure 2 The flowchart of step S2 in the data association layer of the knowledge graph model includes the steps of locating the affected business personnel and the computers to be iterated according to the iterative function change content, including:

[0092] S201, identifying the function category corresponding to the iterative function change content;

[0093] S202, determining the affected business personnel and the computers to be iterated corresponding to the functional categories in the business personnel knowledge graph and the computer knowledge graph preset in the knowledge graph model respectively.

[0094] Any iterative functional change content has a corresponding functional category. For example, if the exchange rate calculator function in the online application is changed, the functional category of the corresponding iterative functional change content is finance and exchange rate; if the user registration function in the online application is changed, the functional category of the corresponding iterative functional change content is registration and login management; the knowledge graph model contains a business personnel / computer graph. It should be understood that the business personnel / computer graph is two graphs, namely business personnel and computers. In the business personnel / computer graph, each business personnel / computer is pre-labeled with a functional scope label to facilitate the knowledge graph model to determine the corresponding business personnel / computer according to the functional category.

[0095] Furthermore, in the data association layer of the knowledge graph model, there are business personnel knowledge graph and computer knowledge graph, which are produced by the following methods:

[0096] Create a knowledge graph for business personnel: obtain the email text in the business personnel's mailbox as training text and import it into the knowledge graph model. Then, use the NLP BERT model to perform semantic recognition on the email text to crawl the business personnel's names and functions in the email text. Finally, use the business personnel's names as the personnel nodes of the business personnel knowledge graph, and annotate the personnel nodes with the business personnel's functions to draw the business personnel knowledge graph. The NLP BERT model is Google's open source text semantic recognition model.

[0097] The intermediate server obtains the email texts of business personnel in the previous N years and imports them into the knowledge graph model, where N is a positive integer greater than 1. The NLP BERT model is then used to perform text semantic recognition. This is because email texts are the most commonly used work texts by business personnel and best reflect their functions. By recognizing the email texts, the names and functions of each business personnel can be accurately analyzed, ultimately forming an accurate knowledge graph for business personnel.

[0098] The method for making a computer knowledge graph is as follows: the registration information of several computers logged in for the first time is obtained, the functional scope and local computer name of the computer are identified from the registration information, the local computer name is used as the computer node of the computer graph, and the functional scope is correspondingly labeled for the computer node to create a computer knowledge graph.

[0099] Through the above-mentioned method for producing a computer knowledge graph, when a staff member works on a computer for the first time, the computer map production is completed, and the effect of determining the function and name of the computer is achieved based on the registration information, so that the computer knowledge graph is quickly produced.

[0100] A business personnel knowledge graph and a computer knowledge graph are created in the data association layer of the knowledge graph model. After the intermediate server determines the iterative function change content based on the data definition layer, the data association layer determines the function category corresponding to the iterative function change content, and performs corresponding queries from the corresponding business personnel / computer graphs to determine the affected business personnel and computers to be iterated, and finally sends an online application function change notification to each affected business personnel and affected computer.

[0101] S3, sending the iterative function change content to the affected business personnel; sending the iterative data to the computer to be iterated, and replacing the iterative data with the original online data by updating the recursive model.

[0102] The intermediate server sends the iterative function change content in text form to the terminals of the affected business personnel, such as mobile phones, tablets, computers, smart watches, etc., to achieve the effect of iterative function change notification; the intermediate server replaces the iterative data with the original online data by updating the recursive model. The above-mentioned updated recursive model is a pre-trained neural network model, including a data persistence layer, a function analysis layer, and a SVNDIFF layer. For details, see Figure 7 Among them, the data persistence layer is used to temporarily store iterative data and original online data, the function analysis layer uses algorithms to perform corresponding analysis, and the SVNDIFF layer is used to compare the code differences between iterative data and original online data.

[0103] Reference Figure 6 ,for Figure 2 The flowchart of step S3 in the above embodiment, wherein the step of replacing the iteration data with the original online data by updating the recursive model, comprises:

[0104] S31, importing the iteration data and the original online data into the data persistence layer of the updated recursive model;

[0105] S32, performing interval calculation on the code texts of the iteration data and the original online data by using an interval recursive algorithm preset in the update recursive model to obtain repeated code intervals and difference code intervals;

[0106] S33, deleting the codes except the repeated code interval of the original online data in the computer to be iterated, and trial-running the repeated code interval to obtain the bug location;

[0107] S34, identifying the bug code portion and the iterative function code portion filled in the difference code interval;

[0108] S35, projecting the iterative function code portion into the code portion of the original online data, and projecting the bug filling code portion into the bug position.

[0109] The above-mentioned repeated code interval is an interval where the codes of the original online data and the iterative data overlap; the above-mentioned difference code interval is a part where the codes of the original online data and the iterative data do not overlap, which needs to be retained in the intermediate server.

[0110] In the above step S34, developers often use corresponding code frameworks to carry the above iterative function code parts, such as HTML frameworks, CSS frameworks, JS frameworks, etc. The iterative function code parts used to execute new functions will be presented in the iterative data in the form of frames; thereby identifying the iterative function code parts presented in the form of frames in the difference code interval, and the scattered bug filling code parts.

[0111] The above steps S31 to S35 are executed through the intermediate server, and the repeated code intervals of the first code text and the second code text corresponding to the iterative data and the original online data are stored in the computer, and the difference code intervals are stored in the intermediate server, thereby reducing the storage occupied by the computer device for the first code text and the second code text, and only the overlapping parts need to be stored. An important breakthrough is that, in the existing version iteration, the original online data needs to be stored in the computer database and overwritten by the iterative data, resulting in a large amount of storage space consumed by the computer for storing the original online data; and the present application uses the above steps S31 to S35 to store the repeated code intervals of the iterative versions before and after the computer, which effectively reduces the occupancy; and solves the technical problem that the storage occupancy of the previous version database is insufficient to support the Devops iteration because the Devops iteration frequency is too fast.

[0112] Reference Figure 7 , which is a classification diagram of each data layer of the update recursive model of the intermediate server in the iterative method of devops architecture change; the data persistence layer is a data layer for storing version information data and code change data, wherein the version information data is the stored original online data and iterative data, and the code change data is the code change between the original online data and the iterative data for testing, and the interval recursive algorithm is used for testing in the present invention.

[0113] The interval recursive algorithm for the above update recursive model is:

[0114]

[0115] Among them, γ k In (s', s), s' is the repeated code interval, and s is the difference code interval. is the code expression of the original online data, A code expression for iterating data.

[0116] Using exp operation Among them, uk is the code vector of the original online data, is the code vector of the iterative data, L a is the code vector that the original online data has but the iterative data does not have, and L is the code vector that the original online data does not have but the iterative data has, so we get γ k (s', s).

[0117] Because the difference code interval is retained and stored in the data persistence layer of the intermediate server, it will not burden the storage occupancy of the iterative computer; when the intermediate server determines the repeated code interval and the difference interval code, it first deletes the code outside the code interval consistent with the repeated code interval in the original online data of the iterative computer, and then tries to run the online application of the iterative computer. Because the necessary code is missing at this time, bugs will inevitably occur, such as a certain functional component cannot run, a certain interface cannot be displayed, etc. At this time, the model obtains the location where the bug occurs, identifies the bug code part and the iterative function code part in the difference code interval, and projects the iterative function code part to the code of the original online data. part, and projects the filled bug code part at both ends to the bug position, thereby realizing the iterative process. It can be understood that the bug position can be considered as a path, and the computer to be iterated can search the difference interval code in the data persistence layer of the intermediate server according to the path. Therefore, the difference interval code will not occupy the memory of the computer to be iterated, thereby solving the technical problem that the storage occupancy of the previous version database of the computer to be iterated is insufficient to support the Devops iteration because the Devops iteration frequency is too fast. At the same time, the intermediate server only needs to project the filled bug code part and the iterative function code part after identifying the difference code interval to the computer, reducing the amount of data transmission between the intermediate server and the computer.

[0118] In summary, the intermediate server runs the iterative method of devops architecture changes, which receives iterative data, and then determines the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locates the affected business personnel and the computers to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, thereby sending the iterative function change content to the affected business personnel, realizing automatic determination of the update content and notifying the business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.

[0119] Further references Figure 8 , Figure 8 A schematic diagram of the structure of an embodiment of an iterative device for changing the devops architecture in the embodiment of the present application is shown. Figure 2The present application provides an embodiment of an iterative device for changing the devops architecture. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0120] like Figure 8 As shown, the iterative device for changing the devops architecture of this embodiment includes:

[0121] Receiving unit 1, used for receiving iterative data;

[0122] The above-mentioned iteration data is data uploaded by the developer for iterating the online application version, and the receiving unit 1 of the intermediate server receives the iteration data.

[0123] Identification unit 2 is used to determine the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locate the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, and the iterative function change content is in text form;

[0124] The above-mentioned knowledge graph model is a model that is pre-trained with a neural network and stored in an intermediate server, which includes a data definition layer and a data association layer, wherein the data definition layer is a code that defines the previous and subsequent iterative versions, and then determines the iterative function change content, and the data association layer is used to determine the associated affected business personnel and / or computers based on the iterative function change content; the above-mentioned affected business, for example: the function update of the iterative version only updates the algorithm components of some financial loan interest of the online application (i.e., the components used to calculate loan interest in the online application), so the business personnel affected by the business should be the business personnel marked with "finance", "loan", etc. in the knowledge graph model. Similarly, computers marked with "finance", "loan", etc. in the knowledge graph model are also affected by the business. Because the computer is affected by the business, it needs to iterate the online application and is regarded as a computer to be iterated; the above-mentioned iterative function change content is the function change content determined by the knowledge graph model to replace the original online version based on the iterative data. The intermediate server will send the iterative function change content in text form to the business personnel to inform the business personnel of the corresponding online application function changes.

[0125] The identification unit 2 comprises:

[0126] A code acquisition module, used to respectively acquire a first code text and a second code text of the iteration data and the original online data;

[0127] An addition function determination module, used to determine an addition function of the first code text according to a code difference between the first code text and the second code text;

[0128] The regression use case calling module is used to call the corresponding regression use case from the use case function relationship library of the development cluster according to the increment function. The regression use case is a code functional detection framework with a compliance condition, where the compliance condition includes whether the code input into the framework achieves the corresponding functional effect;

[0129] A code segmentation module is used to perform functional code segmentation on the first code text to obtain several segments of first functional code, and respectively input the several segments of first functional code into the regression use case to screen out the first functional code that meets the standard conditions from the several segments of first functional code. The first functional code that meets the standard conditions is regarded as an iterative functional change code.

[0130] The test module is used to generate a test report based on the iterative function change code, and the test report records the iterative function change content in text form corresponding to the iterative function change code.

[0131] The intermediate server obtains the first code text and the second code text of the iterative data and the original online data, compares the first code text and the second code text, obtains the code difference between the first code text and the second code, and thereby determines the increment function of the first code text of the iterative data. The increment function is, for example: Δf(x)=f(x0+Δx)-f(x0). It can be understood that f(x0) is the second code text, and the first code text is the code text obtained by adding the corresponding increment Δx to f(x0). The increment Δx can be an add (ADD) code or a delete (delete) code. The increment function Δf(x)=f(x0+Δx)-f(x0) corresponds to the use case function relationship library of the development cluster to retrieve the associated regression use case, and then executes the regression use case to test the first code text of the iterative data. When the intermediate server tests the iterative data in this way, because querying the regression use case from the development cluster through the increment function is an automated process, no manual operation is required, thereby saving manpower.

[0132] The testing process, for example: splitting the first code text according to the function, wherein the function is determined by the development cluster returned by the regression use case according to the increment function for each online application function possessed by the first code text, and then testing each split code, thereby testing the functional changes of the first code text of the iterative data relative to the second code text, and finally forming a text-based test report and feeding it back to the intermediate server.

[0133] The identification unit 2 further includes:

[0134] A function category identification module is used to identify the function category corresponding to the iterative function change content;

[0135] The node positioning module is used to respectively determine the affected business personnel and the computers to be iterated corresponding to the functional categories in the business personnel knowledge graph and the computer knowledge graph preset in the knowledge graph model.

[0136] Any iterative functional change content has a corresponding functional category. For example, if the exchange rate calculator function in the online application is changed, the functional category of the corresponding iterative functional change content is finance and exchange rate; if the user registration function in the online application is changed, the functional category of the corresponding iterative functional change content is registration and login management; the knowledge graph model contains a business personnel / computer graph. It should be understood that the business personnel / computer graph is two graphs, namely business personnel and computers. In the business personnel / computer graph, each business personnel / computer is pre-labeled with a functional scope label to facilitate the knowledge graph model to determine the corresponding business personnel / computer according to the functional category.

[0137] Iteration unit 3 is used to send the iterative function change content to the affected business personnel; send the iterative data to the computer to be iterated, and replace the iterative data with the original online data by updating the recursive model.

[0138] The iteration unit 3 of the intermediate server sends the iterative function change content in text form to the terminals of the affected business personnel, such as mobile phones, tablets, computers, smart watches, etc., to achieve the effect of iterative function change notification; the intermediate server replaces the iterative data with the original online data by updating the recursive model. The above-mentioned updated recursive model is a pre-trained neural network model, including a data persistence layer, a function analysis layer and an SVNDIFF layer. For details, see Figure 7 Among them, the data persistence layer is used to temporarily store iterative data and original online data, the function analysis layer uses algorithms to perform corresponding analysis, and the SVNDIFF layer is used to compare the code differences between iterative data and original online data.

[0139] Iteration unit 3, including:

[0140] The data import module is used to import the iteration data and the original online data into the data persistence layer of the updated recursive model;

[0141] A calculation module, used to perform interval calculation on the code text of the iterative data and the original online data by using an interval recursive algorithm preset in the update recursive model, so as to obtain a repeated code interval and a difference code interval;

[0142] The trial run module is used to delete the codes except the repeated code interval of the original online data in the computer to be iterated, and to trial run the repeated code interval to obtain the bug location;

[0143] A framework identification module is used to identify the bug code part and the iterative function code part in the difference code interval;

[0144] The projection module is used to project the iterative function code part into the code part of the original online data, and to project the bug-filling code part into the bug position.

[0145] The interval recursive algorithm for the above update recursive model is:

[0146]

[0147] Among them, γ k In (s', s), s' is the repeated code interval, and s is the difference code interval. is the code expression of the original online data, A code expression for iterating data.

[0148] Using exp operation Among them, u k is the code vector of the original online data, is the code vector of the iterative data, L a is the code vector that the original online data has but the iterative data does not have, and L is the code vector that the original online data does not have but the iterative data has, so we get γ k (s', s).

[0149] Because the difference code interval is retained and stored in the data persistence layer of the intermediate server, it will not burden the storage occupancy of the iterative computer; when the intermediate server determines the repeated code interval and the difference interval code, it first deletes the code outside the code interval consistent with the repeated code interval in the original online data of the iterative computer, and then tries to run the online application of the iterative computer. Because the necessary code is missing at this time, bugs will inevitably occur, such as a certain functional component cannot run, a certain interface cannot be displayed, etc. At this time, the model obtains the location where the bug occurs, identifies the bug code part and the iterative function code part in the difference code interval, and projects the iterative function code part to the code of the original online data. part, and projects the filled bug code part at both ends to the bug position, thereby realizing the iterative process. It can be understood that the bug position can be considered as a path, and the computer to be iterated can search the difference interval code in the data persistence layer of the intermediate server according to the path. Therefore, the difference interval code will not occupy the memory of the computer to be iterated, thereby solving the technical problem that the storage occupancy of the previous version database of the computer to be iterated is insufficient to support the Devops iteration because the Devops iteration frequency is too fast. At the same time, the intermediate server only needs to project the filled bug code part and the iterative function code part after identifying the difference code interval to the computer, reducing the amount of data transmission between the intermediate server and the computer.

[0150] To summarize, the iterative device for devops architecture change runs the iterative method for devops architecture change, receives iterative data, and then determines the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locates the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, thereby sending the iterative function change content to the affected business personnel, realizing automatic determination of update content and notifying the business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.

[0151] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.

[0152] The computer device 6 includes a memory 61, a processor 62, and a network interface 63 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 6 with components 61-63, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital signal processors (Digital Signal Processor, DSP), embedded devices, etc.

[0153] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0154] The memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 61 can be an internal storage unit of the computer device 6, such as a hard disk or memory of the computer device 6. In other embodiments, the memory 61 can also be an external storage device of the computer device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 6. Of course, the memory 61 can also include both the internal storage unit of the computer device 6 and its external storage device. In this embodiment, the memory 61 is generally used to store the operating system and various application software installed on the computer device 6, such as the program code of the iterative method of devops architecture change, etc. In addition, the memory 61 can also be used to temporarily store various types of data that have been output or are to be output.

[0155] The processor 62 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 62 is generally used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is used to run the program code stored in the memory 61 or process data, such as running the program code of the iterative method of the devops architecture change.

[0156] The network interface 63 may include a wireless network interface or a wired network interface. The network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.

[0157] Computer device 6 runs the iterative method of devops architecture change by receiving iterative data, then determining the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locating the affected business personnel and the computers to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, thereby sending the iterative function change content to the affected business personnel, realizing automatic determination of update content and notifying business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.

[0158] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores a data compression program for high-frequency business data, and the data compression program for high-frequency business data can be executed by at least one processor so that the at least one processor performs the steps of the iterative method for changing the devops architecture as described above.

[0159] The computer-readable storage medium runs an iterative method for devops architecture changes, receives iterative data, and then determines the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locates the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, thereby sending the iterative function change content to the affected business personnel, realizing automatic determination of update content and notifying the business personnel, so as to reduce the workload of IT operation and maintenance personnel, improve work efficiency, and reduce the probability of missed notifications.

[0160] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0161] In the above embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0162] The modules or components may or may not be physically separated, and the parts displayed as modules or components may or may not be physical modules, and may be located in one place or distributed on multiple network units. Some or all of the modules or components may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0163] The present application is not limited to the above-mentioned implementation modes. The above-mentioned are the preferred implementation modes of the present application. The examples are only used to illustrate the present application and are not used to limit the scope of the present application. It should be pointed out that, for ordinary technicians in the technical field, without departing from the principle of the present application, they can still make some improvements and modifications to the technical solutions recorded in the above-mentioned specific implementation modes, or make equivalent replacements for some of the technical features therein. Any equivalent structure made by using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, shall be deemed to be included in the protection scope of the present application.

[0164] Obviously, the embodiments described above are only part of the embodiments of the present application, rather than all the embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work, as well as all equivalent structures made using the contents of the present application specification and the accompanying drawings, directly or indirectly used in other related technical fields, are similarly within the scope of patent protection of the present application.

Claims

1. An iterative method for devops architecture change, characterized in that: include: Receive iteration data; Determine the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model, and locate the affected business personnel and the computer to be iterated according to the iterative function change content in the data association layer of the knowledge graph model, wherein the iterative function change content is in text form; Sending the iterative function change content to the affected business personnel; sending the iterative data to the computer to be iterated, and replacing the iterative data with the original online data by updating the recursive model; The step of determining the iterative function change content of the iterative data relative to the original online data in the data definition layer of the preset knowledge graph model includes: Obtain the first code text of the iteration data and the second code text of the original online data; Determining an addition function of the first code text according to a code difference between the first code text and the second code text; According to the increment function, a corresponding regression use case is retrieved from the use case function relationship library of the development cluster, wherein the regression use case is a code functionality detection framework with a compliance condition, wherein the compliance condition includes whether the code input into the framework achieves a corresponding functional effect; Performing functional code segmentation on the first code text to obtain a plurality of first functional code segments, and inputting the plurality of first functional code segments into regression use cases respectively, so as to screen out the first functional code that meets the standard condition from the plurality of first functional code segments, and the first functional code that meets the standard condition is regarded as an iterative functional change code; A test report is generated according to the iterative function change code, wherein the test report records the iterative function change content in text form corresponding to the iterative function change code.

2. The iterative method for changing the devops architecture according to claim 1, characterized in that: The training process of the data definition layer of the knowledge graph model includes: Import the code texts and several incremental function relationship expressions corresponding to multiple previous and subsequent iteration versions into the knowledge graph model; Establish a coordinate axis, with the code text corresponding to the previous iteration version as the Y axis, and the code text corresponding to the next iteration version as the X axis; Overlap the codes of previous and next iterations to determine the covered and uncovered parts. A training addition function is randomly called from several addition function relationship equations to the coordinate axis, wherein the training addition function takes the covered part and does not take the uncovered part, thereby forming a discontinuous coordinate axis function line to retrieve regression use cases from the use case function relationship library.

3. The iterative method for devops architecture change according to claim 1, characterized in that: The step of locating the affected business personnel and the computers to be iterated according to the iterative function change content in the data association layer of the knowledge graph model includes: Identify the functional category corresponding to the iterative functional change content; The affected business personnel and the computers to be iterated corresponding to the functional categories are respectively determined in the business personnel knowledge graph and the computer knowledge graph preset in the knowledge graph model.

4. The iterative method for changing the devops architecture according to claim 3, characterized in that: The data association layer of the knowledge graph model includes a business personnel knowledge graph and a computer knowledge graph. The business personnel knowledge graph is produced in the following manner: Obtain the email text in the business personnel's email mailbox as email training text and import it into the knowledge graph model; Use the NLP BERT model to perform semantic recognition on email text to crawl the names and functions of business personnel in the email text; The business personnel names are used as the personnel nodes of the business personnel knowledge graph, and the functions of the business personnel are correspondingly labeled to the personnel nodes to draw the business personnel knowledge graph; The computer knowledge graph is produced in the following way: Obtaining registration information of a number of computers logging in for the first time, and identifying the functional scope of the computer and the local computer name from the registration information; The local computer name is used as a computer node of the computer graph, and the computer node is labeled correspondingly with the functional scope to create the computer knowledge graph.

5. The iterative method for devops architecture change according to claim 1, characterized in that: The step of replacing the iterative data with the original online data by updating the recursive model comprises: Importing the iterative data and the original online data into the data persistence layer of the updated recursive model; Performing interval calculation on the code texts of the iterative data and the original online data by using an interval recursive algorithm preset in the update recursive model to obtain repeated code intervals and difference code intervals; Deleting the codes except the repeated code interval of the original online data in the computer to be iterated, and running the repeated code interval for trial operation to obtain the bug location; Identify the bug code portion and the iterative function code portion filled in the difference code interval; The iterative function code portion is projected into the code portion of the original online data, and the bug filling code portion is projected into the bug position.

6. The iterative method for changing the devops architecture according to claim 5, characterized in that: The interval recursive algorithm for updating the recursive model is: ; in, In is the repeated code interval, s is the difference code interval, is the code expression of the original online data, A code expression for iterating data.

7. An iterative device for devops architecture change, characterized in that: The iterative device for devops architecture change executes the steps of the iterative method for devops architecture change according to any one of claims 1 to 6, and the iterative device for devops architecture change includes: A receiving unit, used for receiving iterative data; An identification unit, used to determine, in a data definition layer of a preset knowledge graph model, the iterative function change content of the iterative data relative to the original online data, and locate the affected business personnel and the computer to be iterated according to the iterative function change content in a data association layer of the knowledge graph model, wherein the iterative function change content is in text form; The iteration unit is used to send the iterative function change content to the affected business personnel; send the iterative data to the computer to be iterated, and replace the iterative data with the original online data by updating the recursive model.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the iterative method for changing the devops architecture as described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the iterative method for changing the devops architecture as described in any one of claims 1 to 6.