A software storage method, device, equipment and storage medium

By integrating code warehouses and product data management systems, the automated storage and configuration management of drone system software is realized, which solves the problem of inconsistent code version and configuration management, and improves development efficiency and security.

CN119271246BActive Publication Date: 2025-02-25AVIC (CHENGDU) UAS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411797278.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-02-25
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

The code version and configuration management of existing drone system software are inconsistent, resulting in cumbersome and unsafe development process and lack of automated storage functions, resulting in manual upload and management, which is time-consuming and error-prone.

Method used

By integrating the code warehouse and product data management system, a single system management of software code warehouse and configuration management functions is realized, and the inclusion process is automated to ensure the consistency of code version and configuration.

Benefits of technology

Simplifies the development process, improves work efficiency, ensures consistency and reliability of code versions and configurations, and reduces the possibility of manual errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271246B_ABST
    Figure CN119271246B_ABST
Patent Text Reader

Abstract

The present application discloses a software warehousing method, device, equipment and storage medium, which relates to the field of software development and is applied to a code warehouse system, including: determining the name of the software to be stored; generating a query request according to the software name and sending it to the product data management system, and calling the corresponding interface to obtain the corresponding software information; filling the software information into the storage application form and sending it to the developer terminal, and receiving the updated storage application form, submitting the updated storage application form to the product data management system through the corresponding interface, so that the product data management system mounts the configuration file of the software to be stored to the software product instance node according to the updated storage application form; receiving a storage form status query request and querying the storage status of the software to be stored and returning it to the developer terminal. By integrating the code warehouse and the product data management system, the software code warehouse and configuration management functions are realized in a single system to ensure the consistency of the code version and configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software development, and in particular to a software warehousing method, device, equipment and storage medium. Background Art

[0002] Due to the characteristics of the drone product management system, the finished drones need to be managed in a unified tree structure. Currently, the relevant documents, source code, and object code of the drone software instance DSI (Design Specification Instance) are all uploaded manually, which makes it difficult to ensure version correspondence and code consistency. The manual uploading process is time-consuming and very inconvenient.

[0003] In the process of self-developed airborne software development, the code repository is used to store and manage source code, while the configuration management system is used to manage configuration files in software projects. At present, the software code repository of the drone system and the product configuration management system (such as PDM (Product Data Management, Product Data Management System) as a software product library) are separated, which requires developers to switch between multiple systems and manually upload relevant software configuration items into the configuration management system for management. This not only increases the workload, but also easily leads to inconsistencies between version control and configuration management. At present, since the PDM product data management system is a customized system and the industries that use it for product data management are relatively fixed, most PDM configuration management is still managed manually for hardware or equipment products. For docking with the software development tool chain, the current main method is to manually fill out the warehousing application form, manually upload the corresponding configuration item file, and manually check and approve it for warehousing. The PDM system does not have the function of automatically warehousing the baseline code in the software code warehouse, and can only perform configuration management activities manually.

[0004] That is to say, currently multiple systems are needed to perform configuration management activities in PDM, but the systems are highly independent. The R&D tool chain provides software development tools for code development and automatic code compilation and construction, but it cannot automatically store the software configuration files in the configuration management node in the PDM data management system. The manual process cannot guarantee code consistency, security, and confidentiality. When entering the PDM configuration management system, security is difficult to guarantee only by manual inspection by product library configuration managers. For example, when developers update the code, they may forget to recompile and build, and fail to update the corresponding user manual update function points, resulting in inconsistencies in the configuration documents, source code, and target code in the new version of the PDM product library. The destruction of consistency may cause the aircraft to be installed with incorrect versions of software or even malicious code, which in turn causes serious problems caused by aircraft system failures.

[0005] At present, there is another configuration management method that uses a software lifecycle management platform to manage software configuration. Although it can achieve a certain degree of automation, this type of platform does not have the function of a software development tool chain, and the development process cannot be carried out on the platform. Therefore, it is still necessary to manually upload the software products to the corresponding configuration management module to perform configuration management activities. Therefore, how to improve the reliability of cross-platform software configuration is a problem to be solved in this field. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide a software warehousing method, device, equipment and storage medium, which can realize the software code warehouse and configuration management functions in a single system by integrating the code warehouse and product data management system, and ensure the consistency of code version and configuration. The specific scheme is as follows:

[0007] In a first aspect, the present application provides a software storage method, which is applied to a preset code warehouse system, including:

[0008] Obtaining a software storage request initiated by a developer terminal, and determining the software name of the software to be stored according to the software storage request;

[0009] Generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request;

[0010] Fill the software information into the preset storage application form, send the preset storage application form to the developer terminal, receive the updated preset storage application form submitted by the developer terminal, and submit the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, so that the preset product data management system mounts the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset storage application form;

[0011] Receive a first inventory status query request from the developer terminal, query the current inventory status of the software to be stored through the inventory status query interface corresponding to the preset product data management system according to the first inventory query request, and return the inventory status to the developer terminal.

[0012] Optionally, before obtaining the software storage request initiated by the developer terminal and determining the software name of the software to be stored according to the software storage request, the method further includes:

[0013] Acquire the software development code corresponding to the software version baseline submitted by the developer terminal, and trigger the preset software building task of the preset code repository system according to the software version baseline;

[0014] Executing the preset software construction task generates corresponding software source code and software executable object code according to the software development code.

[0015] Optionally, the receiving the updated preset warehousing application form submitted by the developer terminal includes:

[0016] Receive the updated preset warehousing application form based on the software source code and the software executable object code submitted by the developer terminal, so that the preset product data management system can mount the software source code corresponding to the software to be stored and the software configuration items corresponding to the software executable object code to the corresponding software product instance node according to the updated preset warehousing application form.

[0017] Optionally, the calling a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request includes:

[0018] Calling the corresponding query interface in the preset product data management system to obtain the software product instance attribute corresponding to the query request;

[0019] Accordingly, filling the software information into the preset warehousing application form includes:

[0020] The software product instance attribute is filled into the preset storage application form, and the status of the software product instance attribute in the preset storage application form is set to an unmodifiable state.

[0021] Optionally, submitting the updated preset warehousing application form to the preset product data management system through a corresponding warehousing form submission interface in the preset product data management system includes:

[0022] Generate a software storage request corresponding to the software to be stored according to the updated preset storage application form;

[0023] The software warehousing request is submitted to the preset product data management system through the warehousing order submission interface in the preset product data management system according to the corresponding interface definition specification.

[0024] Optionally, after submitting the updated preset warehousing application form to the preset product data management system through the corresponding warehousing form submission interface in the preset product data management system, the method further includes:

[0025] Obtain the warehousing information determined according to the preset warehousing application form returned by the preset product data management system, and send the warehousing information to the developer terminal; the warehousing information includes the warehousing order number, warehousing status and warehousing process creation result corresponding to the preset warehousing application form.

[0026] Optionally, the receiving a first storage order status query request from the developer terminal, and querying the current storage status of the to-be-stored software through a storage status query interface corresponding to the preset product data management system according to the first storage order query request, includes:

[0027] receiving the first incoming order status query request generated by the developer terminal according to the incoming order number, and generating a corresponding second incoming order status query request according to the incoming order number in the first incoming order status query request;

[0028] The second storage order status query request is sent to the preset product data management system to query the current storage status of the software to be stored through the storage status query interface corresponding to the preset product data management system.

[0029] In a second aspect, the present application provides a software storage device, which is applied to a preset code warehouse system, including:

[0030] A name determination module is used to obtain a software storage request initiated by a developer terminal, and determine the software name of the software to be stored according to the software storage request;

[0031] An information query module, used to generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request;

[0032] A form submission module, used to fill the software information into a preset storage application form, send the preset storage application form to the developer terminal, receive the updated preset storage application form submitted by the developer terminal, and submit the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, so that the preset product data management system mounts the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset storage application form;

[0033] The status query module is used to receive the first inventory status query request from the developer terminal, query the current inventory status of the software to be stored through the inventory status query interface corresponding to the preset product data management system according to the first inventory query request, and return the inventory status to the developer terminal.

[0034] In a third aspect, the present application provides an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the aforementioned software warehousing method.

[0035] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, which implements the aforementioned software warehousing method when executed by a processor.

[0036] In the present application, a software entry request initiated by a developer terminal can be obtained, and the software name of the software to be entered can be determined according to the software entry request, and then a corresponding query request can be generated according to the software name, and the query request can be sent to the preset product data management system, and the corresponding query interface in the preset product data management system can be called to obtain the software information corresponding to the query request, and then the software information can be filled into the preset entry application form, and the preset entry application form can be sent to the developer terminal, and the updated preset entry application form submitted by the developer terminal can be received, and the updated preset entry application form can be submitted to the preset product data management system through the corresponding entry form submission interface in the preset product data management system, so that the preset product data management system can mount the configuration file corresponding to the software to be entered to the corresponding software product instance node according to the updated preset entry application form, and after receiving the first entry form status query request from the developer terminal, the current entry status of the software to be entered can be queried through the entry status query interface corresponding to the preset product data management system according to the entry form query request, and the entry status can be returned to the developer terminal. In this way, this application can integrate the code repository and configuration management system across platforms, and replace the manual process by implementing the software code repository and configuration management functions in a single system, simplifying the development process, and submitting the entry application through the code repository system calling the configuration management system interface. Developers can operate the configuration item entry application in the code repository system. In this way, the system can automatically transfer the source code and other configuration file data to the configuration management system in an integrated manner, solving the inconvenience of users having to switch between multiple systems, and there is no time-consuming operation of uploading configuration items, which greatly improves efficiency and ensures the consistency and reliability of the code version and configuration. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 A flow chart of a software storage method provided for this application;

[0039] Figure 2 A schematic diagram of data interaction between a code repository system and a PDM system provided for this application;

[0040] Figure 3 A flowchart for initiating a software storage request provided for this application;

[0041] Figure 4 A software entry approval flow chart provided for this application;

[0042] Figure 5 A specific software storage status query method flow chart provided for this application;

[0043] Figure 6 A software storage status query flow chart provided for this application;

[0044] Figure 7 A schematic diagram of the structure of a software storage device provided for this application;

[0045] Figure 8 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] Regarding PDM configuration management, when connecting to the software development tool chain, it is currently mainly done by manually filling out the warehousing application form, manually uploading the corresponding configuration item files, and manually checking and approving them for warehousing. The PDM system does not have the function of automatically warehousing the baseline code in the software code repository. This application can integrate the code repository and configuration management system across platforms, and by implementing the software code repository and configuration management functions in a single system, it replaces the manual process, simplifies the development process, and ensures the consistency and reliability of the code version and configuration.

[0048] See also Figure 1 As shown, an embodiment of the present invention discloses a software storage method, which is applied to a preset code warehouse system, including:

[0049] Step S11: obtaining a software storage request initiated by a developer terminal, and determining the software name of the software to be stored according to the software storage request.

[0050] First of all, it should be pointed out that the integrated business of the code warehouse system and the PDM system in this embodiment, that is, the preset product data management system, is mainly composed of the following service modules:

[0051] Code warehouse system: includes service modules such as code hosting, assembly line, product library, and controlled library. Among them, the controlled library module is integrated with PDM for configuration management services.

[0052] PDM system: includes configuration management external service docking module and configuration management service module to participate in integration business; among them, the configuration management external service docking module is responsible for receiving all external system requests for PDM configuration management services; the configuration management service module service is responsible for executing related configuration management functions and business processes.

[0053] Among them, the specific data relationship between the above code warehouse system and the PDM system involving the configuration management integration service module is as follows: Figure 2 shown.

[0054] And if Figure 3 As shown, in this embodiment, before obtaining the software warehousing request initiated by the developer terminal and determining the software name of the software to be stored according to the software warehousing request, the software development code corresponding to the software version baseline submitted by the developer terminal can also be obtained, and the preset software building task of the preset code repository system can be triggered according to the software version baseline, and then the preset software building task is executed to generate the corresponding software source code and software executable target code according to the software development code.

[0055] That is to say, in this embodiment, the developer develops the code and submits it to the code hosting module. After the software development completes the version functional characteristics, the developer establishes the baseline (TAG) of the version in the code hosting module. After that, the pipeline module automatically triggers the build task according to the baseline (TAG), performs compilation and packaging actions, and after the pipeline task is successfully executed, the structure - software source code and software executable target code are automatically pushed to the product library, so that the developer can select the specified software name in the controlled library module of the code warehouse system and prepare to initiate an application for storage in the PDM system.

[0056] Step S12: Generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request.

[0057] In this embodiment, a corresponding query request can be generated according to the software name, the query request can be sent to the preset product data management system, and the corresponding query interface in the preset product data management system can be called to obtain the software information corresponding to the query request. When calling the corresponding query interface to obtain the software information corresponding to the query request, the corresponding query interface in the preset product data management system can be specifically called to obtain the software product instance attribute corresponding to the query request.

[0058] like Figure 3 As shown, the controlled library module can call the query interface provided by the configuration management open interface module of the PDM system, and initiate a query request with information such as the software name. Then, the PDM system configuration management external service docking module internally calls the configuration management internal service in the PDM system, and carries the software name and other information transmitted by the code repository for query, so that the PDM system configuration management internal service can query the corresponding software instance DSI attributes based on the software name, TAG and other information, and return them to the PDM system configuration management external service docking module. Then, the PDM system configuration management open interface module can return the corresponding software instance DSI attributes to the code repository controlled library service in the format agreed upon by the interface.

[0059] Step S13, fill the software information into the preset warehousing application form, and send the preset warehousing application form to the developer terminal, and receive the updated preset warehousing application form submitted by the developer terminal, and submit the updated preset warehousing application form to the preset product data management system through the corresponding warehousing form submission interface in the preset product data management system, so that the preset product data management system can mount the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset warehousing application form.

[0060] In this embodiment, after receiving the software information from the preset product data management system, the code warehouse system can automatically fill the software information including the software product instance attributes into the preset storage application form, and set the status of the software product instance attributes in the preset storage application form to an unmodifiable state, and then send the preset storage application form to the developer, and receive the updated preset storage application form submitted by the developer based on the software source code and the software executable object code, and then generate a software storage request corresponding to the software to be stored according to the updated preset storage application form, and submit the software storage request to the preset product data management system through the storage form submission interface in the preset product data management system according to the corresponding interface definition specification. So that the preset product data management system can mount the software configuration items corresponding to the configuration file including the software source code and the software executable object code corresponding to the software to be stored under the corresponding software product instance node according to the updated preset storage application form.

[0061] That is to say, Figure 3 As shown, after the controlled library module service of the code warehouse system in this embodiment receives the result returned by the PDM system open interface module, it can process the returned information and return the processed information to the automatic filling application form for the developer to view and confirm, and the returned DSI information is grayed out and cannot be modified in the application form. Figure 4As shown, the developer can confirm the software version information to be stored, including the DSI information and version information of the software returned by the PDM system, and then select the corresponding controlled source code, target code and other configuration files from the controlled library, fill them in the storage application form, and submit the storage application form in the code warehouse system. Then the controlled library module of the code warehouse initiates a request to the PDM system configuration management external service docking module. The request carries all the parameter information of the storage order according to the interface definition specification. After that, the configuration management external service docking module of the PDM system internally calls the configuration management service module of the same system. After the internal service completes the creation, the storage order number and other information are returned to the caller (code warehouse system) interface module. After receiving the storage order number, storage process status, creation result and other information returned by the PDM system interface module interface, the controlled library module service of the code warehouse system performs logical processing and displays the creation result information to the developer. And in this process, the PDM system executes the relevant processes of the product library (approval, storage, automatic creation of new DSI nodes, etc.). When the storage is approved, the configuration management internal service of the PDM system performs business processing, creates or updates the specified version of DSI node data, and mounts the stored configuration files and work products to the corresponding DSI nodes, which means that the storage is successful. In this way, the code warehouse system can call the PDM interface to view the DSI instance information and version information of the software in the PDM system. Developers can select the corresponding version of the configuration items from the controlled library based on the queried DSI information and version information, which solves the problem of version inconsistency caused by users manually uploading the wrong version of the configuration items, as well as the security and reliability problems of tampering with the configuration file content.

[0062] Step S14, receiving a first warehousing order status query request from the developer terminal, querying the current warehousing status of the software to be stored through the warehousing status query interface corresponding to the preset product data management system according to the first warehousing order query request, and returning the warehousing status to the developer terminal.

[0063] In this embodiment, a first inventory status query request can be received from the developer terminal, and the current inventory status of the software to be stored can be queried through the inventory status query interface corresponding to the preset product data management system according to the inventory query request, and the queried inventory status can be returned to the developer terminal.

[0064] In this embodiment, the query interface provided by the PDM system is first called in an integrated manner in the code warehouse system to obtain the latest DSI information and version information of the software according to the specified software name, and the attribute information corresponding to the warehouse entry form is automatically filled in, so that the developer can confirm the configuration items and version information that need to be entered into the PDM system, which brings great convenience to the developer and improves work efficiency at the same time; afterwards, the code warehouse system calls the warehouse entry form submission interface of the PDM system in an integrated manner, and the developer can submit the controlled configuration files and work product data in the code warehouse system to the PDM system, and then initiate PDM entry without manually uploading data and filling in project information. That is to say, by calling the PDM interface through the code warehouse system to submit the entry application, the developer can operate the configuration item entry application in the code warehouse system, and automatically transfer the configuration file data such as the source code to the PDM system in an integrated manner, which solves the inconvenience of users switching multiple system operations, and there is no time-consuming configuration item upload time-consuming operation, which greatly improves efficiency and ensures data security and reliability. In this way. This embodiment can automatically transfer the controlled configuration item data in the code warehouse system to the PDM system by integrating the code warehouse system of the development tool chain and the PDM system of the software engineering management tool chain, thereby saving a lot of manpower and time resources while ensuring the security and reliability of data transmission.

[0065] Based on the previous embodiment, it can be known that the present application can automatically transfer configuration file data such as source code to the configuration management system in an integrated manner to implement software storage. Next, the process of software storage status query will be described in detail in this embodiment. Figure 5 As shown, the embodiment of the present application discloses a specific method for querying software storage status, which is applied to a preset code warehouse system, including:

[0066] Step S21, obtain the warehousing information determined according to the preset warehousing application form returned by the preset product data management system, and send the warehousing information to the developer terminal; the warehousing information includes the warehousing order number, warehousing status and warehousing process creation result corresponding to the preset warehousing application form.

[0067] In this embodiment, the storage information determined according to the preset storage application form returned by the preset product data management system is first obtained, and the storage information is sent to the developer terminal; wherein the above storage information includes the storage order number corresponding to the preset storage application form, storage status and storage process creation result. Figure 4As shown, the configuration management external service docking module of the PDM system internally calls the configuration management service module of the same system. After the internal service completes the creation, the warehouse entry number and other information are returned to the caller (code warehouse system) interface module. After the controlled library module service of the code warehouse system receives the warehouse entry number, warehouse entry process status, creation result and other information returned by the PDM system interface module interface, it performs logical processing and displays the creation result information to the developer terminal.

[0068] Step S22: receiving a first incoming order status query request generated by the developer terminal according to the incoming order number, and generating a corresponding second incoming order status query request according to the incoming order number in the first incoming order status query request.

[0069] In this embodiment, a first inbound order status query request generated by a developer terminal according to an inbound order number can be received, and a corresponding second inbound order status query request can be generated according to the inbound order number in the first inbound order status query request. Figure 6 As shown, the developer terminal can query the warehousing process status information in the code warehouse system by selecting the warehousing order number, and then the controlled library module of the code warehouse system initiates a request to the configuration management external service docking module of the PDM system for query.

[0070] Step S23: Send the second storage order status query request to the preset product data management system to query the current storage status of the software to be stored through the storage status query interface corresponding to the preset product data management system.

[0071] In this embodiment, the second storage order status query request is sent to the preset product data management system, and the current storage status of the software to be stored can be queried through the storage status query interface corresponding to the preset product data management system. Figure 6 As shown, after the configuration management external service of the PDM system calls the configuration management service for query, the internal configuration management service of the PDM system processes it and returns the warehousing order process information to the configuration management external service docking module. Then, after the configuration management external service module of the PDM system receives the warehousing order process information, it returns the result to the interface caller, so that after the controlled library module of the code warehouse system receives the return result of the PDM system interface, it displays the result for the developer terminal to view. In this way, in this embodiment, the warehousing process data in the PDM system can be viewed in real time in the code warehouse system through an integrated method, without the need to log in and switch multiple systems to query business processes such as warehousing, thereby improving work efficiency.

[0072] Through the above technical solution, in this embodiment, after the developer has developed, compiled, and built, the code warehouse system storage application module directly queries and obtains the information of the corresponding software DSI in the PDM system and automatically fills in the storage application form. By filling in the storage application form in the code warehouse and submitting the application, the PDM system receives the storage form data and automatically initiates the approval storage process, and automatically stores the configuration items generated by the development tool chain into the PDM system through system integration. After that, the developer can view the status information of the submitted storage form. In this way, the code warehouse system integrates the interface of the PDM system to query the storage status information according to the storage order number. The developer can view the storage status information in the PDM system in real time in the code warehouse system, and make timely processing according to the storage results, ensuring the efficient operation of the configuration item storage business.

[0073] See also Figure 7 As shown, the embodiment of the present application also discloses a software storage device, which is applied to a preset code warehouse system, including:

[0074] The name determination module 11 is used to obtain the software storage request initiated by the developer terminal, and determine the software name of the software to be stored according to the software storage request;

[0075] An information query module 12, configured to generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request;

[0076] The form submission module 13 is used to fill the software information into the preset storage application form, send the preset storage application form to the developer terminal, and receive the updated preset storage application form submitted by the developer terminal, and submit the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, so that the preset product data management system can mount the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset storage application form;

[0077] The status query module 14 is used to receive the first inventory status query request from the developer terminal, query the current inventory status of the software to be stored through the inventory status query interface corresponding to the preset product data management system according to the first inventory query request, and return the inventory status to the developer terminal.

[0078] This embodiment first obtains a software entry request initiated by a developer terminal, and determines the software name of the software to be entered according to the software entry request, then generates a corresponding query request according to the software name, sends the query request to a preset product data management system, and calls a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request, then fills the software information into a preset entry application form, sends the preset entry application form to the developer terminal, and receives an updated preset entry application form submitted by the developer terminal, submits the updated preset entry application form to the preset product data management system through a corresponding entry form submission interface in the preset product data management system, so that the preset product data management system mounts the configuration file corresponding to the software to be entered to the corresponding software product instance node according to the updated preset entry application form, and after receiving a first entry form status query request from the developer terminal, queries the current entry status of the software to be entered through a entry status query interface corresponding to the preset product data management system according to the entry form query request, and returns the entry status to the developer terminal. Through the above technical solution, the code repository and configuration management system can be integrated across platforms, and the software code repository and configuration management functions can be implemented in a single system to replace the manual process, simplify the development process, and submit the storage application through the code repository system calling the configuration management system interface. The developer terminal can operate the configuration item storage application in the code repository system. In this way, the configuration file data such as source code can be automatically transferred to the configuration management system in an integrated manner, which solves the inconvenience of users having to switch between multiple systems and eliminates the time-consuming operation of uploading configuration items, greatly improving efficiency and ensuring the consistency and reliability of code versions and configurations.

[0079] In some specific embodiments, the software storage device further includes:

[0080] A task triggering module, used to obtain the software development code corresponding to the software version baseline submitted by the developer terminal, and trigger the preset software building task of the preset code repository system according to the software version baseline;

[0081] The configuration file generation module is used to execute the preset software construction task to generate corresponding software source code and software executable target code according to the software development code.

[0082] In some specific embodiments, the form submission module 13 specifically includes:

[0083] An application form receiving unit is used to receive the preset warehousing application form updated based on the software source code and the software executable object code and submitted by the developer terminal, so that the preset product data management system can mount the software source code corresponding to the software to be stored and the software configuration items corresponding to the software executable object code to the corresponding software product instance node according to the updated preset warehousing application form.

[0084] In some specific embodiments, the information query module 12 specifically includes:

[0085] An attribute acquisition unit, used for calling the corresponding query interface in the preset product data management system to acquire the software product instance attribute corresponding to the query request;

[0086] Accordingly, the form submission module 13 specifically includes:

[0087] The attribute filling unit is used to fill the software product instance attribute into the preset storage application form, and set the status of the software product instance attribute in the preset storage application form to an unmodifiable state.

[0088] In some specific embodiments, the form submission module 13 specifically includes:

[0089] A first request generating unit, configured to generate a software storage request corresponding to the software to be stored according to the updated preset storage application form;

[0090] The first request submission unit is used to submit the software warehousing request to the preset product data management system through the warehousing order submission interface in the preset product data management system according to the corresponding interface definition specification.

[0091] In some specific embodiments, the software storage device further includes:

[0092] An information forwarding module is used to obtain the warehousing information determined according to the preset warehousing application form returned by the preset product data management system, and send the warehousing information to the developer terminal; the warehousing information includes the warehousing order number, warehousing status and warehousing process creation result corresponding to the preset warehousing application form.

[0093] In some specific embodiments, the state query module 14 specifically includes:

[0094] A second request generating unit is used to receive the first incoming order status query request generated by the developer terminal according to the incoming order number, and generate a corresponding second incoming order status query request according to the incoming order number in the first incoming order status query request;

[0095] The second request submission unit is used to send the second warehousing order status query request to the preset product data management system, so as to query the current warehousing status of the software to be stored through the warehousing status query interface corresponding to the preset product data management system.

[0096] Furthermore, the present application also discloses an electronic device. Figure 8 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0097] Figure 8 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the software warehousing method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0098] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0099] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0100] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to computer programs that can be used to complete the software warehousing method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.

[0101] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the software storage method disclosed above. The specific steps of the method can refer to the corresponding contents disclosed in the above embodiments, and will not be repeated here.

[0102] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0103] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0104] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0105] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0106] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A software warehousing method, characterized in that: Applicable to the preset code repository system, including: Obtaining a software storage request initiated by a developer terminal, and determining the software name of the software to be stored according to the software storage request; Generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request; Fill the software information into the preset storage application form, send the preset storage application form to the developer terminal, receive the updated preset storage application form submitted by the developer terminal, and submit the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, so that the preset product data management system mounts the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset storage application form; Receive a first inventory status query request from the developer terminal, query the current inventory status of the software to be stored through the inventory status query interface corresponding to the preset product data management system according to the first inventory status query request, and return the inventory status to the developer terminal.

2. The software warehousing method according to claim 1, characterized in that: Before obtaining the software storage request initiated by the developer terminal and determining the software name of the software to be stored according to the software storage request, the method further includes: Acquire the software development code corresponding to the software version baseline submitted by the developer terminal, and trigger the preset software building task of the preset code repository system according to the software version baseline; Executing the preset software construction task generates corresponding software source code and software executable object code according to the software development code.

3. The software warehousing method according to claim 2, characterized in that: The receiving the updated preset storage application form submitted by the developer terminal includes: Receive the updated preset warehousing application form based on the software source code and the software executable object code submitted by the developer terminal, so that the preset product data management system can mount the software source code corresponding to the software to be stored and the software configuration items corresponding to the software executable object code to the corresponding software product instance node according to the updated preset warehousing application form.

4. The software warehousing method according to claim 1, characterized in that: The calling of a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request includes: Calling the corresponding query interface in the preset product data management system to obtain the software product instance attribute corresponding to the query request; Accordingly, filling the software information into the preset warehousing application form includes: The software product instance attribute is filled into the preset storage application form, and the status of the software product instance attribute in the preset storage application form is set to an unmodifiable state.

5. The software warehousing method according to claim 1, characterized in that: Submitting the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system includes: Generate a software storage request corresponding to the software to be stored according to the updated preset storage application form; The software warehousing request is submitted to the preset product data management system through the warehousing order submission interface in the preset product data management system according to the corresponding interface definition specification.

6. The software warehousing method according to any one of claims 1 to 5, characterized in that: After submitting the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, the method further includes: Obtain the warehousing information determined according to the preset warehousing application form returned by the preset product data management system, and send the warehousing information to the developer terminal; the warehousing information includes the warehousing order number, warehousing status and warehousing process creation result corresponding to the preset warehousing application form.

7. The software warehousing method according to claim 6, characterized in that: The receiving a first storage order status query request from the developer terminal, and querying the current storage status of the to-be-stored software through a storage status query interface corresponding to the preset product data management system according to the first storage order status query request, comprises: receiving the first incoming order status query request generated by the developer terminal according to the incoming order number, and generating a corresponding second incoming order status query request according to the incoming order number in the first incoming order status query request; The second storage order status query request is sent to the preset product data management system to query the current storage status of the software to be stored through the storage status query interface corresponding to the preset product data management system.

8. A software warehousing device, characterized in that: Applicable to the preset code repository system, including: A name determination module is used to obtain a software storage request initiated by a developer terminal, and determine the software name of the software to be stored according to the software storage request; An information query module, used to generate a corresponding query request according to the software name, send the query request to a preset product data management system, and call a corresponding query interface in the preset product data management system to obtain software information corresponding to the query request; A form submission module, used to fill the software information into a preset storage application form, send the preset storage application form to the developer terminal, receive the updated preset storage application form submitted by the developer terminal, and submit the updated preset storage application form to the preset product data management system through the corresponding storage form submission interface in the preset product data management system, so that the preset product data management system mounts the configuration file corresponding to the software to be stored to the corresponding software product instance node according to the updated preset storage application form; The status query module is used to receive the first inventory status query request from the developer terminal, query the current inventory status of the software to be stored through the inventory status query interface corresponding to the preset product data management system according to the first inventory status query request, and return the inventory status to the developer terminal.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the software warehousing method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the software warehousing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Product data management system in software development process

    CN107423035A

  • Information sharing method and apparatus for product data management system

    CN109284433A