A method and apparatus for testing a running task, an electronic device, and a medium
Through one-way transmission and virtual machine technology, the risk problem of auxiliary tools in existing technologies is solved, and the safety and smooth completion of testing work are achieved.
Patent Information
- Application Number
- CN202310648628.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2043-06-02
AI Technical Summary
The existing technology does not restrict auxiliary tools after the task is issued, so the obtained auxiliary tools may be risky and cannot solve the corresponding tasks well.
The command information is sent to the external network server through a secure one-way transmission method. The external network server generates a test working virtual machine environment and downloads the test security tool. The test task is remotely accessed and processed. After the processing is completed, the virtual machine environment is destroyed to ensure that only the task processing personnel can download the security tool.
It improves the security of testing work, protects tools and data from leakage, and ensures the smooth completion of tasks.
Smart Images

Figure CN116668349B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of test tasks, and in particular relates to a method, device, electronic equipment and medium for safely running a test task. Background Art
[0002] With the development of the internet, more and more workers are interacting with each other through online task platforms, enabling orderly task management, tracking and tracing each task process, and clearly displaying the inventor, processor, and completer of the task, making it easier to contact the contact persons at each stage. Most traditional online task platforms require a computer connected to the business intranet to use, which makes digital informationization insufficient for grassroots business tasks.
[0003] The prior art discloses a task information management system based on a QR code (publication number CN114676355A), which includes an intranet control center, an extranet control center, an information classification module, and a task release platform; the sub-terminal accesses the extranet control center in the form of a QR code, and the extranet control center is connected to the intranet control center by signal; the intranet control center and the task release platform are connected to each other by signal; and the intranet control center and the information classification module are connected to each other by signal. This task information management system based on a QR code enables leaders to remotely issue tasks to staff members through the task system. After the tasks are issued, the tasks can be planned according to the actual situation of the staff and the local situation. The planned task process is uploaded into the task system, and the task system facilitates superiors to understand the task trends in a timely manner. This task system can meet the inspection work of staff members and is more efficient than traditional methods.
[0004] The existing technology has at least the following problems:
[0005] 1. The existing technology does not restrict auxiliary tools after the task is issued, so the obtained auxiliary tools may be risky and cannot solve the corresponding tasks well. Summary of the Invention
[0006] The present invention provides a method, device, equipment and medium for safely running test tasks, aiming to solve the technical problem in the above-mentioned prior art that after the task is issued, there is no restriction on auxiliary tools, which makes the obtained auxiliary tools potentially risky and unable to solve the corresponding tasks well.
[0007] The present invention solves the above-mentioned technical problem with the following technical solution: A method for safely running a test task, used in an intranet server, comprising:
[0008] Obtain the issued test tasks and generate instruction information based on the test tasks;
[0009] The instruction information is sent to the external network server through a one-way transmission security method; wherein, after receiving the instruction information, the external network server generates a test working virtual machine environment and downloads the test security tool through the virtual machine;
[0010] Remotely access the external network server, control the external network server to process the test task through the test work virtual machine and test security tools and obtain the processing results;
[0011] Receive the processing result, and after receiving the result, trigger the external network server to destroy the test work virtual machine environment.
[0012] The beneficial effects of the present invention are as follows: instruction information is sent in a one-way transmission manner to ensure information security, and then the external network server downloads the test security tool through the virtual machine according to the instruction information, ensuring that only the task processing personnel can download the evaluated security testing and attack auxiliary tools on the external network platform through the virtual machine, and other non-task personnel have no right to download; since the internal and external networks are isolated from each other, and the authority to download tools from the external network is controlled at the same time, the security of the testing work can be improved, the tools and data are protected from being leaked, and the smooth completion of the task can be guaranteed.
[0013] On the basis of the above technical solution, the present invention can also be improved as follows.
[0014] Furthermore, the above-mentioned generating instruction information according to the test task specifically includes generating an optical QR code according to the test work virtual machine and the test safety tool selected by the test task; wherein the optical QR code is the instruction information;
[0015] The specific process of sending the instruction information to the external network server through the one-way transmission security method is: displaying the optical two-dimensional code on a two-dimensional code display so that the external network server can obtain it through an optical camera.
[0016] The beneficial effect of adopting the above further solution is: one-way transmission is achieved through the QR code, which ensures the security and reliability of the data. The intranet server of the present invention is connected to a dedicated QR code display for displaying the optical QR code.
[0017] Furthermore, the above-mentioned steps of generating a test working virtual machine environment and downloading a test security tool through the virtual machine specifically include:
[0018] The optical QR code is parsed to obtain the instruction content of the test task, which includes the specified test work virtual machine information and the specified test safety tool information. A test work virtual machine environment is generated based on the instruction content, and the test safety tool is downloaded through the virtual machine.
[0019] The beneficial effect of adopting the above further solution is: the content inside the optical QR code is the instruction information data that the business system needs to transmit to the external network server, and file data cannot be transmitted. The external network server generates a test working virtual machine environment according to the instructions, and downloads the test security tool through the virtual machine.
[0020] Furthermore, the test work virtual machine is remotely accessed through the WebVNC method to process the test task.
[0021] The beneficial effect of adopting the above further solution is that the test task processing by remote control can make the staff handle the test task more efficient and convenient.
[0022] Furthermore, the above processing results are received via a unidirectional optical fiber sending device.
[0023] The beneficial effect of adopting the above further solution is that data transmission through unidirectional optical fiber makes transmission safer and faster.
[0024] In order to solve the above technical problems, the present invention also provides a method for safely running a test task, which is used in an external network server. The method includes:
[0025] Receive instruction information sent by the intranet server, wherein the instruction information is instruction information generated by the intranet server according to the test task requiring the specified test work virtual machine and test security tool;
[0026] Parsing the instruction information, generating a test work virtual machine environment based on the content specified in the instruction information, and downloading the test security tool through the virtual machine;
[0027] Receive remote control instructions from the intranet server, complete test task processing and obtain processing results under remote control;
[0028] The processing result is sent to the intranet server, and the test work virtual machine environment is destroyed after the sending is successful.
[0029] The beneficial effect of adopting the above-mentioned further scheme is: by downloading the test security tool through the virtual machine according to the instruction information through the external network server, it is ensured that only the task processing personnel can download the evaluated security testing and attack auxiliary tools on the external network platform through the virtual machine, and other non-task personnel have no right to download; since the internal and external networks are isolated from each other, and the authority to download tools from the external network is controlled at the same time, the security of the testing work can be improved, the tools and data are protected from leakage, and the smooth completion of the task can be guaranteed.
[0030] Furthermore, the instruction information received from the intranet server is specifically:
[0031] An optical QR code generated by a test work virtual machine and a test safety tool selected by the intranet server according to the test task is obtained through an optical camera. The optical QR code is the instruction information.
[0032] The beneficial effect of adopting the above further solution is: one-way transmission is achieved through the QR code, which ensures the security and reliability of the data. The intranet server of the present invention is connected to a dedicated QR code display for displaying the optical QR code.
[0033] In a second aspect, in order to solve the above technical problems, the present invention further provides a safe operation test task device, comprising:
[0034] Instruction generation module: used to obtain the issued test tasks and generate instruction information according to the test tasks;
[0035] Instruction transmission module: used to send the instruction information to the external network server through a one-way transmission security method; wherein, after receiving the instruction information, the external network server generates a test working virtual machine environment and downloads the test security tool through the virtual machine;
[0036] Task processing module: used to remotely access the external network server, control the external network server to process the test task through the test work virtual machine and test security tools, and obtain the processing results;
[0037] Receiving module: used to receive the processing result, and trigger the external network server to destroy the test work virtual machine environment after receiving the result.
[0038] In the third aspect, in order to solve the above-mentioned technical problems, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the safe operation test task method of the present application is implemented.
[0039] In a fourth aspect, in order to solve the above-mentioned technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the safe operation test task method of the present application is implemented.
[0040] Additional aspects and advantages of the present application will be given in part in the following description, which will become apparent from the following description, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a method for performing a safe operation test task according to an embodiment of the present invention is provided;
[0042] Figure 2A schematic structural diagram of a safe operation test task device provided by one embodiment of the present invention;
[0043] Figure 3 The present invention provides a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The principles and features of the present invention are described below. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0045] The following describes in detail the technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems using specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following embodiments of the present invention are described in conjunction with the accompanying drawings.
[0046] The solutions provided by the embodiments of the present invention are applicable to any application scenario requiring data storage. The solutions provided by the embodiments of the present invention can be executed by any electronic device, for example, a user's terminal device, including at least one of the following: a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, smart TV, or smart car device.
[0047] The embodiment of the present invention provides a possible implementation method, such as Figure 1 As shown in FIG, a flowchart of a method for safely running a test task is provided. The solution can be executed by any electronic device, for example, a terminal device, or by a terminal device and a server. For the convenience of description, the method provided by the embodiment of the present invention will be described below using an intranet server as an example of the execution subject. Figure 1 As shown in the flowchart, the method may include the following steps:
[0048] S1: Obtain the issued test task and generate instruction information according to the test task;
[0049] S2: Send the instruction information to the external network server in a secure way through one-way transmission, and the instruction information is used by the external network server to generate a test working virtual machine environment and download the test security tool through the virtual machine according to the instruction information;
[0050] The specific process of generating instruction information and sending it to the external network server through a one-way secure transmission method is as follows:
[0051] Generate an optical QR code based on the test work virtual machine and test safety tool selected for the test task, and display it on a QR code display;
[0052] The external network server obtains the optical QR code through an optical camera.
[0053] The above-mentioned generation of a test work virtual machine environment and downloading of test security tools through the virtual machine specifically include:
[0054] The optical QR code is parsed to obtain the instruction content of the test task, which includes the specified test work virtual machine information and the specified test safety tool information. A test work virtual machine environment is generated based on the instruction content, and the test safety tool is downloaded through the virtual machine.
[0055] In this embodiment, a dedicated QR code display is installed on the intranet backend machine to display the optical QR code, and a dedicated QR code parsing camera is installed on the network frontend machine. The external network camera shoots the QR code display of the intranet to realize the exchange of small-scale data between the intranet and the external network. The content in the optical QR code is the instruction data that the business system needs to transmit to the external network, and file-type data cannot be transmitted. The test work virtual machine and test security tools that can be used in the intranet are carried in the task information instruction and sent to the external network through the QR code. The user can only generate the test work virtual machine environment specified by the intranet on the external network server and download the test security tool through the virtual machine. In this way, since the internal and external networks are isolated from each other and the authority to download the test security tool from the external network server is controlled at the same time, the security of the test work can be improved, the tools and data are protected from being leaked, and the smooth completion of the task can be guaranteed.
[0056] S3: Remotely access the external network server, control the external network server to process the test task through the test work virtual machine and test security tools, and obtain the processing results;
[0057] This embodiment uses the WebVNC method to remotely access the test work virtual machine and process the test task.
[0058] S4: Receive the processing result, and trigger the external network server to destroy the test work virtual machine environment after receiving the result. The above processing result is received through the unidirectional optical fiber sending device.
[0059] After the user completes the use, this embodiment transmits the processing result to the intranet server through the unidirectional optical fiber sending device, and then automatically destroys the test working virtual machine environment of the extranet server.
[0060] The following describes the method provided by the embodiment of the present invention using an external network server as an example execution subject. The method may include the following steps:
[0061] S5: receiving instruction information sent by the intranet server, wherein the instruction information is instruction information generated by the intranet server according to the test task requiring the specified test work virtual machine and test security tool;
[0062] S6: Parse the instruction information, generate a test work virtual machine environment based on the content specified in the instruction information, and download the test security tool through the virtual machine;
[0063] The above instruction information is implemented through optical QR code, and the implementation process is as follows:
[0064] The intranet server generates an optical QR code based on the test work virtual machine and test security tool selected by the test task, and displays it on the QR code display;
[0065] The external network server obtains the optical QR code through an optical camera.
[0066] The external network server parses the optical QR code to obtain the instruction content of the test task, which includes the specified test work virtual machine information and the specified test safety tool information. The test work virtual machine environment is generated based on the instruction content, and the test safety tool is downloaded through the virtual machine.
[0067] In this embodiment, a dedicated QR code display is installed on the intranet backend machine to display the optical QR code, and a dedicated QR code parsing camera is installed on the network frontend machine. The external network camera shoots the QR code display of the intranet to realize the exchange of small-scale data between the intranet and the external network. The content in the optical QR code is the instruction data that the business system needs to transmit to the external network, and file-type data cannot be transmitted. The test work virtual machine and test security tools that can be used in the intranet are carried in the task information instruction and sent to the external network through the QR code. The user can only generate the test work virtual machine environment specified by the intranet on the external network server and download the test security tool through the virtual machine. In this way, since the internal and external networks are isolated from each other and the authority to download the test security tool from the external network server is controlled at the same time, the security of the test work can be improved, the tools and data are protected from being leaked, and the smooth completion of the task can be guaranteed.
[0068] S7: Receive remote control instructions from the intranet server, complete the test task processing and obtain the processing results under remote control; this embodiment remotely accesses the test work virtual machine through the WebVNC method and processes the test task.
[0069] S8: Send the processing result to the intranet server, and destroy the test work virtual machine environment after successful sending.
[0070] After the user completes the use, this embodiment transmits the processing result to the intranet server through the unidirectional optical fiber sending device, and then automatically destroys the test working virtual machine environment of the extranet server.
[0071] Based on Figure 1 The same principle as the method shown in , the embodiment of the present invention also provides a safe operation test task device, such as Figure 2As shown in the middle, the safe operation test task device can include:
[0072] The instruction generation module is configured to acquire the test task issued, and generate instruction information according to the test task;
[0073] The specific process of generating the instruction information is as follows:
[0074] According to the selected test work virtual machine and test security tool of the test task, an optical two-dimensional code is generated and displayed on the two-dimensional code display;
[0075] The instruction transmission module is configured to send the instruction information to the external network server through a one-way transmission security mode, and the instruction information is used for the external network server to generate a test work virtual machine environment and download a test security tool through a virtual machine according to the instruction information;
[0076] The optical two-dimensional code is acquired by the external network server through an optical camera through a one-way transmission security mode. Then the optical two-dimensional code is analyzed to obtain the instruction content of the test task, the instruction content includes the specified test work virtual machine information and the specified test security tool information, the test work virtual machine environment is generated based on the instruction content, and the test security tool is downloaded through the virtual machine.
[0077] The task processing module is configured to remotely access the external network server, control the external network server to process the test task through the test work virtual machine and the test security tool, and obtain a processing result;
[0078] The embodiment remotely accesses the test work virtual machine through the WebVNC method, and processes the test task.
[0079] The receiving module receives the processing result, and triggers the external network server to destroy the test work virtual machine environment after the receiving is completed.
[0080] The embodiment transmits the processing result to the internal network server through the one-way optical fiber transmission device after the user uses it, and then automatically destroys the test work virtual machine environment of the external network server.
[0081] The safe operation test task device provided by the embodiment of the application can execute the safe operation test task method provided by the embodiment of the application, and the implementation principles are similar. The actions performed by each module and unit in the safe operation test task device in each embodiment of the application are corresponding to the steps in the safe operation test task method in each embodiment of the application. For detailed functions of each module of the safe operation test task device, refer to the description of the corresponding safe operation test task method in the foregoing description, which will not be repeated here.
[0082] Among them, the above-mentioned safe operation test task device can be a computer program (including program code) running in a computer device, for example, the safe operation test task device is an application software; the device can be used to execute the corresponding steps in the method provided in the embodiment of the present invention.
[0083] In some embodiments, the safe operation test task device provided by the embodiment of the present invention can be implemented in a combination of software and hardware. As an example, the safe operation test task device provided by the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the safe operation test task method provided by the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), field programmable gate array (FPG, Field-Programmable Gate Array) or other electronic components.
[0084] In other embodiments, the safe operation test task device provided by the embodiment of the present invention can be implemented in a software manner. Figure 2 The present invention shows a safe operation test task device stored in a memory, which can be software in the form of a program or plug-in, and includes a series of modules, including an instruction generation module, an instruction transmission module, a task processing module, and a receiving module. It is used to implement the method provided by the embodiment of the present invention.
[0085] The modules involved in the embodiments of the present invention may be implemented in software or hardware, wherein the name of a module does not necessarily limit the module itself.
[0086] Based on the same principle as the method shown in the embodiments of the present invention, an electronic device is also provided in the embodiments of the present invention, which may include but is not limited to: a processor and a memory; the memory is used to store computer programs; the processor is used to execute the method shown in any embodiment of the present invention by calling the computer program.
[0087] In an alternative embodiment, an electronic device is provided, such as Figure 3 As shown, Figure 3 The electronic device shown includes a processor and a memory. The processor and the memory are connected, for example, via a bus. Optionally, the electronic device may further include a transceiver, which can be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, there is not limited to one transceiver, and the structure of the electronic device does not constitute a limitation on the embodiments of the present invention.
[0088] The processor can be a CPU (Center Processing Unit, central processing unit), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an SIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPG (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 4001 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0089] The bus may include a path for transmitting information between the above components. The bus may be a PCI (Peripheral Component Interconnect) bus or an EIS (Extended Industry Standard Architecture) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0090] The memory can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, an ROM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc), or other optical disk storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other media that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0091] The memory is used to store application code (computer program) for executing the solution of the present invention, and the processor controls the execution of the application code. The processor is used to execute the application code stored in the memory to implement the content shown in the above method embodiment.
[0092] Among them, the electronic device can also be a terminal device, Figure 3 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0093] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents of the aforementioned method embodiment.
[0094] According to another aspect of the present invention, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various implementations described above.
[0095] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0096] It should be understood that the flowchart and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations thereof, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or combinations of hardware and software.
[0097] The computer readable storage medium of the present application embodiment can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, the computer readable storage medium can be any tangible medium that contains or stores a program and can be accessed by an instruction execution system, apparatus, or device to retrieve and execute the program.
[0098] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0099] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.
Claims
1. A method for safely running a test task, characterized in that: Used in an intranet server, the method includes: Obtain the issued test tasks and generate instruction information based on the test tasks; The instruction information is sent to the external network server through a one-way transmission security method; wherein, after receiving the instruction information, the external network server generates a test working virtual machine environment and downloads the test security tool through the virtual machine; Remotely access the external network server, control the external network server to process the test task through the test work virtual machine and test security tools and obtain the processing results; Receive the processing result, and after receiving the result, trigger the external network server to destroy the test work virtual machine environment.
2. A safe operation test task method according to claim 1, characterized in that: Generating instruction information according to the test task specifically includes generating an optical QR code according to the test work virtual machine and the test safety tool selected by the test task; wherein the optical QR code is the instruction information; The specific process of sending the instruction information to the external network server through the one-way transmission security method is: displaying the optical two-dimensional code on a two-dimensional code display so that the external network server can obtain it through an optical camera.
3. A safe operation test task method according to claim 2, characterized in that: Generating a test work virtual machine environment and downloading test security tools through the virtual machine specifically include: The optical QR code is parsed to obtain the instruction content of the test task, which includes the specified test work virtual machine information and the specified test safety tool information. A test work virtual machine environment is generated based on the instruction content, and the test safety tool is downloaded through the virtual machine.
4. A safe operation test task method according to claim 1, characterized in that: Use WebVNC to remotely access the test work virtual machine and process test tasks.
5. A safe operation test task method according to claim 1, characterized in that: The processing result is received via a unidirectional optical fiber sending device.
6. A method for safely running a test task, characterized in that: Used in an external network server, the method includes: Receive instruction information sent by the intranet server, wherein the instruction information is instruction information generated by the intranet server according to the test task requiring the specified test work virtual machine and test security tool; Parsing the instruction information, generating a test work virtual machine environment based on the content specified in the instruction information, and downloading the test security tool through the virtual machine; Receive remote control instructions from the intranet server, complete test task processing and obtain processing results under remote control; The processing result is sent to the intranet server, and the test work virtual machine environment is destroyed after the sending is successful.
7. A safe operation test task method according to claim 6, characterized in that: The specific instruction information received from the intranet server is: An optical QR code generated by a test work virtual machine and a test safety tool selected by the intranet server according to the test task is obtained through an optical camera. The optical QR code is the instruction information.
8. A safe operation test task device, characterized in that: include: Instruction generation module: used to obtain the issued test tasks and generate instruction information according to the test tasks; Instruction transmission module: used to send the instruction information to the external network server through a one-way transmission security method; wherein, after receiving the instruction information, the external network server generates a test working virtual machine environment and downloads the test security tool through the virtual machine; Task processing module: used to remotely access the external network server, control the external network server to process the test task through the test work virtual machine and test security tools, and obtain the processing results; Receiving module: used to receive the processing result, and trigger the external network server to destroy the test work virtual machine environment after receiving the result.
9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Task information management system based on two-dimensional code
CN114676355A
Self-service software customization and remote automatic test method and system
CN111857685A
File security issuing method and system based on virtualization system
CN115967553A