CN113703759A - Code generation method, device, medium and equipment - Google Patents
Code generation method, device, medium and equipment Download PDFInfo
- Publication number
- CN113703759A CN113703759A CN202111006413.7A CN202111006413A CN113703759A CN 113703759 A CN113703759 A CN 113703759A CN 202111006413 A CN202111006413 A CN 202111006413A CN 113703759 A CN113703759 A CN 113703759A
- Authority
- CN
- China
- Prior art keywords
- attribute field
- analyzed
- page template
- target
- similarity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004590 computer program Methods 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 17
- 238000013473 artificial intelligence Methods 0.000 abstract description 2
- 238000003062 neural network model Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 206010020751 Hypersensitivity Diseases 0.000 description 1
- 208000026935 allergic disease Diseases 0.000 description 1
- 230000007815 allergy Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application relates to artificial intelligence, and provides a code generation method, a device, a medium and equipment, wherein the method comprises the following steps: receiving a first attribute field to be analyzed; searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library; if the page template corresponding to the first attribute field to be analyzed is not found, taking the attribute field to be analyzed as a target attribute field, and generating a target page template based on the target attribute field; if the page template corresponding to the first attribute field to be analyzed is found, taking the found page template corresponding to the first attribute field to be analyzed as a target page template; and generating a software code corresponding to the target page template. According to the method, the target page template is obtained by matching the first attribute field to be analyzed, and then the software code corresponding to the target page template is generated, so that the code input workload of a software developer in the software development process is reduced while the software development is completed.
Description
Technical Field
The invention relates to the field of artificial intelligence, in particular to a code generation method, a device, a medium and equipment.
Background
With the development of more and more medical industry projects, a plurality of business modules with similar functions are encountered, and the development of the traditional method can realize the similar functions by copying and modifying similar function codes or files, so that the mode easily causes human errors, causes information transmission distortion, requires a user to spend a large amount of time for editing, and has the problems of incomplete contents and professional relevance in editing and generating.
Disclosure of Invention
The invention provides a code generation method, a device, a medium and equipment, and mainly aims to reduce the code input workload of software developers in the software development process, shorten the development period and the test period of the software development process, and improve the software development efficiency and the software quality.
To achieve the above object, the present invention provides a code generation method, including:
receiving a first attribute field to be analyzed;
searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result;
generating a target page template according to the search result, if the search result is that the page template corresponding to the first attribute field to be analyzed is not searched, taking the first attribute field to be analyzed as the target attribute field, and generating the target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and generating a software code corresponding to the target page template.
Optionally, each of the page templates includes a standard attribute field, and the searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result includes:
calculating a first similarity between the first attribute field to be analyzed and the standard attribute field;
comparing the first similarity with a set first similarity threshold value;
if the first similarity is greater than or equal to the first similarity threshold, the search result is that a page template corresponding to the first attribute field to be analyzed exists in the page template library;
if the first similarity is smaller than the first similarity threshold, the search result indicates that no page template corresponding to the first attribute field to be analyzed exists in the page template library.
Optionally, if the page template corresponding to the first attribute field to be analyzed is not found, the method further includes:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
obtaining the synonymous attribute field of the difference attribute field;
replacing the difference attribute field with a synonymous attribute field;
and matching a second attribute field to be analyzed with the standard attribute field to obtain a matching result, wherein the second attribute field to be analyzed comprises a common attribute field and a synonymous attribute field.
Optionally, the obtaining the synonymous attribute field of the difference attribute field includes:
acquiring an attribute field library, wherein different basic fields and fields which have the same semantics with the basic fields and are different in expression are stored in the attribute fields;
and searching the synonymous attribute field from the attribute field library according to the mapping relation between the basic field and the synonymous attribute field.
Optionally, the matching the second attribute field to be analyzed with the standard attribute field to obtain a matching result, including:
calculating a second similarity between the second attribute field to be analyzed and the standard attribute field;
comparing the second similarity with a set second similarity threshold to obtain a matching result; wherein the matching result comprises a matching success and a matching failure;
if the second similarity is greater than or equal to the second similarity threshold, the matching result is a successful matching;
and if the second similarity is smaller than the second similarity threshold, the matching result is unsuccessful.
Optionally, the screening a target page template from a plurality of page templates includes:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
determining a key attribute field in the common attribute field;
calculating the association degree of the difference attribute field and the key attribute field;
determining a target difference attribute field from a plurality of difference attribute fields based on the association degree, and forming the target difference attribute field and a common attribute field into a target attribute field;
and taking the page template corresponding to the target attribute field as a target page template.
Optionally, the difference attribute field with the maximum degree of association and the difference attribute field in the key attribute field are used as a target difference attribute field, and then the target difference attribute field and the common attribute field are spliced to obtain a target attribute field.
To achieve the above object, the present invention provides a code generating apparatus comprising:
the field receiving module is used for receiving a first attribute field to be analyzed;
the searching module is used for searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a searching result;
the page template generating module is used for generating a target page template according to the search result, if the search result indicates that the page template corresponding to the first attribute field to be analyzed is not found, the first attribute field to be analyzed is used as a target attribute field, and the target page template is generated based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and the code generation module is used for generating a software code corresponding to the target page template.
To achieve the above object, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the code generation method.
To achieve the above object, the present invention provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the code generation method described above.
As described above, the code generation method, apparatus, medium, and device provided by the present invention have the following beneficial effects:
the invention discloses a code generation method, which comprises the following steps: receiving a first attribute field to be analyzed; searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result; generating a target page template according to the search result, if the search result is that the page template corresponding to the first attribute field to be analyzed is not searched, taking the first attribute field to be analyzed as the target attribute field, and generating the target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template; and generating a software code corresponding to the target page template. According to the method, the target page template is obtained by matching the first attribute field to be analyzed, and then the software code corresponding to the target page template is generated, so that the code input workload of a software developer in the software development process is reduced while the software development is completed, the development cycle and the test cycle of the software development process are shortened, and the software development efficiency and the software quality are improved.
Drawings
FIG. 1 is a schematic diagram of an application environment of a code generation method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a code generation method according to an embodiment of the present invention;
FIG. 3 is a flowchart of search result generation in an embodiment of the present invention;
FIG. 4 is a flowchart of a method when a page template is not searched for in an embodiment of the present invention;
FIG. 5 is a flowchart of a method for matching a second attribute field to be analyzed with the standard attribute field according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for selecting a target page template from a plurality of page templates according to an embodiment of the present invention;
FIG. 7 is a block diagram of a code generation apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a code generation method which is applied to an electronic device 1. Fig. 1 is a schematic diagram of an application environment of a code generation method according to an embodiment of the present invention.
In the present embodiment, the electronic device 1 may be a terminal device having an arithmetic function, such as a server, a smart phone, a tablet computer, a portable computer, or a desktop computer.
The electronic device 1 includes: a processor 12, a memory 11, an imaging device 13, a network interface 14, and a communication bus 15.
The memory 11 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory 11, and the like. In some embodiments, the readable storage medium may be an internal storage unit of the electronic apparatus 1, such as a hard disk of the electronic apparatus 1. In other embodiments, the readable storage medium may also be an external memory 11 of the electronic device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1.
In the present embodiment, the readable storage medium of the memory 11 is generally used for storing the code generation program 10 and the like installed in the electronic apparatus 1. The memory 11 may also be used to temporarily store data that has been output or is to be output.
The imaging device 13 may be a part of the electronic device 1 or may be independent of the electronic device 1. In some embodiments, the electronic device 1 is a terminal device having a camera, such as a smart phone, a tablet computer, a portable computer, and the like, and then the camera 13 is the camera of the electronic device 1. In other embodiments, the electronic device 1 may be a server, and the camera 13 is independent from the electronic device 1 and connected to the electronic device 1 through a network, for example, the camera 13 is installed in a specific location, such as an office or a monitoring area, and captures a real-time image of a target entering the specific location in real time, and transmits the captured real-time image to the processor 12 through the network.
The network interface 14 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication link between the electronic apparatus 1 and other electronic devices.
The communication bus 15 is used to realize connection communication between these components.
Fig. 1 only shows the electronic device 1 with components 11-15, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
Optionally, the electronic device 1 may further include a user interface, the user interface may include an input unit such as a Keyboard (Keyboard), a voice input device such as a microphone (microphone) or other equipment with a voice recognition function, a voice output device such as a sound box, a headset, etc., and optionally the user interface may further include a standard wired interface, a wireless interface.
Optionally, the electronic device 1 may further comprise a display, which may also be referred to as a display screen or a display unit. In some embodiments, the display device may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch device, or the like. The display is used for displaying information processed in the electronic apparatus 1 and for displaying a visualized user interface.
Optionally, the electronic device 1 further comprises a touch sensor. The area provided by the touch sensor for the user to perform touch operation is called a touch area. Further, the touch sensor described herein may be a resistive touch sensor, a capacitive touch sensor, or the like. The touch sensor may include not only a contact type touch sensor but also a proximity type touch sensor. Further, the touch sensor may be a single sensor, or may be a plurality of sensors arranged in an array, for example.
The area of the display of the electronic device 1 may be the same as or different from the area of the touch sensor. Optionally, a display is stacked with the touch sensor to form a touch display screen. The device detects touch operation triggered by a user based on the touch display screen.
Optionally, the electronic device 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which are not described herein again.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In the apparatus embodiment shown in fig. 1, an operating system, and a code generating program 10 may be included in a memory 11 as a machine-readable medium; the processor 12, when executing the code generation program 10 stored in the memory 11, implements the steps of the code generation method as shown in fig. 2:
s20, receiving a first attribute field to be analyzed;
s21, searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result;
s22, generating a target page template according to the search result, if the search result is that the page template corresponding to the first attribute field to be analyzed is not found, taking the first attribute field to be analyzed as the target attribute field, and generating the target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and S23, generating a software code corresponding to the target page template.
According to the method, the target page template is obtained by matching the first attribute field to be analyzed, and then the software code corresponding to the target page template is generated, so that the code input workload of a software developer in the software development process is reduced while the software development is completed, the development cycle and the test cycle of the software development process are shortened, and the software development efficiency and the software quality are improved.
In step S20, a first attribute field to be analyzed is received;
the first attribute field to be analyzed may be name, gender, department, age, chief complaints, past history, allergy history, etc.
In step S21, a plurality of page templates are pre-stored in the preset page template library, where the page templates are pre-written examples or selected examples.
As shown in fig. 3, in an embodiment, each of the page templates includes a standard attribute field, and the searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result includes:
s301, calculating a first similarity between the first attribute field to be analyzed and the standard attribute field;
s302, comparing the first similarity with a set first similarity threshold value;
the searching result comprises that the page template is searched and the page template is not searched in a preset page template library;
s303, if the first similarity is greater than or equal to the first similarity threshold, the search result is that the page template corresponding to the first attribute field to be analyzed exists in the page template library;
s304, if the first similarity is smaller than the first similarity threshold, the search result indicates that no page template corresponding to the first attribute field to be analyzed exists in the page template library.
The first similarity is a determination indicator of whether the first attribute field to be analyzed is consistent with the standard attribute field, that is, the first similarity may be a similarity between the first attribute field to be analyzed and the standard attribute field, so that whether the first attribute field to be analyzed is consistent with the standard attribute field may be determined according to the similarity.
In an embodiment, when the first similarity between the first attribute field to be analyzed and the standard attribute field is calculated, the first attribute field to be analyzed and the standard attribute field may be matched with each other on a kanji character-by-kanji character basis, and the first similarity is calculated according to the number of kanji characters successfully matched and the total number of characters in the standard attribute field.
In an embodiment, when the first similarity between the first attribute field to be analyzed and the standard attribute field is calculated, the first attribute field to be analyzed may be converted into a first vector, the standard attribute field may be converted into a corresponding second vector, and then the corresponding cosine similarity may be calculated as the first similarity according to the first vector and the second vector.
In an embodiment, when the first similarity between the first attribute to be analyzed field and the standard attribute field is calculated, the deep neural network model may also be used to calculate the first similarity between the first attribute to be analyzed field and the standard attribute field. Specifically, the first attribute field to be analyzed and the standard attribute field are respectively input into the neural network model, so that a first feature of the first attribute field to be analyzed and a second feature of the standard attribute field are extracted through the neural network model, and the first similarity is calculated according to the first feature and the second feature.
The page template corresponding to the first attribute field to be analyzed is not found, which means that the standard attribute field with the first similarity exceeding the first similarity threshold does not exist in the preset page template library. That is, the first similarity is smaller than the first similarity threshold, which indicates that the standard attribute field and the first attribute field to be analyzed are not consistent fields. At this time, the first attribute field to be analyzed may be used as a target attribute field, and a target page template may be generated based on the target attribute field. And after the target page template is determined, generating a software code corresponding to the target page template.
As shown in fig. 4, in an embodiment, if the page template corresponding to the first attribute field to be analyzed is not found, the method further includes:
s401, acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
s402, obtaining the synonymous attribute field of the difference attribute field;
s403, replacing the difference attribute field with a synonymous attribute field;
s404, matching a second attribute field to be analyzed with the standard attribute field to obtain a matching result, wherein the second attribute field to be analyzed comprises a common attribute field and a synonymous attribute field.
Wherein the difference attribute field refers to other fields except the common attribute field.
In one embodiment, obtaining the synonymous attribute field of the difference attribute field includes:
acquiring an attribute field library, wherein different basic fields and fields which have the same semantics with the basic fields and are different in expression are stored in the attribute fields;
and searching the synonymous attribute field from the attribute field library according to the mapping relation between the basic field and the synonymous attribute field.
The difference attribute field of the second attribute field to be analyzed and the standard attribute field may be a certain field or some fields in the basic field, and the synonymous attribute field corresponding to the difference attribute field may be a field having the same semantic meaning as the basic field.
As shown in fig. 5, in an embodiment, the matching the second attribute field to be analyzed and the standard attribute field to obtain a matching result includes:
s501, calculating a second similarity between the second attribute field to be analyzed and the standard attribute field;
s502, comparing the second similarity with a set second similarity threshold value to obtain a matching result; wherein the matching result comprises a matching success and a matching failure;
s503, if the second similarity is greater than or equal to the second similarity threshold, the matching result is a successful matching;
s504, if the second similarity is smaller than the second similarity threshold, the matching result is unsuccessful.
The second similarity is a determination indicator of whether the second attribute field to be analyzed is consistent with the standard attribute field, that is, the second similarity may be a degree of similarity between the second attribute field to be analyzed and the standard attribute field, so that whether the second attribute field to be analyzed is consistent with the standard attribute field may be determined according to the degree of similarity.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the second attribute field to be analyzed and the standard attribute field may be matched with each other with respect to the kanji characters one by one, the second similarity is calculated according to the number of the kanji characters successfully matched and the total number of the characters in the standard attribute field, the second similarity is compared with a pre-stored second similarity threshold, when the second similarity exceeds the second similarity threshold, it is indicated that the standard attribute field and the second attribute field to be analyzed are identical, the matching is successful, otherwise, the matching is unsuccessful.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the first attribute field to be analyzed may be converted into a first vector, the standard attribute field may be converted into a corresponding second vector, and the corresponding cosine similarity is calculated as the second similarity according to the first vector and the second vector. And comparing the second similarity with a pre-stored second similarity threshold, and when the second similarity exceeds the second similarity threshold, indicating that the standard attribute field and the second attribute field to be analyzed are consistent fields, and successfully matching, otherwise, unsuccessfully matching.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the second similarity between the second attribute field to be analyzed and the standard attribute field may also be calculated by using a deep neural network model, that is, the second attribute field to be analyzed and the standard attribute field are respectively input into the neural network model, so that the first feature of the second attribute field to be analyzed and the second feature of the standard attribute field are extracted by the neural network model, and the second similarity is calculated according to the first feature and the second feature. And comparing the second similarity with a pre-stored second similarity threshold, and when the second similarity exceeds the second similarity threshold, indicating that the standard attribute field and the second attribute field to be analyzed are consistent fields, and successfully matching, otherwise, unsuccessfully matching.
In this embodiment, when a page template corresponding to a first attribute field to be analyzed does not exist in a preset page template library, a difference attribute field between the first attribute field to be analyzed and the standard attribute field is obtained, and then a synonymous attribute field of the difference attribute field is obtained; and finally, calculating the similarity between the second attribute field to be analyzed containing the common attribute field and the synonymous attribute field and the standard attribute field, thereby improving the accuracy of acquiring the page template.
Finding the page template corresponding to the first attribute field to be analyzed in a preset page template library, wherein the fact that a standard attribute field with first similarity exceeding a first similarity threshold exists in the preset page template library. At this time, there are a case where only one page template corresponding to the first attribute field to be analyzed is found, and a case where there are a plurality of page templates corresponding to the first attribute field to be analyzed. And if only one page template corresponding to the first attribute field to be analyzed is found, taking the page template as a target page template. If a plurality of page templates corresponding to the first attribute field to be analyzed are found, one page template needs to be screened from the plurality of page templates to serve as a target page template.
In this embodiment, a plurality of page templates are prestored in a preset page template library, and it is further determined whether the first attribute field to be analyzed is similar to the standard attribute field included in the page template, that is, a first similarity between the first attribute field to be analyzed and the standard attribute field is calculated, and when the first similarity exceeds a first similarity threshold, the first attribute field to be analyzed, of which the first similarity exceeds the first similarity threshold, is taken as a target attribute field, so as to determine the target page template.
As shown in fig. 6, in an embodiment, the screening a target page template from a plurality of page templates includes:
s601, acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
wherein the difference attribute field refers to other fields except the common attribute field.
S602, determining a key attribute field in the common attribute field;
the key attribute field can be determined by the priority of the attribute field, and the priority of the attribute field can be preset. In the database, a first relationship list representing the relationship between the attribute field and the priority is set in advance. In the first relationship list, each attribute field may correspond to a priority. For example, a first attribute field corresponds to a first priority, a second attribute field corresponds to a second priority, a third attribute field corresponds to a third priority, and so on; of course, a priority may correspond to multiple attribute fields, e.g., a first priority may correspond to a first calendar attribute field, a second attribute field, a third attribute field, etc. When the priority of the common attribute field is judged, the common attribute field is searched in the first relation list, and then the priority corresponding to the common attribute field is searched.
In determining the key attribute field of the common attribute fields, an attribute field having a highest priority among the common attribute fields may be used as the key attribute field.
S603, calculating the association degree of the differential attribute field and the key attribute field;
the association degree may be an influence relationship between one attribute field and another attribute field, and the content field corresponding to one attribute field may influence the content field corresponding to another attribute field. The association degree can be distinguished by the size of the numerical value, and the larger the numerical value is, the larger the association degree is, namely the larger the content field corresponding to one attribute field is to the content field corresponding to the other attribute field; the smaller the value, the smaller the degree of association, i.e., the smaller the content field corresponding to one attribute field versus the content field corresponding to another attribute field. For example, the association degree of the two attribute fields of "income" and "academic calendar" is greater than the association degree of the two attribute fields of "income" and "gender". The degree of association of the two attribute fields of "income" and "academic" may be set to 0.8, and the degree of association of the two attribute fields of "income" and "sex" may be set to 0.1.
The degree of association between two attribute fields may be represented by a second relationship list that is set in advance and represents the degree of association between two attribute fields. In the database, a second relationship list may be preset. In the second relationship list, the association degree between any two attribute fields may correspond to a numerical value, for example, the association degree between the first attribute field and the second attribute field is a first numerical value, the association degree between the first attribute field and the third attribute field is a second numerical value, and the association degree between the first attribute field and the fourth attribute field is a third numerical value. Of course, the degree of association between the first attribute field and the second attribute field is a first value, the degree of association between the first attribute field and the third attribute field is a first value, and the degree of association between the first attribute field and the fourth attribute field is a first value. When the association degree between two attribute fields is judged, an attribute field pair consisting of two corresponding attribute fields (a difference attribute field and a key attribute field) is searched in the second relation list, and then the association degree corresponding to the attribute field pair is searched.
S604, determining a target differential attribute field from a plurality of differential attribute fields based on the association degree, and forming the target differential attribute field and a common attribute field into a target attribute field;
when the determined target attribute field is determined, the difference attribute field in the attribute field pair corresponding to the maximum correlation degree can be used as the target difference attribute field, and then the target difference attribute field and the common attribute field are spliced to obtain the target attribute field;
and S605, taking the page template corresponding to the target attribute field as a target page template.
In this embodiment, after the multiple page templates are found, one of the multiple page templates needs to be determined as the target page template, and at this time, the association degree between the differential attribute field and the common attribute field of the two attribute fields is determined, and the target page template is selected according to the association degree, so that the accuracy of selecting the page template is improved.
As shown in fig. 7, an embodiment of the present application further provides a code generation apparatus, where the apparatus includes:
a field receiving module 701, configured to receive a first attribute field to be analyzed;
a searching module 702, configured to search, from a preset page template library, whether a page template corresponding to the first attribute field to be analyzed exists, and generate a search result;
a page template generating module 703, configured to generate a target page template according to the search result, and if the search result indicates that a page template corresponding to the first attribute field to be analyzed is not found, use the first attribute field to be analyzed as a target attribute field, and generate a target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and a code generation module 704, configured to generate a software code corresponding to the target page template.
In an embodiment, each of the page templates includes a standard attribute field, and the page template generating block performs the following steps in a process of searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library and generating a search result:
calculating a first similarity between the first attribute field to be analyzed and the standard attribute field;
comparing the first similarity with a set first similarity threshold value;
if the first similarity is greater than or equal to the first similarity threshold, the search result is that a page template corresponding to the first attribute field to be analyzed exists in the page template library;
if the first similarity is smaller than the first similarity threshold, the search result indicates that no page template corresponding to the first attribute field to be analyzed exists in the page template library.
In an embodiment, the page template generating module matches the first attribute field to be analyzed with the standard attribute field one by one with chinese characters when calculating the first similarity between the first attribute field to be analyzed and the standard attribute field, and calculates the first similarity according to the number of the successfully matched chinese characters and the total number of the characters in the standard attribute field.
In an embodiment, when the page template generating module calculates the first similarity between the first attribute field to be analyzed and the standard attribute field, the first attribute field to be analyzed may be first converted into a first vector, the standard attribute field may be converted into a corresponding second vector, and the corresponding cosine similarity is calculated as the first similarity according to the first vector and the second vector.
In an embodiment, when the page template generating module calculates the first similarity between the first attribute field to be analyzed and the standard attribute field, the deep neural network model may be further used to calculate the first similarity between the first attribute field to be analyzed and the standard attribute field, that is, the first attribute field to be analyzed and the standard attribute field are respectively input into the neural network model, so that the first feature of the first attribute field to be analyzed and the second feature of the standard attribute field are extracted through the neural network model, and the first similarity is calculated according to the first feature and the second feature.
The page template corresponding to the first attribute field to be analyzed is not found, which means that the standard attribute field with the first similarity exceeding the first similarity threshold does not exist in the preset page template library. That is, the first similarity is smaller than the first similarity threshold, which indicates that the standard attribute field and the first attribute field to be analyzed are not consistent fields. At this time, the first attribute field to be analyzed may be used as a target attribute field, and a target page template may be generated based on the target attribute field. And after the target page template is determined, generating a software code corresponding to the target page template.
In an embodiment, after the page template corresponding to the first attribute field to be analyzed is not found, the page template generating module executes the following steps: acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field; obtaining the synonymous attribute field of the difference attribute field; replacing the difference attribute field with a synonymous attribute field; and matching a second attribute field to be analyzed with the standard attribute field to obtain a matching result, wherein the second attribute field to be analyzed comprises a common attribute field and a synonymous attribute field.
In an embodiment, when the page template generating module obtains the synonymous attribute field of the difference attribute field, the following steps are executed: acquiring an attribute field library, wherein different basic fields and fields which have the same semantics with the basic fields and are different in expression are stored in the attribute fields; and searching the synonymous attribute field from the attribute field library according to the mapping relation between the basic field and the synonymous attribute field.
In an embodiment, the page template generating module matches the second attribute field to be analyzed with the standard attribute field to obtain a matching result. Specifically, a second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, and a matching result is obtained according to the second similarity and a set second similarity threshold; wherein the matching result comprises successful matching and unsuccessful matching.
The second similarity is a determination indicator of whether the second attribute field to be analyzed is consistent with the standard attribute field, that is, the second similarity may be a degree of similarity between the second attribute field to be analyzed and the standard attribute field, so that whether the second attribute field to be analyzed is consistent with the standard attribute field may be determined according to the degree of similarity.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the second attribute field to be analyzed and the standard attribute field may be matched with each other with respect to the kanji characters one by one, the second similarity is calculated according to the number of the kanji characters successfully matched and the total number of the characters in the standard attribute field, the second similarity is compared with a pre-stored second similarity threshold, when the second similarity exceeds the second similarity threshold, it is indicated that the standard attribute field and the second attribute field to be analyzed are identical, the matching is successful, otherwise, the matching is unsuccessful.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the first attribute field to be analyzed may be converted into a first vector, the standard attribute field may be converted into a corresponding second vector, and the corresponding cosine similarity is calculated as the second similarity according to the first vector and the second vector. And comparing the second similarity with a pre-stored second similarity threshold, and when the second similarity exceeds the second similarity threshold, indicating that the standard attribute field and the second attribute field to be analyzed are consistent fields, and successfully matching, otherwise, unsuccessfully matching.
In an embodiment, when the second similarity between the second attribute field to be analyzed and the standard attribute field is calculated, the second similarity between the second attribute field to be analyzed and the standard attribute field may also be calculated by using a deep neural network model, that is, the second attribute field to be analyzed and the standard attribute field are respectively input into the neural network model, so that the first feature of the second attribute field to be analyzed and the second feature of the standard attribute field are extracted by the neural network model, and the second similarity is calculated according to the first feature and the second feature. And comparing the second similarity with a pre-stored second similarity threshold, and when the second similarity exceeds the second similarity threshold, indicating that the standard attribute field and the second attribute field to be analyzed are consistent fields, and successfully matching, otherwise, unsuccessfully matching.
In an embodiment, the page template generating module screens a target page template from a plurality of page templates. Specifically, a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field are obtained first; determining a key attribute field in the common attribute field; calculating the association degree of the difference attribute field and the key attribute field; determining a target difference attribute field from a plurality of difference attribute fields based on the association degree, and forming the target difference attribute field and a common attribute field into a target attribute field; and taking the page template corresponding to the target attribute field as a target page template.
In the embodiments, the implementation of the code generation apparatus substantially corresponds to the specific implementation of the code generation method shown in fig. 2, and is not described herein again.
According to the method, the target page template is obtained by matching the first attribute field to be analyzed, and then the software code corresponding to the target page template is generated, so that the code input workload of a software developer in the software development process is reduced while the software development is completed, the development cycle and the test cycle of the software development process are shortened, and the software development efficiency and the software quality are improved.
In an embodiment of the present application, there is also provided a computer readable storage medium having a computer program stored thereon, which when executed by a processor, causes the processor to perform the steps of:
receiving a first attribute field to be analyzed;
searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result;
generating a target page template according to the search result, if the search result is that the page template corresponding to the first attribute field to be analyzed is not searched, taking the first attribute field to be analyzed as the target attribute field, and generating the target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and generating a software code corresponding to the target page template.
In an embodiment, optionally, each of the page templates includes a standard attribute field, and the searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result includes:
calculating a first similarity between the first attribute field to be analyzed and the standard attribute field;
comparing the first similarity with a set first similarity threshold value;
if the first similarity is greater than or equal to the first similarity threshold, the search result is that a page template corresponding to the first attribute field to be analyzed exists in the page template library;
if the first similarity is smaller than the first similarity threshold, the search result indicates that no page template corresponding to the first attribute field to be analyzed exists in the page template library.
In an embodiment, if the page template corresponding to the first attribute field to be analyzed is not found, the method further includes:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
obtaining the synonymous attribute field of the difference attribute field;
replacing the difference attribute field with a synonymous attribute field;
and matching a second attribute field to be analyzed with the standard attribute field to obtain a matching result, wherein the second attribute field to be analyzed comprises a common attribute field and a synonymous attribute field.
In an embodiment, the obtaining the synonymous attribute field of the difference attribute field includes:
acquiring an attribute field library, wherein different basic fields and fields which have the same semantics with the basic fields and are different in expression are stored in the attribute fields;
and searching the synonymous attribute field from the attribute field library according to the mapping relation between the basic field and the synonymous attribute field.
In an embodiment, the matching the second attribute field to be analyzed and the standard attribute field to obtain a matching result includes:
calculating a second similarity between the second attribute field to be analyzed and the standard attribute field;
comparing the second similarity with a set second similarity threshold to obtain a matching result; wherein the matching result comprises a matching success and a matching failure;
if the second similarity is greater than or equal to the second similarity threshold, the matching result is a successful matching;
and if the second similarity is smaller than the second similarity threshold, the matching result is unsuccessful.
In one embodiment, the screening a target page template from a plurality of page templates includes:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
determining a key attribute field in the common attribute field;
calculating the association degree of the difference attribute field and the key attribute field;
determining a target difference attribute field from a plurality of difference attribute fields based on the association degree, and forming the target difference attribute field and a common attribute field into a target attribute field;
and taking the page template corresponding to the target attribute field as a target page template.
In an embodiment, the difference attribute field with the maximum degree of association and the difference attribute field in the key attribute field are used as a target difference attribute field, and then the target difference attribute field and the common attribute field are spliced to obtain a target attribute field.
An embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to perform the steps of the code generation method shown in fig. 2.
The above steps are substantially the same as the specific embodiments of the code generation method and apparatus, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a machine-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A code generation method, comprising:
receiving a first attribute field to be analyzed;
searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a search result;
generating a target page template according to the search result, if the search result is that the page template corresponding to the first attribute field to be analyzed is not searched, taking the first attribute field to be analyzed as the target attribute field, and generating the target page template based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and generating a software code corresponding to the target page template.
2. The code generation method according to claim 1, wherein each of the page templates includes a standard attribute field, and the searching whether a page template corresponding to the first attribute field to be analyzed exists from a preset page template library to generate a search result includes:
calculating a first similarity between the first attribute field to be analyzed and the standard attribute field;
comparing the first similarity with a set first similarity threshold value;
if the first similarity is greater than or equal to the first similarity threshold, the search result is that a page template corresponding to the first attribute field to be analyzed exists in the page template library;
if the first similarity is smaller than the first similarity threshold, the search result indicates that no page template corresponding to the first attribute field to be analyzed exists in the page template library.
3. The code generation method according to claim 2, wherein if the page template corresponding to the first attribute field to be analyzed is not found, the method further comprises:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
obtaining the synonymous attribute field of the difference attribute field;
replacing the difference attribute field with a synonymous attribute field;
and matching a second attribute field to be analyzed with the standard attribute field to obtain a matching result, wherein the second attribute field to be analyzed comprises a common attribute field and a synonymous attribute field.
4. The code generation method of claim 3, wherein the obtaining the synonymous attribute field of the differential attribute field comprises:
acquiring an attribute field library, wherein different basic fields and fields which have the same semantics with the basic fields and are different in expression are stored in the attribute fields;
and searching the synonymous attribute field from the attribute field library according to the mapping relation between the basic field and the synonymous attribute field.
5. The code generation method of claim 3, wherein the matching the second attribute field to be analyzed with the standard attribute field to obtain a matching result comprises:
calculating a second similarity between the second attribute field to be analyzed and the standard attribute field;
comparing the second similarity with a set second similarity threshold to obtain a matching result; wherein the matching result comprises a matching success and a matching failure;
if the second similarity is greater than or equal to the second similarity threshold, the matching result is a successful matching;
and if the second similarity is smaller than the second similarity threshold, the matching result is unsuccessful.
6. The code generation method of claim 2, wherein the screening a target page template from the plurality of page templates comprises:
acquiring a difference attribute field and a common attribute field of the first attribute field to be analyzed and the standard attribute field;
determining a key attribute field in the common attribute field;
calculating the association degree of the difference attribute field and the key attribute field;
determining a target difference attribute field from a plurality of difference attribute fields based on the association degree, and forming the target difference attribute field and a common attribute field into a target attribute field;
and taking the page template corresponding to the target attribute field as a target page template.
7. The code generation method according to claim 6, wherein the difference attribute field with the greatest degree of association and the difference attribute field in the key attribute field are used as a target difference attribute field, and then the target difference attribute field is spliced with the common attribute field to obtain a target attribute field.
8. A code generation apparatus, comprising:
the field receiving module is used for receiving a first attribute field to be analyzed;
the searching module is used for searching whether a page template corresponding to the first attribute field to be analyzed exists in a preset page template library to generate a searching result;
the page template generating module is used for generating a target page template according to the search result, if the search result indicates that the page template corresponding to the first attribute field to be analyzed is not found, the first attribute field to be analyzed is used as a target attribute field, and the target page template is generated based on the target attribute field; if the search result is that the page template corresponding to the first attribute field to be analyzed is searched, taking the searched page template corresponding to the first attribute field to be analyzed as a target page template;
and the code generation module is used for generating a software code corresponding to the target page template.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the code generation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the code generation method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006413.7A CN113703759B (en) | 2021-08-30 | 2021-08-30 | Code generation method, device, medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006413.7A CN113703759B (en) | 2021-08-30 | 2021-08-30 | Code generation method, device, medium and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113703759A true CN113703759A (en) | 2021-11-26 |
CN113703759B CN113703759B (en) | 2024-04-05 |
Family
ID=78655094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111006413.7A Active CN113703759B (en) | 2021-08-30 | 2021-08-30 | Code generation method, device, medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113703759B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9311479B1 (en) * | 2013-03-14 | 2016-04-12 | Fireeye, Inc. | Correlation and consolidation of analytic data for holistic view of a malware attack |
CN108153520A (en) * | 2018-03-20 | 2018-06-12 | 上海屹通信息科技发展有限公司 | Software development methodology and device |
CN110377633A (en) * | 2019-06-21 | 2019-10-25 | 深圳壹账通智能科技有限公司 | Method for processing report data, device, computer equipment and storage medium |
-
2021
- 2021-08-30 CN CN202111006413.7A patent/CN113703759B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9311479B1 (en) * | 2013-03-14 | 2016-04-12 | Fireeye, Inc. | Correlation and consolidation of analytic data for holistic view of a malware attack |
CN108153520A (en) * | 2018-03-20 | 2018-06-12 | 上海屹通信息科技发展有限公司 | Software development methodology and device |
CN110377633A (en) * | 2019-06-21 | 2019-10-25 | 深圳壹账通智能科技有限公司 | Method for processing report data, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113703759B (en) | 2024-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109471857B (en) | SQL statement-based data modification method, device and storage medium | |
JP2013235595A (en) | Error notification method and error notification device | |
US11727701B2 (en) | Techniques to determine document recognition errors | |
KR20190095099A (en) | Transaction system error detection method, apparatus, storage medium and computer device | |
CN117851575B (en) | Large language model question-answer optimization method and device, electronic equipment and storage medium | |
CN112491649A (en) | Interface joint debugging test method and device, electronic equipment and storage medium | |
AU2015202463B2 (en) | Capturing specific information based on field information associated with a document class | |
US20170132462A1 (en) | Document checking support apparatus, document checking support system, and non-transitory computer readable medium | |
CN110598123A (en) | Information retrieval recommendation method and device based on portrait similarity and storage medium | |
CN110263121B (en) | Table data processing method, apparatus, electronic apparatus and computer readable storage medium | |
CN113704184A (en) | File classification method, device, medium and equipment | |
CN111401981B (en) | Bidding method, device and storage medium of bidding cloud host | |
CN113703759B (en) | Code generation method, device, medium and equipment | |
CN111177387A (en) | User list information processing method, electronic device and computer readable storage medium | |
CN111639903A (en) | Review processing method for architecture change and related equipment | |
CN111552829A (en) | Method and apparatus for analyzing image material | |
CN115509990A (en) | Electronic file archiving method, device, system and computer readable storage medium | |
CN110308931B (en) | Data processing method and related device | |
CN109871214B (en) | Program code generation method, program code generation device, computer device, and storage medium | |
EP4053713A1 (en) | Question and answer method and apparatus based on knowledge graph | |
CN112950167A (en) | Design service matching method, device, equipment and storage medium | |
US10318258B2 (en) | Reference information output method and reference information output device | |
CN113626075A (en) | Similar code detection method, device, equipment and computer storage medium | |
US7849086B2 (en) | Document processor and computer readable medium | |
CN112149402A (en) | Document comparison method and device, electronic equipment and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |