Software automatic version issuing method and system based on continuous process and terminal
Through the software automatic distribution method based on continuous process, the problem of cumbersome software deployment process and inconsistent versions is solved, efficient automated deployment is achieved, cost reduction and efficiency improvement.
Patent Information
- Application Number
- CN202510263883.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-06
- Publication Date
- 2025-06-20
AI Technical Summary
When software deployment in the prior art faces large-scale demands, the process is cumbersome and the version is inconsistent, resulting in inefficient deployment, high time and resource costs.
Using the software automatic distribution method based on continuous process, a secure channel and configuration environment information is built by obtaining business code, a configuration interface is established, and product data is constructed through this interface. At the same time, build a distribution application system, configure the distribution environment information, and realize the end-to-end distribution in the intranet.
It realizes automated software deployment, improves deployment efficiency, reduces development, testing, operation and maintenance communication costs and coordination costs, and ensures data security and flow-based deployment.
Smart Images

Figure CN120179261A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software process deployment, and in particular to a software automatic release method, system, terminal and computer-readable storage medium based on a continuous process. Background Art
[0002] In today's digital age, software application programs have been widely penetrated into various fields and become a key force to promote social development and economic growth. With the continuous change of user needs and the continuous evolution of technology, the update and iteration of software application programs are becoming more and more frequent.
[0003] However, traditional software deployment methods usually rely on manual operations, which are complicated and error-prone, and are unable to cope when facing large-scale and high-frequency deployment requirements.
[0004] Regarding the current software deployment status at home and abroad, although various continuous deployment methods have their own advantages, there are still some common problems to be solved, such as configuration consistency in cross-team collaboration, deployment stability in complex environments, and rapid adaptability to emerging technologies.
[0005] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention
[0006] The main purpose of the present invention is to provide a software automatic release method, system, terminal and computer-readable storage medium based on a continuous process, aiming to solve the problems in the existing technology that the software deployment process is cumbersome and the versions are inconsistent when facing large-scale requirements, resulting in low deployment efficiency, high time cost and resource cost.
[0007] To achieve the above object, the present invention provides a software automatic release method based on a continuous process, and the software automatic release method based on a continuous process includes the following steps:
[0008] Obtain business code, build a secure channel and configure environment information according to the business code, build a configuration interface through the secure channel and the environment information, and build product data through the configuration interface;
[0009] Build a release application system, and configure release environment information in the release application system to obtain a release application terminal;
[0010] Through the configuration interface, transmit the product data to the release application terminal, obtain the release data input by the user, and transmit the release data to the release application terminal. Analyze the product data and the release data through the release application terminal to obtain a release result.
[0011] Optionally, in the software automatic release method based on a continuous process, the environment information includes: environment variables and configuration information;
[0012] The obtaining of the business code, constructing a secure channel according to the business code and configuring environment information, constructing a configuration interface through the secure channel and the environment information, and constructing product data through the configuration interface specifically includes:
[0013] Obtain the business code input by the user, construct a security protocol according to the business code, and construct a secure channel according to the security protocol;
[0014] Configure environment variables, repository information, association information, build steps, and storage server information according to the business code, and store the environment variables, the repository information, the association information, the build steps, and the storage server information into a code version management file;
[0015] Obtain interface information through the secure channel, and construct a configuration interface according to the interface information;
[0016] Obtain product information through the secure channel, call the product information through the configuration interface, and construct product data according to the product information.
[0017] Optionally, in the software automatic release method based on a continuous process, the repository information includes: repository name, repository address, and group name;
[0018] The configuring of environment variables, repository information, association information, build steps, and storage server information according to the business code, and storing the environment variables, the repository information, the association information, the build steps, and the storage server information into a code version management file specifically includes:
[0019] Configure environment variables according to the business code, and store the environment variables into a code version management file;
[0020] Configure the repository name, the repository address, and the group name according to the business code, and store the repository name, the repository address, and the group name into a code version management file;
[0021] Match the repository address and the group name according to the business code to obtain association information, and store the association information into a code version management file;
[0022] Construct build steps of the business process according to the business code, and store the build steps into a code version management file;
[0023] Configure the storage server information according to the service code, divide multiple storage directories according to the storage server information to obtain a storage server, and store the storage server information in a code version management file.
[0024] Optionally, in the software automatic release method based on a continuous process, after obtaining the product information through the secure channel, calling the product information through the configuration interface, and constructing product data through the product information, it further includes:
[0025] Perform a replication process on the product data and the product information to obtain a backup original package;
[0026] Store the product data, the product information, and the backup original package into the storage server respectively.
[0027] Optionally, in the software automatic release method based on a continuous process, the construction of a release application system and the configuration of release environment information in the release application system to obtain a release application terminal specifically includes:
[0028] Obtain release application information through the secure channel, and construct a release application system according to the release application information;
[0029] Configure project information, environment information, deployment package information, and trigger information in the release application system according to the release application information to obtain a release application terminal.
[0030] Optionally, in the software automatic release method based on a continuous process, the transmission of the product data to the release application terminal through the configuration interface, obtaining the release data input by the user, and transmitting the release data to the release application terminal, and analyzing the product data and the release data by the release application terminal to obtain a release result specifically includes:
[0031] Call the configuration interface, and transmit the product data and the product information to the release application terminal through the configuration interface;
[0032] Obtain the release data input by the user, and transmit the release data to the release application terminal through the secure channel;
[0033] Analyze the product data and the release data by the release application terminal to obtain a release result, where the release result includes real-time status information of a release ledger;
[0034] If the real-time status information indicates that the release ledger is released successfully, construct a release completion email.
[0035] Optionally, in the software automatic release method based on a continuous process, after analyzing the product data and the release data through the release application terminal to obtain release result information, the method further includes:
[0036] If the real-time status information indicates that the release ledger is pending release, construct a completion notice email and send the completion notice email to the client;
[0037] If the real-time status information indicates that the release ledger is in the process of release, generate a release prompt message.
[0038] In addition, to achieve the above object, the present invention also provides a software automatic release system based on a continuous process, wherein the software automatic release system based on a continuous process includes:
[0039] A product data construction module, configured to obtain business code, construct a secure channel and configure environment information according to the business code, construct a configuration interface through the secure channel and the environment information, and construct product data through the configuration interface;
[0040] A release terminal construction module, configured to construct a release application system and configure release environment information in the release application system to obtain a release application terminal;
[0041] A release module, configured to transmit the product data to the release application terminal through the configuration interface, obtain release data input by a user, and transmit the release data to the release application terminal, and analyze the product data and the release data through the release application terminal to obtain a release result.
[0042] In addition, to achieve the above object, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a software automatic release program based on a continuous process stored on the memory and executable on the processor. When the software automatic release program based on a continuous process is executed by the processor, the steps of the software automatic release method based on a continuous process as described above are implemented.
[0043] In addition, to achieve the above object, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a software automatic release program based on a continuous process. When the software automatic release program based on a continuous process is executed by a processor, the steps of the software automatic release method based on a continuous process as described above are implemented.
[0044] In the present invention, a service code is obtained, a secure channel is constructed according to the service code, and environment information is configured. Through the secure channel and the environment information, a configuration interface is constructed, and product data is constructed through the configuration interface; a release application system is constructed, and release environment information is configured in the release application system to obtain a release application end; through the configuration interface, the product data is transmitted to the release application end, release data input by a user is obtained, and the release data is transmitted to the release application end. The release application end analyzes the product data and the release data to obtain a release result. Through interface docking, the present invention realizes end-to-end release on the internal network. Only need to open access to a certain interface, write back the ledger through interface data, and directly download the service package to the local through the server, realizing data visualization and streamlined deployment. At the same time, it also reduces the communication cost and coordination cost of development, testing, and operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flowchart of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0046] Figure 2 is a specific flowchart of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0047] Figure 3 is a schematic diagram of environment variable configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0048] Figure 4 is a schematic diagram of machine configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0049] Figure 5 is a schematic diagram of warehouse information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0050] Figure 6 is a schematic diagram of associated information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0051] Figure 7 is a schematic diagram of build step configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0052] Figure 8 is a schematic diagram of storage configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0053] Figure 9 is a schematic diagram of interface construction of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0054] Figure 10 It is a schematic diagram of project information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0055] Figure 11 It is a schematic diagram of environment information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0056] Figure 12 It is a schematic diagram of deployment information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0057] Figure 13 It is a schematic diagram of trigger information configuration of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0058] Figure 14 It is a schematic diagram of system construction of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0059] Figure 15 It is a schematic diagram of product data storage of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0060] Figure 16 It is a schematic diagram of transmission of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0061] Figure 17 It is a schematic diagram of data pulling of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0062] Figure 18 It is a schematic diagram of release of a preferred embodiment of the software automatic release method based on a continuous process of the present invention;
[0063] Figure 19 It is a structural diagram of a preferred embodiment of the software automatic release system based on a continuous process of the present invention;
[0064] Figure 20 It is a structural diagram of a preferred embodiment of the terminal of the present invention. Detailed implementation manners
[0065] To make the objectives, technical solutions and advantages of the present invention clearer and more definite, the following further describes the present invention in detail with reference to the accompanying drawings and by way of examples. It should be understood that the specific examples described herein are only used to explain the present invention and are not used to limit the present invention.
[0066] The software automatic release method based on a continuous process according to a preferred embodiment of the present invention, as Figure 1As shown in the figure, the software automatic release method based on the continuous process includes the following steps:
[0067] Step S10: Obtain business code, construct a secure channel according to the business code and configure environment information, construct a configuration interface through the secure channel and the environment information, and construct product data through the configuration interface.
[0068] Among them, the environment information includes: environment variables and configuration information. The embodiment of the present invention realizes the continuous construction and deployment function of computer software enterprise program code, which is a DevOps (a collective term for a set of processes, methods, and systems used to promote communication, collaboration, and integration between development, technical operations, and quality assurance departments) system. It is a system that organically integrates all aspects of software deployment through automation technology to achieve seamless transfer from code submission to application online.
[0069] Specifically, obtain the business code input by the user, construct a security protocol according to the business code, and construct a secure channel according to the security protocol; configure environment variables, repository information, association information, build steps, and storage server information according to the business code, and store the environment variables, the repository information, the association information, the build steps, and the storage server information in the code version management file; obtain interface information through the secure channel, construct a configuration interface according to the interface information; obtain product information through the secure channel, call the product information through the configuration interface, and construct product data according to the product information.
[0070] Among them, the repository information includes: repository name, repository address, and group name. As Figure 2 shown, before software release, first obtain the code for process business construction through the Git (repository) repository, and then configure environment variables (as Figure 3 shown) through these codes. At the same time, use the business code to construct a security protocol and perform SSH (Secure Shell) machine configuration (as Figure 4 shown), so as to construct a secure channel, which eliminates the need for users to open external network links on-site and improves the security and convenience of system data.
[0071] Further, configure environment variables according to the service code, and store the environment variables in a code version management file; configure the repository name, the repository address, and the group name according to the service code, and store the repository name, the repository address, and the group name in the code version management file; match the repository address and the group name according to the service code to obtain association information, and store the association information in the code version management file; construct the construction steps of the business process according to the service code, and store the construction steps in the code version management file; configure storage server information according to the service code, divide a plurality of storage directories according to the storage server information to obtain a storage server, and store the storage server information in the code version management file.
[0072] Among them, through the service code, configure the repository name, the repository address, and the group name of the Git repository (as Figure 5 shown), and then associate different repository names, different repository addresses, and different group names (as Figure 6 shown), and store them in the code version management file respectively; at the same time, store the configured business process construction steps (as Figure 7 shown) and the relevant information of the storage server (as Figure 8 shown) in the code version management file. Subsequently, the GitLab platform (integrated DevOps platform) can construct a configuration interface through the Webhooks (webhooks, a method for an application to send real-time data to another application when a specific event occurs) function, trigger the Webhooks method by modifying the code version management file, call the configuration interface, and automatically construct product data using the product information (as Figure 9 shown).
[0073] Further, perform a copy process on the product data and the product information to obtain a backup original package; store the product data, the product information, and the backup original package in the storage server respectively.
[0074] Among them, the constructed product data and its related information can be backed up and stored in the storage server at the same time to ensure data security. At the same time, based on the above functions, the Git code repository address and branch functions can be configured in batches to achieve unified management of the code repository; the functions of the release machines can be configured in batches to achieve unified management of the storage server; the configuration function of the server script command can be executed, reducing the human management cost and improving the software configuration efficiency.
[0075] Step S20: Construct a release application system, and configure release environment information in the release application system to obtain a release application terminal.
[0076] Specifically, through the security channel, obtain the release application information, and construct a release application system according to the release application information; configure project information, environment information, deployment package information, and trigger information in the release application system according to the release application information to obtain a release application terminal.
[0077] Among them, construct a release application system through the release application information input by the administrator, and respectively configure project information (as Figure 10 shown), environment information (as Figure 11 shown), deployment package information (as Figure 12 shown), and trigger information (as Figure 13 shown) in it. After the deployment of these environment information is completed, the release application terminal can be further constructed (as Figure 14 shown). Automated deployment can minimize the probability of human errors, ensure the consistency and stability of each deployment, improve the quality and reliability of the software, and at the same time realize the unified management of the version information of the software and improve the software management efficiency.
[0078] Step S30: Transmit the product data to the release application terminal through the configuration interface, obtain the release data input by the user, and transmit the release data to the release application terminal. Analyze the product data and the release data through the release application terminal to obtain a release result.
[0079] Among them, after the environment configuration of each system is completed, the link for deploying the version information of the software can be realized.
[0080] Specifically, call the configuration interface, and transmit the product data and the product information to the release application terminal through the configuration interface; obtain the release data input by the user, and transmit the release data to the release application terminal through the security channel; analyze the product data and the release data through the release application terminal to obtain a release result, and the release result includes the real-time status information of the release ledger; if the real-time status information indicates that the release ledger is released, construct a release completion email.
[0081] Among them, transmit the product information (as Figure 15 shown) and the release data through the configuration interface, and analyze these data after the transmission is completed (as Figure 16 shown) to obtain a release ledger (i.e., real-time status information). Among them, the release data transmitted by the user is to pull the data to be released through the configuration interface and instantiate the data to the release application terminal (as Figure 17 shown), and when the release ledger indicates that it has been released, call back the release status (i.e., the release status of the released version) to the server (as Figure 18As shown in the figure; through the function of configuring the release version data interface, the unified management of the callback data interface is realized, which helps the enterprise to achieve a standardized and normalized software delivery process, facilitates team collaboration and management, reduces operation and maintenance costs, and enables developers and operation and maintenance personnel to devote more energy to more creative and valuable work.
[0082] Further, if the real-time status information indicates that the release ledger is pending release, a completion notice email is constructed and sent to the client; if the real-time status information indicates that the release ledger is in the process of release, a release prompt message is generated.
[0083] Further, for the release ledger in the process of release, backups are also made, as Figure 2 shown, and the latest data packet is downloaded to execute the script and start the service, so as to update the release information in the client and the release application end, and realize the release of the software.
[0084] Through interface docking, the present invention realizes end-to-end release on the intranet. Only need to open access to a certain interface, write the interface data back to the ledger, and directly download the service package to the local through the server, realizing data visualization and streamlined deployment. At the same time, it also reduces the communication cost and coordination cost of development, testing and operation and maintenance.
[0085] Further, as Figure 19 shown, based on the above software automatic release method based on the continuous process, the present invention also correspondingly provides a software automatic release system based on the continuous process. Among them, the software automatic release system based on the continuous process includes:
[0086] The product data construction module 51 is used to obtain business code, construct a security channel and configure environment information according to the business code, construct a configuration interface through the security channel and the environment information, and construct product data through the configuration interface;
[0087] The release end construction module 52 is used to construct a release application system and configure release environment information in the release application system to obtain a release application end;
[0088] The release module 53 is used to transmit the product data to the release application end through the configuration interface, obtain the release data input by the user, and transmit the release data to the release application end, and analyze the product data and the release data through the release application end to obtain a release result.
[0089] Further, as Figure 20 shown, based on the above software automatic release method and system based on the continuous process, the present invention also correspondingly provides a terminal, and the terminal includes a processor 10, a memory 20 and a display 30.Figure 20 Only some components of the terminal are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0090] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In some other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 20 may also include both the internal storage unit and the external storage device of the terminal. The memory 20 is used to store application software installed on the terminal and various types of data, such as program codes for installing the terminal. The memory 20 may also be used to temporarily store data that has been output or will be output. In one embodiment, a software automatic release program 40 based on a continuous process is stored on the memory 20, and the software automatic release program 40 based on the continuous process can be executed by the processor 10, so as to implement the software automatic release method based on the continuous process in the present application.
[0091] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chips, and is used to run the program codes stored in the memory 20 or process data, such as executing the software automatic release method based on the continuous process, etc.
[0092] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components of the terminal communicate with each other through a system bus.
[0093] In one embodiment, when the processor 10 executes the software automatic release program 40 based on the continuous process in the memory 20, the following steps are implemented:
[0094] Obtain a service code, construct a secure channel and configure environment information according to the service code, construct a configuration interface through the secure channel and the environment information, and construct product data through the configuration interface;
[0095] Construct a release application system, and configure release environment information in the release application system to obtain a release application terminal;
[0096] Through the configuration interface, transmit the product data to the release application terminal, obtain the release data input by the user, and transmit the release data to the release application terminal. Analyze the product data and the release data through the release application terminal to obtain a release result.
[0097] Among them, the environment information includes: environment variables and configuration information;
[0098] The obtaining of the service code, constructing a secure channel according to the service code and configuring environment information, constructing a configuration interface through the secure channel and the environment information, and constructing product data through the configuration interface specifically include:
[0099] Obtain the service code input by the user, construct a security protocol according to the service code, and construct a secure channel according to the security protocol;
[0100] Configure environment variables, repository information, association information, build steps, and storage server information according to the service code, and store the environment variables, the repository information, the association information, the build steps, and the storage server information into a code version management file;
[0101] Obtain interface information through the secure channel, and construct a configuration interface according to the interface information;
[0102] Obtain product information through the secure channel, call the product information through the configuration interface, and construct product data according to the product information.
[0103] Among them, the repository information includes: repository name, repository address, and group name;
[0104] The configuring of the environment variables, repository information, association information, build steps, and storage server information according to the service code, and storing the environment variables, the repository information, the association information, the build steps, and the storage server information into a code version management file specifically includes:
[0105] Configure environment variables according to the service code, and store the environment variables into a code version management file;
[0106] Configure the repository name, the repository address, and the group name according to the service code, and store the repository name, the repository address, and the group name into a code version management file;
[0107] Match the repository address and the group name according to the service code to obtain association information, and store the association information into a code version management file;
[0108] Construct the construction steps of the business process according to the business code, and store the construction steps in the code version management file;
[0109] Configure the storage server information according to the business code, divide multiple storage directories according to the storage server information to obtain a storage server, and store the storage server information in the code version management file.
[0110] Among them, after obtaining the product information through the secure channel, calling the product information through the configuration interface, and constructing product data through the product information, it further includes:
[0111] Perform a copy process on the product data and the product information to obtain a backup original package;
[0112] Store the product data, the product information, and the backup original package into the storage server respectively.
[0113] Among them, constructing the release application system and configuring the release environment information in the release application system to obtain a release application terminal specifically includes:
[0114] Obtain the release application information through the secure channel, and construct the release application system according to the release application information;
[0115] Configure project information, environment information, deployment package information, and trigger information in the release application system according to the release application information to obtain a release application terminal.
[0116] Among them, transmitting the product data to the release application terminal through the configuration interface, obtaining the release data input by the user, and transmitting the release data to the release application terminal, and analyzing the product data and the release data through the release application terminal to obtain a release result specifically includes:
[0117] Call the configuration interface, and transmit the product data and the product information to the release application terminal through the configuration interface;
[0118] Obtain the release data input by the user, and transmit the release data to the release application terminal through the secure channel;
[0119] Analyze the product data and the release data through the release application terminal to obtain a release result, and the release result includes the real-time status information of the release ledger;
[0120] If the real-time status information indicates that the release ledger is released successfully, construct a release completion email.
[0121] Among them, after analyzing the product data and the release data through the release application end to obtain a release result, the following steps are further included:
[0122] If the real-time status information indicates that the release ledger is pending release, a completion notice email is constructed and sent to the client.
[0123] If the real-time status information indicates that the release ledger is in the process of release, a release prompt message is generated.
[0124] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a software automatic release program based on a continuous process. When the software automatic release program based on the continuous process is executed by a processor, the steps of the software automatic release method based on the continuous process as described above are implemented.
[0125] In summary, the present invention provides a software automatic release method and related devices based on a continuous process. The method includes: obtaining business code, constructing a secure channel and configuring environment information according to the business code, constructing a configuration interface through the secure channel and the environment information, and constructing product data through the configuration interface; constructing a release application system, configuring release environment information in the release application system to obtain a release application end; transmitting the product data to the release application end through the configuration interface, obtaining release data input by a user, and transmitting the release data to the release application end, and analyzing the product data and the release data through the release application end to obtain a release result. Through interface docking, the present invention realizes end-to-end release on the intranet. Only by opening access to a certain interface, writing back interface data to the ledger, and directly downloading the service package to the local through the server, it realizes data visualization and streamlined deployment. At the same time, it also reduces the communication cost and coordination cost of development, testing, and operation and maintenance.
[0126] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or terminal. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or terminal including that element.
[0127] Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium that can be read by a computer. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be a memory, a magnetic disk, an optical disc, etc.
[0128] It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above description. All such improvements and transformations should fall within the protection scope of the appended claims of the present invention.
Claims
1. A method for automatic software release based on a continuous process, characterized in that: The software automatic release method based on the continuous process includes: Obtaining a business code, building a secure channel and configuring environment information according to the business code, building a configuration interface through the secure channel and the environment information, and building product data through the configuration interface; Constructing a version application system, and configuring version environment information in the version application system to obtain a version application terminal; The product data is transmitted to the version application end through the configuration interface, the version data input by the user is obtained, and the version data is transmitted to the version application end, and the product data and the version data are analyzed by the version application end to obtain the version result.
2. The method for automatic software release based on continuous process according to claim 1 is characterized in that: The environmental information includes: environmental variables and configuration information; The obtaining of the business code, building a secure channel according to the business code and configuring environment information, building a configuration interface through the secure channel and the environment information, and building product data through the configuration interface specifically includes: Obtaining a business code input by a user, building a security protocol according to the business code, and building a security channel according to the security protocol; Configure environment variables, warehouse information, associated information, construction steps and storage server information according to the business code, and store the environment variables, the warehouse information, the associated information, the construction steps and the storage server information in a code version management file; Acquire interface information through the secure channel, and construct a configuration interface according to the interface information; The product information is acquired through the secure channel, the product information is called through the configuration interface, and the product data is constructed according to the product information.
3. The method for automatic software release based on continuous process according to claim 2 is characterized in that: The warehouse information includes: warehouse name, warehouse address and group name; The configuring environment variables, warehouse information, associated information, construction steps and storage server information according to the business code, and storing the environment variables, the warehouse information, the associated information, the construction steps and the storage server information in a code version management file specifically includes: According to the business code, configure environment variables, and store the environment variables in a code version management file; According to the business code, configure the warehouse name, the warehouse address and the group name, and store the warehouse name, the warehouse address and the group name in a code version management file; According to the business code, the warehouse address and the group name are matched to obtain associated information, and the associated information is stored in a code version management file; According to the business code, construct the construction steps of the business process, and store the construction steps in a code version management file; According to the business code, storage server information is configured, and a plurality of storage directories are divided according to the storage server information to obtain a storage server, and the storage server information is stored in a code version management file.
4. The method for automatic software release based on continuous process according to claim 3 is characterized in that: The step of obtaining product information through the secure channel, calling the product information through the configuration interface, and constructing product data through the product information further includes: Copying the product data and the product information to obtain a backup original package; The product data, the product information and the backup original package are stored in the storage server respectively.
5. The method for automatic software release based on continuous process according to claim 1 is characterized in that: The construction of the version application system and configuration of the version application environment information in the version application system to obtain the version application terminal specifically includes: Obtaining the version application information through the secure channel, and building the version application system according to the version application information; According to the release application information, project information, environment information, deployment package information and trigger information are configured in the release application system to obtain a release application terminal.
6. The method for automatic software release based on continuous process according to claim 4 is characterized in that: The step of transmitting the product data to the version application end through the configuration interface, acquiring the version data input by the user, transmitting the version data to the version application end, and analyzing the product data and the version data through the version application end to obtain the version result specifically includes: Calling the configuration interface, and transmitting the product data and the product information to the version application end through the configuration interface; Acquire the version data input by the user, and transmit the version data to the version application end through the secure channel; Analyzing the product data and the release data through the release application end to obtain a release result, wherein the release result includes real-time status information of the release ledger; If the real-time status information indicates that the release record is released, a release completion email is constructed.
7. The method for automatic software release based on continuous process according to claim 6 is characterized in that: The step of analyzing the product data and the release data by the release application end to obtain a release result further includes: If the real-time status information indicates that the version log is a pending version, a completion notification email is constructed and sent to the client; If the real-time status information indicates that the version release ledger is in the process of being released, then a release prompt message is generated.
8. A software automatic release system based on continuous process, characterized in that: The software automatic release system based on continuous process includes: A product data construction module is used to obtain a business code, construct a secure channel according to the business code and configure environment information, construct a configuration interface through the secure channel and the environment information, and construct product data through the configuration interface; A release end construction module is used to construct a release application system and configure release environment information in the release application system to obtain a release application end; The publishing module is used to transmit the product data to the publishing application end through the configuration interface, obtain the publishing data input by the user, and transmit the publishing data to the publishing application end, and analyze the product data and the publishing data through the publishing application end to obtain the publishing result.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a software automatic publishing program based on a continuous process stored in the memory and executable on the processor. When the software automatic publishing program based on a continuous process is executed by the processor, the steps of the software automatic publishing method based on a continuous process as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a software automatic publishing program based on a continuous process, and when the software automatic publishing program based on a continuous process is executed by a processor, the steps of the software automatic publishing method based on a continuous process as described in any one of claims 1-7 are implemented.