WO2020177385A1 - Procédé et appareil de détection de fonction de machine virtuelle, dispositif électronique et support de stockage - Google Patents

Procédé et appareil de détection de fonction de machine virtuelle, dispositif électronique et support de stockage Download PDF

Info

Publication number
WO2020177385A1
WO2020177385A1 PCT/CN2019/118021 CN2019118021W WO2020177385A1 WO 2020177385 A1 WO2020177385 A1 WO 2020177385A1 CN 2019118021 W CN2019118021 W CN 2019118021W WO 2020177385 A1 WO2020177385 A1 WO 2020177385A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
test
target virtual
target
configuration parameter
Prior art date
Application number
PCT/CN2019/118021
Other languages
English (en)
Chinese (zh)
Inventor
陈泽冰
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020177385A1 publication Critical patent/WO2020177385A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0712Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a virtual computing platform, e.g. logically partitioned systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/577Assessing vulnerabilities and evaluating computer system security
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Definitions

  • the present disclosure relates to the technical field of testing, and in particular to a method and device for detecting performance of a virtual machine, electronic equipment, and a storage medium.
  • the inventor of the present application realizes that when verifying the communication performance of a virtual machine based on the Windows operating system, it is necessary to manually enter the account and password to log in, and at the same time deploy and start the corresponding service on the virtual machine.
  • This operation requires relatively high network professional skills for the personnel responsible for verification, and when there are a large number of virtual machines, manual verification cannot be performed in batches, and the work efficiency is low. At the same time, it is prone to the problem of incorrect password input and failure to log in.
  • the purpose of the embodiments of the present disclosure is to provide a method and device for detecting virtual machine performance, electronic equipment, and storage medium, thereby at least to some extent overcoming the inability to perform batch testing when the communication performance of virtual machines is tested manually.
  • the work efficiency is low, and at the same time, the problem of unable to log in due to incorrect password input is prone to occur.
  • a method for detecting performance of a virtual machine including: receiving a request for creating a test virtual machine, where the request for creating a test virtual machine includes an operating system type of the test virtual machine and a first configuration parameter And a second configuration parameter; create a test virtual machine according to the first configuration parameter and the second configuration parameter; based on the test virtual machine, determine a target virtual machine that meets the preset rules from a preset virtual machine configuration table Machine; send the test script generated by the test virtual machine to the target virtual machine to test the target virtual machine according to the test script; determine the target according to the test response generated by the target virtual machine The detection result of the virtual machine.
  • a virtual machine performance detection device including: a receiver configured to receive a request for creating a test virtual machine, the request for creating a test virtual machine includes the operating system type of the test virtual machine , A first configuration parameter and a second configuration parameter; a creator, configured to create a test virtual machine according to the first configuration parameter and the second configuration parameter; a filter, configured to be based on the test virtual machine, from a preset
  • the target virtual machine that meets the preset rules is determined in the virtual machine configuration table;
  • the tester is configured to send the test script generated by the test virtual machine to the target virtual machine, so that the target virtual machine can be tested according to the test script.
  • the virtual machine performs a test; the determiner is configured to determine the detection result of the target virtual machine according to the test response generated by the target virtual machine.
  • an electronic device including: a memory configured to store executable instructions; a processor configured to execute the executable instructions stored in the memory to execute the above-mentioned method.
  • a computer-readable storage medium having computer program instructions stored thereon, and the computer program instructions, when executed by a processor, implement the virtual machine performance detection method according to any one of the above items.
  • the test virtual machine is created by the operating system type, the first configuration parameter, and the second configuration parameter included in the request for creating the test virtual machine, and the test virtual machine is determined to conform to the preset
  • the target virtual machine of the rule sends the test script generated by the test virtual machine to the target virtual machine and performs a test to determine the detection result of the target virtual machine.
  • test virtual machine to detect the target virtual machine, without manual involvement, it can perform batch verification on the target virtual machine, shorten the detection cycle, and improve work efficiency; on the other hand, according to the configuration parameters of the test virtual machine Determine the test script, and log in to the target virtual machine according to the test virtual machine to obtain the corresponding account and password to test the target virtual machine, avoiding the situation of the virtual machine being locked due to incorrect account and password input, and improving the quality and efficiency of the test process.
  • FIG. 1 schematically shows a schematic diagram of a method for detecting performance of a virtual machine according to some embodiments of the present disclosure
  • Fig. 2 schematically shows a schematic diagram of determining a target virtual machine according to a preset rule according to an embodiment of the present disclosure
  • Fig. 3 schematically shows a schematic diagram of sending a test script according to an embodiment of the present disclosure
  • FIG. 4A schematically shows a schematic diagram of a virtual machine performance detection apparatus according to an embodiment of the present disclosure
  • FIG. 4B schematically shows a schematic diagram of a virtual machine performance detection apparatus according to an embodiment of the present disclosure
  • Fig. 5A schematically shows a schematic diagram of a tester according to an embodiment of the present disclosure
  • Fig. 5B schematically shows a schematic diagram of a tester according to an embodiment of the present disclosure
  • Fig. 6 schematically shows a schematic diagram of a computer system structure of an electronic device according to an embodiment of the present disclosure
  • Fig. 7 schematically shows a schematic diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
  • FIG. 1 schematically shows a schematic diagram of a method for detecting performance of a virtual machine according to some embodiments of the present disclosure.
  • the method for detecting performance of a virtual machine may include the following steps:
  • Step S110 receiving a request for creating a test virtual machine, where the request for creating a test virtual machine includes the operating system type, first configuration parameter, and second configuration parameter of the test virtual machine;
  • Step S120 creating a test virtual machine according to the first configuration parameter and the second configuration parameter
  • Step S130 based on the test virtual machine, determine a target virtual machine that meets a preset rule from a preset virtual machine configuration table;
  • Step S140 sending the test script generated by the test virtual machine to the target virtual machine to test the target virtual machine according to the test script;
  • Step S150 Determine the detection result of the target virtual machine according to the test response generated by the target virtual machine.
  • the performance detection method in this exemplary embodiment on the one hand, by creating a test virtual machine to detect the target virtual machine, without manual participation, it is possible to perform batch verification on the target virtual machine, shorten the detection period, and improve work efficiency. ;
  • the test script is determined according to the configuration parameters of the test virtual machine, and the corresponding account password is obtained according to the test virtual machine to log in to the target virtual machine to test the target virtual machine, avoiding the virtual machine lock due to the wrong input of the account password Improve the quality and efficiency of the testing process.
  • step S110 a request for creating a test virtual machine is received, where the request for creating a test virtual machine includes the operating system type, the first configuration parameter, and the second configuration parameter of the test virtual machine.
  • the test virtual machine refers to a specific virtual machine that detects the target virtual machine through a related command tool.
  • the system receives a request for creating a test virtual machine sent by a system administrator, and obtains the operating system type, first configuration parameter, and second configuration parameter of the test virtual machine included in the request. Create a test virtual machine corresponding to the operating system according to the operating system type of the test virtual machine, for example, create a test virtual machine of the Linux system, and configure the test virtual machine according to the first configuration parameter and the second configuration parameter.
  • the parameters included in the request for creating a test virtual machine may also be other parameters, such as the number of processor CPU cores, memory size, hard disk capacity, network segment information, etc., which are not specifically limited in this disclosure.
  • the operating system type in the creation request a test virtual machine corresponding to the operating system is created, a suitable operating system can be selected according to the actual situation, the stability of the test virtual machine is improved, and the security of the test environment is guaranteed.
  • step S120 a test virtual machine is created according to the first configuration parameter and the second configuration parameter.
  • the first configuration parameter may refer to a pre-set related configuration parameter for communication of a virtual machine, for example, a remote management service WinRM module.
  • the second configuration parameter may refer to the related configuration parameters written by the preset virtual machine implementation script tool, such as the scripting language Python, Pip software package, etc.
  • the configuration parameters in the embodiments of the present disclosure are only examples and are not specifically limited here. .
  • the communication tool of the test virtual machine is configured through the first configuration parameter.
  • the communication tool may refer to a necessary tool that enables the test virtual machine to remotely test the target virtual machine.
  • the scripting tool of the test virtual machine is configured through the second configuration parameter.
  • the scripting tool may refer to a tool for editing a test script that implements the test virtual machine to perform an automated verification process of the communication performance of the target virtual machine. Create a test virtual machine according to the configured communication tools, scripting tools, and other related configuration parameters, and the communication tools and scripting tools are stored in the physical machine corresponding to the test virtual machine.
  • step S130 based on the test virtual machine, a target virtual machine that meets a preset rule is determined from a preset virtual machine configuration table.
  • the target virtual machine may refer to a virtual machine to be tested that needs to perform a communication performance test in a preset virtual machine configuration table.
  • the virtual machine configuration table may include information of at least one virtual machine, and the information of each virtual machine may include identification information of the virtual machine, a login account, a login password, and an operating system type of the virtual machine.
  • the preset rule may be a virtual machine whose target virtual machine is a specific operating system, for example, a virtual machine whose operating system is Windows as the target virtual machine is taken as the target virtual machine.
  • the preset rule may also include that the target virtual machine is configured with related services.
  • the preset rule may be that the virtual machine can execute the Powershell remote management service.
  • the preset rules may also be other types of rules, for example, the target virtual machine is configured with a WinRM module, etc.
  • the present disclosure does not make any special limitation here.
  • FIG. 2 schematically shows a schematic diagram of determining a target virtual machine according to a preset rule according to some embodiments of the present disclosure, which will be described in detail below.
  • Step S210 Obtain a preset rule and a preset virtual machine configuration table on the physical machine corresponding to the test virtual machine.
  • a physical machine refers to a physical device corresponding to a virtual machine, such as a computer or a server, and the physical machine provides a hardware environment for the virtual machine.
  • the virtual machine configuration table includes information such as the ID, operating system type, login account, and login password of the target virtual machine.
  • the virtual machine configuration table and preset rules are stored in the physical machine corresponding to the test virtual machine. The test virtual machine obtains the stored virtual machine configuration table and preset rules from the physical machine.
  • Step S220 Filter the virtual machines on the virtual machine configuration table according to the preset rules, and determine the target virtual machines that meet the preset rules.
  • the target virtual machine refers to a virtual machine that meets the preset rule selected by the test virtual machine from the target virtual machine list according to the preset rule and the virtual machine configuration table.
  • the test virtual machine filters the virtual machine configuration table according to preset rules, and determines the target virtual machine that meets the preset rules. For example, you can filter out the virtual machines whose operating system is Windows from the virtual machine configuration table, and at the same time obtain the login account and login password of the selected virtual machine and log in, check the configuration of the virtual machine, and do it again according to the preset rules Filter to determine the target virtual machine that meets the preset rules.
  • step S140 the test script generated by the test virtual machine is sent to the target virtual machine to test the target virtual machine according to the test script.
  • the test script may refer to a corresponding program written by a scripting tool by the test virtual machine according to the items that need to be detected.
  • the test virtual machine obtains the login account and login password of the target virtual machine from the virtual machine configuration table, and sends a login request to the target virtual machine that meets predetermined rules according to the communication tool.
  • the login request includes the login account and login password of the target virtual machine.
  • the test virtual machine receives the message that the target virtual machine responds to the successful login, it generates a test script according to the scripting tool of the test virtual machine.
  • the test script is sent to the target virtual machine through the communication tool of the test virtual machine and executed. The script starts to test the related items of the communication performance of the target virtual machine and generates a corresponding test log.
  • FIG. 3 schematically shows a schematic diagram of sending a test script according to other embodiments of the present disclosure, which will be described in detail below.
  • Step S310 According to the number of the target virtual machines, the task of sending the test script of the target virtual machine is allocated to at least two parallel threads among the multiple parallel threads.
  • the communication tool of the test virtual machine includes multiple parallel threads.
  • the task of sending the test script corresponding to the multiple test commands is allocated to at least two of the multiple parallel threads, for example, three
  • the number of parallel threads may of course also be other numbers, and the present disclosure does not make any special limitation here.
  • Sending test scripts to the target virtual machine according to the respective assigned sending tasks of at least two parallel threads can not only alleviate the workload of the test virtual machine when there are more target virtual machines, but also shorten the cycle of detection and verification, and improve the detection efficiency of the test virtual machine. Work efficiency.
  • Step S320 based on the sending task of the test script of the at least two parallel threads, send the test script to the corresponding target virtual machine.
  • the sending task of each test script corresponds to the currently determined target virtual machine.
  • the system determines the number of parallel threads to be assigned to send tasks according to the number of target virtual machines that meet the predetermined rules. For example, as shown in formula (1):
  • N represents the number of parallel threads assigned to send tasks
  • M represents the number of target virtual machines that meet the predetermined rules
  • k represents a predetermined value, which is a constant determined by the system administrator according to the actual situation, where, N and M are positive integers
  • the test virtual machine allocates the sending tasks of the test scripts of the M target virtual machines to N parallel threads.
  • the test script is sent to the target virtual machine. Determining the number of parallel threads to allocate tasks according to the number of target virtual machines can further improve the work efficiency of the test virtual machine.
  • step S150 the detection result of the target virtual machine is determined according to the test response generated by the target virtual machine.
  • the test virtual machine after the test virtual machine sends the test script to the target virtual machine, it receives the test response returned by the target virtual machine.
  • the test virtual machine obtains a correspondence table of test responses and detection results, and the correspondence table includes the test commands in the test script and the test responses and test results corresponding to the test commands.
  • the test virtual machine determines the detection result of the test script according to the test response and the correspondence table, that is, the final detection result of the test virtual machine detecting the communication performance of the target virtual machine.
  • a virtual machine performance detection device is also provided.
  • the performance detection apparatus 400 includes: a receiver 410 configured to receive a request for creating a test virtual machine, the request for creating a test virtual machine includes the operating system type of the test virtual machine, and first configuration parameters And the second configuration parameter; the creator 420 is configured to create a test virtual machine based on the first configuration parameter and the second configuration parameter; the filter 430 is configured to be based on the test virtual machine, from a preset virtual machine The target virtual machine that meets the preset rules is determined in the configuration table; the transmitter 460 is configured to send the test script generated by the test virtual machine to the target virtual machine, so as to compare the target virtual machine according to the test script. Perform a test; the determiner 470 is configured to determine the detection result of the target virtual machine according to the test response generated by the target virtual machine.
  • the creator 420 includes: a communication tool determiner 421, a scripting tool determiner 422, and a test virtual machine creator 423.
  • the communication tool determiner 421 is configured to determine the communication tool of the test virtual machine according to the first configuration parameter
  • the script writing tool determiner 422 is configured to determine the scripting of the test virtual machine according to the second configuration parameter Tool
  • the test virtual machine creator 423 is configured to create the test virtual machine based on the communication tool and the scripting tool.
  • the filter 430 includes: an obtainer 431 and a target virtual machine filter 432.
  • the obtainer 431 is configured to obtain the preset rules stored on the physical machine corresponding to the test virtual machine and the virtual machine configuration table;
  • the target virtual machine filter 432 is configured to filter the virtual machine configuration table according to the preset rules And determine that the virtual machine that meets the preset rule is the target virtual machine.
  • the virtual machine performance detection apparatus 400 further includes: a login request transmitter 440 configured to send a login request to the target virtual machine through the communication tool of the test virtual machine; wherein, the login request Including the login account and login password of the target virtual machine; a trigger 450 configured to trigger the sending of the test script generated by the test virtual machine to the target virtual machine in response to the successful login of the target virtual machine; To test the target virtual machine according to the test script.
  • a login request transmitter 440 configured to send a login request to the target virtual machine through the communication tool of the test virtual machine; wherein, the login request Including the login account and login password of the target virtual machine
  • a trigger 450 configured to trigger the sending of the test script generated by the test virtual machine to the target virtual machine in response to the successful login of the target virtual machine; To test the target virtual machine according to the test script.
  • the determiner 470 includes: a test response obtainer 471, configured to obtain a test response generated by the target virtual machine executing the test script; a detection result determiner 472, configured to obtain a test response according to a preset test Determine the detection result corresponding to the test response of the target virtual machine by responding to the correspondence table with the detection result.
  • FIG. 5A schematically shows a schematic diagram of a tester 460 according to an embodiment of the present disclosure.
  • the tester 460 includes a generator 510 and a target virtual machine tester 520.
  • the generator 510 is configured to generate a test script according to the preset virtual machine configuration table and the scripting tool of the test virtual machine;
  • the target virtual machine tester 520 is configured to transfer all the test scripts through the communication tool of the test virtual machine.
  • the test script is sent to the target virtual machine to test the target virtual machine according to the test script.
  • the communication tool includes multiple parallel threads
  • the tester 520 includes a task dispatcher 530 and a target virtual machine tester 540.
  • the task allocator 530 is configured to allocate the sending task of the test script of the target virtual machine to at least two parallel threads among the multiple parallel threads according to the number of the target virtual machine;
  • the target virtual machine tester 540 is configured to send the test script to the determined target virtual machine based on the sending task of the test script of the at least two parallel threads.
  • modules or units of the virtual machine performance detection apparatus are mentioned in the above detailed description, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • an electronic device capable of implementing the above-mentioned method for detecting the performance of a virtual machine.
  • the electronic device 600 according to this embodiment of the present disclosure will be described below with reference to FIG. 6.
  • the electronic device 600 shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 600 is represented in the form of a general-purpose computing device.
  • the components of the electronic device 600 may include but are not limited to: the aforementioned at least one processing unit 610, the aforementioned at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), and a display unit 640.
  • the storage unit stores program code, and the program code can be executed by the processing unit 610, so that the processing unit 610 executes the various exemplary methods described in the "exemplary method" section of this specification.
  • the processing unit 610 may perform step S110 as shown in FIG. 1 to receive a request for creating a test virtual machine, where the request for creating a test virtual machine includes the operating system type of the test virtual machine and the first configuration parameter.
  • step S120 create a test virtual machine according to the first configuration parameter and the second configuration parameter
  • step S130 based on the test virtual machine, determine from a preset virtual machine configuration table The target virtual machine with preset rules
  • step S140 the test script generated by the test virtual machine is sent to the target virtual machine, so as to test the target virtual machine according to the test script
  • step S150 according to the The test response generated by the target virtual machine determines the detection result of the target virtual machine.
  • the storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 621 and/or a cache storage unit 622, and may further include a read-only storage unit (ROM) 623.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 620 may also include a program/utility tool 624 having a set of (at least one) program module 625.
  • program module 625 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 630 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the electronic device 600 can also communicate with one or more external devices 670 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 650.
  • the electronic device 600 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 660.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 660 communicates with other modules of the electronic device 600 through the bus 630. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium on which is stored a program product capable of implementing the above method in this specification.
  • the various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
  • a program product 700 for implementing the above-mentioned virtual machine performance detection method according to an embodiment of the present disclosure may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may Run on terminal devices, such as personal computers.
  • CD-ROM compact disk read-only memory
  • the program product of the present disclosure is not limited thereto.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of the present disclosure can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural styles. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers Internet service providers
  • the exemplary embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
  • a computing device which may be a personal computer, a server, a touch terminal, or a network device, etc.

Landscapes

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

Abstract

L'invention concerne un procédé et un appareil de détection de fonction de machine virtuelle, un dispositif électronique et un support de stockage, se rapportant au domaine technique du test. Le procédé consiste à : recevoir une demande de création d'une machine virtuelle de test, la demande de création d'une machine virtuelle de test comprenant un type de système d'exploitation de la machine virtuelle de test, un premier paramètre de configuration et un second paramètre de configuration (S110) ; créer une machine virtuelle de test en fonction du premier paramètre de configuration et du second paramètre de configuration (S120) ; sur la base de la machine virtuelle de test, déterminer une machine virtuelle cible satisfaisant une règle prédéterminée à partir d'une table de configuration de machine virtuelle prédéterminée (S130) ; envoyer un script de test généré par la machine virtuelle de test à la machine virtuelle cible, de façon à tester la machine virtuelle cible au moyen du script de test (S140) ; selon une réponse de test générée par la machine virtuelle cible, déterminer un résultat de test de la machine virtuelle cible (S150). Le présent procédé peut non seulement tester automatiquement la fonctionnalité de communication de multiples machines virtuelles, mais peut également améliorer la précision du processus de test, ce qui garantit l'efficacité de test.
PCT/CN2019/118021 2019-03-04 2019-11-13 Procédé et appareil de détection de fonction de machine virtuelle, dispositif électronique et support de stockage WO2020177385A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910161318.0 2019-03-04
CN201910161318.0A CN110058920B (zh) 2019-03-04 2019-03-04 虚拟机性能检测方法及装置、电子设备、存储介质

Publications (1)

Publication Number Publication Date
WO2020177385A1 true WO2020177385A1 (fr) 2020-09-10

Family

ID=67316582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118021 WO2020177385A1 (fr) 2019-03-04 2019-11-13 Procédé et appareil de détection de fonction de machine virtuelle, dispositif électronique et support de stockage

Country Status (2)

Country Link
CN (1) CN110058920B (fr)
WO (1) WO2020177385A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058920B (zh) * 2019-03-04 2023-01-31 平安科技(深圳)有限公司 虚拟机性能检测方法及装置、电子设备、存储介质
CN112765007A (zh) * 2019-10-21 2021-05-07 腾讯科技(深圳)有限公司 一种集成测试方法、装置及存储介质
CN111090641B (zh) * 2019-11-25 2024-04-02 医渡云(北京)技术有限公司 数据处理方法及装置、电子设备、存储介质
CN111078539B (zh) * 2019-11-29 2022-09-06 江苏苏宁物流有限公司 一种测试方法、装置、系统、计算机可读存储介质
CN115150298B (zh) * 2021-03-31 2023-11-03 北京金山云网络技术有限公司 虚拟网关的测试方法及装置、存储介质、电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140380281A1 (en) * 2013-06-24 2014-12-25 Linkedin Corporation Automated software testing
CN106919485A (zh) * 2017-03-09 2017-07-04 郑州云海信息技术有限公司 一种基于服务器上配置硬件测试工具的系统
CN107704395A (zh) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 一种基于Openstack下云平台自动化测试实施方法与系统
CN110058920A (zh) * 2019-03-04 2019-07-26 平安科技(深圳)有限公司 虚拟机性能检测方法及装置、电子设备、存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092541A (zh) * 2017-04-27 2017-08-25 郑州云海信息技术有限公司 一种运用虚拟机进行存储性能测试的方法
CN107168880A (zh) * 2017-05-31 2017-09-15 中标软件有限公司 虚拟机测试方法及工具
CN107302475A (zh) * 2017-07-06 2017-10-27 郑州云海信息技术有限公司 一种面向分布式存储集群的测试方法及装置
CN107395456B (zh) * 2017-07-18 2021-06-29 郑州云海信息技术有限公司 分布式文件系统流直存测试方法及平台
CN108900324B (zh) * 2018-06-13 2021-10-15 平安科技(深圳)有限公司 校验虚拟机通信性能的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140380281A1 (en) * 2013-06-24 2014-12-25 Linkedin Corporation Automated software testing
CN106919485A (zh) * 2017-03-09 2017-07-04 郑州云海信息技术有限公司 一种基于服务器上配置硬件测试工具的系统
CN107704395A (zh) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 一种基于Openstack下云平台自动化测试实施方法与系统
CN110058920A (zh) * 2019-03-04 2019-07-26 平安科技(深圳)有限公司 虚拟机性能检测方法及装置、电子设备、存储介质

Also Published As

Publication number Publication date
CN110058920B (zh) 2023-01-31
CN110058920A (zh) 2019-07-26

Similar Documents

Publication Publication Date Title
WO2020177385A1 (fr) Procédé et appareil de détection de fonction de machine virtuelle, dispositif électronique et support de stockage
US9386079B2 (en) Method and system of virtual desktop infrastructure deployment studio
KR102158754B1 (ko) 스마트 네트워크 인터페이스 카드의 조작 방법 및 조작 장치
WO2016202139A1 (fr) Procédé, dispositif et système pour réaliser un partage de ressource de compte multi-plateforme
CN106919485B (zh) 一种基于服务器上配置硬件测试工具的系统
US9122793B2 (en) Distributed debugging of an application in a distributed computing environment
US10402216B1 (en) Live support integration in a virtual machine based development environment
CN109388569B (zh) 远程检测客户端环境异常的方法、测试服务器及存储介质
US20170286097A1 (en) Method to prevent operating system digital product key activation failures
EP2629205A1 (fr) Flux de travail d'exécution de cas d'essai multi-entités
US10769058B1 (en) Generic serverless performance testing framework
CN111796978B (zh) 一种接口检测方法、装置、系统、设备及存储介质
CN110109824B (zh) 大数据自动回归测试方法、装置、计算机设备和存储介质
US20130204918A1 (en) Computing environment configuration and initialization
US11048618B2 (en) Environment modification for software application testing
CN114356521A (zh) 任务调度方法、装置、电子设备及存储介质
US20170288956A1 (en) Node configuration assignment using a mobile communication device
CN110221910B (zh) 用于执行mpi作业的方法和装置
US20160328200A1 (en) Testing screens of a multi-screen device
US11711261B2 (en) Automated host management service
CN115454576A (zh) 一种虚拟机进程管理方法、系统及电子设备
KR20170044320A (ko) 분산 컴퓨팅 기반의 어플리케이션 객체 분석 방법, 이를 수행하는 어플리케이션 객체 분석 서버 및 이를 저장하는 기록매체
US10740088B2 (en) Countermeasure verification assistance system and method
US10296425B2 (en) Optimizing data processing across server clusters and data centers using checkpoint-based data replication
US9298597B2 (en) Automated testing of websites based on mode

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19918403

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19918403

Country of ref document: EP

Kind code of ref document: A1