CN110868340B - Testing method and device, reconfigurable tester and controller - Google Patents

Testing method and device, reconfigurable tester and controller Download PDF

Info

Publication number
CN110868340B
CN110868340B CN201911184249.1A CN201911184249A CN110868340B CN 110868340 B CN110868340 B CN 110868340B CN 201911184249 A CN201911184249 A CN 201911184249A CN 110868340 B CN110868340 B CN 110868340B
Authority
CN
China
Prior art keywords
test
execution machine
test execution
configuration file
cloud computing
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.)
Active
Application number
CN201911184249.1A
Other languages
Chinese (zh)
Other versions
CN110868340A (en
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.)
Ziguang Huashan Technology Co ltd
Original Assignee
Ziguang Huashan Technology 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 Ziguang Huashan Technology Co ltd filed Critical Ziguang Huashan Technology Co ltd
Priority to CN201911184249.1A priority Critical patent/CN110868340B/en
Publication of CN110868340A publication Critical patent/CN110868340A/en
Application granted granted Critical
Publication of CN110868340B publication Critical patent/CN110868340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a test method, a test device, a reconfigurable tester and a controller, comprising: acquiring a test configuration file; the test configuration file includes: creating requirements and test scripts of the test execution machine; sending the creation requirement to a cloud computing management platform so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returning the created address information of the first test execution machine to the controller; and sending the test script to the first test execution machine based on the address information of the first test execution machine so as to enable the first test execution machine to execute a test logic according to the test script. By using the method provided by the application, a large number of different tenants can be simulated to test the tested equipment.

Description

Testing method and device, reconfigurable tester and controller
Technical Field
The present application relates to the field of computer communications, and in particular, to a test method, an apparatus, a controller, and a storage medium.
Background
With the increasing demand for data processing, cloud computing network applications have come into existence. A large number of tenants in different areas can process self business data through the cloud computing network, so that the purpose of efficiently processing the business data is achieved.
However, after the cloud computing network is deployed, how to simulate a large number of different tenants to test the functions of the cloud computing network is very important.
Disclosure of Invention
In view of this, the present application provides a testing method, a testing device, a reconfigurable tester and a controller.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, there is provided a testing method applied to a controller in a reconfigurable tester, the method comprising:
acquiring a test configuration file; the test configuration file includes: creating requirements and test scripts of the test execution machine;
sending the creation requirement to a cloud computing management platform so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returning the created address information of the first test execution machine to the controller;
and sending the test script to the first test execution machine based on the address information of the first test execution machine so as to enable the first test execution machine to execute a test logic according to the test script.
Optionally, the method further includes:
when the operating state of the first test execution machine is determined to be abnormal, sending a reestablishment instruction to the cloud computing management platform, wherein the reestablishment request carries the establishment requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, establishes a second test execution machine according to the establishment requirement, and returns the address information of the second test execution machine to the controller;
and sending the test script to the second test execution machine according to the address information of the second test execution machine so as to enable the second test execution machine to execute a test logic according to the test script.
Optionally, the cloud computing management platform maintains the operating state parameters of the first test execution machine;
the determining that the running state of the first test execution machine is abnormal includes:
periodically sending a keep-alive message to the first test execution machine;
if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform;
and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
Optionally, the obtaining the test configuration file includes:
reading an original test configuration file; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script;
searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform;
generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain;
and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
Optionally, the original test configuration file is obtained by the following method:
reading a test file associated with a target test;
and splitting the test file into at least one original test configuration file according to a preset rule.
According to a second aspect of the present application, there is provided a test apparatus for use in a controller in a reconfigurable tester, the apparatus comprising:
the acquisition unit is used for acquiring a test configuration file; the test configuration file includes: creating requirements and test scripts of the test execution machine;
a first sending unit, configured to send the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution unit based on the creation requirement, and returns address information of the created first test execution unit to the controller;
and the second sending unit is used for sending the test script to the first test execution machine based on the address information of the first test execution machine so as to enable the first test execution machine to execute a test logic according to the test script.
Optionally, the first sending unit is further configured to send a reestablishment instruction to the cloud computing management platform when it is determined that the operating state of the first test execution machine is abnormal, where the reestablishment request carries the creation requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, creates a second test execution machine according to the creation requirement, and returns address information of the second test execution machine to the controller;
the second sending unit is further configured to send the test script to the second test execution machine according to the address information of the second test execution machine, so that the second test execution machine executes a test logic according to the test script.
Optionally, the cloud computing management platform maintains the operating state parameters of the first test execution machine;
the first sending unit is used for sending a keep-alive message to the first test execution machine periodically when the operating state of the first test execution machine is determined to be abnormal; if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform; and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
Optionally, the obtaining unit is specifically configured to read an original test configuration file; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script; searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform; generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain; and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
Optionally, the obtaining unit is further configured to read a test file associated with the target test; and splitting the test file into at least one original test configuration file according to a preset rule.
According to a third aspect of the present application, there is provided a reconfigurable tester comprising:
the controller is used for acquiring a test configuration file; the test configuration file includes: the creating requirement and the test script of the first test execution machine; sending the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returns the created address information of the first test execution machine to the controller; sending the test script to the first test execution machine based on the address information of the first test execution machine;
and the first test execution machine is used for executing test logic according to the test script.
According to a fourth aspect of the present application, there is provided a controller comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to perform the above-described test method.
From the above description, it can be seen that in one aspect, the present application provides a new tester, namely a reconfigurable tester. Unlike a traditional all-in-one tester, the reconfigurable tester provided by the application is composed of a controller and one or more test execution machines. The controller is used for managing a test execution machine (such as creating a test execution machine, deleting the test execution machine and the like), and the test execution machine is used for executing test logic of a test script.
The tester provided by the application is not an integrated tester any more, but is a reconfigurable tester consisting of the controller and the plurality of test execution machines, so that the plurality of test execution machines can simulate different tenants to test the cloud computing network.
On the other hand, the controller can create the test execution machine through the cloud computing management platform, and no manual intervention exists in the creating process, so that the efficiency of creating the test execution machine is greatly improved.
Drawings
FIG. 1 is a schematic diagram of a test system shown in an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of a test execution machine management system according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart illustrating a testing method according to an exemplary embodiment of the present application;
FIG. 4 is a diagram illustrating a hardware configuration of a controller according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram of a testing device shown in an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of a reconfigurable tester according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In one aspect, the present application provides a new tester, namely a reconfigurable tester. Unlike a traditional all-in-one tester, the reconfigurable tester provided by the application is composed of a controller and one or more test execution machines. The controller is used for managing a test execution machine (such as creating a test execution machine, deleting the test execution machine and the like), and the test execution machine is used for executing test logic of a test script.
The tester provided by the application is not an integrated tester any more, but is a reconfigurable tester consisting of the controller and the plurality of test execution machines, so that the plurality of test execution machines can simulate different tenants to test the cloud computing network. Of course, the reconfigurable tester of the present application is not limited to testing a cloud computing network. The reconfigurable tester can also test other devices, such as routers, switches, servers and the like in a network, and the tested party tested by the reconfigurable tester is not limited here.
On the other hand, the application also provides a method for testing by using the reconfigurable tester. The controller can obtain the test configuration file, send a creation requirement in the test configuration file to the cloud computing management platform, so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returns the created address information of the first test execution machine to the controller. The controller sends the test script to the first test execution machine based on the address information of the first test execution machine, so that the first test execution machine tests the tested equipment according to the test script.
Because the controller can establish the test execution machine through the cloud computing management platform, and no manual intervention exists in the establishing process, the efficiency of establishing the test execution machine is greatly improved.
In addition, because the creation requirements such as resources and creation positions of different test execution machines are different when the test execution machines are created, if the test execution machines are created by directly using the cloud computing management platform without considering the creation requirements, the created test execution machines may not match the test execution machines required by the test. Therefore, in the application, the controller may also issue a creation requirement for creating the test execution machine to the cloud computing management platform, so that the cloud computing management platform may create the test execution machine meeting the creation requirement.
Referring to fig. 1, fig. 1 is a schematic diagram of a test system shown in an exemplary embodiment of the present application.
The test system includes: reconfigurable tester and device under test.
1. The reconfigurable tester includes: a controller and a plurality of test executors.
1) Controller
The controller is used for controlling and managing each test execution machine. Such as creating a test execution machine, deleting the test execution machine, issuing configuration information to each test execution machine, issuing a test script, managing log information returned by the test execution machine, and the like. The functions of the controller are merely exemplary and not particularly limited.
2) Test execution machine
The test execution machine is used for executing the test script and testing the tested equipment according to the test script.
In order to simulate tenants in different areas to test the cloud computing network, the test execution machine may be deployed on a physical server in the same area, or may be deployed on a physical server in different areas. The deployment of the test handler is not specifically limited herein.
2. Tested device
The device under test refers to a device under test, and the device under test may include: devices (such as servers, etc.) in a cloud computing network. Of course, the device under test may also include ordinary servers, switches, routers, etc. of a non-cloud computing network. Here, the device under test is only exemplified and not particularly limited.
A controller in the reconfigurable tester may manage the test executors. The test execution machine can execute the test logic in the test script to test the tested device.
Referring to fig. 2, fig. 2 is a schematic diagram of a test handler management system according to an exemplary embodiment of the present application.
The test execution machine management system includes: the system comprises a controller, a cloud computing management platform and a plurality of servers managed by the cloud computing management platform.
The controller is the same as the controller in fig. 1, and is not described herein again.
The plurality of servers managed by the cloud computing management platform are deployed in different areas. For example, some servers are deployed in the Beijing area, some servers are deployed in the Hangzhou area, and so on. The area in which the server is deployed is referred to herein as the available domain.
As shown in fig. 2, one or more servers may be deployed in an available domain, which is not specifically limited herein.
In this embodiment, the cloud computing management platform may create the test execution machine on a server managed by the cloud computing management platform according to a creation requirement of the test execution machine issued by the controller. The test execution machine and the controller created on the server constitute the above-described reconfigurable tester.
The cloud computing management platform may be an OpenStack platform, or may be another cloud computing management platform, where the cloud computing management platform is not specifically limited herein.
The test execution machine management system is only described as an example, and in practical applications, the test execution machine management system may further include other devices, which are not specifically limited herein.
Before describing the test methods provided herein, several concepts used below will be described.
1. Raw test configuration file
Typically, a test may include test items, so a developer may divide a test into multiple test items and configure corresponding original test configuration files for each test item.
Of course, in practical applications, the developer may also configure the test file associated with the test on the controller. The controller may read the preconfigured test file and split the test file into at least one original test configuration file based on a preset rule.
For example, the preset rule is that the controller splits the test items into at least one original test configuration file based on the test types of the test items included in the test. For example, a test file associated with a test includes information about 3 test items. The test types of the 3 test items are test type a, test type B, and test type C, respectively. The controller may split the test file based on the test type to obtain three original test configuration files. Specifically, when splitting, the controller determines the related information of the test item with the test type a as an original test configuration file, determines the related information of the test item with the test type B as an original test configuration file, and determines the related information of the test item with the test type C as an original test configuration file.
For another example, the preset rule is that the controller splits the test file into at least one original test configuration file based on keywords and the like in the test file.
The test file associated with the test includes information about a plurality of test items. The beginning part of the related information of each test item contains a preset keyword A, and the ending part of the related information of each test item contains a preset keyword B. The controller may split the test file by using the keyword a and the keyword B, and split information between the preset keyword a and the preset keyword B (i.e., related information of the test item) into one original test configuration file, thereby forming a plurality of original test configuration files.
Here, how the controller acquires the original test configuration file is merely exemplarily described, and is not particularly limited.
The original test configuration file includes: the created test execution machines have resources, the number of the created test execution machines, the position deployment conditions of the test execution machines and the test scripts. In practical applications, the creation requirement of the test execution machine may also include other contents, which are not specifically limited herein.
1) The resources possessed by the created test execution machine comprise: memory resources, CPU resources, and the like, and the resources provided by the test execution machine are not specifically limited herein. For example, if the created test handler has resources of: if the memory of the test execution machine is greater than or equal to 16G, CPU and greater than or equal to 8 cores, the memory of the test execution machine created according to the resources of the test execution machine is greater than or equal to 16G, CPU and greater than or equal to 8 cores of the CPU.
2) The position deployment condition of the test execution machine refers to a condition for defining the deployment position of the test execution machine. In one embodiment, the deployment location may be an available domain and the location deployment condition may be a defined condition of the available domain. For example, the deployment condition of the position is to deploy the test execution machine in a far available domain. As another example, the location deployment condition is an available domain that does not define the deployment of the test handler. For example, the location deployment condition is that the test execution machine is deployed in the available domain a, and so on.
The following raw test configuration files are presented by way of example.
For example, the original test configuration file is: the number of the cores with the internal memory more than or equal to 16G, CPU and more than or equal to 8 and the number of the test execution machines is 1, the test execution machines are deployed in two available domains with long distance, and the test script 1 is used for testing.
Wherein, the 'memory is equal to or more than 16G, CPU and is equal to or more than 8 cores' is the resource of the created test execution machine.
"1" is the number of creating execution machines.
"the test executors are deployed in two available domains far away" as the above-described location deployment condition. The two available domains with far distance refer to the available domains with the distance from the tested device larger than a preset threshold value.
2. Test configuration file
The test configuration file is a test configuration file which can be identified by the cloud computing management platform. The test configuration file can be converted from the original test configuration file or can be directly configured on the controller by a developer.
The test configuration file includes: the creation of the test execution machine requires and tests the script.
The creation requirements of the test execution machine include: the resources possessed by the created test executors, the number of created test executors, and/or the deployment locations of the test executors. In practical applications, the creation requirement of the test execution machine may also include other contents, which are not specifically limited herein.
The deployment position of the test execution machine refers to the position of the test execution machine. Such as deploying test executors over available domain a, etc.
For example, the test profile is: the number of cores with the memory more than or equal to 16G, CPU and more than or equal to 8 cores and the number of test execution machines is 1, the test execution machines are deployed in the available domain A, and the test script 1 is used for testing the test script.
Wherein, the 'memory is equal to or more than 16G, CPU and equal to or more than 8 cores' is the resource of the created test execution machine.
"1" is the number of creating execution machines.
The "test execution machine is deployed in the available domain a" as the deployment position of the test execution machine.
For example, as shown in FIG. 2, the creation request in the test configuration file is used to instruct the cloud computing management platform to select a server in the available domain A, and then create a test execution machine with memory ≧ 16G, CPU ≧ 8 cores on the server.
How the controller generates the test configuration file based on the original test file will be specifically described in step 301, which is not described herein.
Referring to fig. 3, fig. 3 is a flow chart illustrating a testing method that may be applied to a controller of a reconfigurable tester and may include the following steps.
Step 301: the controller acquires a test configuration file; the test configuration file includes: the creation of the test execution machine requires and tests the script.
The first method is as follows: when the original test configuration file is stored in the controller, the controller can read the locally stored original test configuration file when the test configuration file is acquired, and generate the test configuration file based on the read original test configuration file.
In an implementation mode I, the controller maintains the information of the available domains where all the servers managed by the cloud computing management platform are located.
The cloud computing management platform maintains the information of the available domains where all the servers managed by the cloud computing management platform are located. The controller may periodically send an available domain acquisition request to the cloud computing platform. After receiving the available domain acquisition request, the cloud computing platform can return the information of the available domains where all servers are maintained by the platform to the controller. The available domain acquiring request may be an HTTP (Hyper Text transfer Protocol) message, and here, the message Protocol type of the available domain acquiring request is only exemplarily described, and is not specifically limited.
The controller can acquire the position information of all the tested devices, and for a certain tested device, the available domain is divided into a far available domain, a near available domain, an available domain in the distance and the like according to the distance between the available domain and the tested device. The distance can be determined by comparing preset thresholds. For example, if the distance between an available domain and the device under test is greater than the preset threshold and the difference between the two is greater than the preset range, the distance between the available domain and the device under test is considered to be a long distance, and the available domain is a long-distance available domain. For another example, if the distance between an available domain and the device under test is smaller than the preset threshold and the difference between the available domain and the device under test is larger than the preset range, the distance between the available domain and the device under test is considered to be close, and the available domain is the available domain with close distance. For another example, if the difference between the distance between an available domain and the device under test and the preset threshold is not greater than the preset range, the distance between the available domain and the device under test is considered as the distance, and the available domain is the available domain in the distance.
The information of all available domains on the cloud computing management platform maintained on the controller is shown in table 1.
Identification of available domains Usable domain distance markers
Available field A A long distance
Available field B A long distance
Available field C In the distance
Available domain D Close to each other
TABLE 1
The controller can read the locally recorded original test configuration file, and then based on the position deployment condition of the test execution machine in the original test configuration file, find the available domain meeting the position deployment condition in all available domains supported by the cloud computing management platform maintained by the device.
The controller may generate a creation requirement of the test execution machine based on the resources of the created test execution machine, the number of created test execution machines, and the found identifier of the available domain in the original test configuration file, and generate a test configuration file based on the generated creation requirement and the test script in the original test configuration file.
For example, assume that the controller reads the original test configuration file as:
resources possessed by the created test execution machine: the memory is more than or equal to 16G, CPU and more than or equal to 8 cores;
number of test executors created: 2, the number of the cells is 2;
testing the position deployment condition of the execution machine: two available domains that are far away;
script 1 is tested.
After reading the original test configuration file, the controller may search, based on the location deployment condition of the test execution machine (i.e., two available domains that are far away), for an available domain (i.e., available domain a and available domain B) that meets the location deployment condition in an available domain supported on the cloud computing management platform maintained by the apparatus (i.e., in table 1 above).
Then, the controller may generate a creation requirement of the created test execution machine based on the resources (i.e., the memory ≧ 16G, CPU ≧ 8 cores) possessed by the created test execution machine in the original test configuration file, the number (i.e., 2) of the created test execution machines, and the identifiers of the found available fields (i.e., available field a and available field B), and generate a test configuration file based on the generated creation requirement and the test script (i.e., test script 1) in the original test configuration file.
The generated test configuration file is as follows:
resources possessed by the created test execution machine: the memory is more than or equal to 16G, CPU and more than or equal to 8 cores;
number of test executors created: 2, the number of the cells is 2;
deployment position of the test handler: an available domain A and an available domain B;
script 1 is tested.
The second method comprises the following steps: after the developer configures the test configuration file on the controller, the controller can read the locally pre-configured test configuration file, so as to obtain the test configuration file.
Here, the above-mentioned acquisition test configuration file is merely exemplary and is not specifically limited.
Step 302: the controller sends the creation requirement to a cloud computing management platform so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returns the created address information of the first test execution machine to the controller.
In an alternative implementation, the controller may send the creation request to a designated interface of the cloud computing management platform when sending the creation requirement.
Wherein the specified interface is related to the type of the cloud computing management platform. For example, when the cloud computing management platform is an OpenStack platform, the specified interface is a Rest API (an interface of the OpenStack platform) interface. The controller may send a create request to the Rest API interface of the OpenStack platform.
When the cloud computing management platform receives the creation requirement, the first test execution machine can be created according to the creation requirement.
When the test execution machine is implemented, the cloud computing management platform can inquire a server meeting the creation requirement in a plurality of servers managed by the cloud computing management platform, and then create the first test execution machine according to the creation requirement.
For example, the creation requirements are:
resources possessed by the created test execution machine: the memory is more than or equal to 16G, CPU and more than or equal to 8 cores;
number of test executors created: 1, the number of the active ingredients is 1;
deployment position of the test handler: domain a may be used.
After receiving the creation request, the cloud computing management platform can create a test execution machine with a memory of more than or equal to 16G, CPU and more than or equal to 8 cores on the server of the available domain A.
In this embodiment, after the cloud computing management platform creates the test execution machine, the cloud computing management platform may return address information (e.g., an IP address of the test execution machine) of the test execution machine to the controller. Of course, the cloud computing management platform may also return information such as resource parameters of the test execution machine (e.g., storage space of the test execution machine) to the controller, where the information returned by the cloud computing management platform to the controller is not specifically limited herein.
Step 303: the controller sends the test script to the first test execution machine based on the address information of the first test execution machine, so that the first test execution machine tests the tested equipment according to the test script.
In an optional implementation manner, after receiving address information of the created first test execution machine returned by the cloud computing management platform, the controller establishes a connection with the first test execution machine based on the address information.
The controller may then send the test script in the test configuration file to the first test execution engine via the connection.
The first test execution machine may test the device under test based on the test script.
For example, the execution timing, the test instruction, and the like of the test script are recorded in the test script. The first test execution machine can execute the test script based on the execution time and test the tested equipment according to the test instruction.
As can be seen from the above description, when a test execution machine needs to be created, the controller may send a creation request of the test execution machine to the cloud computing management platform, so that the cloud computing management platform creates the test execution machine according to the creation request, and returns address information of the test execution machine. The controller establishes connection with the test execution machine according to the address information of the test execution machine, and sends the test script to the test execution machine through the connection.
On one hand, in the process of establishing the test execution machine, the automatic establishment of the test execution machine can be completed without manual intervention, so the establishment efficiency of the test execution machine is greatly improved.
On the other hand, because the creation requirements such as the creation resources and the creation locations of different test execution machines are different, if the test execution machines are created by directly using the cloud computing management platform without considering the creation requirements, the created test execution machines may not match the test execution machines required by the test. Therefore, in the application, the controller may also issue a creation requirement for creating the test execution machine to the cloud computing management platform, so that the cloud computing management platform may create the test execution machine meeting the creation requirement.
In addition, the application also provides a maintenance method of the test execution machine, which can be applied to the controller and can comprise the following contents.
When the operating state of the first test execution machine is determined to be abnormal, sending a reestablishment instruction to the cloud computing management platform, wherein the reestablishment request carries the establishment requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, establishes a second test execution machine according to the establishment requirement, and returns the address information of the second test execution machine to the controller.
The controller can send the test script to the second test execution machine according to the address information of the second test execution machine, so that the second test execution machine tests the tested equipment according to the test script. By the scheme, the second test execution machine replaces the first test execution machine to execute the test script again when the first test execution machine is abnormal, and test interruption caused by the abnormality of the first test execution machine is avoided.
The maintenance method of the test handler is described in detail in steps 401 to 402.
Step 401: the controller detects the operating state of the first test actuator.
In the embodiment of the application, current operating state parameters (such as CPU occupancy rate, memory usage rate, and the like) of each created test execution machine are maintained on the cloud computing management platform.
The cloud computing management platform can periodically acquire the running state parameters of the test execution machine from each test execution machine to update the current running state parameters of each locally maintained test execution machine, so that the latest current running state parameters of each test execution machine are maintained on the cloud computing management platform all the time.
The controller can periodically send the keep-alive messages to the first test execution machine through the connection between the controller and the first test execution machine. And if the controller does not receive a response message of the keep-alive message returned by the first test execution machine within a preset time length from the time of sending the keep-alive message, acquiring the running state parameters of the first test execution machine from the cloud computing management platform.
And if the running state parameter indicates that the running state of the first test execution machine is abnormal, determining that the running state of the first test execution machine is abnormal.
And if the running state parameter indicates that the running state of the first test execution machine is normal, determining that the running state of the first test execution machine is normal.
Optionally, the controller may detect whether the operating state parameter exceeds a preset threshold, and determine that the operating state of the first test execution machine is abnormal if the operating state parameter exceeds the preset threshold. And if the running state parameter does not exceed the preset threshold value, determining that the running state of the first test execution machine is normal.
In one example, the operation status parameter carries information about whether the first test execution machine is abnormal. The controller may determine whether the operating state of the first test execution machine is abnormal based on the information about whether the first test execution machine is abnormal, which is carried by the operating state parameter.
For example, the controller may send a request message (for example, the request message is an HTTP message) for acquiring the operation state parameter of the first test execution machine to the cloud computing management platform. After receiving the request message, the cloud computing management platform may return a response message (for example, the response message is also an HTTP message) to the controller. The load part of the response message carries the operating state parameters of the first test execution machine. The running state parameter is an indication mark for indicating whether the running state of the first test execution machine is abnormal or not.
The controller may obtain the indication identifier from a payload portion of the response message. When the controller detects that the indication flag is 1, it may be determined that the operation state of the first test execution machine is normal. When the controller detects that the indication flag is 0, it may be determined that the operating state of the first test execution machine is abnormal.
Step 402: when the abnormal operation state of the first test execution machine is determined, the controller sends a reestablishment instruction to the cloud computing management platform, wherein the reestablishment request carries the establishment requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, and establishes a second test execution machine according to the establishment requirement, so that the second test execution machine replaces the first test execution machine for testing.
In implementation, when the controller determines that the running state of the first test execution machine is abnormal, the controller may query a test configuration file corresponding to the first test execution machine. The creation requirements and test scripts in the test configuration file are then read.
Then, the controller may construct a rebuilding instruction based on the first test execution machine identifier and the read creation requirement, and send the rebuilding instruction to the cloud computing management platform. The rebuild instruction carries the identification and creation requirement of the first test execution machine. Or, the controller may update the creation requirement, so that the test execution machine created by the cloud computing management platform according to the updated creation requirement has higher CPU processing performance and larger memory. The controller may then construct a rebuild instruction based on the first test execution machine identification and the updated creation requirement, and send the rebuild instruction to the cloud computing management platform.
After receiving the reestablishment instruction, the cloud computing management platform may delete the first test execution machine according to the identifier of the first test execution machine carried by the reestablishment instruction, and create a second test execution machine matched with the creation requirement according to the creation requirement carried by the reestablishment instruction.
Then, the cloud computing management platform may send the created address information of the second test execution machine to the controller. And the controller establishes connection with the second test execution machine based on the address information of the second test execution machine. The controller can send the read test script to the second test execution machine through the connection, so that the second test execution machine replaces the first test execution machine to test the tested device.
In addition, in the embodiment of the application, after the test is completed, the controller may send a deletion instruction to the cloud computing management platform. The delete instruction carries the identifiers of the test executors corresponding to all the test configuration files related to the test. After receiving the deleting instruction, the cloud computing management platform can delete the test execution machine indicated by the test execution machine identifier according to the test execution machine identifier carried by the deleting instruction. Or, after the test is completed, the cloud computing management platform may still retain the test execution machine for use in a new test.
As can be seen from the above description, in the present application, in addition to the controller being able to create test execution machines autonomously, the controller is also able to maintain the respective test execution machines. When the test execution machine runs abnormally, the controller can reestablish a new test execution machine through the cloud computing management platform to replace the abnormal test execution machine to perform test work, so that the test work is not interrupted.
The following describes the testing method provided by the present application in detail by taking a cloud computing management platform as an OpenStack platform as an example.
Assume that the raw test configuration file read by the controller is as shown in table 2.
Resources possessed by created test executors Core with internal memory more than or equal to 16G, CPU more than or equal to 8
Creating a number of test executors 1 is provided with
Testing position deployment conditions of an execution machine 1 available domain far away
Test script Test script 1
TABLE 2
The controller may look up the available fields meeting the position deployment condition in table 1 in the position deployment condition (i.e., 1 available field far away) of the test handler. In this example, available Domain A and available Domain B may be found in Table 1. The controller may then select an available field from the available field a and the available field B, for example, the selected available field is the available field a.
The controller may then create a test configuration file according to the selected available field A, the resources of the created test execution machines in the original test configuration file (i.e., the cores with memory ≧ 16G, CPU ≧ 8), the number of created test execution machines (i.e., 1), and the test script 1. The test profiles created are shown in table 3.
Figure BDA0002292023810000171
Figure BDA0002292023810000181
TABLE 3
The controller may then send the creation requirements in the test configuration file shown in table 3 to the OpenStack platform. After the OpenStack platform receives the creation request, a test execution machine with memory no less than 16G, CPU no less than 8 cores can be created on the server in the available domain a according to the creation request, and the created test execution machine is denoted as test execution machine 1.
The OpenStack platform may then return address information of the test handler 1 to the controller. The controller can establish a connection with the test handler 1 based on the address information. The controller sends a test script 1 to the test execution machine 1 based on the connection. After receiving the test script 1, the test execution machine 1 can test the device under test according to the test script 1.
The controller can periodically send keep-alive messages to the test execution machine 1. If the controller does not receive the response message of the keep-alive message returned by the test execution machine 1 within the preset time length from the time of sending the keep-alive message. The controller may obtain the current operating state parameters of the test execution machine 1 from the OpenStack platform. If the running state parameter indicates that the running state of the test execution machine 1 is abnormal, the controller may send a rebuilding instruction to the OpenStack platform. The rebuild instruction carries the identification of the test execution machine 1 and the creation requirement shown in table 3.
After receiving the rebuilding instruction, the OpenStack platform may delete the test execution machine according to the identifier of the test execution machine 1 carried by the rebuilding instruction. The OpenStack platform can also create the test execution machine 2 according to the creation requirement 2 carried by the reconstruction instruction, and returns the address information of the test execution machine 2 to the controller.
The controller establishes connection with the test execution machine 2 based on the address information of the test execution machine 2, and sends the test script 1 to the test execution machine 2 through the connection, so that the test execution machine 2 executes the test script 1 to test the tested device.
As can be seen from the above description, on one hand, since the tester provided by the present application is no longer an integral tester, but is a reconfigurable tester composed of a controller and one or more test execution machines, the one or more test execution machines can simulate different tenants to test the cloud computing network.
On the other hand, in the process of creating the test execution machine, the automatic creation of the test execution machine can be completed without manual intervention, so the creation efficiency of the test execution machine is greatly improved.
In a third aspect, in addition to the controller being able to create test executors autonomously, the controller may also maintain individual test executors. When the test execution machine runs abnormally, the controller can reestablish a new test execution machine through the cloud computing management platform to replace the abnormal test execution machine to perform test work, so that the test work is not interrupted.
Referring to fig. 4, fig. 4 is a hardware configuration diagram of a controller according to an exemplary embodiment of the present application.
The controller includes: a communication interface 401, a processor 402, a machine-readable storage medium 403, and a bus 404; wherein the communication interface 401, the processor 402 and the machine-readable storage medium 403 communicate with each other via a bus 404. The processor 402 may perform the testing methods described above by reading and executing machine-executable instructions corresponding to the testing logic in the machine-readable storage medium 403.
The machine-readable storage medium 403 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 403 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
In addition, the application also provides a testing device corresponding to the testing method.
Referring to fig. 5, fig. 5 is a block diagram of a testing apparatus according to an exemplary embodiment of the present application. The apparatus may be provided on a controller of a reconfigurable tester and may include the units shown below.
An obtaining unit 501, configured to obtain a test configuration file; the test configuration file includes: creating requirements and test scripts of the test execution machine;
a first sending unit 502, configured to send the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution unit based on the creation requirement, and returns address information of the created first test execution unit to the controller;
a second sending unit 503, configured to send the test script to the first test execution machine based on the address information of the first test execution machine, so that the first test execution machine executes a test logic according to the test script.
Optionally, the first sending unit 502 is further configured to send a reestablishment instruction to the cloud computing management platform when it is determined that the operating state of the first test execution machine is abnormal, where the reestablishment request carries the creation requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, creates a second test execution machine according to the creation requirement, and returns address information of the second test execution machine to the controller;
the second sending unit 503 is further configured to send the test script to the second test execution machine according to the address information of the second test execution machine, so that the second test execution machine executes a test logic according to the test script.
Optionally, the cloud computing management platform maintains the operating state parameters of the first test execution machine;
the first sending unit 502 is configured to send a keep-alive message to the first test execution machine periodically when it is determined that the operating state of the first test execution machine is abnormal; if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform; and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
Optionally, the obtaining unit 501 is specifically configured to read an original test configuration file; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script; searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform; generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain; and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
Optionally, the obtaining unit 501 is further configured to read a test file associated with a target test; and splitting the test file into at least one original test configuration file according to a preset rule.
In addition, this application still provides a reconfigurable tester.
Referring to FIG. 6, FIG. 6 is a schematic diagram of a reconfigurable tester according to an exemplary embodiment of the present application.
The reconfigurable tester includes:
the controller is used for acquiring a test configuration file; the test configuration file includes: the creating requirement and the test script of the first test execution machine; sending the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returns the created address information of the first test execution machine to the controller; sending the test script to the first test execution machine based on the address information of the first test execution machine;
and the first test execution machine is used for executing test logic according to the test script.
Optionally, the controller is further configured to send a reestablishment instruction to the cloud computing management platform when it is determined that the operating state of the first test execution machine is abnormal, where the reestablishment request carries the creation requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, creates a second test execution machine according to the creation requirement, and returns address information of the second test execution machine to the controller; sending the test script to the second test execution machine according to the address information of the second test execution machine;
and the second test execution machine is used for executing test logic according to the test script.
Optionally, the cloud computing management platform maintains the operating state parameters of the first test execution machine;
the controller is used for periodically sending a keep-alive message to the first test execution machine when the running state of the first test execution machine is determined to be abnormal; if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform; and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
Optionally, the controller is specifically configured to read a recorded original test configuration file when the test configuration file is obtained; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script;
searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform;
generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain;
and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
Optionally, the original test configuration file is recorded in the following manner:
reading a test file associated with a target test;
and splitting the test file into at least one original test configuration file according to a preset rule and recording the original test configuration file.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. A testing method for use with a controller in a reconfigurable tester, the reconfigurable tester further comprising: a test execution machine to be created; the method comprises the following steps:
acquiring a test configuration file; the test configuration file includes: the creation requirement and the test script of the test execution machine;
sending the creation requirement to a cloud computing management platform so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returning the created address information of the first test execution machine to the controller;
and sending the test script to the first test execution machine based on the address information of the first test execution machine so as to enable the first test execution machine to execute a test logic according to the test script.
2. The method of claim 1, further comprising:
when the operating state of the first test execution machine is determined to be abnormal, sending a reestablishing instruction to the cloud computing management platform, wherein the reestablishing instruction carries the establishment requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, establishes a second test execution machine according to the establishment requirement, and returns the address information of the second test execution machine to the controller;
and sending the test script to the second test execution machine according to the address information of the second test execution machine so as to enable the second test execution machine to execute a test logic according to the test script.
3. The method of claim 2, wherein the cloud computing management platform maintains operating state parameters of the first test execution machine;
the determining that the running state of the first test execution machine is abnormal includes:
periodically sending a keep-alive message to the first test execution machine;
if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform;
and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
4. The method of claim 1, wherein obtaining the test configuration file comprises:
reading an original test configuration file; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script;
searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform;
generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain;
and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
5. The method of claim 4, wherein the original test configuration file is obtained by:
reading a test file associated with a target test;
and splitting the test file into at least one original test configuration file according to a preset rule.
6. A test apparatus for use with a controller in a reconfigurable tester, the reconfigurable tester further comprising: a test execution machine to be created; the device comprises:
the acquisition unit is used for acquiring a test configuration file; the test configuration file includes: the creation requirement and the test script of the test execution machine;
a first sending unit, configured to send the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution unit based on the creation requirement, and returns address information of the created first test execution unit to the controller;
and the second sending unit is used for sending the test script to the first test execution machine based on the address information of the first test execution machine so as to enable the first test execution machine to execute a test logic according to the test script.
7. The apparatus according to claim 6, wherein the first sending unit is further configured to send a rebuilding instruction to the cloud computing management platform when it is determined that the operating state of the first test execution machine is abnormal, where the rebuilding instruction carries the creation requirement and the identifier of the first test execution machine, so that the cloud computing management platform deletes the first test execution machine, creates a second test execution machine according to the creation requirement, and returns address information of the second test execution machine to the controller;
the second sending unit is further configured to send the test script to the second test execution machine according to the address information of the second test execution machine, so that the second test execution machine executes a test logic according to the test script.
8. The apparatus of claim 7, wherein the cloud computing management platform maintains operating state parameters of the first test execution machine;
the first sending unit is used for sending a keep-alive message to the first test execution machine periodically when the operating state of the first test execution machine is determined to be abnormal; if a response message of the keep-alive message returned by the first test execution machine is not received within a preset time length from the time of sending the keep-alive message, acquiring an operation state parameter of the first test execution machine from the cloud computing management platform; and if the running parameters indicate that the running state of the first testing machine is abnormal, determining that the running state of the first testing execution machine is abnormal.
9. The apparatus according to claim 6, wherein the obtaining unit is specifically configured to read an original test configuration file; the original test configuration file includes: the created resources of the test execution machine, the number of the created test execution machines, the position deployment condition of the test execution machine and the test script; searching an available domain which meets the position deployment condition in an available domain supported by the locally maintained cloud computing management platform; generating a creating requirement of the test execution machine based on the created resources of the test execution machine carried by the original test configuration file, the number of the created test execution machines and the searched identification of the available domain; and generating the test configuration file based on the generated creation requirement and the test script in the original test configuration file.
10. The apparatus of claim 9, wherein the obtaining unit is further configured to:
reading a test file associated with a target test;
and splitting the test file into at least one original test configuration file according to a preset rule.
11. A reconfigurable tester, comprising:
the controller is used for acquiring a test configuration file; the test configuration file includes: the creating requirement and the test script of the first test execution machine; sending the creation requirement to a cloud computing management platform, so that the cloud computing management platform creates a first test execution machine based on the creation requirement, and returns the created address information of the first test execution machine to the controller; sending the test script to the first test execution machine based on the address information of the first test execution machine;
and the first test execution machine is used for executing test logic according to the test script.
12. A controller comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to perform the method of any one of claims 1 to 5.
CN201911184249.1A 2019-11-27 2019-11-27 Testing method and device, reconfigurable tester and controller Active CN110868340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184249.1A CN110868340B (en) 2019-11-27 2019-11-27 Testing method and device, reconfigurable tester and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184249.1A CN110868340B (en) 2019-11-27 2019-11-27 Testing method and device, reconfigurable tester and controller

Publications (2)

Publication Number Publication Date
CN110868340A CN110868340A (en) 2020-03-06
CN110868340B true CN110868340B (en) 2021-11-02

Family

ID=69655677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184249.1A Active CN110868340B (en) 2019-11-27 2019-11-27 Testing method and device, reconfigurable tester and controller

Country Status (1)

Country Link
CN (1) CN110868340B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965908B (en) * 2021-03-19 2024-01-16 深圳市优必选科技股份有限公司 Communication test method, device, communication equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322490A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 The method, apparatus and server of virtual machine configuration and the distributed cloud service system of deployment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461856B (en) * 2013-09-22 2018-04-20 阿里巴巴集团控股有限公司 Performance test methods, apparatus and system based on cloud computing platform
CN104539487B (en) * 2015-01-20 2018-04-17 成都益联科创科技有限公司 A kind of system testing and reliability estimation method based on cloud platform
CN104536899B (en) * 2015-01-20 2017-11-24 成都益联科创科技有限公司 A kind of software deployment and its maintaining method based on Intelligent cluster
CN108207017B (en) * 2016-12-20 2019-09-17 电信科学技术研究院 A kind of method and apparatus of processing paging
CN107632937B (en) * 2017-10-10 2020-08-21 苏州浪潮智能科技有限公司 Method and device for testing virtual machine cluster and readable storage medium
CN109634855A (en) * 2018-12-04 2019-04-16 郑州云海信息技术有限公司 A kind of automatic test ambient intelligence matching process based on cloud computing
CN110389900B (en) * 2019-07-10 2022-09-23 深圳市腾讯计算机系统有限公司 Distributed database cluster testing method and device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322490A (en) * 2017-01-17 2018-07-24 阿里巴巴集团控股有限公司 The method, apparatus and server of virtual machine configuration and the distributed cloud service system of deployment

Also Published As

Publication number Publication date
CN110868340A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
US9703790B1 (en) System and method for managing data on a network
CN102932415B (en) Method and device for storing mirror image document
CN108289034B (en) A kind of fault discovery method and apparatus
US20150201036A1 (en) Gateway device, file server system, and file distribution method
CN103095687B (en) metadata processing method and device
CN108683668B (en) Resource checking method, device, storage medium and equipment in content distribution network
US9367261B2 (en) Computer system, data management method and data management program
CN106059791B (en) Link switching method of service in storage system and storage device
US20120002549A1 (en) Network system
US10908834B2 (en) Load balancing for scalable storage system
CN106506490B (en) A kind of distributed computing control method and distributed computing system
CN106326239A (en) Distributed file system and file meta-information management method thereof
US20220261275A1 (en) Self-evolving microservices
US11146658B2 (en) Enhanced self-assembling and self-configuring microservices
CN107547283B (en) Management method and device of distributed aggregation group
CN108769118B (en) Method and device for selecting master nodes in distributed system
CN110868340B (en) Testing method and device, reconfigurable tester and controller
CN107943615B (en) Data processing method and system based on distributed cluster
CN110611591B (en) Network topology establishing method and device
CN112631727A (en) Method and device for monitoring pod
CN107291575B (en) Processing method and equipment for data center fault
CN105049463A (en) Distributed database, method of sharing data, and apparatus for a distributed database
US20190387054A1 (en) Method, electronic device and computer program product for searching for node
CN101626401A (en) System and method for splitting and disposing content
US8782364B2 (en) Determining availability of data elements in a storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant