WO2020177385A1 - 虚拟机性能检测方法及装置、电子设备、存储介质 - Google Patents

虚拟机性能检测方法及装置、电子设备、存储介质 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
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.)
Ceased
Application number
PCT/CN2019/118021
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2020177385A1 publication Critical patent/WO2020177385A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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

一种虚拟机性能检测方法及装置、电子设备、存储介质,涉及测试技术领域,该方法包括:接收创建测试虚拟机的请求,创建测试虚拟机的请求包括测试虚拟机的操作系统类型、第一配置参数以及第二配置参数(S110);根据第一配置参数以及第二配置参数创建测试虚拟机(S120);基于测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机(S130);将测试虚拟机生成的测试脚本发送到目标虚拟机,以根据测试脚本对目标虚拟机进行测试(S140);根据目标虚拟机生成的测试响应,确定目标虚拟机的检测结果(S150)。此方法不仅能够自动对多台虚拟机的通信性能进行测试,而且能够提高测试过程的精确性,保证测试的效率。

Description

虚拟机性能检测方法及装置、电子设备、存储介质
本申请基于并要求2019年03月04日递交、发明名称为“虚拟机性能检测方法及装置、电子设备、存储介质”的中国专利申请CN201910161318的优先权,在此通过引用将其全部内容合并于此。
技术领域
本公开涉及测试技术领域,具体而言,涉及一种虚拟机性能检测方法及装置、电子设备、存储介质。
背景技术
随着互联网技术的发展,虚拟机(Virtual Machine)的用途越来越广泛,在计算机性能测试或企业内部系统需求等许多方面常常会需要大量虚拟机,因此对虚拟机通信性能的检测非常重要。
本申请的发明人意识到,对于基于Windows操作系统的虚拟机的通信性能进行校验时,需要通过人工的方式手动输入账号密码登陆,同时在虚拟机上部署并开启相应的服务。该操作对负责校验的人员网络专业技能要求较高,并且当虚拟机数量较多时,人工的方式无法批量进行校验,工作效率较低,同时也容易出现密码输入错误无法登陆的问题。
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
本公开实施例的目的在于提供一种虚拟机性能检测方法及装置、电子设备、存储介质,进而至少在一定程度上克服通过人工的方式对虚拟机的通信性能进行测试时,无法批量进行测试,工作效率较低,同时容易出现密码输入错误无法登陆的问题。
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。
根据本公开的一个方面,提供了一种虚拟机性能检测方法,包括:接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
根据本公开的一个方面,提供了一种虚拟机性能检测装置,包括:接收器,配置为接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;创建器,配置为根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;筛选器,配置为基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;测试器,配置为将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;确定器,配置为根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
根据本公开的一个方面,提供一种电子设备,包括:存储器,配置为存储可执行指令;处理器,配置为执行所述存储器中存储的可执行指令,以执行以上所述的方法。
根据本公开的一个方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现根据上述任意一项所述的虚拟机性能检测方法。
本公开实施例提供的技术方案可以包括以下有益效果:
在本公开的一些实施例所提供的技术方案中,通过创建测试虚拟机的请求中包含的操作系统类型、第一配置参数以及第二配置参数创建测试虚拟机,根据测试虚拟机确定符合预设规则的目标虚拟机,将测试虚拟机生成的测试脚本发送到目标虚拟机并进行测试,确定目标虚拟机的检测结果。一方面,通过创建测试虚拟机对目标虚拟机进行检测,不需要人工的参与,能够对目标虚拟机进行批量校验,缩短检测周期,提升工作效率;另一方面,根据测试虚拟机的配置参数确定测试脚本,并根据测试虚拟机获取对应的账号密码登陆目标虚拟机以对目标虚拟机进行测试,避免由于账号密码输入错误导致的虚拟机锁住的情况,提升测试过程的质量和效率。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1示意性示出了根据本公开的一些实施例的虚拟机性能检测方法的示意图;
图2示意性示出了根据本公开一实施例的根据预设规则确定目标虚拟机的示意图;
图3示意性示出了根据本公开一实施例的发送测试脚本的示意图;
图4A示意性示出了根据本公开一实施例的虚拟机性能检测装置的示意图;
图4B示意性示出了根据本公开一实施例的虚拟机性能检测装置的示意图;
图5A示意性示出了根据本公开一实施例的测试器的示意图;
图5B示意性示出了根据本公开一实施例的测试器的示意图;
图6示意性示出了根据本公开一实施例的电子设备的计算机系统结构的示意图;
图7示意性示出了根据本公开一实施例的计算机可读存储介质的示意图。
具体实施方式
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本公开的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本公开的各方面。
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
在本公开的示例性实施例中,首先提供了一种虚拟机性能检测方法,图1示意性示出了根据本公开的一些实施例的虚拟机性能检测方法的示意图。参考图1中所示,该虚拟机性能检测方法可以包括以下步骤:
步骤S110,接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;
步骤S120,根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;
步骤S130,基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;
步骤S140,将所述测试虚拟机生成的测试脚本发送到所述目标虚 拟机,以根据所述测试脚本对所述目标虚拟机进行测试;
步骤S150,根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
根据本示例性实施例中的性能检测方法,一方面,通过创建测试虚拟机对目标虚拟机进行检测,不需要人工的参与,能够对目标虚拟机进行批量校验,缩短检测周期,提升工作效率;另一方面,根据测试虚拟机的配置参数确定测试脚本,并根据测试虚拟机获取对应的账号密码登陆目标虚拟机以对目标虚拟机进行测试,避免由于账号密码输入错误导致的虚拟机锁住的情况,提升测试过程的质量和效率。
下面,将对本示例性实施例中的虚拟机性能检测方法进行进一步的说明。
在步骤S110中,接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数。
在本公开的一种示例实施例中,测试虚拟机是指通过相关命令工具对目标虚拟机进行检测的特定虚拟机。系统接收由系统管理员发送的创建测试虚拟机的请求,并获取该请求中包括的测试虚拟机的操作系统类型、第一配置参数以及第二配置参数等参数。根据测试虚拟机的操作系统类型创建对应操作系统的测试虚拟机,例如创建Linux系统的测试虚拟机,根据第一配置参数和第二配置参数对该测试虚拟机进行配置。当然,所述创建测试虚拟机的请求中包括的参数也可以是其他参数,例如处理器CPU的核数、内存大小、硬盘容量大小以及网段信息等,本公开在此不做特殊限定。根据创建请求中的操作系统类型创建对应操作系统的测试虚拟机,能够根据实际情况选择适合的操作系统,提升测试虚拟机的稳定性,保证测试环境的安全性。
需要说明的是,本公开所使用的术语“第一”、“第二”等,仅是为了区分测试虚拟机不同工具的配置参数,并不应对本公开造成任何限制。
在步骤S120中,根据所述第一配置参数以及所述第二配置参数创建测试虚拟机。
在本公开的一种示例实施例中,第一配置参数可以是指预先设置的虚拟机进行通信的相关配置参数,例如远程管理服务WinRM模块。第二配置参数可以是指预先设置的虚拟机实现脚本工具编写的相关配置参数,例如脚本语言Python、Pip软件包等,本公开实施例中的配置参数仅是举例说明,在此不做特殊限定。
在本公开的一种示例实施例中,通过第一配置参数配置测试虚拟机的通信工具,通信工具可以是指能够让测试虚拟机远程对目标虚拟机进行测试的必要工具。通过第二配置参数配置测试虚拟机的脚本编写工具,脚本编写工具可以是指编辑实现测试虚拟机进行目标虚拟机的通信 性能自动化校验过程的测试脚本的工具。根据配置好的通信工具、脚本编写工具以及其他相关配置参数创建测试虚拟机,通信工具和脚本编写工具存储在测试虚拟机对应的物理机中。
在步骤S130中,基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机。
在本公开的一种示例实施例中,目标虚拟机可以是指在预设的虚拟机配置表中需要进行通信性能测试的待测试虚拟机。虚拟机配置表中可以包括至少一个虚拟机的信息,每个虚拟机的信息可以包括虚拟机的标识信息、登录账号、登录密码以及虚拟机的操作系统类型。预设规则可以是目标虚拟机为特定操作系统的虚拟机,例如将预设规则是操作系统为Windows的虚拟机作为目标虚拟机。预设规则还可以包括目标虚拟机配置有相关服务,例如预设规则可以是虚拟机能够执行Powershell远程管理服务。当然,预设规则也可以是其他类型的规则,例如目标虚拟机配置有WinRM模块等,本公开在此不做特殊限定。
参考图2所示,图2示意性示出了根据本公开的一些实施例的根据预设规则确定目标虚拟机的示意图,下面进行详细说明。
步骤S210,获取所述测试虚拟机对应的物理机上的预设规则以及预设的虚拟机配置表。
在本公开的一种示例实施例中,物理机是指对应于虚拟机的实体设备,例如计算机或服务器等,物理机给虚拟机提供硬件环境。虚拟机配置表包括目标虚拟机的ID、操作系统类型、登录账号以及登录密码等信息,虚拟机配置表以及预设规则存储在测试虚拟机对应的物理机中。测试虚拟机从物理机中获取存储的虚拟机配置表以及预设规则。
步骤S220,根据所述预设规则过滤所述虚拟机配置表上的虚拟机,确定符合预设规则的目标虚拟机。
在本公开的一种示例实施例中,目标虚拟机是指测试虚拟机根据预设规则以及虚拟机配置表从目标虚拟机列表中选取的符合预设规则的虚拟机。测试虚拟机根据预设规则过滤虚拟机配置表,确定符合预设规则的目标虚拟机。举例而言,可以从虚拟机配置表中筛选出操作系统为Windows的虚拟机,同时获取选中虚拟机的登录账号以及登录密码并进行登录,检查虚拟机的各项配置,根据预设规则再次进行过滤确定符合预设规则的目标虚拟机。
在步骤S140中,将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试。
在本公开的一种示例实施例中,测试脚本可以是指测试虚拟机根据需要检测的项目通过脚本编写工具编写的对应的程序。测试虚拟机从虚拟机配置表中获取目标虚拟机的登录账号以及登录密码,根据通信工具向符合预定规则的目标虚拟机发送登陆请求,登陆请求包括目标虚拟机的登录账号以及登录密码。当测试虚拟机接收到目标虚拟机响应登录成 功的信息时,根据测试虚拟机的脚本编写工具生成测试脚本,同样地,通过测试虚拟机的通信工具将测试脚本发送到目标虚拟机并执行,测试脚本开始对目标虚拟机的通信性能的相关项目进行测试,并生成对应的测试日志。
参考图3所示,图3示意性示出了根据本公开的另一些实施例的发送测试脚本的示意图,下面进行详细说明。
步骤S310,根据所述目标虚拟机的数量,将所述目标虚拟机的测试脚本的发送任务分配给所述多个并行线程中的至少两个并行线程。
在本公开的一种示例实施例中,测试虚拟机的通信工具包括多个并行线程。通过测试虚拟机的通信工具向符合预定规则的目标虚拟机发送测试脚本时,将发送多个测试命令对应的测试脚本的发送任务分配给多个并行线程中的至少两个并行线程,例如,三个并行线程,当然也可以为其他数量个,本公开在此不做特殊限定。根据至少两个并行线程的各自分配的发送任务向目标虚拟机发送测试脚本,不仅能够缓解目标虚拟机较多时测试虚拟机的工作负荷,而且能够缩短检测校验的周期,提高测试虚拟机检测的工作效率。
步骤S320,基于所述至少两个并行线程的测试脚本的发送任务,向对应的所述目标虚拟机发送测试脚本。
在本公开的一种示例实施例中,测试虚拟机根据预设规则筛选出的目标虚拟机有多个,每个测试脚本的发送任务只对应当前确定的目标虚拟机。系统根据符合预定规则的目标虚拟机的数量决定要分配发送任务的并行线程的数量。例如按照式(1)所示:
Figure PCTCN2019118021-appb-000001
式(1)中N表示分配发送任务的并行线程的数量,M表示符合预定规则的目标虚拟机的数量,k表示一个预定数值,该预定数值是系统管理员根据实际情况确定的常数,其中,N和M为正整数,测试虚拟机将M个目标虚拟机的测试脚本的发送任务分配给N个并行线程。根据确定的通信工具的N个并行线程,将测试脚本发送到目标虚拟机。根据目标虚拟机的数量确定分配任务的并行线程的数量,能够进一步提高测试虚拟机的工作效率。
在步骤S150中,根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
在本公开的一种示例实施例中,测试虚拟机将测试脚本发送到目标虚拟机后,接收目标虚拟机返回的测试响应。测试虚拟机获取测试响应与检测结果的对应关系表,该对应关系表包括测试脚本中的测试命令以及测试命令对应的测试响应和检测结果。测试虚拟机根据测试响应以及对应关系表确定测试脚本的检测结果,即测试虚拟机检测目标虚拟机的通信性能的最终检测结果。
需要说明的是,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
此外,在本示例实施例中,还提供了一种虚拟机性能检测装置。参照图4A所示,该性能检测装置400包括:接收器410,配置为接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;创建器420,配置为根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;筛选器430,配置为基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;发送器460,配置为将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;确定器470,配置为根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
参照图4B所示,创建器420包括:通讯工具确定器421、脚本编写工具确定器422、测试虚拟机创建器423。其中,通讯工具确定器421配置为根据所述第一配置参数确定所述测试虚拟机的通信工具;脚本编写工具确定器422配置为根据所述第二配置参数确定所述测试虚拟机的脚本编写工具;测试虚拟机创建器423配置为基于所述通信工具以及所述脚本编写工具创建所述测试虚拟机。
参照图4B所示,在本公开的一种示例性实施例中,筛选器430包括:获取器431、目标虚拟机筛选器432。其中,获取器431配置为获取所述测试虚拟机对应的物理机上存储的预设规则以及虚拟机配置表;目标虚拟机筛选器432配置为根据所述预设规则过滤所述虚拟机配置表中的虚拟机,确定符合预设规则的所述虚拟机为目标虚拟机。
参照图4B所述,所述虚拟机性能检测装置400还包括:登录请求发送器440,配置为通过所述测试虚拟机的通信工具向所述目标虚拟机发送登录请求;其中,所述登录请求包括所述目标虚拟机的登陆账号和登陆密码;触发器450,配置为响应于所述目标虚拟机登陆成功,触发所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试的步骤。
参考图4B所示,所述确定器470包括:测试响应获取器471,配置为获取所述目标虚拟机执行所述测试脚本生成的测试响应;检测结果确定器472,配置为根据预设的测试响应与检测结果的对应关系表,确定所述目标虚拟机的所述测试响应对应的检测结果。
参考图5A所示,图5A示意性示出了根据本公开的一实施例的测试器460的示意图,测试器460包括:生成器510、目标虚拟机测试器520。其中,生成器510配置为根据所述预设的虚拟机配置表以及所述 测试虚拟机的脚本编写工具生成测试脚本;目标虚拟机测试器520配置为通过所述测试虚拟机的通信工具将所述测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试。
参考图5B所示,在本公开的一种示例性实施例中,所述通信工具包括多个并行线程,测试器520包括:任务分配器530、目标虚拟机测试器540。其中,任务分配器530配置为根据所述目标虚拟机的数量,将所述目标虚拟机的测试脚本的发送任务分配给所述多个并行线程中的至少两个并行线程;目标虚拟机测试器540配置为基于所述至少两个并行线程的测试脚本的发送任务,向确定的所述目标虚拟机发送测试脚本。
上述中虚拟机性能检测装置各模块的具体细节已经在对应的虚拟机性能检测方法中进行了详细的描述,因此此处不再赘述。
应当注意,尽管在上文详细描述中提及了虚拟机性能检测装置的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,在本公开的示例性实施例中,还提供了一种能够实现上述虚拟机性能检测方法的电子设备。
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。
下面参照图6来描述根据本公开的这种实施例的电子设备600。图6所示的电子设备600仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:上述至少一个处理单元610、上述至少一个存储单元620、连接不同系统组件(包括存储单元620和处理单元610)的总线630、显示单元640。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元610执行,使得所述处理单元610执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。例如,所述处理单元610可以执行如图1中所示的步骤S110,接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;步骤S120,根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;步骤S130,基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟 机;步骤S140,将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;步骤S150,根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)621和/或高速缓存存储单元622,还可以进一步包括只读存储单元(ROM)623。
存储单元620还可以包括具有一组(至少一个)程序模块625的程序/实用工具624,这样的程序模块625包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备600也可以与一个或多个外部设备670(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器660通过总线630与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施例的方法。
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。
参考图7所示,描述了根据本公开的实施例的用于实现上述虚拟机 性能检测方法的程序产品700,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD- ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本公开实施例的方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施例。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (20)

  1. 一种虚拟机性能检测方法,包括:
    接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;
    根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;
    基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;
    将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;
    根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
  2. 根据权利要求1所述的虚拟机性能检测方法,其中,所述第一配置参数为预先设置的虚拟机进行通信的相关配置参数,所述第二配置参数为预先设置的虚拟机实现脚本工具编写的相关配置参数。
  3. 根据权利要求1所述的虚拟机性能检测方法,其中,所述根据所述第一配置参数以及所述第二配置参数创建测试虚拟机,包括:
    根据所述第一配置参数确定所述测试虚拟机的通信工具;
    根据所述第二配置参数确定所述测试虚拟机的脚本编写工具;
    基于所述通信工具以及所述脚本编写工具创建所述测试虚拟机。
  4. 根据权利要求3所述的虚拟机性能检测方法,其中,所述基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机,包括:
    获取所述测试虚拟机对应的物理机上存储的预设规则以及预设的虚拟机配置表;
    根据所述预设规则过滤所述预设的虚拟机配置表中的虚拟机,确定符合预设规则的所述虚拟机为目标虚拟机。
  5. 根据权利要求4所述的虚拟机性能检测方法,其中,所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试,包括:
    根据所述预设的虚拟机配置表以及所述测试虚拟机的脚本编写工具生成测试脚本;
    通过所述测试虚拟机的通信工具将所述测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试。
  6. 根据权利要求5所述的虚拟机性能检测方法,其中,所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试之前,还包括:
    通过所述测试虚拟机的通信工具向所述目标虚拟机发送登录请求;其中,所述登录请求包括所述目标虚拟机的登陆账号和登陆密码;
    响应于所述目标虚拟机登陆成功,触发所述将所述测试虚拟机生成 的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试的步骤。
  7. 根据权利要求5所述的虚拟机性能检测方法,其中,所述通信工具包括多个并行线程,所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,包括:
    根据所述目标虚拟机的数量,将所述测试虚拟机生成的测试脚本的发送任务分配给所述多个并行线程中的至少两个并行线程;
    根据至少两个并行线程的所述测试脚本的发送任务,向对应的所述目标虚拟机发送测试脚本。
  8. 根据权利要求1所述的虚拟机性能检测方法,其中,所述根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果,包括:
    获取所述目标虚拟机执行所述测试脚本生成的测试响应;
    根据预设的测试响应与检测结果的对应关系表,确定所述目标虚拟机的所述测试响应对应的检测结果。
  9. 一种虚拟机性能检测装置,包括:
    接收器,配置为接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;
    创建器,配置为根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;
    筛选器,配置为基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;
    测试器,配置为将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;
    确定器,配置为根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
  10. 根据权利要求9所述的装置,其中,所述创建器包括:
    通信工具确定器,配置为根据所述第一配置参数确定所述测试虚拟机的通信工具;
    脚本编写工具确定器,配置为根据所述第二配置参数确定所述测试虚拟机的脚本编写工具;
    测试虚拟机创建器,配置为基于所述通信工具以及所述脚本编写工具创建所述测试虚拟机。
  11. 根据权利要求9所述的装置,其中,所述筛选器包括:
    获取器,配置为获取所述测试虚拟机对应的物理机上存储的预设规则以及预设的虚拟机配置表;
    目标虚拟机筛选器,配置为根据所述预设规则过滤所述预设的虚拟机配置表中的虚拟机,确定符合预设规则的所述虚拟机为目标虚拟机。
  12. 根据权利要求9所述的装置,其中,所述测试器包括:
    生成器,配置为根据所述预设的虚拟机配置表以及所述测试虚拟机的脚本编写工具生成测试脚本;
    目标虚拟机测试器,配置为通过所述测试虚拟机的通信工具将所述测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试。
  13. 根据权利要求9所述的装置,其中,所述装置还包括:
    登录请求发送器,配置为通过所述测试虚拟机的通信工具向所述目标虚拟机发送登录请求;其中,所述登录请求包括所述目标虚拟机的登陆账号和登陆密码;
    触发器,配置为响应于所述目标虚拟机登陆成功,触发所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试的步骤。
  14. 根据权利要求9所述的装置,其中,所述通信工具包括多个并行线程,所述测试器包括:
    任务分配器,配置为根据所述目标虚拟机的数量,将所述测试虚拟机生成的测试脚本的发送任务分配给所述多个并行线程中的至少两个并行线程;
    目标虚拟机测试器,配置为根据至少两个并行线程的所述测试脚本的发送任务,向对应的所述目标虚拟机发送测试脚本。
  15. 一种虚拟机性能检测的电子设备,包括:
    存储器,配置为存储可执行指令;
    处理器,配置为执行所述存储器中存储的可执行指令;
    其中,所述处理器在执行所述可执行指令时配置为执行以下处理:
    接收创建测试虚拟机的请求,所述创建测试虚拟机的请求包括所述测试虚拟机的操作系统类型、第一配置参数以及第二配置参数;
    根据所述第一配置参数以及所述第二配置参数创建测试虚拟机;
    基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机;
    将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试;
    根据所述目标虚拟机生成的测试响应,确定所述目标虚拟机的检测结果。
  16. 根据权利要求14所述的电子设备,其中,所述处理器在执行所述可执行指令时配置为执行以下处理来实现所述根据所述第一配置参数以及所述第二配置参数创建测试虚拟机:
    根据所述第一配置参数确定所述测试虚拟机的通信工具;
    根据所述第二配置参数确定所述测试虚拟机的脚本编写工具;
    基于所述通信工具以及所述脚本编写工具创建所述测试虚拟机。
  17. 根据权利要求14所述的电子设备,其中,所述处理器在执行所述可执行指令时配置为执行以下处理来实现所述基于所述测试虚拟机,从预设的虚拟机配置表中确定出符合预设规则的目标虚拟机:
    获取所述测试虚拟机对应的物理机上存储的预设规则以及预设的虚拟机配置表;
    根据所述预设规则过滤所述预设的虚拟机配置表中的虚拟机,确定符合预设规则的所述虚拟机为目标虚拟机。
  18. 根据权利要求14所述的电子设备,其中,所述处理器在执行所述可执行指令时配置为执行以下处理来实现所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试:
    根据所述预设的虚拟机配置表以及所述测试虚拟机的脚本编写工具生成测试脚本;
    通过所述测试虚拟机的通信工具将所述测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试。
  19. 根据权利要求14所述的电子设备,其中,所述处理器在执行所述可执行指令时配置为执行以下处理来实现:
    通过所述测试虚拟机的通信工具向所述目标虚拟机发送登录请求;其中,所述登录请求包括所述目标虚拟机的登陆账号和登陆密码;
    响应于所述目标虚拟机登陆成功,触发所述将所述测试虚拟机生成的测试脚本发送到所述目标虚拟机,以根据所述测试脚本对所述目标虚拟机进行测试的步骤。
  20. 一种计算机可读存储介质,其存储有计算机程序指令,所述计算机指令在被处理器执行时将所述处理器配置为执行如权利要求1至8中任一项所述的方法。
PCT/CN2019/118021 2019-03-04 2019-11-13 虚拟机性能检测方法及装置、电子设备、存储介质 Ceased WO2020177385A1 (zh)

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 (zh) 2020-09-10

Family

ID=67316582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118021 Ceased WO2020177385A1 (zh) 2019-03-04 2019-11-13 虚拟机性能检测方法及装置、电子设备、存储介质

Country Status (2)

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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490350A (zh) * 2021-12-31 2022-05-13 合肥力动软件开发有限公司 自动化测试虚拟机
CN117453552A (zh) * 2023-10-30 2024-01-26 赛力斯汽车有限公司 一种脚本测试顺序的调整方法、装置及存储介质
CN117909247A (zh) * 2024-03-15 2024-04-19 山东乾云启创信息科技股份有限公司 一种龙芯云桌面的自动化测试方法、系统、介质及设备
CN118132452A (zh) * 2024-05-08 2024-06-04 山东泽鹿安全技术有限公司 远程测试系统
CN118519902A (zh) * 2024-05-27 2024-08-20 超聚变数字技术有限公司 一种测试方法和计算设备
CN119063977A (zh) * 2024-07-31 2024-12-03 岚图汽车科技有限公司 一种车辆零部件合规性检测方法、装置、设备及介质
CN119829218A (zh) * 2025-01-06 2025-04-15 青岛嘉迅信息技术有限公司 一种集群服务器的智能化测试方法及系统
CN121547287A (zh) * 2026-01-16 2026-02-17 长扬科技(北京)股份有限公司 一种干扰流量注入方法、装置、测试系统和电子设备

Families Citing this family (6)

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

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 平安科技(深圳)有限公司 虚拟机性能检测方法及装置、电子设备、存储介质

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490350A (zh) * 2021-12-31 2022-05-13 合肥力动软件开发有限公司 自动化测试虚拟机
CN117453552A (zh) * 2023-10-30 2024-01-26 赛力斯汽车有限公司 一种脚本测试顺序的调整方法、装置及存储介质
CN117909247A (zh) * 2024-03-15 2024-04-19 山东乾云启创信息科技股份有限公司 一种龙芯云桌面的自动化测试方法、系统、介质及设备
CN118132452A (zh) * 2024-05-08 2024-06-04 山东泽鹿安全技术有限公司 远程测试系统
CN118519902A (zh) * 2024-05-27 2024-08-20 超聚变数字技术有限公司 一种测试方法和计算设备
CN119063977A (zh) * 2024-07-31 2024-12-03 岚图汽车科技有限公司 一种车辆零部件合规性检测方法、装置、设备及介质
CN119829218A (zh) * 2025-01-06 2025-04-15 青岛嘉迅信息技术有限公司 一种集群服务器的智能化测试方法及系统
CN121547287A (zh) * 2026-01-16 2026-02-17 长扬科技(北京)股份有限公司 一种干扰流量注入方法、装置、测试系统和电子设备

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2020177385A1 (zh) 虚拟机性能检测方法及装置、电子设备、存储介质
KR102158754B1 (ko) 스마트 네트워크 인터페이스 카드의 조작 방법 및 조작 장치
US9386079B2 (en) Method and system of virtual desktop infrastructure deployment studio
JP7241713B2 (ja) オペレータ管理装置、オペレータ管理方法及びオペレータ管理コンピュータープログラム
US10402216B1 (en) Live support integration in a virtual machine based development environment
CN106919485B (zh) 一种基于服务器上配置硬件测试工具的系统
US9122793B2 (en) Distributed debugging of an application in a distributed computing environment
US10769058B1 (en) Generic serverless performance testing framework
WO2016202139A1 (zh) 跨平台的账号资源共享实现方法、装置及系统
CN110221910B (zh) 用于执行mpi作业的方法和装置
CN109388569B (zh) 远程检测客户端环境异常的方法、测试服务器及存储介质
US20170286097A1 (en) Method to prevent operating system digital product key activation failures
CN109104491A (zh) 一种微服务调用方法、装置、服务器及存储介质
CN113221197A (zh) 磁盘数据的自动擦除方法及装置、存储介质、电子设备
WO2020207014A1 (zh) 大数据自动回归测试方法、装置、测试中心服务器和存储介质
CN113821433A (zh) 云手机应用程序的测试方法、装置、设备、介质及产品
CN110688305A (zh) 测试环境同步方法、装置、介质、电子设备
CN107766227A (zh) 一种用于远程测试的方法与设备
CN113946816B (zh) 基于云服务的鉴权方法、装置、电子设备和存储介质
CN107181606A (zh) 用于控制网络节点的方法和装置
US11665068B2 (en) Techniques for allocating capacity in cloud-computing environments
US10740088B2 (en) Countermeasure verification assistance system and method
CN117708220A (zh) 基于云技术的物联网设备信息展示方法及云管理平台
CN115454576A (zh) 一种虚拟机进程管理方法、系统及电子设备
CN114003497A (zh) 业务系统的测试方法、装置、设备及存储介质

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