Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

687 results about "Source code file" patented technology

The source code file is a text file on disk. It contains instructions for the computer that are written in the C programming language. You use a text editor to create the source code file.

Unit test case generation system based on large language model

The invention provides a unit test case generation system based on a large language model, and the system comprises a function dependency analysis engine module which is used for preprocessing a target project, extracting a function dependency relationship, and generating an abstract syntax tree and a source code file; the large model module is used for automatically generating a test case through the code context information and the optimized cue word; and the verification and optimization module is used for verifying whether the test cases can be successfully executed or not by compiling and running the test cases, marking part of the test cases needing to be further processed, automatically analyzing error reasons, optimizing cue words and realizing automatic repair of the part of the test cases. According to the unit test case generation system based on the large language model, the function dependency analysis and the large language model are combined, the high-quality test case can be automatically generated, dependence on manpower or existing test cases is not needed, manual intervention is reduced, and the test efficiency and comprehensiveness are improved.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Source code vulnerability detection using deep learning

Various embodiments of the present disclosure provide methods, apparatus, systems, computing devices, computing entities, and / or the like for detecting and locating vulnerabilities in source code. The method comprises receiving one or more source code files, matching source code from the one or more source code files to one or more program slices by parsing the source code and mapping one or more portions of the source code to the one or more program slices, wherein each of the one or more program slices comprises one or more program statements associated with one or more vulnerabilities, and generating, using a predictive machine learning model, a vulnerability prediction for each of the one or more source code files, the vulnerability prediction comprising one or more locations of vulnerable code in the source code based on the matching and a vulnerability class associated with each location of vulnerable code.
Owner:OPTUM INC

Code retrieval method and device based on large language model

The invention provides a code retrieval method and device based on a large language model, electronic equipment and a readable storage medium, and relates to the technical field of artificial intelligence such as large language models, big data and cloud services. The code retrieval method based on the large language model comprises the steps that a code retrieval query is obtained, and a retrieval vector of the code retrieval query is obtained; obtaining a first index of the target code library, wherein the first index comprises a plurality of code blocks and a plurality of code block vectors; obtaining a target code block according to the retrieval vector and the first index; obtaining a second index of the target code library, wherein the second index is a code architecture knowledge graph; obtaining a target code file corresponding to the target code block according to the source code file corresponding to the target code block and a second index; and obtaining a retrieval result according to the target code block and the target code file. According to the method and the device, the code retrieval accuracy and the richness of the obtained code retrieval result can be improved.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Test case prioritization

A computing system encodes a next graph based on modified source code files recorded by the next code commit event. The computing system inputs the next graph to a graph machine learning model, the graph machine learning model being trained by graphs representing modified source code files and software test results corresponding to multiple code commit events occurring prior to the next code commit event in the sequence of code commit events. The computing system determines an order of test cases of the next code commit event using the graph machine learning model in an inference mode. The computing system executes the test cases according to the order during the software development build process corresponding to the next code commit event.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Warehouse level code problem solving system based on large language model

The invention discloses a warehouse level code problem solving system based on a large language model, and relates to the technical field of software engineering, a source code file is extracted from a code warehouse, a static analysis tool is utilized to analyze codes, a warehouse level code graph is constructed, and then code entities and dependency relationships thereof are analyzed; based on the warehouse-level code graph, combining historical problem solving data, and constructing a dynamic evolution knowledge graph through continuous learning; through a context retrieval module, according to the context information of the current problem, dynamically retrieving related solution strategies and generating corresponding code patches, complementing or reviewing suggestions; the validity of the generated patch is verified through static analysis, unit testing and integration testing, and a problem solving strategy is optimized according to feedback of a developer. The problem solving efficiency and accuracy can be improved, the development cost is reduced, the solving process is gradually optimized through an intelligent feedback mechanism, a closed-loop feedback mechanism is formed, and therefore the increasingly complex software development requirements are met.
Owner:北京开放传神科技有限公司

Source code vulnerability detection and positioning method and device, equipment and storage medium

The invention belongs to the technical field of code vulnerability detection, and particularly provides a source code vulnerability detection and positioning method and device, equipment and a storage medium, and the method comprises the steps: obtaining a source code file for training and a diff file containing code modification; segmenting the source code into function generation program dependency graphs and code attribute graphs according to functions; identifying vulnerability sensitive nodes by combining a diff file analysis program dependency graph, performing code slicing, and generating a slice sub-graph of a code attribute graph; performing vectorization processing on nodes in each slice sub-graph, and inputting the processed nodes into a deep learning model for training evaluation to obtain a trained deep learning model; and extracting a program dependency graph from a to-be-detected source code file, generating slice sub-graphs, performing vectorization processing on nodes of each slice sub-graph, inputting the processed nodes into the trained deep learning model for analysis, and detecting vulnerabilities contained in each slice and specific positions of the vulnerabilities. And the vulnerability detection accuracy is improved.
Owner:LANG CHAO ZHI HUI KE JI (WU HAN) YOU XIAN GONG SI +1

Code retrieval method and apparatus based on large language model

There is provided a code retrieval method and apparatus based on a large language model, an electronic device and a readable storage medium, which relates to the field of artificial intelligence technologies, such as large language model technologies, big data technologies, cloud service technologies, or the like. The method for code retrieval based on a large language model includes: acquiring a code retrieval query to obtain a retrieval vector of the code retrieval query; acquiring a first index of a target code library, the first index including a plurality of code blocks and a plurality of code block vectors; acquiring a target code block according to the retrieval vector and the first index; acquiring a second index of the target code library, the second index being a code architecture knowledge graph; acquiring a target code file corresponding to the target code block according to a source code file corresponding to the target code block and the second index; and acquiring a retrieval result according to the target code block and the target code file.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Vulnerability detection method based on source code structure and detection system thereof

The invention discloses a vulnerability detection method based on a source code structure and a detection system thereof, and belongs to the technical field of code vulnerability detection. Comprising the following steps: analyzing a source code to generate an abstract syntax tree; building a multi-level graph based on the abstract syntax tree; detecting potential vulnerabilities in the source code based on a graph theory algorithm to generate a potential vulnerability report; performing a predetermined operation on the source code to identify a complex dependency relationship and a data flow path in the source code; detecting vulnerabilities in the source code structure based on a multi-level graph theory analysis method to generate a code structure vulnerability report; and detecting the potential vulnerability report and the code structure vulnerability report in combination with an adaptive scanning strategy, generating a vulnerability detection report, judging whether to repair according to the vulnerability detection report, and giving a repair suggestion. According to different types of source code files and known vulnerability features, the detection strategy is dynamically adjusted, and the detection efficiency is improved.
Owner:JIANGSU QITONG HAOMIAO INFORMATION TECH CO LTD

Software defect prediction method and system

The invention belongs to the technical field of software defect prediction, and provides a software defect prediction method and system.The method comprises the steps that a source code file contained in a software system is analyzed into an abstract syntax tree, feature nodes and label nodes are extracted from the abstract syntax tree, a control flow and data flow dependency relationship between code lines is extracted, and a line attribute graph is constructed; generating a grammar representation vector of the feature node, calculating a multi-label comparison learning loss value, and gradually generating a file representation vector; and carrying out a code line level software defect prediction task by utilizing the attention weight generated in the generation process of the obtained file representation vector, and carrying out file level defect prediction by utilizing the obtained file representation vector. According to the method, the grammar and semantic information of the source code can be comprehensively mined, information contained in the source code is more completely represented, and a module with hidden defects is more accurately predicted.
Owner:SHANDONG UNIV

Code retrieval method and device and related equipment

The invention provides a code retrieval method and device and related equipment, and relates to the technical field of retrieval. The method comprises the following steps: segmenting each source code file to obtain a plurality of code blocks of each source code file; determining description information of each code block, and determining an association relationship between any two code blocks; generating a multi-layer code knowledge graph based on the description information of each code block and the incidence relation between any two code blocks; obtaining query information of a user, and determining a first code block based on the query information; determining a second code block related to the first code block in the multi-layer code knowledge graph; and generating a retrieval result by using the first code block and the second code block. Through the technical means, the problem of low code retrieval accuracy in related technologies is solved.
Owner:CHINA TELECOM CORP LTD +1

AST-based code test analysis and correction method and system

The invention provides a code test analysis and correction method and system based on AST. The AST-based code test analysis and correction method comprises the following steps: constructing an abstract syntax tree according to a source code file of a code unit to be tested and corrected; performing code analysis on the abstract syntax tree, and automatically generating a test case according to a code analysis result corresponding to the abstract syntax tree; obtaining a code quality test of an abstract syntax tree corresponding to the source code file through static analysis and code coverage analysis by utilizing the test case, and obtaining a code quality test result of the code unit to be tested and corrected; and generating a correction suggestion and a reconstruction suggestion according to the code quality test result. The system comprises modules corresponding to the steps of the method.
Owner:BEIJING LINGWEI JUNRONG TECH CO LTD

Test case generation method and system based on multi-agent efficient collaboration

The invention relates to a test case generation method and system based on multi-agent efficient collaboration, belongs to the technical field of software testing, and solves the problems of incomplete scene coverage, logic disorder and the like when a single large model processes a complex task. The method comprises the following steps: constructing a multi-modal professional field knowledge base; the task planning agent module generates a test case generation task based on a project development document and a software source code file of a to-be-tested project and distributes the test case generation task to the test demand analysis agent module; based on the test case generation task, extracting a test demand point related to the tested software configuration item, describing the test demand point, and labeling a corresponding tracking relationship between a test demand point ID and a code snippet or a function in the software source code file to construct a test demand-code snippet / function set; and generating a test case and a test description document based on the test demand-code snippet / function set and the multi-modal professional domain knowledge base. And the ability of generating the test case of the large model is enhanced through organic and efficient cooperation of multiple agents.
Owner:BEIJING JINGHANG COMPUTING & COMM RES INST

Code file rewriting method and device based on large language model

The invention relates to a code file rewriting method and device based on a large language model, and the method comprises the steps: analyzing a source code file, obtaining the structure of a source code, and enabling the structure of the source code to comprise the definition of each function and the position of each function code in the source code file; respectively inputting each function code into a large language model, and respectively processing according to each cue word to complete rewriting of each function code; and combining each rewritten function code corresponding to each position in the source code file to form a rewritten code file. According to the invention, a scheme for optimizing and rewriting the codes based on the large language model and the file level can be provided.
Owner:KYLAND TECH CO LTD

Private intelligent code collaborative optimization method and system based on graph retrieval

The invention provides a private intelligent code collaborative optimization method and system based on graph retrieval, and relates to the technical field of software engineering intelligent auxiliary tools, and the method comprises the steps: obtaining a source code file and operation log data of a private project; the method comprises the following steps: performing syntax tree analysis on a source code file through a Tree-siter analyzer to generate a corresponding abstract syntax tree; constructing a code knowledge graph by analyzing a function call relationship, an inheritance relationship and a module dependency relationship; monitoring the change of a project file in the code knowledge graph through a code change event processor, and updating the code knowledge graph in real time when the file is changed; establishing an association relationship between the running log data and a corresponding function node in the code knowledge graph; the method comprises the following steps: analyzing a natural language problem of a developer into a Cypher query statement through an intelligent Agent; obtaining a query result from the graph database; and formatting the query result to generate a final result.
Owner:QINGTA TECH

Supply chain cross-packet vulnerability detection method and device, equipment and storage medium

The invention relates to the technical field of information processing, in particular to a supply chain cross-packet vulnerability detection method, device and equipment and a storage medium. A vulnerability packet name, a sensitive API, a trigger parameter and vulnerability description are integrated into tetrad information; if so, performing cross-packet call chain analysis on the source code file by using a cross-packet chain reachability analysis algorithm, obtaining a function call sequence of the sensitive API based on a cross-packet call chain analysis result, realizing vulnerability detection on a cross-packet call chain, generating a vulnerability verification code based on tetrad information by using a preset large language model, and performing vulnerability verification on the vulnerability verification code. The method comprises the following steps: establishing a function call sequence of a bug verification code, verifying the accessibility of the bug verification code in the function call sequence, determining the bug confidence according to the energy consumption condition of a large language model, and generating bug alarm information when the accessibility verification result is that the bug is accessible and the bug confidence is high, thereby realizing double judgment of the bug, reducing the false alarm rate of the bug and improving the user satisfaction.
Owner:JIHUA LAB

Automated code activity graph generation system and method

The invention relates to an automatic code activity graph generation system and method, and the system comprises a plurality of modules. The source code analysis module extracts source codes from the code file and generates an abstract syntax tree corresponding to the source codes. The model conversion engine is based on query view conversion specification operation, analyzes a method calling relation and an execution sequence in the abstract syntax tree by utilizing a group of analysis rules, and converts the source code into a programming language abstract model. And the model warehouse is used for storing the abstract model, identifying the language type through the extension name of the source code file, and matching the corresponding programming language model. The activity graph generator then generates an activity graph according to the abstract model, including an activity graph reflecting code logic and an activity graph generated based on code annotations. The layout module determines the position, the size and the shape of each node in the activity graph through an analysis method calling relation and an execution path, and generates a connecting line between the nodes. The system can visually display the code process and improve the efficiency of developers.
Owner:HUNAN SANXIANG BANK CO LTD

Code vulnerability detection method, device and equipment

The invention discloses a code vulnerability detection method, a code vulnerability rule configuration method, a static single assignment SSA code acquisition method, devices corresponding to the methods, and electronic equipment. The code vulnerability detection method comprises the following steps: acquiring a plurality of source code files and code vulnerability rules of an application program; generating an abstract syntax tree of the source code file, and obtaining a function call relationship; and traversing the abstract syntax tree, and obtaining a cross-function risk propagation path according to the function call relationship and the code vulnerability rule. By the adoption of the processing mode, the function calling relation and the abstract syntax tree are fused to conduct cross-function code vulnerability detection, cross-function vulnerability detection of context sensitivity, flow sensitivity and domain sensitivity is achieved, and vulnerability false report and missing report are avoided; therefore, the accuracy and recall rate of vulnerability detection can be effectively improved.
Owner:ALIBABA (CHINA) CO LTD

Project file indexing method and device, storage medium and computer equipment

According to the project file indexing method and device, the storage medium and the computer equipment provided by the invention, when a user needs file indexing, the to-be-indexed target project can be compiled firstly, the dependency file corresponding to each intermediate target file in the target project is generated, and the source code file depended by each intermediate target file is determined based on each dependency file; generating a project code list based on the relative path of each source code file; performing file deduplication on the project code list to obtain a project index directory; and finally, generating a symbol index of the item index directory as a unique identifier of the index, so that the symbol index is used for file indexing, and a source code file corresponding to the target item can be obtained. According to the method, the files which do not participate in operation are filtered out through the dependent files generated by compiling the target project, then the symbol index of the target project is generated, the accuracy of the files obtained through the index is high, and the time for manually searching and distinguishing the files with the same name is shortened.
Owner:GUANGDONG-BAY AREA INTELLIGENT TERMINAL IND DESIGN & RES INST CO LTD

Cross-product transplantation method and device for secondary development codes, computer equipment and medium

The invention relates to the technical field of electric digital data processing, and provides a secondary development code cross-product transplantation method and device, computer equipment and a medium. The method comprises the steps of loading a source project, screening a to-be-transplanted source code file, identifying an original API type, determining a mapping relation between the original API type and a target API type, and generating an adaptation layer code framework according to the mapping relation; copying the to-be-transplanted source code file into the target project; on the premise of keeping the project hierarchical structure of the source project, replacing the calling node of the original API type with the calling node of the adapter type, and replacing the namespace reference with the corresponding namespace in the target project to obtain a migrated source code file; and obtaining a secondary development project of the target project based on the second product API according to the adaptation layer code framework and the migrated source code file. According to the method and the device, the transplantation efficiency and accuracy of the transplantation of the cross-product secondary development codes are improved.
Owner:GLODON CO LTD

Multi-language dynamic switching system and method of embedded device

The invention discloses a multi-language dynamic switching system and method of embedded equipment, and relates to the technical field of human-machine interfaces and embedded systems.The method comprises the steps that source codes in an HMI program are traversed through a character extraction module to extract all character strings; eliminating repeated items, numbering the character strings, and outputting a database file and a replacement array; substituting the serial number into the source code file again by using the substitution array to replace the character string at the corresponding position; outputting the translated database file as a C language source code, compiling the C language source code into a dictionary generation module project, generating an executable file, and outputting the dictionary file to an HMI running directory after the device is started; after the HMI program is started, the dictionary is read into different dictionary arrays according to blocks, and character strings at corresponding positions in the dictionary arrays are extracted after a page sends a request. The method has the advantages of being lower in maintenance difficulty, more efficient in resource utilization, shorter in indexing time, better in system robustness and the like.
Owner:NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD

Systems and methods for providing interactive software-development links via user interfaces

Providing interactive software-development links via user interfaces, based on remotely retrieved information from remote computer networks without requiring users to transition between websites within the user interfaces may be facilitated. In some embodiments, an Application Programming Interface (API) may be provided that is configured to receive one or more commands from a first server and a second server. The system may receive via a monitoring-function installed on a client device, a first message from the first server to update a source code file stored in a software-version controlled repository. The system may determine from the first message, a source code file identifier. The system may then receive, via the monitoring-function, a second message from the second server indicating an update associated with a software-development automation service platform. The system may determine, from the second message, a feature update characteristic and may display a message comprising the source code file identifier and the feature update characteristic.
Owner:CAPITAL ONE SERVICES LLC

Security verification method for macro-kernel operating system

The invention relates to the technical field of system security verification, and particularly discloses a security verification method of a macro-kernel operating system, comprising: dynamic security verification and static security verification, the dynamic security verification being used for performing security verification on a dynamically loaded software module when the operating system runs; the static security verification is used for performing security verification on a kernel state static software module in the compiling process of an operating system; the check code is calculated for each source code file and verified in the compiling process, it is ensured that the compiled operation system is consistent with the original source code, the integrity of the system is ensured, the dynamic safety verification can continuously monitor the loaded module during system operation, it is ensured that each module is verified, and the safety of the system is ensured. Therefore, the operation environment of the system is protected from being damaged by malicious codes, the security verification process is automated, the risk and workload of manual participation are reduced, the efficiency and accuracy of security verification are improved, and the system is more convenient to maintain.
Owner:HANGZHOU SAIFUNAS TECH CO LTD

Fuzzy test-based software vulnerability detection method

The invention discloses a software vulnerability detection method based on fuzzy testing, and relates to the technical field of software vulnerability detection, and the method comprises the following steps: S1, obtaining a software source code, and preprocessing the obtained software source code to enable the preprocessed source code to have generalization, therefore, the accuracy of a detection result during subsequent vulnerability detection on the source code is improved. The invention provides a software vulnerability detection method based on fuzzy testing, and the method comprises the steps: carrying out the standardization processing of a source code file, so as to eliminate the deviation in the software source code file during the subsequent vulnerability detection of a software source code due to the programming habit of a code writer; the feature representation processing is performed on the source code file through the abstract syntax tree and the program dependency graph, so that the semantic features of the source code are represented more comprehensively, and the constructed software vulnerability detection model can set different noise thresholds based on the noise content in the input different source code files.
Owner:GUANGDONG GUANJI TESTING & CERTIFICATION CO LTD

Distributed compiling method and device, electronic equipment and storage medium

The invention provides a distributed compiling method and device, electronic equipment and a storage medium, and belongs to the technical field of data processing.The method comprises the steps that a source code file is sent to a server side to be compiled and assembled, a compiling result returned by the server side is obtained, and the compiling result comprises information of a compiled target file; based on the compiling result, a corresponding pseudo file is created, and the pseudo file comprises a rebuilding method of the compiling result file; after pseudo files corresponding to all the compiling results are obtained, a link command is sent to a server side, and the link command indicates the server side to conduct file link operation on all the target files; and receiving the executable file returned by the server. According to the method and the device, the intermediate file is prevented from being copied for multiple times between the client and the server, so that the network load required by file transmission is reduced, and the distributed compiling efficiency is improved.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Memory defect positioning method based on extended address identification

The invention discloses a memory defect positioning method based on extended address identification, which comprises the following steps of: dividing a kernel module into an active code and a passive code according to whether a source code can be obtained or not; for the active code condition, positioning information such as a source code file name and a function name of a main modulation function is expanded and added in the memory allocation process through redefinition of a standard memory allocation function; the method comprises the following steps: acquiring a kernel module address, a memory allocation instruction address and a memory address for changing a memory space attribute in a mode of constructing a Hook function for a related function under the condition of passive codes, and in a memory allocation process, according to a subordination relationship between the memory allocation instruction address and the kernel module address and between the memory allocation instruction address and the memory address for changing the memory space attribute, performing memory allocation on the kernel module address and the memory address for changing the memory space attribute; the corresponding positioning information is expanded and added in the memory allocation process, when the to-be-tested system is abnormal, the positioning information is extracted according to the abnormal instruction address to realize accurate positioning of memory defects, and effective support is provided for error memory traceability of the to-be-tested system.
Owner:北京麟卓信息科技有限公司

Test case generation method based on multi-modal knowledge base and self-adaptive cue words

The invention relates to a test case generation method based on a multi-modal knowledge base and self-adaptive cue words, belongs to the technical field of software testing, and solves the problems of insufficient reuse of historical project data and expert knowledge, lack of knowledge in a large model professional field, prominent illusion problem, low adoption rate of generated test cases, low practicability and the like. The method comprises the steps of generating an original test demand set of a to-be-tested item; forming a test demand-code snippet / function set based on the software source code file and the original test demand set; generating a first-stage test tree graph based on each test demand point and the corresponding code snippet / function; forming a software test outline based on the test items, the test subitems and the corresponding test demand points and code snippets / functions; forming a second-stage test tree graph based on the first-stage test tree graph and the software test outline; and generating a test case based on the second-stage test tree graph and the software test outline. And the specialty, the accuracy and the interpretability of the test case are enhanced.
Owner:BEIJING JINGHANG COMPUTING & COMM RES INST

Code interception method and code range determination method

The embodiment of the invention provides a code interception method and a code range determining method.The code interception method comprises the steps that a code syntax tree corresponding to a source code file is obtained, the code syntax tree is used for representing the code structure of the source code file, the code syntax tree comprises at least one node, and the code syntax tree is used for representing the code structure of the source code file; the node information of each node is used for determining the number of code characters corresponding to each node; according to a preset character threshold value, screening a target interception node set in the code syntax tree; determining a code interception range based on the target interception node set; and according to the code interception range, intercepting a target code snippet in the source code file. According to the method, the target interception node set is screened in the code syntax tree, the code snippets needing to be intercepted are accurately intercepted on the basis that the code structure and the context information of the source code file are reserved, and the integrity of code interception of the source code file is improved.
Owner:ALIBABA (CHINA) CO LTD

Front-end framework conversion method and device, electronic equipment, computer readable storage medium and computer program product

The invention provides a front-end framework conversion method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the steps of obtaining a first application program source code file under a first front-end framework; obtaining at least one first page source code file included in the first plug-in source code file, and obtaining a first component source code file included in the first page source code file; converting a component source code file in the first component source code file to obtain a second component source code file; splicing the second component source code files belonging to the same page to obtain a second page source code file, and splicing the second page source code files belonging to the same plug-in to obtain a second plug-in source code file; and based on the second plug-in source code file, constructing a second application program source code under the converted second front-end framework. According to the invention, the conversion efficiency of the front-end frame can be improved.
Owner:MASHANG CONSUMER FINANCE CO LTD

White box component testing method and device and readable storage medium

The invention relates to the technical field of software testing, and provides a white box component testing method and device and a readable storage medium, and the method comprises the steps: obtaining a test parameter, and carrying out the configuration of a test item according to the test parameter; responding to operation of the test item, compiling a source code file of the target component, and generating a first coverage rate file and a dynamic library file; in response to operation of the test item, calling a test case of the target component, and generating a test program; sending the test program and the dynamic library file to the test equipment, and receiving a test result fed back by the test equipment after running the test program; and determining the code coverage rate of the test case according to the test result and the first coverage rate file. According to the technical scheme provided by one or more embodiments of the invention, the efficiency of component testing can be improved, and the quality of component testing can be improved.
Owner:SUZHOU KEDA TECH

Automatic hard disk testing method and device and readable storage medium

The invention relates to an automatic hard disk testing method and device and a readable storage medium, and the method comprises the steps: importing configuration information which comprises preset BIOS (Basic Input / Output System) configuration parameters; obtaining current BIOS configuration information of the remote server, and judging the consistency of the BIOS configuration information and the BIOS configuration parameters; if the BIOS configuration information and the BIOS configuration parameters do not meet the consistency requirement, updating the BIOS configuration information, and restarting the remote server to enable the updated BIOS configuration information to take effect; the FIO source code file is connected to a remote server through an SSH, the FIO source code file is transmitted to the remote server through an SFTP protocol, and compiling is carried out on the remote server to generate an FIO command; in response to the FIO command, performing performance test on the to-be-tested hard disk; and uploading the performance test content and the test progress of the to-be-tested hard disk to an upper computer to generate a visual test result. According to the embodiment of the invention, the automation degree and the testing efficiency of hard disk testing are improved, and meanwhile, the visualization degree of the testing result is improved.
Owner:POWERLEADER COMPUTER SYST CO LTD