Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2021-05-07
上海擎昆信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the modification of the first method is scattered, the workload is large, and the efficiency is low, and the external interface documents and header files are often inconsistent, which affects the maintenance and management of the software interface; the second method cannot achieve tabular display of interface parameters. Not easy for customers to read

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software interface maintenance method and system, computer equipment and storage medium
  • Software interface maintenance method and system, computer equipment and storage medium
  • Software interface maintenance method and system, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a software interface maintenance method and system, computer equipment and a storage medium. The method comprises the following steps: defining a product macro corresponding to an original interface document; correspondingly updating the original interface document when the interface is updated; reading the updated original interface document by using a script tool, and generating a corresponding header file and / or an external interface document by inputting the product macro; and if the header file is generated, updating the header file to a code library, and performing a compiling test. According to the scheme, the maintenance workload is low, tabular display of the interface parameters is facilitated, inconsistency of the external interface document and the header file can be avoided, and reading of a client is facilitated.

Description

technical field [0001] The invention relates to the technical field of software interface maintenance, in particular to a software interface maintenance method, system, computer equipment and storage medium. Background technique [0002] The interface in the computer world has two meanings: one refers to the narrow "interface" of the software itself, such as various software development APIs, etc.; the other refers to the interactive interface between humans and software. When the system architecture remains unchanged, it is often necessary to expand or change the interface documents and header files for different customized customers. [0003] In the prior art, the commonly used method is to modify the software header file every time the original interface document is changed; the second is to only maintain the header file, and then use conversion tools such as Docco, Dexy, Doxygen, TurnAPI to read the header file and generate an external interface document . However, the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/72G06F8/73
CPCG06F8/72G06F8/73G06F8/30
Inventor 董华进武传国渠慎征
Owner 上海擎昆信息科技有限公司