CN-121998225-A - Project delivery method, device, equipment and storage medium
Abstract
The application provides a project delivery method, a device, equipment and a storage medium, which can be applied to the technical fields of proprietary cloud, application software and the like, and comprises the steps that a management device acquires project information of a target project to be delivered and downloads a software source component package for obtaining the target project from a delivery storage module based on the project information of the target project; the method comprises the steps of determining storage addresses of each of N software source materials corresponding to a target item in a research and development storage module based on N description files of a software source assembly package, generating download addresses of the N software source materials based on the storage addresses of the N software source materials in the research and development storage module and item information of the target item, generating a delivery package of the target item based on the download addresses of the software source assembly and the N software source materials, and storing the delivery package in the delivery storage module, so that delivery equipment downloads the delivery package from the delivery storage module, and the delivery quality of the item is improved.
Inventors
- BAI YUAN
Assignees
- 腾讯科技(深圳)有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241105
Claims (15)
- 1. A method of project delivery, applied to a management device, the method comprising: Acquiring item information of a target item to be delivered, and downloading a software source assembly package of the target item from a delivery storage module based on the item information of the target item, wherein the software source assembly package at least comprises a software source assembly of the target item and N description files, the description files are used for describing storage addresses of software source materials corresponding to the target item in a research and development storage module, and N is a positive integer; Determining a storage address of each software source material in the research and development storage module in N software source materials corresponding to the target item based on the N description files; Generating download addresses of the N software source materials based on the storage addresses of the N software source materials in the research and development storage module and the item information of the target item respectively; And generating a delivery package of the target item based on the download addresses of the software source component and the N software source materials, and storing the delivery package in the delivery storage module so that a delivery device downloads the delivery package from the delivery storage module.
- 2. The method of claim 1, wherein the item information includes an item identification, a delivery time, and an authorization token for the target item, and wherein the downloading of the software source package for the target item from a delivery storage module based on the item information for the target item comprises: Downloading the software source component package from the delivery storage module based on the item identification of the target item; the generating the download address of the N software source materials based on the storage addresses of the N software source materials in the research and development storage module and the item information of the target item, includes: And generating a download address of an ith software source material in the N software source materials based on a storage address of the ith software source material in the research and development storage module, an item identification, delivery time and an authorization token of the target item, wherein i is a positive integer less than or equal to N.
- 3. The method of claim 2, wherein the generating a delivery package for the target item based on the software source component and the download addresses of the N software source materials comprises: generating a download script based on the download address of each of the N software source components; and generating a delivery package of the target item based on the software source component and the download script, and marking the state of the delivery package as a package waiting to be exported.
- 4. The method of claim 1, wherein prior to downloading the software source component package for the target item from the delivery storage module based on the item information for the target item, the method further comprises: acquiring a software source component and N description files of the target item; compiling and packaging the software source component and the N description files to generate the software source component package; setting a label for the software source component package, and marking the state of the software source component package as a release state; And storing the software source component package with the release state in the delivery storage module.
- 5. The method of claim 4, wherein the obtaining the software source component and N description files of the target item comprises: If M addresses are newly added in a first address list corresponding to the target item, the M addresses are obtained, the first address list comprises storage addresses of description files corresponding to the target item in the research and development storage module, and M is a positive integer; Based on the M addresses, downloading M new description files corresponding to the target item from the research and development storage module; Based on the M new description files, acquiring the software source component from the software source component code library, and acquiring the N description files, wherein the N description files comprise the M new description files.
- 6. The method of claim 5, wherein the retrieving the software source component from the software source component code library based on the M new description files, and retrieving the N description files, comprises: Writing the M new description files into the software source component code library; and acquiring the software source component and the N description files from the software source component code library.
- 7. The method of claim 5, wherein the retrieving the software source component from the software source component code library based on the M new description files, and retrieving the N description files, comprises: Acquiring the software source component and N-M description files from the software source component code library; And forming the N description files by using the N-M description files of the M new description files.
- 8. The method of claim 7, wherein the method further comprises: and writing the M new description files into the software source component code library.
- 9. The method of claim 5, wherein the method further comprises: Downloading M new software source materials corresponding to the target item; storing the M new software source materials in the research and development storage module to obtain storage addresses of the M new software source materials in the research and development storage module; Generating M new description files based on the storage addresses of the M new software source materials in the research and development storage module; storing the M new description files in the research and development storage module to obtain storage addresses of the M new description files in the research and development storage module; and adding the storage addresses of the M new description files in the research and development storage module to the first address list.
- 10. A method of delivering a project, applied to a delivery apparatus, the method comprising: Acquiring item information of a target item to be delivered, and downloading a delivery package of the target item from a delivery storage module based on the item information; Analyzing the delivery package to obtain the software source components of the target item and the download addresses of N software source materials; Downloading N software source materials from the research and development storage module based on the download addresses of the N software source materials; Completing delivery of the target item based on the software source component and the N software source materials; The delivery package is generated based on a software source component of the target item and download addresses of N software source materials, the download addresses of the N software source materials are generated based on storage addresses of the N software source materials in the research and development storage module respectively, and item information of the target item, the storage addresses of the N software source materials in the research and development storage module are determined based on N description files corresponding to the target item, the software source component and the N description files are obtained by analyzing a software source component package of the target item, the description files are used for describing the storage addresses of the software source materials corresponding to the target item in the research and development storage module, and the software source component package is stored in the delivery storage module.
- 11. The method of claim 10, wherein the project information includes a project identification, a delivery time, and an authorization token for the target project, wherein downloading the N software source materials from the development memory module based on the download addresses of the N software source materials comprises: Performing address authentication based on the item identification, delivery time and authorization token of the target item; And after the address authentication is passed, downloading N software source materials from the research and development storage module based on the downloading addresses of the N software source materials.
- 12. An item delivery apparatus for use with a management device, the apparatus comprising: The system comprises an acquisition unit, a development storage module and a storage module, wherein the acquisition unit is used for acquiring project information of a target project to be delivered, and downloading a software source assembly package of the target project from a delivery storage module based on the project information of the target project, wherein the software source assembly package at least comprises a software source assembly of the target project and N description files, the description files are used for describing storage addresses of software source materials corresponding to the target project in the development storage module, and N is a positive integer; The address determining unit is used for determining the storage address of each software source material in the research and development storage module, corresponding to the target item, based on the N description files; The address generation unit is used for generating download addresses of the N software source materials based on the storage addresses of the N software source materials in the research and development storage module and the item information of the target item; And the delivery unit is used for generating a delivery package of the target item based on the download addresses of the software source component and the N software source materials, and storing the delivery package in the delivery storage module so that the delivery device downloads the delivery package from the delivery storage module.
- 13. An item delivery apparatus for use with a delivery device, the apparatus comprising: An acquisition unit for acquiring item information of a target item to be delivered, and downloading a delivery package of the target item from a delivery storage module based on the item information; the analysis unit is used for analyzing the delivery package to obtain the software source component of the target item and the download addresses of N software source materials; the downloading unit is used for downloading the N software source materials from the research and development storage module based on the downloading addresses of the N software source materials; the delivery unit is used for completing the delivery of the target item based on the software source component and the N software source materials; The delivery package is generated based on a software source component of the target item and download addresses of N software source materials, the download addresses of the N software source materials are generated based on storage addresses of the N software source materials in the research and development storage module respectively, and item information of the target item, the storage addresses of the N software source materials in the research and development storage module are determined based on N description files corresponding to the target item, the software source component and the N description files are obtained by analyzing a software source component package of the target item, the description files are used for describing the storage addresses of the software source materials corresponding to the target item in the research and development storage module, and the software source component package is stored in the delivery storage module.
- 14. An electronic device comprising a processor and a memory; The memory is used for storing a computer program; The processor for executing the computer program to implement the method of any of the preceding claims 1 to 9 or 10 to 11.
- 15. A computer-readable storage medium storing a computer program; The computer program causes a computer to perform the method of any of the preceding claims 1 to 9 or 10 to 11.
Description
Project delivery method, device, equipment and storage medium Technical Field The embodiment of the application relates to the technical field of computers, in particular to a project delivery method, a device, equipment and a storage medium. Background In the delivery process of a project such as a proprietary cloud or an application program, the project developed by the research end needs to be delivered to a client. Current project delivery methods typically involve the developer storing software source materials of the project to be delivered in a development storage module. And the delivery personnel copies the software source material of the project to be delivered from the research and development storage module, and then brings the software source material to a delivery site for delivery deployment. However, some projects have large data volume of software source materials, and when the current project delivery method is used for delivery, data omission or errors are easily caused, so that the project delivery efficiency and the project delivery quality are low. Disclosure of Invention The application provides a project delivery method, a device, equipment and a storage medium, which can improve the delivery quality and the delivery efficiency of projects. In a first aspect, the present application provides a project delivery method, applied to a management device, the method comprising: Acquiring item information of a target item to be delivered, and downloading a software source assembly package of the target item from a delivery storage module based on the item information of the target item, wherein the software source assembly package at least comprises a software source assembly of the target item and N description files, the description files are used for describing storage addresses of software source materials corresponding to the target item in a research and development storage module, and N is a positive integer; Determining a storage address of each software source material in the research and development storage module in N software source materials corresponding to the target item based on the N description files; Generating download addresses of the N software source materials based on the storage addresses of the N software source materials in the research and development storage module and the item information of the target item respectively; And generating a delivery package of the target item based on the download addresses of the software source component and the N software source materials, and storing the delivery package in the delivery storage module so that a delivery device downloads the delivery package from the delivery storage module. In a second aspect, the present application provides a method for delivering a project, applied to a delivering apparatus, the method comprising: Acquiring item information of a target item to be delivered, and downloading a delivery package of the target item from a delivery storage module based on the item information; Analyzing the delivery package to obtain the software source components of the target item and the download addresses of N software source materials; Downloading N software source materials from the research and development storage module based on the download addresses of the N software source materials; Completing delivery of the target item based on the software source component and the N software source materials; The delivery package is generated based on a software source component of the target item and download addresses of N software source materials, the download addresses of the N software source materials are generated based on storage addresses of the N software source materials in the research and development storage module respectively, and item information of the target item, the storage addresses of the N software source materials in the research and development storage module are determined based on N description files corresponding to the target item, the software source component and the N description files are obtained by analyzing a software source component package of the target item, the description files are used for describing the storage addresses of the software source materials corresponding to the target item in the research and development storage module, and the software source component package is stored in the delivery storage module. In a third aspect, the present application provides an item delivery apparatus for use with a management device, the apparatus comprising: The system comprises an acquisition unit, a development storage module and a storage module, wherein the acquisition unit is used for acquiring project information of a target project to be delivered, and downloading a software source assembly package of the target project from a delivery storage module based on the project information of the target project, wherein the software source assembly package at least comprises a