Interface document generation method and device, storage medium and electronic equipment

A technology for interface files and file storage, applied in the computer field, can solve problems such as inability to update in real time, input of manpower, inconsistent document quality, etc., and achieve the effect of improving production efficiency and quality

Pending Publication Date: 2021-06-29
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of software development, the interface document needs to be maintained between the interface provider and the interface user, but maintaining this interface document will involve many problems such as manpower investment and real-time update.
[0003] However, in the

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
  • Interface document generation method and device, storage medium and electronic equipment
  • Interface document generation method and device, storage medium and electronic equipment
  • Interface document generation method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a schematic flowchart of a method for generating an interface document provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically generating an interface document, and the method can be executed by a device for generating an interface document provided by the embodiment of the present invention. , the device may be realized by means of software and / or hardware, and the device may be integrated into electronic equipment such as a computer. The method specifically includes the following steps:

[0029] S110. Acquire an interface file of any interface, identify a character string in the interface file, and generate a file storage list based on the character string in each interface file and the full path information of each interface file.

[0030] S120. Perform reflection processing based on the full path information to obtain parameters in the character strings of each interface file.

[0031] S130....

Embodiment 2

[0050] figure 2 It is a schematic flowchart of a method for generating an interface document provided in Embodiment 2 of the present invention, which is optimized on the basis of the above embodiments. Optionally, the parsing strategy based on each parameter performs parameterization on each parameter Parsing to obtain the attributes and attribute descriptions of each parameter, including: for at least one input parameter of the function, circularly perform reflection processing on each input parameter to obtain the attribute and attribute type of each input parameter; based on the input parameter The class class is matched in the file storage list to determine the attribute description of each attribute of the input parameter. As well as the analysis strategy based on each parameter, performing parameter analysis on each parameter to obtain the attribute and attribute description of each parameter, including: for the output parameter of the function, performing reflection pr...

Embodiment 3

[0068] Figure 6 It is a schematic structural diagram of an interface document generating device provided in Embodiment 3 of the present invention, and the device includes:

[0069] Interface file obtaining module 310, for obtaining the interface file of any interface;

[0070] The file storage list generating module 320 is used to identify the character strings in the interface files, and generate a file storage list based on the character strings in each of the interface files and the full path information of each of the interface files;

[0071] A parameter determination module 330, configured to perform reflection processing based on the full path information to obtain parameters in the character strings of each of the interface files;

[0072] The parameter parsing module 340 is configured to perform parameter parsing on each parameter based on the parsing strategy of each parameter, and obtain the attribute and attribute description of each parameter;

[0073] The inte...

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 discloses an interface document generation method and device, a storage medium and electronic equipment, and the method comprises the following steps:obtaining an interface file of any interface, recognizing a character string in the interface file, and generating a file storage list based on the character string in each interface file and the full-path information of each interface file; performing reflection processing based on the full-path information to obtain parameters in character strings of the interface files; based on the analysis strategy of each parameter, performing parameter analysis on each parameter to obtain the attribute and attribute description of each parameter; and generating an interface document based on each parameter, the attribute corresponding to each parameter and the attribute description. Automatic analysis of the interface file and automatic generation of the interface document are achieved, the process of manually generating the interface document is replaced, and the generation efficiency and quality of the interface document are improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular to a method, device, storage medium and electronic equipment for generating an interface document. Background technique [0002] With the rapid development of technology, various platforms are constantly launching new software and updating existing software to meet the needs of users. During the software development process, the interface document needs to be maintained between the interface provider and the interface user, but maintaining this interface document will involve many problems such as manpower investment and inability to update in real time. [0003] However, in the process of realizing the present invention, the inventors found that there are at least the following technical problems in the prior art: the current interface documents are usually manually written by developers, the efficiency is low, and the document quality is not uniform...

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
IPC IPC(8): G06F8/73G06F40/186G06F40/279
CPCG06F8/73G06F40/186G06F40/279
Inventor 程浩
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products