CN112732588A - Artificial intelligence code verification system, method and device based on cloud computing - Google Patents

Artificial intelligence code verification system, method and device based on cloud computing Download PDF

Info

Publication number
CN112732588A
CN112732588A CN202110123305.1A CN202110123305A CN112732588A CN 112732588 A CN112732588 A CN 112732588A CN 202110123305 A CN202110123305 A CN 202110123305A CN 112732588 A CN112732588 A CN 112732588A
Authority
CN
China
Prior art keywords
code
artificial intelligence
computer
cloud computing
error
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.)
Pending
Application number
CN202110123305.1A
Other languages
Chinese (zh)
Inventor
肖奎
焦英俊
周帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youkeda Hangzhou Network Co ltd
Youkeda Nanjing Network Co ltd
Original Assignee
Youkeda Hangzhou Network Co ltd
Youkeda Nanjing Network Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Youkeda Hangzhou Network Co ltd, Youkeda Nanjing Network Co ltd filed Critical Youkeda Hangzhou Network Co ltd
Priority to CN202110123305.1A priority Critical patent/CN112732588A/en
Publication of CN112732588A publication Critical patent/CN112732588A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to an artificial intelligence code verification system, method and device based on cloud computing, which comprises a computer, a code running server and an artificial intelligence analysis device, wherein the computer and the code running server are in wireless transmission through a network, the computer transmits codes to the code running server to run, the code running server sends error codes in running to the artificial intelligence analysis device to be analyzed, and the artificial intelligence analysis device feeds error information back to the specific computer through the code running server after analysis. The invention designs a system and a method which can quickly analyze the running errors of the codes and find the ending method, thereby improving the overall efficiency of code verification and error correction and reducing the labor cost and the time cost.

Description

Artificial intelligence code verification system, method and device based on cloud computing
Technical Field
The invention relates to the technical field of code verification, in particular to an artificial intelligence code verification system, method and device based on cloud computing.
Background
In the prior art, in the aspects of verification and test of the playing codes, relevant personnel have strong professional knowledge, and can further try to solve the code problem after reading and understanding error information; when the professional knowledge is not strong enough, various professional documents need to be retrieved. Therefore, the problem solving efficiency of different same personnel is greatly different, only a few related personnel with extremely strong skill capability can quickly solve the problem, and the problem solving efficiency of most related personnel is low.
The invention further reduces the individual difference of the related personnel by means of an artificial intelligence system, automatically analyzes the problems of the program, gives more friendly and clear opinions and suggestions to the related personnel, and even gives specific correct coding cases, so that the related personnel can quickly understand the causes of the problems and correct the modifications.
Disclosure of Invention
In view of the defects in the background art, the invention relates to an artificial intelligence code verification system, method and device based on cloud computing, and designs a system and method capable of rapidly analyzing errors of code operation and finding an ending method according to the problems, so that the overall efficiency of code verification and error correction is improved, and the labor cost and the time cost are reduced.
The invention relates to an artificial intelligence code verification system based on cloud computing, which comprises a computer, a code running server and an artificial intelligence analysis device, wherein the computer and the code running server are in wireless transmission through a network, the computer transmits codes to the code running server to run, the code running server sends error codes in running to the artificial intelligence analysis device to be analyzed, and the artificial intelligence analysis device feeds error information back to the specific computer through the code running server after analysis.
By adopting the scheme, the efficiency of analyzing the error reason of the code can be obviously improved by using the artificial intelligent system, so that the efficiency of solving the problem is improved, and the artificial intelligent system is an effective auxiliary tool for related personnel.
Furthermore, the code operation server and the artificial intelligence analysis device can be replaced by a search engine and a retrieval device, codes are operated on a computer, error codes are automatically copied and input into the search engine when errors occur, the search engine calls the retrieval device to operate, the retrieval device starts to traverse error information in a database, and the error information is fed back to the computer after the error codes are matched.
By adopting the scheme, the intelligent search engine is used, the efficiency of analyzing the error reasons of the codes can be obviously improved, the problem solving efficiency is improved, and the intelligent search engine is an effective auxiliary tool for related personnel.
A method of an artificial intelligence code verification system based on cloud computing comprises the following steps: s1: uploading the code to a code running server through a computer; s2: the code running server runs the code, and when the code runs normally, related personnel are directly prompted that the code runs normally; s3: when an error code or an abnormal code occurs in the operation, the code operation server sends the code and the error information to an artificial intelligence analysis device for analysis; s4: after the analysis is finished, automatically searching for a corresponding repair suggestion, and feeding back the repair suggestion to the code running server after the repair suggestion is found; s5: and the code running server associates the repair opinions with the codes and feeds the repair opinions back to a computer operator for code modification.
By adopting the scheme, the individual difference of related personnel is further reduced, the problems occurring in the program are automatically analyzed, and more friendly and clear opinions and suggestions are provided for the related personnel, even a specific correct coding case is adopted, and the related personnel can quickly understand the causes of the problems and correct the correction.
Further, the operator can continue to upload the code to the code running server to run the code after modifying the code until prompting the relevant personnel that the code runs normally.
By adopting the scheme, the problem is solved thoroughly.
Further, the artificial intelligence analysis device comprises a database integrating all code operation error codes, exceptions and solutions in the network.
By adopting the scheme, the data range is wide, and the database can be continuously added by related personnel.
Further, the artificial intelligence analysis device collects error codes or anomalies to form a comparison file, and the comparison file is matched with a target file in a database in a character string mode; and when the character strings of the target file and the pair of rice files are communicated, determining that the target code is matched with the source code, and reading a repair suggestion in the target file.
By adopting the scheme, the corresponding solution is matched more accurately.
Further, when the character string matching is performed on the file and the target file in the database, the matching type of the character string to be matched is determined according to the format of the character string to be matched, and the matching type comprises a segment mode and/or a line mode.
By adopting the scheme, the screening speed can be accelerated by matching types.
An artificial intelligence code verification device based on cloud computing comprises a memory connected with a computer processor, a network interface, a processor and a user interface, wherein an uploaded code cache is stored through the memory, the network is connected through the network interface, and at least one network interface and the user interface are coupled together through a bus system.
By adopting the scheme, the intelligent analysis function of the artificial intelligent analysis device can be completed.
Further, the processor is configured to perform the steps of the artificial intelligence code authentication method of any one of claims 2 to 6 by calling a program or instructions stored in the memory.
By adopting the scheme, the control is more convenient and faster.
Further, the processor is electrically connected with the computer processor.
By adopting the scheme, the control is convenient.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a schematic structural diagram of a housing according to an embodiment of the present invention.
Fig. 2 is a schematic view of the internal structure of the housing according to the embodiment of the present invention.
Reference numeral, 1, a computer; 2. a code running server; 3. an artificial intelligence analysis device; 4. a search engine; 5. and a retrieval device.
Detailed Description
While the embodiments of the present invention will be described and illustrated in detail with reference to the accompanying drawings, it is to be understood that the invention is not limited to the specific embodiments disclosed, but is intended to cover various modifications, equivalents, and alternatives falling within the scope of the invention as defined by the appended claims.
For the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking specific embodiments as examples with reference to the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
At present, after software code development is completed, in order to ensure code accuracy, a process of error reporting and error checking usually occurs in an operation process by running and testing the code, and the process is quite time-consuming and labor-consuming, and needs to continuously test and find errors for false data.
The embodiment 1 of the invention is shown by referring to fig. 1, and comprises an artificial intelligence code verification system, a method and a device based on cloud computing, wherein the system comprises a computer 1, a code operation cloud server 2 and an artificial intelligence analysis and conversion device 3, the computer 1 and the code operation server 2 are in wireless transmission through a network, the computer 1 transmits a code to the code operation server 2 for operation, the code operation server 2 sends an error code in operation to the artificial intelligence analysis device 3 for analysis, and the artificial intelligence analysis device 3 feeds error information back to the specific computer 1 through the code operation server after analysis. The operation method of the system is as follows: s1: uploading the code to the code operation server 2 by the relevant personnel;
s2: the code running server 2 executes the code, does not have errors, does not need subsequent analysis steps, and directly prompts related personnel that the code runs normally;
s3: when the running server 2 executes the code and an error code or an abnormality occurs, the code and the error information are sent to the artificial intelligence analysis device 3 for analysis;
s4: after the analysis is finished, automatically searching for a repair suggestion, and returning error information and the repair suggestion to the code operation server 2 through the artificial intelligence analysis device 3;
s5: the code operation server 2 associates the error information with the code and returns the error information to the relevant personnel.
The device for verifying the artificial intelligence code based on the cloud computing, namely the artificial intelligence analysis device 3, comprises a memory, a network interface, a processor and a user interface which are connected with a processor of the computer 1, wherein the memory is used for storing uploaded code cache, the network interface is used for connecting a network, and at least one network interface and the user interface are coupled together through a bus system. The processor stores the program or instructions by calling the memory. The artificial intelligence analysis means 3 further comprise a database integrating all code-running error codes, exceptions and solutions in the network. The artificial intelligence analysis device 3 collects error codes or exceptions to form a comparison file, and the comparison file is matched with a target file in a database in a character string mode; and when the character strings of the target file and the pair of rice files are communicated, determining that the target code is matched with the source code, and reading a repair suggestion in the target file. When the character strings of the file are matched with the target file in the database, the matching type of the character strings to be matched is determined according to the format of the character strings to be matched, wherein the matching type comprises a segment mode and/or a row mode.
Embodiment 2 of the present invention improves the operation method of the system on the basis of embodiment 1:
the working principle and the steps of the invention are as follows:
s1: uploading the code to a code running server 2 through a computer 1;
s2: the code running server 2 runs the codes, and directly prompts related personnel that the codes run normally when the codes run normally;
s3: when an error code or an abnormal operation occurs, the code operation server sends the code and the error information to the artificial intelligence analysis device 3 for analysis;
s4: after the analysis is finished, automatically searching for a corresponding repair suggestion, and feeding back the repair suggestion to the code running server after the repair suggestion is found;
s5: and the code running server associates the repair opinions with the codes and feeds the repair opinions back to a computer operator for code modification.
S6: and sending the modified code to the running server 2 and executing S2, and repeating the steps until the relevant personnel are prompted that the code runs normally.
Embodiment 2 and embodiment 3 of the present invention referring to fig. 2, based on embodiment 1, the code operating server 2 and the artificial intelligence analysis device 3 can be replaced by a search engine 4 and a retrieval device 5, by operating a code on a computer, when there is an error, an error code is automatically copied and input into the search engine 4, the search engine 4 calls the retrieval device 5 to operate, the retrieval device 5 starts to traverse the error information in the database, and when the error code is matched, the error information is fed back to the computer 1, and the operation steps of the embodiment are as follows:
s1: running the code through the computer 1, directly displaying normal running when normal running, and automatically copying and inputting the code into an input box of a search engine 4 when an error code and an abnormality occur;
s2: the search engine 4 calls a retrieval device 5 to operate, the retrieval device 5 starts to traverse corresponding error codes and exceptions in the database, and when the same or similar solutions are found, the corresponding solutions are returned to the computer 1 and displayed;
s3: the operator of the computer 1 modifies the code by the solution returned by the database to complete the code modification;
s4: and sending the modified code to the running server 2 and executing S1, and repeating the steps until the relevant personnel are prompted that the code runs normally.
The prior art is inefficient in solving the code problem. The invention uses an artificial intelligent system, can obviously improve the efficiency of analyzing the error reason of the code, thereby driving to improve the efficiency of solving the problem, and being an effective auxiliary tool for related personnel.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An artificial intelligence code verification system based on cloud computing is characterized in that: the system comprises a computer, a code running server and an artificial intelligence analysis device, wherein the computer and the code running server are in wireless transmission through a network, the computer transmits codes to the code running server to run, the code running server sends error codes in running to the artificial intelligence analysis device to be analyzed, and the artificial intelligence analysis device feeds error information back to the specific computer through the code running server after analysis.
2. A method of an artificial intelligence code verification system based on cloud computing is characterized in that: the method comprises the following steps:
s1: uploading the code to a code running server through a computer;
s2: the code running server runs the code, and when the code runs normally, related personnel are directly prompted that the code runs normally;
s3: when an error code or an abnormal code occurs in the operation, the code operation server sends the code and the error information to an artificial intelligence analysis device for analysis;
s4: after the analysis is finished, automatically searching for a corresponding repair suggestion, and feeding back the repair suggestion to the code running server after the repair suggestion is found;
s5: and the code running server associates the repair opinions with the codes and feeds the repair opinions back to a computer operator for code modification.
3. The method of the cloud computing-based artificial intelligence code verification system of claim 2, wherein: and the operator can continuously upload the code to the code running server to run the code after modifying the code until prompting the relevant personnel that the code runs normally.
4. The method of the cloud computing-based artificial intelligence code verification system of claim 3, wherein: the artificial intelligence analysis device comprises a database integrating all code operation error codes, exceptions and solutions in the network.
5. The method of the cloud computing-based artificial intelligence code verification system of claim 4, wherein: the artificial intelligence analysis device collects error codes or exceptions to form a comparison file, and the comparison file is matched with a target file in a database in a character string mode; and when the character strings of the target file and the pair of rice files are communicated, determining that the target code is matched with the source code, and reading a repair suggestion in the target file.
6. The method of the cloud computing-based artificial intelligence code verification system of claim 5, wherein: when the character strings of the file are matched with the target file in the database, the matching type of the character strings to be matched is determined according to the format of the character strings to be matched, wherein the matching type comprises a segment mode and/or a row mode.
7. An artificial intelligence code verification device based on cloud computing is characterized in that: the system comprises a memory connected with a computer processor, a network interface, a processor and a user interface, wherein the memory is used for storing uploaded codes and caching the uploaded codes, the network interface is connected with a network, and at least one network interface and the user interface are coupled together through a bus system.
8. The cloud computing-based artificial intelligence code verification apparatus according to claim 7, wherein: the processor is operable to perform the steps of the artificial intelligence code authentication method of any one of claims 2 to 6 by invoking programs or instructions stored by the memory.
9. The cloud computing-based artificial intelligence code authentication device of claim 8, wherein: the processor is electrically connected with the computer processor.
10. The cloud computing-based artificial intelligence code verification system of claim 1, wherein: the code operation server and the artificial intelligence analysis device can be replaced by a search engine and a retrieval device, the code is operated on the computer, the error code is automatically copied and input into the search engine when an error occurs, the search engine calls the retrieval device to operate, the retrieval device starts to traverse the error information in the database, and the error information is fed back to the computer after the error code is matched.
CN202110123305.1A 2021-01-29 2021-01-29 Artificial intelligence code verification system, method and device based on cloud computing Pending CN112732588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123305.1A CN112732588A (en) 2021-01-29 2021-01-29 Artificial intelligence code verification system, method and device based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123305.1A CN112732588A (en) 2021-01-29 2021-01-29 Artificial intelligence code verification system, method and device based on cloud computing

Publications (1)

Publication Number Publication Date
CN112732588A true CN112732588A (en) 2021-04-30

Family

ID=75594671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123305.1A Pending CN112732588A (en) 2021-01-29 2021-01-29 Artificial intelligence code verification system, method and device based on cloud computing

Country Status (1)

Country Link
CN (1) CN112732588A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703726A (en) * 2021-08-26 2021-11-26 北京航空航天大学 Iterative method for extracting and zeroing decision knowledge of source code construction of digital aircraft

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703726A (en) * 2021-08-26 2021-11-26 北京航空航天大学 Iterative method for extracting and zeroing decision knowledge of source code construction of digital aircraft

Similar Documents

Publication Publication Date Title
CN106844217B (en) Method and device for embedding point of applied control and readable storage medium
US9626393B2 (en) Conditional validation rules
US20150370685A1 (en) Defect localization in software integration tests
US10437702B2 (en) Data-augmented software diagnosis method and a diagnoser therefor
CN108228861B (en) Method and system for performing feature engineering for machine learning
CN111108481B (en) Fault analysis method and related equipment
An et al. Supplementary bug fixes vs. re-opened bugs
Yang et al. Vuldigger: A just-in-time and cost-aware tool for digging vulnerability-contributing changes
CN112579437B (en) Method for verifying conformity in program running process
US9563541B2 (en) Software defect detection identifying location of diverging paths
CN115952081A (en) Software testing method, device, storage medium and equipment
CN112732588A (en) Artificial intelligence code verification system, method and device based on cloud computing
CN110765007A (en) Crash information online analysis method for android application
CN113220588A (en) Automatic testing method, device and equipment for data processing and storage medium
JP7190246B2 (en) Software failure prediction device
US11960862B2 (en) Source code correction assistance apparatus and source code correction assistance method
CN109101355B (en) Processor debugging method for extracting error site characteristic test excitation
CN114661503B (en) Software association configuration error diagnosis method and device based on program slicing
CN113821200B (en) Draggable modeling method and system for big data task, storage medium and terminal
CN115599683A (en) Automatic testing method, device, equipment and storage medium
CN114138537A (en) Crash information online analysis method for android application
CN112100066B (en) Verification method for accuracy of data index and automatic test tool
US20240004747A1 (en) Processor System and Failure Diagnosis Method
CN115776508A (en) Buried point checking method and system
CN117520136A (en) Function test method, device and equipment of application program and 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