CN118227451A - Fuzzy test system, fuzzy test method, electronic device and storage medium - Google Patents

Fuzzy test system, fuzzy test method, electronic device and storage medium Download PDF

Info

Publication number
CN118227451A
CN118227451A CN202211639324.0A CN202211639324A CN118227451A CN 118227451 A CN118227451 A CN 118227451A CN 202211639324 A CN202211639324 A CN 202211639324A CN 118227451 A CN118227451 A CN 118227451A
Authority
CN
China
Prior art keywords
test
module
fuzzy
fuzzy test
task
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
CN202211639324.0A
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.)
Beijing CHJ Automobile Technology Co Ltd
Original Assignee
Beijing CHJ Automobile Technology Co Ltd
Filing date
Publication date
Application filed by Beijing CHJ Automobile Technology Co Ltd filed Critical Beijing CHJ Automobile Technology Co Ltd
Publication of CN118227451A publication Critical patent/CN118227451A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a fuzzy test system, a fuzzy test method, electronic equipment and a storage medium, and relates to the technical field of testing, wherein the method comprises the following steps: generating a fuzzy test task by using the test task generating device and sending the fuzzy test task to the test executing device; receiving the fuzzy test task by using the test execution device; and determining a target virtual machine from the plurality of virtual machines by using the test execution device, and calling the fuzzy test framework in the target virtual machine to execute the fuzzy test task. By the method and the device, the technical problem that the operation load of a central processing unit in a development machine or a product machine is easily increased to cause the performance loss of computer hardware when the fuzzy test is performed can be solved.

Description

Fuzzy test system, fuzzy test method, electronic device and storage medium
Technical Field
The present application relates to the field of testing technologies, and in particular, to a fuzzy testing system, a fuzzy testing method, an electronic device, and a storage medium.
Background
The Service-oriented architecture (Service-Oriented Architecture, SOA) of the automobile and the software-defined automobile gradually become the trend of future development of the automobile-end software, the test requirement on the automobile-end software is greatly increased, the robustness, the safety and the compatibility test with hardware and an operating system of the surrounding program become unimportant, the test is accompanied with the whole development period, and the test emphasis has different manifestations in different development stages. The focus of fuzzy testing is to find problems that are difficult to find by man-made and normal procedures.
At present, the fuzzy test mainly runs on a development machine or a product machine, however, because the fuzzy test basically takes a day as a time unit for testing, the operation amount is large, and the running load of a central processing unit (Central Processing Unit, CPU) in the development machine or the product machine is easily increased, so that the performance loss of computer hardware is caused.
Disclosure of Invention
In view of this, the present application provides a fuzzy test system, a fuzzy test method, an electronic device and a storage medium, which are mainly used for solving the technical problems of large operation amount and easy increase of the operation load of a central processor in a development machine or a product machine, resulting in the performance loss of computer hardware when the fuzzy test is performed.
According to a first aspect of the present disclosure, there is provided a ambiguity test system comprising: the test task generating device and the test executing device comprise a plurality of virtual machines, wherein fuzzy test frames are respectively deployed in the plurality of virtual machines;
The test task generating device is used for generating a fuzzy test task and sending the fuzzy test task to the test executing device;
The test execution device is used for receiving the fuzzy test task, determining a target virtual machine from the plurality of virtual machines, and calling the fuzzy test framework in the target virtual machine to execute the fuzzy test task.
According to a second aspect of the present disclosure, there is provided a ambiguity test method, the method being applied to an ambiguity test system, the ambiguity test system comprising: the test task generating device and the test executing device comprise a plurality of virtual machines, wherein fuzzy test frames are respectively deployed in the plurality of virtual machines, and the method comprises the following steps:
Generating a fuzzy test task by using the test task generating device and sending the fuzzy test task to the test executing device;
Receiving the fuzzy test task by using the test execution device;
And determining a target virtual machine from the plurality of virtual machines by using the test execution device, and calling the fuzzy test framework in the target virtual machine to execute the fuzzy test task.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the second aspect described above.
According to a fourth aspect of the present disclosure there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the foregoing second aspect.
According to a fifth aspect of the present disclosure there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method as in the second aspect described above.
The fuzzy test system, the fuzzy test method, the electronic equipment and the storage medium provided by the disclosure can firstly generate a fuzzy test task by using a test task generating device and send the fuzzy test task to a test executing device; after receiving the fuzzy test task, the test execution device can determine a target virtual machine from a plurality of virtual machines, and call a fuzzy test framework deployed in the target virtual machine to execute the fuzzy test task. For the embodiment of the disclosure, the fuzzy test task is sent to the virtual machine, and the fuzzy test task is executed in the virtual machine, so that the running load of a central processing unit in a development machine or a product machine can be reduced, and the performance loss of computer hardware is avoided.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic structural diagram of a fuzzy test system according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a fuzzy test system according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a fuzzy test method according to an embodiment of the present disclosure;
FIG. 4 is a schematic block diagram of an example electronic device provided by an embodiment of the present disclosure;
In fig. 1:
1-a test task generating device;
The system comprises a 2-test execution device, a 21-virtual machine, a 22-fuzzy test framework, a 221-compiling module, a 222-simulation module, a 223-confusion module, a 224-fuzzy test module, a 225-state monitoring module, a 226-report generating module and a 23-proxy service module.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The following describes a blur testing system, a blur testing method, an electronic apparatus, and a storage medium of the embodiments of the present disclosure with reference to the drawings.
In the related art, the fuzzy test mainly runs on a development machine or a product machine, however, because the fuzzy test basically takes a day as a time unit for testing, the operation amount is large, so that the running load of a central processing unit (Central Processing Unit, CPU) in the development machine or the product machine is easily increased, and the performance loss of computer hardware is caused.
In order to solve the technical problems, the disclosure provides a fuzzy test system, a fuzzy test method, an electronic device and a storage medium, which can solve the technical problems that the operation amount is large, the operation load of a central processing unit in a development machine or a product machine is easily increased, and the performance loss of computer hardware is caused when the fuzzy test is performed.
As shown in fig. 1, an embodiment of the present disclosure provides a ambiguity test system, including: the test task generating device 1 and the test executing device 2, wherein the test executing device 2 comprises a plurality of virtual machines 21, and fuzzy test frames 22 are respectively arranged in the plurality of virtual machines 21; the test task generating device 1 is used for generating a fuzzy test task and sending the fuzzy test task to the test executing device 2; the test execution device 2 is configured to receive the fuzzy test task, determine a target virtual machine from the plurality of virtual machines 21, and call a fuzzy test framework 22 disposed in the target virtual machine to execute the fuzzy test task.
The virtual machine is a virtual computer constructed on the physical machine, a virtual system environment is arranged in the virtual machine, the virtual machine can be used for simulating fuzzy test operation on the physical machine, and a fuzzy test task is executed in the virtual machine, so that the running burden of a central processing unit in a development machine or a product machine can be reduced, and the performance loss of computer hardware is avoided. In addition, when the fuzzy test is executed at present, a developer is required to install a fuzzy test compiler on the physical machine, modify a script, recompile codes, copy binary files to the physical machine for execution, and when the physical machine is not suitable for the fuzzy test, the fuzzy test environment is required to be rebuilt, so that the workload of the whole process is huge. Therefore, in the embodiment of the disclosure, on the basis of executing the fuzzy test task by using the virtual machine, the fuzzy test frame can be integrated in advance and deployed on the virtual machine in advance, and the fuzzy test frame can be directly called by the virtual machine to execute the fuzzy test task without repeated script compiling and deployment of the test environment, so that the labor cost consumption can be reduced, and the test efficiency is improved.
In a specific application scenario, as a possible implementation manner, as shown in fig. 1, the test execution device 2 further includes a proxy service module 23, where the proxy service module 23 is connected to the virtual machine 21; the proxy service module 23 is configured to obtain a working state of the virtual machine 21, and determine the virtual machine 21 whose working state is an idle state as a target virtual machine; the proxy service module 23 is further configured to receive the fuzzy test task sent by the test task generating device 1, and send the fuzzy test task to the target virtual machine. The proxy service module is used as a bridge for data interaction between the physical machine and the virtual machine and is used for providing a proxy service mechanism for the virtual machine, so that the physical machine can send an operation command to the virtual machine and acquire test execution data in the virtual machine. In the fuzzy test process, the agent service module can obtain detailed data of internal running conditions of the virtual machines through monitoring working states of the virtual machines, screen target virtual machines for executing the fuzzy test tasks from the virtual machines, directly send the fuzzy test tasks generated by the test task generating device to the target virtual machines, and control the target virtual machines to execute the fuzzy test tasks.
In a specific application scenario, as a possible implementation manner, the ambiguity test task includes source code of software to be tested, as shown in fig. 2, where the ambiguity test framework 22 includes: the compiling module 221, the simulation module 222, the confusion module 223 and the fuzzy test module 224 respectively establish script association relation with the fuzzy test module 224; the compiling module 221 is configured to compile source code of the software to be tested into an executable file, and send the executable file to the fuzzy test module 224; the simulation module 222 is used for deploying a simulation environment; the confusion module 223 is used for generating random data of the fuzzy test; the fuzzy test module 224 is configured to perform a fuzzy test on the executable file according to random data of the fuzzy test in a simulation environment, so as to obtain a fuzzy test result.
The software code to be tested is a software code which needs to execute fuzzy test; the executable file may be a binary file; the confusion module is configured to generate random data of the fuzzy test according to a specific rule, where the specific rule may be set according to an actual fuzzy test scenario, and may include a preset data type, a preset data format, and the like, and is not limited specifically herein.
In a specific application scenario, as a possible implementation manner, the fuzzy test framework further includes: status monitoring module 225, report generating module 226: the state monitoring module 225 is connected with the fuzzy test module 224, and the state monitoring module 225 is used for monitoring the test running state of the fuzzy test module 224; the report generating module 226 is connected to the fuzzy test module 224, and the report generating module 226 is configured to receive the fuzzy test result sent by the fuzzy test module 224 and generate a result report of the fuzzy test result; the report generating module 226 is connected to the status monitoring module 225, and the report generating module 226 is configured to receive the test running status sent by the status monitoring module 225 and generate a status monitoring report of the test running status. The report generating module 226 is further configured to send a result report of the fuzzy test result and a status monitoring report of the test running status to the test execution device 2.
For the embodiments of the present disclosure, when outputting the fuzzy test result, a fuzzy test report for feeding back the test result information may be output, for which, by way of example, two report monitoring modes are provided: 1) Shell terminal monitoring refers to the output log form of a command line, has no visualization, compares the original output mode, and is used for providing a simple text icon form and automatically updating and printing the state. 2) The monitoring of the webpage icons refers to the realization of the icon display of the webpage by performing some visualizations on the original output mode. Such as pie charts, bar charts, line charts, etc. Specifically, a server of a three-party web icon display website can be integrated in a Docker application program, a test report is transmitted to the web server through a user datagram protocol (User Data Protocol, UDP) according to json format, and the web server continuously prints a state diagram periodically.
As shown in fig. 2, an embodiment of the present disclosure provides a ambiguity test method applied to an ambiguity test system, the ambiguity test system including: the test task generating device and the test executing device comprise a plurality of virtual machines, wherein fuzzy test frames are respectively deployed in the plurality of virtual machines, and the embodiment of the method comprises the following steps:
and step 101, generating a fuzzy test task by using a test task generating device and sending the fuzzy test task to a test executing device.
The test task generating device can further generate a fuzzy test task containing the source code after receiving the source code of the software to be tested, and send the fuzzy test task to the test executing device so that the test executing device automatically performs fuzzy test on the software to be tested based on the software source code.
Step 102, receiving a fuzzy test task by using a test execution device.
And 103, determining a target virtual machine from the plurality of virtual machines by using a test execution device, and calling a fuzzy test framework deployed in the target virtual machine to execute a fuzzy test task.
For the embodiment of the disclosure, when the test execution device is utilized to determine the target virtual machine from the plurality of virtual machines, the working state of each virtual machine in the plurality of virtual machines can be acquired, and the virtual machine with the working state being the idle state is determined as the target virtual machine. As a possible application scenario, when one virtual machine exists in which the working state is the idle state, the virtual machine can be directly determined as a target virtual machine; as a possible application scenario, when there are multiple virtual machines with idle states, the operation priorities of the multiple virtual machines with idle states can be obtained, and then the virtual machine with the highest operation priority is determined as the target virtual machine, where the operation priority can be determined according to the operation order or the accumulated operation duration of the virtual machines. Optionally, the operation working orders of the multiple virtual machines may be set, so as to implement dynamic periodic call of the virtual machines according to the operation working orders, where the higher the operation working order of the virtual machines is, the higher the corresponding operation priority is. For example, the running work order of the virtual machine A, B, C, D, E is: if the virtual machine with the working state of idle state is determined to comprise the virtual machine C, D, E, the virtual machine C with the forefront operation order can be determined to be the target virtual machine with the highest operation priority at the current moment; optionally, the accumulated running time of each virtual machine in a certain period can be counted in real time, and in order to realize balanced calling of the virtual machines, the smaller the accumulated running time of the virtual machine is, the higher the corresponding running priority is. For example, if the accumulated running time of the virtual machine A, B, C, D, E in a certain period (for example, 24 hours) is counted at the current time, the accumulated running time is respectively: and (3) 6 hours, 3 hours, 4 hours, 5 hours and 6 hours, wherein the working states are idle states, and the virtual machine B with the smallest accumulated operation duration can be determined to be the target virtual machine with the highest operation priority.
In a specific application scene, application container engines can be deployed in a plurality of virtual machines in advance respectively, and fuzzy test frames are integrated in the application container engines. The fuzzy test framework is at least packaged with a compiling module, a simulation module, a confusion module and a fuzzy test module, and the compiling module, the simulation module and the confusion module respectively establish script association relation with the fuzzy test module. The script association relationship can be determined according to the sequence of executing the fuzzy test flow by each functional module in the fuzzy test process, and is used for representing the serial connection relationship of executing corresponding actions by the functional modules. For example, taking the example that the fuzzy test framework includes a compiling module, a simulation module, a confusion module and a fuzzy test module, the created script association relationship may be that the compiling module, the simulation module and the confusion module are respectively associated with the fuzzy test module. After corresponding module actions are executed by the compiling module, the simulation module and the confusion module to obtain corresponding action results, the fuzzy test module is further enabled to run on the compiling module, the simulation module and the confusion module to execute the corresponding action results, namely, fuzzy test is carried out on executable files compiled by the compiling module according to random data of fuzzy test generated by the confusion module in a simulation environment deployed by the simulation module. Correspondingly, the target virtual machine is suitable for calling the fuzzy test framework to execute the fuzzy test task according to the following mode: the method comprises the steps of compiling source codes of software to be tested into executable files by a calling compiling module, calling a simulation module to deploy a simulation environment, calling a confusion module to generate random data of fuzzy test, and calling the fuzzy test module to carry out fuzzy test on the executable files according to the random data of the fuzzy test in the simulation environment to obtain fuzzy test results.
Wherein, when the fuzzy test framework is deployed in the virtual machine, the fuzzy test framework can be fully integrated in an application container engine (dock). In view of the fact that all functional modules in the fuzzy test framework are integrated together in a dock mode, the deployment of the fuzzy test framework by the virtual machine is simplified, and the virtual machine can complete the deployment of all environments by only installing the dock and then starting the dock third-party application program to run. The compiling module in the fuzzy test framework is used for compiling the software code to be tested into an executable file, and sending the executable file to the fuzzy test module, wherein the executable file can be a binary file. In particular, the fuzzy test tool provides a custom compiler that the application development needs to use to reconstruct programs, integrating these tool chains into the application container engine third party application image for ease of use. The application developer directly operates after starting and entering the dock environment, and the binary files required by the fuzzy test can be created through compiling the provided compiler configuration files without modifying the construction script; the simulation module is used for deploying a simulation environment for fuzzy test, and specifically, can download and construct the simulation processor software (Quick Emulator, QEMU) environment code, and integrate the simulation processor software (Quick Emulator, QEMU) environment code into an application container engine third party application program. If the binary file built by the application developer is inconsistent with the server architecture, a virtual machine (QEMU) environment is required to simulate the running program. QEMU is a simulation environment, for example, can let armv architectural application run on x86, thus completing the unification of the tester; the confusion module and the fuzzy test module are also integrated into an application container engine third party application program, and the confusion module is used for generating random data of the fuzzy test according to a specific rule; the fuzzy test module is used for carrying out fuzzy test on the executable file according to random data of the fuzzy test in a simulation environment.
In summary, according to the fuzzy test method provided by the present disclosure, a fuzzy test task may be generated by a test task generating device and sent to a test executing device; after receiving the fuzzy test task, the test execution device can determine a target virtual machine from a plurality of virtual machines, and call a fuzzy test framework deployed in the target virtual machine to execute the fuzzy test task. For the embodiment of the disclosure, the fuzzy test task is sent to the virtual machine, and the fuzzy test task is executed in the virtual machine, so that the running load of a central processing unit in a development machine or a product machine can be reduced, and the performance loss of computer hardware is avoided. And by calling the pre-integrated fuzzy test framework, fuzzy test on the software code to be tested can be automatically realized without repeated script compiling and deployment of a test environment, so that the labor cost consumption can be reduced, the test efficiency is improved, and the method is convenient for large-area popularization and application.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 4 illustrates a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as the on-board systems of vehicles, which may also be intelligent terminals with display screens, such as cell phones, tablet computers, TVs, intelligent on-board systems, laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable devices with upgrade timeout processing. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 into a RAM (Random Access Memory ) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An I/O (Input/Output) interface 406 is also connected to bus 404.
The various components in device 400 are connected to I/O interface 406, including: an input unit 406 such as a touch input screen, voice input, or the like; an output unit 406 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a CPU (Central Processing Unit ), a GPU (Graphic Processing Units, graphics processing unit), various specialized AI (ARTIFICIAL INTELLIGENCE ) computing chips, various computing units running machine learning model algorithms, a DSP (DIGITAL SIGNAL Processor ), and any suitable Processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above, such as a data management method. For example, in some embodiments, the data management method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When the computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the aforementioned ambiguity test method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated Circuit System, FPGA (Field Programmable GATE ARRAY ), ASIC (Application-SPECIFIC INTEGRATED Circuit, application-specific integrated Circuit), ASSP (Application SPECIFIC STANDARD Product, application-specific standard Product), SOC (System On Chip ), CPLD (Complex Programmable Logic Device, complex programmable logic device), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, RAM, ROM, EPROM (ELECTRICALLY PROGRAMMABLE READ-Only-Memory, erasable programmable read-Only Memory) or flash Memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., CRT (Cathode-Ray Tube) or LCD (Liquid CRYSTAL DISPLAY) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network ), WAN (Wide Area Network, wide area network), internet and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual PRIVATE SERVER" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be noted that, artificial intelligence is a subject of studying a certain thought process and intelligent behavior (such as learning, reasoning, thinking, planning, etc.) of a computer to simulate a person, and has a technology at both hardware and software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, a machine learning/deep learning technology, a big data processing technology, a knowledge graph technology and the like.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A ambiguity test system, said ambiguity test system comprising: the test task generating device and the test executing device comprise a plurality of virtual machines, wherein fuzzy test frames are respectively deployed in the plurality of virtual machines;
The test task generating device is used for generating a fuzzy test task and sending the fuzzy test task to the test executing device;
The test execution device is used for receiving the fuzzy test task, determining a target virtual machine from the plurality of virtual machines, and calling the fuzzy test framework in the target virtual machine to execute the fuzzy test task.
2. The ambiguity test system of claim 1, wherein the test execution means comprises: the proxy service module is connected with the virtual machine;
the proxy service module is used for acquiring the working state of the virtual machine and determining the virtual machine with the working state of an idle state as a target virtual machine; and receiving the fuzzy test task sent by the test task generating device and sending the fuzzy test task to the target virtual machine.
3. The fuzziness testing system of claim 2, wherein the fuzziness testing task comprises source code of software under test, and wherein the fuzziness testing framework comprises: the system comprises a compiling module, a simulation module, an confusion module and a fuzzy test module, wherein the compiling module, the simulation module and the confusion module respectively establish script association relation with the fuzzy test module;
the compiling module is used for compiling the source code of the software to be tested into an executable file and sending the executable file to the fuzzy test module;
The simulation module is used for deploying a simulation environment;
The confusion module is used for generating random data of a fuzzy test;
The fuzzy test module is used for carrying out fuzzy test on the executable file according to the random data of the fuzzy test in the simulation environment to obtain a fuzzy test result.
4. The ambiguity test system of claim 3, wherein the ambiguity test framework further comprises: the state monitoring module:
the state monitoring module is connected with the fuzzy test module and is used for monitoring the test running state of the fuzzy test module.
5. The ambiguity test system of claim 4, wherein the ambiguity test framework further comprises: a report generation module;
the report generation module is connected with the fuzzy test module and is used for receiving the fuzzy test result sent by the fuzzy test module and generating a result report of the fuzzy test result;
The report generating module is connected with the state monitoring module and is used for receiving the test running state sent by the state monitoring module and generating a state monitoring report of the test running state.
6. The fuzzy test system of claim 5, wherein the report generation module is further configured to send a result report of the fuzzy test result and a status monitoring report of the test operating status to the test execution device.
7. A ambiguity test method, wherein the method is applied to an ambiguity test system comprising: the test task generating device and the test executing device comprise a plurality of virtual machines, wherein fuzzy test frames are respectively deployed in the plurality of virtual machines, and the method comprises the following steps:
Generating a fuzzy test task by using the test task generating device and sending the fuzzy test task to the test executing device;
Receiving the fuzzy test task by using the test execution device;
And determining a target virtual machine from the plurality of virtual machines by using the test execution device, and calling the fuzzy test framework in the target virtual machine to execute the fuzzy test task.
8. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of claim 7.
9. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of claim 7.
10. A computer program product comprising a computer program which, when executed by a processor, implements the method according to claim 7.
CN202211639324.0A 2022-12-20 Fuzzy test system, fuzzy test method, electronic device and storage medium Pending CN118227451A (en)

Publications (1)

Publication Number Publication Date
CN118227451A true CN118227451A (en) 2024-06-21

Family

ID=

Similar Documents

Publication Publication Date Title
EP4195108A1 (en) Method and apparatus for generating and applying deep learning model based on deep learning framework
CN112148278A (en) Visual block chain intelligent contract framework and intelligent contract development and deployment method
CN112925587A (en) Method and apparatus for initializing applications
EP4209894A1 (en) Cloud code development system, method, and apparatus, device, and storage medium
CN114417780B (en) State synchronization method and device, electronic equipment and storage medium
CN114090365A (en) Method, device and equipment for performing function test by using dynamic link library
CN114047921A (en) Inference engine development platform, method, electronic equipment and storage medium
CN116755994A (en) Cloud platform performance testing method and system, electronic equipment and storage medium
CN114756211B (en) Model training method and device, electronic equipment and storage medium
CN113590217B (en) Function management method and device based on engine, electronic equipment and storage medium
CN118227451A (en) Fuzzy test system, fuzzy test method, electronic device and storage medium
CN114741294A (en) Page debugging method, device, equipment and storage medium
CN113691403A (en) Topological node configuration method, related device and computer program product
EP4227796A1 (en) Service deployment processing method and apparatus, electronic device, and storage medium
CN115762515B (en) Processing and application method, device and equipment for neural network for voice recognition
CN114912522B (en) Information classification method and device
CN113535187B (en) Service online method, service updating method and service providing method
CN113568797B (en) Testing method and device of intelligent interaction system, electronic equipment and medium
CN113656268B (en) Performance test method and device for business service, electronic equipment and storage medium
CN112632293B (en) Industry map construction method and device, electronic equipment and storage medium
CN107145372A (en) information generating method and device
CN117075861A (en) Method, device, equipment and medium for constructing backlight module
CN114356759A (en) Applet debugging method, device, equipment, medium and computer program product
CN106227555B (en) Information display method and device and electronic equipment
CN117992417A (en) Log calling method, device and system

Legal Events

Date Code Title Description
PB01 Publication