Document generation method and system, equipment and medium
A document generation and equipment technology, applied in the direction of creating/generating source code, program files, software maintenance/management, etc., can solve the problems of cumbersome document formation process, low efficiency, affecting software efficiency, etc., and achieve the effect of shortening the document generation time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 It is a flow chart of the steps of a document generation method provided in Embodiment 1 of the present invention. This embodiment is applicable to the automatic generation of software documents, and the method can be executed by a document generation system. The hardware implementation specifically includes the following steps:
[0023] Step 101, extracting model classes included in the target development software.
[0024] Among them, the target development software can be newly developed or original software that lacks software documentation, and the model class can be a data class in the model layer in the target development software, which can be used to set or obtain data attributes, and can also be used to control data processing.
[0025] Specifically, it is possible to obtain the code files of all classes in the target development software, determine whether there is a data class in the model layer or a class for setting or obtaining data, and if the...
Embodiment 2
[0036] figure 2 It is a flow chart of the steps of a document generating method provided in Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see figure 2 , the document generation method provided by the embodiment of the present invention includes:
[0037] Step 201, extract configuration parameters in the target development software, and obtain model classes associated with the configuration parameters.
[0038] Step 202, determine whether the first programming code constituting the model class contains interface information and annotation information.
[0039] Wherein, the first programming code may be the constituent code of the data class in the model layer, the interface information may be the information containing the interface keyword Interface, and the annotation information may be the information containing the annotation keyword @.
[0040] Specifically, you can obtain the compos...
Embodiment 3
[0070] image 3 It is a schematic structural diagram of a document generation system provided in Embodiment 3 of the present invention. The document generation system provided in the embodiment of the present invention can execute the document generation method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects such as image 3 As shown, the system includes: an extraction module 301 and a document generation module 302 .
[0071] An extraction module 301, configured to extract the model classes contained in the target development software;
[0072] The document generation module 302 is configured to generate a corresponding development instruction document according to the programming codes constituting the model class if the model class meets the document generation requirements.
[0073] In the technical solution of this embodiment, the model class of the target development software is obtained by the extrac...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com