Product Delivery Method, Device, Equipment and Storage Medium

By building prefabricated delivery packages and automated configuration replacement programs, the problems of low efficiency and high risk of misoperation in product delivery of IT systems are solved, and an efficient and automated product delivery process is achieved.

CN115525324BActive Publication Date: 2025-07-25CCB FINTECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211187223.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-07-25
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In the prior art, IT system products require a large number of manual configuration modifications when delivered to customers, which affects efficiency, and lacks unified control for configuration adjustments during after-sales maintenance, resulting in high risk of misoperation.

Method used

Build a prefabricated delivery package and product delivery branch, obtain product configuration item information and customer IT environment information, use the automated configuration replacement program to replace product environment configuration information while meeting preset conditions, and generate product delivery version package.

Benefits of technology

It realizes that the product delivery version package can be automatically produced in one construction based on the IT environment information of different customers, which improves delivery efficiency, reduces the risk of misoperation, and solves the problem of repeated construction and manually modifying configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525324B_ABST
    Figure CN115525324B_ABST
Patent Text Reader

Abstract

The present disclosure provides a product delivery method, apparatus, device and storage medium, relating to the technical field of software development and applicable to the financial field. The method includes: constructing a prefabricated product delivery package and a product delivery branch, where the prefabricated product delivery package includes product environment configuration information; obtaining product configuration item information, a configuration replacement program and customer IT environment information; adding the product configuration item information and the configuration replacement program to the product delivery branch; adding the customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task, where the automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition, and in the case where the customer IT environment information meets the preset condition, using the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information to generate a product delivery version package, and the product delivery version package is used for delivery to the customer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of software development technology, and in particular to a product delivery method, device, equipment, storage medium and program product. Background Art

[0002] When delivering and implementing current IT system products to customers, it is necessary to manually make a large number of modifications to the relevant configurations of IT system products based on the IT environment information provided by the customer (such as functional test environment, non-functional test, quasi-production environment, disaster recovery environment, production environment, etc.), such as IP addresses, port numbers, user names, service passwords, etc., which affects the overall delivery efficiency of the product. At the same time, the relevant configuration adjustments during the after-sales maintenance period are also handled manually. In addition, all previous IT environment configuration change information lacks unified and standardized version control. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a product delivery method, apparatus, device, storage medium and program product.

[0004] According to a first aspect of the present disclosure, there is provided a product delivery method, comprising:

[0005] Build pre-production delivery packages and product delivery branches. The pre-production delivery packages include product environment configuration information.

[0006] Obtain product configuration item information, configuration replacement procedures and customer IT environment information;

[0007] Add product configuration item information and configuration replacement procedures to the product delivery branch;

[0008] Add the customer's IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task. The automated configuration replacement task includes determining whether the customer's IT environment information meets the preset conditions. If the customer's IT environment information meets the preset conditions, use the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer's IT environment information to generate a product delivery version package, which is used to deliver to the customer.

[0009] According to an embodiment of the present disclosure, the pre-product delivery package is stored in the product library, and the product environment configuration information in the pre-product delivery package is replaced with the customer IT environment information by using a configuration replacement program to generate a product delivery version package, which specifically includes:

[0010] Using the configuration replacement procedure to obtain the pre-made product delivery package from the product library;

[0011] Use the configuration replacement program to keyword match the product environment configuration information in the pre-production delivery package with the customer IT environment information in the product delivery branch;

[0012] When the keyword matching result of the product environment configuration information and the customer IT environment information meets the second preset condition, use the configuration replacement program to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information in the product delivery branch to generate a product delivery version package.

[0013] According to an embodiment of the present disclosure, before using the configuration replacement program to perform keyword matching on the product environment configuration information in the prefabricated delivery package and the customer IT environment information in the product delivery branch, the method further includes:

[0014] Obtain the version number of the prefabricated delivery package;

[0015] Use the configuration replacement program to determine whether the version number of the prefabricated delivery package exists;

[0016] When the version number of the prefabricated delivery package does not exist, prompt the user to resubmit the version number;

[0017] When the version number of the prefabricated delivery package exists, determine whether the version number is the latest version number;

[0018] When the version number is not the latest version number, prompt the user to confirm whether the version number is correct;

[0019] When the user confirms that the version number is correct, obtain the prefabricated delivery package corresponding to the version number from the artifact library and display the code scan result corresponding to the version number;

[0020] When the version number is the latest version number, obtain the prefabricated delivery package corresponding to the version number from the artifact library and display the code scan result corresponding to the version number.

[0021] According to an embodiment of the present disclosure, creating a product delivery branch includes:

[0022] Obtain the customer-side environment information corresponding to the product;

[0023] Create a product delivery branch in the code repository according to the customer-side environment information;

[0024] The product delivery branch includes product standard configuration information.

[0025] According to an embodiment of the present disclosure, the method further includes:

[0026] Archive the product delivery version package to the archive library;

[0027] Obtain the customer information corresponding to the product delivery version package;

[0028] Create an archive directory corresponding to the product delivery version package according to the customer information;

[0029] Retain all product delivery version packages delivered to customers.

[0030] According to an embodiment of the present disclosure, the method further includes:

[0031] In the case where the customer IT environment information does not meet the preset conditions, prompt the user to re-edit and upload customer IT environment information that meets the preset conditions.

[0032] A second aspect of the present disclosure provides a product delivery device, including:

[0033] A construction module for constructing a prefabricated product delivery package and a product delivery branch, the prefabricated product delivery package including product environment configuration information;

[0034] An acquisition module for acquiring product configuration item information, a configuration replacement program, and customer IT environment information;

[0035] An addition module for adding the product configuration item information and the configuration replacement program to the product delivery branch;

[0036] A replacement module for adding the customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task. The automated configuration replacement task includes determining whether the customer IT environment information meets the preset conditions. In the case where the customer IT environment information meets the preset conditions, use the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information to generate a product delivery version package for delivery to the customer.

[0037] A third aspect of the present disclosure provides an electronic device, including:

[0038] One or more processors;

[0039] A storage device for storing one or more programs,

[0040] wherein, when the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the above method.

[0041] A fourth aspect of the present disclosure further provides a computer-readable storage medium, on which executable instructions are stored. When the instructions are executed by a processor, the processor is caused to execute the above method.

[0042] A fifth aspect of the present disclosure further provides a computer program product, including a computer program, which when executed by a processor implements the above method.

[0043] According to the product delivery method, device, equipment, medium and program product provided by the present disclosure, by constructing a prefabricated product delivery package and a product delivery branch, product configuration item information, a configuration replacement program and customer IT environment information are obtained; the product configuration item information and the configuration replacement program are added to the product delivery branch; the customer IT environment information is added to the product delivery branch to trigger a pre-created automated configuration replacement task, and the automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition; when the customer IT environment information meets the preset condition, the product environment configuration information in the prefabricated product delivery package is replaced with the customer IT environment information by using the configuration replacement program to generate a product delivery version package. Since the prefabricated product delivery package is constructed in advance, the purpose of automatically generating the product delivery version package according to different customer IT environment information with only one build is achieved, the efficiency of product delivery is improved, at least partially solving the situation of repeated construction of deliverables in the prior art, and also solving the problem of manually modifying configurations on-site at the customer's location during after-sales maintenance, reducing the risk of misoperation. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.

[0045] Figure 1 Schematically shows an application scenario diagram of the product delivery method, device, equipment, medium and program product according to an embodiment of the present disclosure;

[0046] Figure 2 Schematically shows a flowchart of the product delivery method according to an embodiment of the present disclosure;

[0047] Figure 3 Schematically shows a flowchart of a method for replacing the product environment configuration information in the prefabricated product delivery package with the customer IT environment information according to an embodiment of the present disclosure;

[0048] Figure 4 Schematically shows a flowchart of another method for replacing the product environment configuration information in the prefabricated product delivery package with the customer IT environment information according to an embodiment of the present disclosure;

[0049] Figure 5 Schematically shows a flowchart of another product delivery method according to an embodiment of the present disclosure;

[0050] Figure 6Schematically shows a structural block diagram of a product delivery device according to an embodiment of the present disclosure; and

[0051] Figure 7 Schematically shows a block diagram of an electronic device suitable for implementing a product delivery method according to an embodiment of the present disclosure. Detailed implementation manners

[0052] To make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the following further describes the present disclosure in detail with reference to specific embodiments and the accompanying drawings. The technical solutions in the present disclosure are clearly and completely described. Obviously, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

[0053] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present disclosure.

[0054] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.

[0055] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0056] In the case of using expressions such as "at least one of A, B, and C, etc.", generally, it should be interpreted according to the meaning that those skilled in the art usually understand this expression (for example, "a system having at least one of A, B, and C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", generally, it should be interpreted according to the meaning that those skilled in the art usually understand this expression (for example, "a system having at least one of A, B, or C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0057] Some block diagrams and / or flowcharts are shown in the drawings. It should be understood that some of the blocks or combinations thereof in the block diagrams and / or flowcharts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, so that when these instructions are executed by the processor, they can create a device for implementing the functions / operations illustrated in these block diagrams and / or flowcharts. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). Additionally, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, and this computer program product can be used by an instruction execution system or in combination with an instruction execution system.

[0058] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present disclosure, then the descriptions of "first", "second", etc. are only for descriptive purposes and should not be construed as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of such features. Additionally, the meaning of "and / or" appearing throughout the text includes three parallel scenarios. Taking "A and / or B" as an example, it includes scenario A, or scenario B, or the scenario where both A and B are satisfied simultaneously. Also, the technical solutions between various embodiments can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present disclosure.

[0059] In the technical solution of the present disclosure, the processing of data such as acquisition, collection, storage, use, processing, transmission, provision, disclosure, and application, etc., all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.

[0060] To facilitate those skilled in the art to more clearly understand the technical solutions of the present disclosure, some terms related to the present disclosure are explained in detail herein.

[0061] Automated production line: Code compilation and version packaging and delivery are carried out in an automated execution manner.

[0062] Code compilation: Compile the code into machine code.

[0063] Version control: Refers to the management of changes to various program codes, configuration files, and documentation files during the software development process.

[0064] Dictionary: A commonly used data structure provided by Python, which is used to store data with a mapping relationship. A dictionary is equivalent to storing two sets of data, one of which is the key data, called the key; the other set of data can be accessed through the key, called the value.

[0065] Key-value pair: A Key-value database is a database that stores data in key-value pairs, similar to the map in Java. The entire database can be understood as a large map, and each key will correspond to a unique value.

[0066] Embodiments of the present disclosure provide a product delivery method, device, electronic device, storage medium, and computer program product, which can be used in the financial field or other fields, and are not limited herein. The product delivery method includes: constructing a prefabricated product delivery package and a product delivery branch, where the prefabricated product delivery package includes product environment configuration information; obtaining product configuration item information, a configuration replacement program, and customer IT environment information; adding the product configuration item information and the configuration replacement program to the product delivery branch; adding the customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task, where the automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition; in the case where the customer IT environment information meets the preset condition, using the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information to generate a product delivery version package, and the product delivery version package is used to be delivered to the customer. The product delivery method provided by the present disclosure can manage the customer-side IT environment information after the prefabricated product delivery package is constructed, generate a product delivery version package according to the IT environment information, and achieve the automation of generating a product delivery version package according to different customer IT environment information with only one build, improving the efficiency of product delivery, solving the situation of repeated construction of deliverables in the prior art, and also solving the problem of manually modifying configurations on-site at the customer's location during after-sales maintenance, reducing the risk of misoperation.

[0067] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

[0068] Figure 1 Fig. schematically shows an application scenario diagram of a product delivery method, apparatus, electronic device, storage medium, and program product according to an embodiment of the present disclosure.

[0069] It should be noted that Figure 1 The shown is only an example of an application scenario to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments, or scenarios.

[0070] As Figure 1 shown, the application scenario 100 according to this embodiment may include a data center 101, a network 102, an automated pipeline platform 103, and a server 104. The network 102 is used to provide a medium for communication links between the data center 101, the automated pipeline platform 103, and the server 104. The network 102 may include various connection types, such as wired and / or wireless communication links, etc.

[0071] The automated pipeline platform 103 includes the product delivery device provided by the present disclosure. Through collecting customer IT environment information and automated replacement, it can achieve automated configuration modification of product source code without modification, introduction of plugins and dependency packages, can quickly adapt to the existing product automated pipeline platform, form a development, operation, and delivery integration system, and improve the product's ability to quickly implement and deliver to customers.

[0072] It should be understood that Figure 1 the numbers of the network and the server in [] are only illustrative. According to actual needs, there can be any number of networks and servers.

[0073] The following will be based on Figure 1 the described scenario, and will describe in detail the product delivery method of the disclosed embodiments through Figures 2 to 5 to facilitate those skilled in the art to more clearly understand the technical solutions of the present disclosure. It should be understood that the following description is only exemplary, to help those skilled in the art understand the solution of the present disclosure, and is not used to limit the protection scope of the present disclosure.

[0074] To address the above technical problems, the present disclosure provides a product delivery method, Figure 2A flowchart of a product delivery method according to an embodiment of the present disclosure is schematically shown, as Figure 2 shown. The product delivery method of this embodiment includes operations S210 to S240.

[0075] In operation S210, a prefabricated product delivery package and a product delivery branch are constructed.

[0076] In this embodiment, after the IT product completes factory processes such as internal agile development, integration testing, and acceptance testing, a prefabricated product delivery package with product delivery capabilities is compiled and constructed. The prefabricated product delivery package includes product environment configuration information. The prefabricated product delivery package can be delivered to a container environment, a virtual machine environment, a physical machine environment, and burned on an optical disc medium in the form of a compressed package, a container image, a folder, etc., according to the customer-side infrastructure environment. After constructing the prefabricated product delivery package, a version control branch for delivery to the customer can be created in the code repository according to the customer-side environment information, such as the test environment, the production environment, the Xinchuang environment, etc. The delivery branch created in this embodiment is the delivery branch. Here, the code repository can be the code repository of the IT product automation pipeline, such as GitHub, GitLab, SVN, etc. The created product delivery branch includes product standard configuration information.

[0077] In operation S220, product configuration item information, a configuration replacement program, and customer IT environment information are obtained.

[0078] In operation S230, the product configuration item information and the configuration replacement program are added to the product delivery branch.

[0079] In this embodiment, the product configuration item information is added to the product delivery branch in the form of a file. The file format can be selected as csv. Assuming the product is Product A, the file naming format can be "Product A.csv". The content of the file is the product configuration item information, such as common service general keywords, configuration file storage paths, configuration item field names, configuration item field delimiters, etc. The content format of the csv file is stored in the form of a dictionary. The common service general keyword is the dictionary name. Each key-value pair in the dictionary is related information such as the configuration file storage path, the configuration item field name, and the configuration item field delimiter. Each dictionary name is independent of each other and cannot be repeated. At the same time, in this embodiment, the file including the product configuration item information added to the product delivery branch can be a file in any format, avoiding the situation where configuration files in different formats cannot be uniformly managed due to inconsistent development frameworks and development languages of each module inside the product.

[0080] In operation S240, customer IT environment information is added to the product delivery branch to trigger a pre-created automated configuration replacement task. The automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition. When the customer IT environment information meets the preset condition, a configuration replacement program is used to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information, generating a product delivery version package.

[0081] In this embodiment, the customer IT environment information is also added to the product delivery branch in the form of a file. The format of the file can be selected as csv. Still taking product A as an example above, the naming format of the file including the customer IT environment information can be "A customer - A environment.csv". The content of this file includes customer IT environment information, such as common service general keywords, IP addresses, port numbers, usernames, service passwords, etc. The content of this file is stored in the key-value form, where the key is the common service general keyword and the value is the corresponding information content. Each key-value pair is independent of each other and non-repeating. This file is the customer's standard configuration information file. When the customer IT environment information changes, the corresponding configuration items can be modified according to the change content. For example, when the customer's IP address changes, only the IP address in this file needs to be modified.

[0082] In this embodiment, the constructed pre-production delivery package includes product environment configuration information, which is the environment configuration information on the customer side corresponding to the product. At different times, the product environment configuration information provided by the customer may be different. When delivering the product delivery version package to the customer, it is necessary to ensure that the product environment configuration information in the product delivery version package is consistent with the customer's requirements. Therefore, before generating the product delivery version package, it is necessary to confirm whether the product environment configuration information required by the customer is the same as the product environment configuration information in the constructed pre-production delivery package. If they are different, the product environment configuration information in the pre-production delivery package needs to be updated. At this time, the product environment configuration information that meets the customer's requirements needs to be added to the product delivery branch corresponding to this customer to trigger the automated configuration replacement task in the product delivery branch. In this embodiment, the product environment configuration information that meets the customer's requirements is referred to as customer IT environment information. The automated configuration replacement task in this embodiment is used to verify the customer IT environment information added to the product delivery branch to determine whether the customer IT environment information meets the preset conditions, and is also used to replace the product environment configuration information in the constructed pre-production delivery package with the customer IT environment information added to the product delivery branch when the customer IT environment information meets the preset conditions, that is, to update the product environment configuration information in the pre-production delivery package through the automated configuration replacement task. The updated pre-production delivery package meets the customer's requirements and can be delivered to the customer. Therefore, the updated pre-production delivery package is the product delivery version package.

[0083] The product delivery method provided by the present disclosure can manage the customer-side IT environment information after the pre-production delivery package is constructed, and generate the product delivery version package according to the IT environment information, realizing that only one build is required to automatically generate the product delivery version package according to different customer IT environment information, improving the efficiency of product delivery, solving the situation of repeated construction of deliverables in the prior art, and also solving the problem of manually modifying configurations on-site at the customer's during after-sales maintenance, reducing the risk of misoperation.

[0084] The preset condition in this embodiment can be that the customer IT environment information conforms to a specified format. That is, when the customer IT environment information conforms to the specified format, the product environment configuration information in the pre-production delivery package is replaced with the customer IT environment information. When the customer IT environment information does not conform to the specified format, the user can be prompted to re-edit and upload the customer IT environment information that conforms to the specified format. The specified format in this embodiment can be defined according to actual needs, and the present disclosure does not limit this.

[0085] It should be understood that the example of the preset condition in this embodiment is only exemplary to help those skilled in the art understand the technical solution of the present disclosure, and is not used to limit the protection scope of the present disclosure.

[0086] Figure 3 A flowchart schematically shows a method for replacing product environment configuration information in a prefabricated product delivery package with customer IT environment information according to an embodiment of the present disclosure.

[0087] As Figure 3 shown, the above operation S240 includes operations S310 to S330.

[0088] In operation S310, a configuration replacement program is used to obtain a prefabricated product delivery package from a product library.

[0089] In this embodiment, the prefabricated product delivery package can be stored in the product library.

[0090] In operation S320, a configuration replacement program is used to perform keyword matching between the product environment configuration information in the prefabricated product delivery package and the customer IT environment information in the product delivery branch.

[0091] In operation S330, when the keyword matching result between the product environment configuration information and the customer IT environment information meets the second preset condition, a configuration replacement program is used to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information in the product delivery branch to generate a product delivery version package.

[0092] In this embodiment, keyword matching is performed between the product environment configuration information and the customer IT environment information in the prefabricated product delivery package, and it is determined whether to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information according to the matching result. The second preset condition in this embodiment can be the ratio of the number of successfully matched keywords to the number of keywords participating in the matching, or the matching degree of each keyword, etc. Specifically, the second preset condition can be set according to actual needs, and the present disclosure does not limit this.

[0093] Figure 4 A flowchart schematically shows another method for replacing product environment configuration information in a prefabricated product delivery package with customer IT environment information according to an embodiment of the present disclosure. As Figure 4 shown, the method of this embodiment includes operations S401 to S410. Among them, operation S401 is implemented in the same or similar manner as operation S310, and operations S409 to S410 can be respectively implemented in the same or similar manner as operations S320 to S330. The repeated parts will not be elaborated in detail.

[0094] In operation S401, a configuration replacement program is used to obtain a prefabricated product delivery package from a product library.

[0095] In operation S402, the version number of the prefabricated product delivery package is obtained.

[0096] In operation S403, use the configuration replacement program to determine whether the version number of the prefabricated delivery package exists.

[0097] In operation S404, when the version number of the prefabricated delivery package does not exist, prompt the user to resubmit the version number.

[0098] In operation S405, when the version number of the prefabricated delivery package exists, determine whether the version number is the latest version number.

[0099] In operation S406, when the version number is not the latest version number, prompt the user to confirm whether the version number is correct.

[0100] In operation S407, when the user confirms that the version number is correct, obtain the prefabricated delivery package corresponding to the version number from the artifact library and display the code scanning result corresponding to the version number.

[0101] In operation S408, when the version number is the latest version number, obtain the prefabricated delivery package corresponding to the version number from the artifact library and display the code scanning result corresponding to the version number.

[0102] In operation S409, use the configuration replacement program to perform keyword matching on the product environment configuration information in the prefabricated delivery package and the customer IT environment information in the product delivery branch.

[0103] In operation S410, when the keyword matching result of the product environment configuration information and the customer IT environment information meets the second preset condition, use the configuration replacement program to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information in the product delivery branch to generate a product delivery version package.

[0104] In this embodiment, for the same product, there may be multiple prefabricated delivery packages. Therefore, each prefabricated delivery package has a corresponding version number. Before matching the product configuration information in the prefabricated delivery package with the customer IT environment information by keywords, it is necessary to first confirm whether the version of the obtained prefabricated delivery package is correct. In this embodiment, the configuration replacement program added to the product delivery branch is used to check the version number of the prefabricated delivery package. In the case where the version number of the prefabricated delivery package does not exist, the user is prompted to re-enter the version number. In the case where the version number of the prefabricated delivery package exists, it is further necessary to determine whether this version number is the latest version number. In the case where this version number is not the latest version number, the user is prompted to confirm whether this version number is correct. In the case where the user confirms that this version number is correct, the prefabricated delivery package corresponding to this version number is obtained from the artifact library, and the code scan result corresponding to this version number is displayed. In the case where this version number is the latest version number, the prefabricated delivery package corresponding to this version number is directly obtained from the artifact library, and the code scan result corresponding to this version number is displayed. Confirming the prefabricated delivery package before matching the product configuration information in the prefabricated delivery package with the customer IT environment information by keywords can avoid replacing the product configuration information in other prefabricated delivery packages, improving the efficiency of product delivery and the quality of the finally delivered product.

[0105] Figure 5 Schematically shows a flowchart of another product delivery method according to an embodiment of the present disclosure. As Figure 5 shown, the method of this embodiment includes operation S510 to operation S580. Among them, operation S510 to operation S540 can be implemented in the same or similar manner as operation S210 to S240 respectively, and the repeated parts will not be described in detail again.

[0106] In operation S510, a prefabricated delivery package and a product delivery branch are constructed.

[0107] In operation S520, product configuration item information, a configuration replacement program, and customer IT environment information are obtained.

[0108] In operation S530, the product configuration item information and the configuration replacement program are added to the product delivery branch.

[0109] In operation S540, the customer IT environment information is added to the product delivery branch to trigger a pre-created automated configuration replacement task. The automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition. In the case where the customer IT environment information meets the preset condition, the product environment configuration information in the prefabricated delivery package is replaced with the customer IT environment information by using the configuration replacement program to generate a product delivery version package.

[0110] In operation S550, the product delivery version package is archived into the archive library.

[0111] In operation S560, the customer information corresponding to the product delivery version package is obtained.

[0112] In operation S570, an archive directory corresponding to the product delivery version package is created according to the customer information.

[0113] In operation S580, all product delivery version packages delivered to the customer are retained.

[0114] In this embodiment, the product delivery version packages delivered to the customer are archived into the archive library, and the corresponding archive directory is created. At the same time, all product delivery version packages delivered to the customer are retained, realizing the unified management of the product delivery version packages and making the information change of the product traceable.

[0115] Based on the above product delivery method, the present disclosure also provides a product delivery device. The following will be combined with Figure 6 This device will be described in detail.

[0116] Figure 6 The structural block diagram of the product delivery device according to an embodiment of the present disclosure is schematically shown.

[0117] As Figure 6 shown, the product delivery device 600 of this embodiment includes a construction module 610, an acquisition module 620, an addition module 630, and a replacement module 640.

[0118] The construction module 610 is used to construct a prefabricated product delivery package and a product delivery branch. The prefabricated product delivery package includes product environment configuration information. In one embodiment, the construction module 610 may be used to perform the operation S210 described above, which will not be elaborated here.

[0119] The acquisition module 620 is used to acquire product configuration item information, a configuration replacement program, and customer IT environment information. In one embodiment, the acquisition module 620 may be used to perform the operation S220 described above, which will not be elaborated here.

[0120] The addition module 630 is used to add the product configuration item information and the configuration replacement program to the product delivery branch. In one embodiment, the addition module 630 may be used to perform the operation S230 described above, which will not be elaborated here.

[0121] The replacement module 640 is used to add customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task. The automated configuration replacement task includes determining whether the customer IT environment information meets a preset condition. When the customer IT environment information meets the preset condition, a configuration replacement program is used to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information, generating a product delivery version package, which is used to be delivered to the customer. In one embodiment, the replacement module 640 can be used to perform the operation S240 described above, which will not be elaborated here.

[0122] It should be noted that the implementation manners, the technical problems solved, the functions achieved, and the technical effects achieved by each module / unit / sub-unit, etc. in some embodiments of the apparatus are the same as or similar to those of the corresponding steps in the method embodiments, which will not be elaborated here.

[0123] According to the embodiments of the present disclosure, any combination of the construction module 610, the acquisition module 620, the addition module 630, and the replacement module 640 can be combined and implemented in one module, or any one of them can be split into multiple modules. Or, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to the embodiments of the present disclosure, at least one of the construction module 610, the acquisition module 620, the addition module 630, and the replacement module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by any other reasonable means such as integrating or packaging circuits, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in any appropriate combination of several of them. Or, at least one of the construction module 610, the acquisition module 620, the addition module 630, and the replacement module 640 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0124] Figure 7 A block diagram of an electronic device suitable for implementing the product delivery method according to an embodiment of the present disclosure is schematically shown.

[0125] As Figure 7As shown, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703. The processor 701 can include, for example, a general microprocessor (e.g., CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 can also include on-board memory for caching purposes. The processor 701 can include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0126] In the RAM 703, various programs and data required for the operation of the electronic device 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. The processor 701 performs various operations of the method flow according to an embodiment of the present disclosure by executing the program in the ROM 702 and / or the RAM 703. It should be noted that the program can also be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 can also perform various operations of the method flow according to an embodiment of the present disclosure by executing the program stored in the one or more memories.

[0127] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, and the input / output (I / O) interface 705 is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read from it can be installed into the storage section 708 as needed.

[0128] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist separately without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to an embodiment of the present disclosure is implemented.

[0129] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program may be used by or in combination with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the above-described ROM 702 and / or RAM 703 and / or one or more memories other than ROM 702 and RAM 703.

[0130] An embodiment of the present disclosure further includes a computer program product, which includes a computer program that contains program code for executing the method shown in the flowchart. When the computer program product runs in a computer system, the program code is used to enable the computer system to implement the product delivery method provided by the embodiment of the present disclosure.

[0131] When the computer program is executed by the processor 701, the above functions defined in the system / apparatus of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, apparatuses, modules, units, etc. may be implemented by computer program modules.

[0132] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and be downloaded and installed through the communication part 709, and / or be installed from the removable medium 711. The program code included in the computer program may be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0133] In such an embodiment, the computer program may be downloaded and installed from the network through the communication part 709, and / or be installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, devices, apparatuses, modules, units, etc. may be implemented by computer program modules.

[0134] According to embodiments of the present disclosure, program code for executing the computer programs provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The programming languages include, but are not limited to, such as Java, C++, Python, the "C" language, or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0136] Those skilled in the art can understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.

[0137] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should fall within the scope of the present disclosure.

Claims

1. A product delivery method, characterized in that, Including: Constructing a prefabricated delivery package and creating a product delivery branch, the prefabricated delivery package including product environment configuration information; Obtaining product configuration item information, a configuration replacement program, and customer IT environment information; Adding the product configuration item information and the configuration replacement program to the product delivery branch; Adding the customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task, the automated configuration replacement task including determining whether the customer IT environment information meets a preset condition, and in the case where the customer IT environment information meets the preset condition, using the configuration replacement program to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information to generate a product delivery version package for delivery to the customer; The prefabricated delivery package is stored in a repository, and the using the configuration replacement program to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information to generate a product delivery version package specifically includes: Using the configuration replacement program to obtain the prefabricated delivery package from the repository; Using the configuration replacement program to perform keyword matching between the product environment configuration information in the prefabricated delivery package and the customer IT environment information in the product delivery branch; In the case where the keyword matching result between the product environment configuration information and the customer IT environment information meets a second preset condition, using the configuration replacement program to replace the product environment configuration information in the prefabricated delivery package with the customer IT environment information in the product delivery branch to generate a product delivery version package.

2. The product delivery method according to claim 1, wherein, Before using the configuration replacement program to perform keyword matching between the product environment configuration information in the prefabricated delivery package and the customer IT environment information in the product delivery branch, the method further includes: Obtaining the version number of the prefabricated delivery package; Using the configuration replacement program to determine whether the version number of the prefabricated delivery package exists; In the case where the version number of the prefabricated delivery package does not exist, prompting the user to resubmit the version number; In the case where the version number of the prefabricated delivery package exists, determining whether the version number is the latest version number; In the case where the version number is not the latest version number, prompting the user to confirm whether the version number is correct; In the case where the user confirms that the version number is correct, obtaining the prefabricated delivery package corresponding to the version number from the repository and displaying the code scan result corresponding to the version number; In the case where the version number is the latest version number, obtaining the prefabricated delivery package corresponding to the version number from the repository and displaying the code scan result corresponding to the version number.

3. The product delivery method according to claim 1, characterized in that, The creating the product delivery branch includes: Obtaining customer-side environment information corresponding to the product; Creating the product delivery branch in the code repository according to the customer-side environment information; The product delivery branch includes product standard configuration information.

4. The product delivery method according to claim 1, wherein The method further includes: Archiving the product delivery version package into an archive repository; Obtain customer information corresponding to the product delivery version package; Establish an archive directory corresponding to the product delivery version package according to the customer information; Retain all product delivery version packages delivered to customers.

5. The product delivery method according to claim 1, characterized in that, The method further includes: When the customer IT environment information does not meet the preset conditions, prompt the user to re-edit and upload the customer IT environment information that meets the preset conditions.

6. A product delivery device, characterized in that, Include: A construction module for constructing a prefabricated product delivery package and creating a product delivery branch, where the prefabricated product delivery package includes product environment configuration information; An acquisition module for acquiring product configuration item information, a configuration replacement program, and customer IT environment information; An addition module for adding the product configuration item information and the configuration replacement program to the product delivery branch; A replacement module for adding the customer IT environment information to the product delivery branch to trigger a pre-created automated configuration replacement task, where the automated configuration replacement task includes determining whether the customer IT environment information meets the preset conditions. When the customer IT environment information meets the preset conditions, use the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information to generate a product delivery version package for delivery to customers; The prefabricated product delivery package is stored in a repository. The process of using the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information to generate a product delivery version package specifically includes: Use the configuration replacement program to obtain the prefabricated product delivery package from the repository; Use the configuration replacement program to perform keyword matching between the product environment configuration information in the prefabricated product delivery package and the customer IT environment information in the product delivery branch; When the keyword matching result between the product environment configuration information and the customer IT environment information meets the second preset condition, use the configuration replacement program to replace the product environment configuration information in the prefabricated product delivery package with the customer IT environment information in the product delivery branch to generate a product delivery version package.

7. An electronic device, characterized in that, Include: One or more processors; A storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, It stores executable instructions, and when the instructions are executed by a processor, the processor is caused to execute the method according to any one of claims 1 to 5.

9. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by a processor, it implements the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Product delivery method and device of continuous integration system and electronic equipment

    CN111651189A

  • Private delivery information processing method and device, electronic equipment and storage medium

    CN113835743A