Software interface maintenance method and system, computer equipment and storage medium
A software interface and maintenance system technology, applied in software maintenance/management, program files, code refactoring, etc., can solve the problems of scattered modification, heavy workload, and low efficiency, and achieve the effect of avoiding inconsistency and reducing maintenance workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] An embodiment of the present invention, such as figure 1 As shown, the present invention provides a kind of software interface maintenance method, comprises steps:
[0052] S1. Define a product macro corresponding to the original interface document.
[0053] In this solution, the original interface document is the only source, and any interface changes are completed in the original interface document, and revision records are made. By defining the product macro corresponding to the original interface document, the inclusion relationship of each interface can be determined.
[0054] S2. When the interface is updated, the original interface document is correspondingly updated.
[0055] In the prior art, the commonly used maintenance method is to modify the software header file every time the original interface document is changed, and the second is to only maintain the header file, and then use Docco, Dexy, Doxygen, TurnAPI and other conversion tools to read the header f...
Embodiment 2
[0063] An embodiment of the present invention, on the basis of Embodiment 1, uses a script tool to read the updated original interface document, and generates a corresponding header file and / or external interface document by inputting the product macro, and also includes step:
[0064] If the external interface document is generated, and some content of the updated original interface document is not disclosed to the public, the hidden part of the original interface document is calibrated by hidden macros.
[0065] Use the script tool to read the updated original interface document, and generate an external interface document that does not include the hidden macro labeling part by inputting product macros.
[0066] The generated external interface documents are provided to customers, which is convenient for customers to consult and use. At the same time, because the interfaces corresponding to the original interface document may not be fully disclosed, therefore, the undisclos...
Embodiment 3
[0068] An embodiment of the present invention, on the basis of Embodiment 1 or 2, further includes: defining product macros of different products corresponding to original interface documents under the same framework.
[0069] Define the format of the original interface document and update the original interface document for product macros of different products.
[0070] Use the script tool to read the updated original interface document, and generate the corresponding header file and / or external interface document by inputting the product macro of the corresponding product.
[0071] Preferably, after defining the product macros of different products corresponding to the original interface documents under the same architecture, further steps are included:
[0072] Determine the inclusion relationship of each interface; calibrate the interfaces that belong to different products through product macros; do not limit the interfaces that belong to the public part.
[0073] In actu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


