Equipment testing system, method, device, equipment

By constructing a management and control subject in the edge cloud node, establishing device communication connections, sending business test instructions and analyzing the results, the problem of low test efficiency of edge cloud nodes is solved, automated testing is realized, and testing efficiency is improved.

CN113381901BActive Publication Date: 2024-09-27ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010162423.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-10
Publication Date
2024-09-27
Estimated Expiration
2040-03-10

AI Technical Summary

Technical Problem

In the existing technology, testing of edge cloud nodes requires technical personnel to perform on-site implementation, which is inefficient and cannot achieve automated testing.

Method used

By building a management and control entity for managing edge cloud nodes, establishing communication connections with multiple devices, sending business test instructions, creating business instances and feeding back test results to determine whether the device meets the preset conditions and realize automated testing.

Benefits of technology

It improves the testing efficiency of edge cloud nodes, reduces manual intervention, and realizes an automated device testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113381901B
    Figure CN113381901B
Patent Text Reader

Abstract

Embodiments of the present invention provide a device testing system, method, apparatus, and equipment. The device testing system includes an edge cloud node composed of multiple devices and a control subject for managing the edge cloud node. Multiple devices are used to establish a communication connection with the control subject; create a business instance according to the business test instructions of the control subject, and feed back the business test results to the control subject. The control subject is used to send business test instructions to multiple device nodes; determine whether multiple devices meet preset conditions based on the received business test results. The device testing system realizes automated testing of edge cloud nodes through the control subject, thereby improving the testing efficiency of edge cloud nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a device testing system, method, apparatus and equipment. Background Art

[0002] With the development of cloud computing technology, cloud computing technology is being applied to more and more technical fields.

[0003] At present, there is a cloud computing architecture consisting of a central cloud node and an edge cloud node. In simple terms, the central cloud node is farther away from the user side (or the terminal side) than the edge cloud node. Moreover, the scale of devices included in the central cloud node is often much larger than the scale of devices included in the edge cloud node. Both the central cloud node and the edge cloud node can be regarded as a device cluster composed of multiple devices.

[0004] Some services will be transferred from the central cloud nodes to the edge cloud nodes that are closer to the user side, so as to provide users with corresponding computing, forwarding, storage and other services nearby, shorten the service response delay on the user side, and alleviate the service processing pressure of the central cloud nodes.

[0005] After the edge cloud node is deployed, it needs to be tested to see if it meets the requirements. Currently, the testing of edge cloud nodes requires technicians to go on site, which is inefficient. Summary of the invention

[0006] Embodiments of the present invention provide a device testing system, method, apparatus, and equipment to improve the testing efficiency of edge cloud nodes.

[0007] In a first aspect, an embodiment of the present invention provides a device testing system, the device testing system comprising: an edge cloud node composed of a plurality of devices and a control subject for managing the edge cloud node,

[0008] The multiple devices are used to establish a communication connection with the control subject; create a service instance according to the service test instruction of the control subject, and feed back the service test result to the control subject;

[0009] The control entity is used to send the service test instructions to the multiple device nodes; and determine whether the multiple devices meet preset conditions based on the received service test results.

[0010] In a second aspect, an embodiment of the present invention provides a device testing method, which is applied to a control subject; the device testing method includes:

[0011] Establishing communication connections with a plurality of devices, wherein the plurality of devices constitute an edge cloud node;

[0012] Sending a service test instruction to the multiple device nodes, wherein the service test instruction is used to instruct the multiple devices to create a service instance and feed back a service test result;

[0013] Determine whether the multiple devices meet preset conditions according to the fed-back service test results.

[0014] In a third aspect, an embodiment of the present invention provides a device testing apparatus, which is used to implement a control subject, and the device testing apparatus includes:

[0015] A communication establishment module, used to establish a communication connection with a plurality of devices, wherein the plurality of devices constitute an edge cloud node;

[0016] The test module is used to send a service test instruction to the multiple device nodes, wherein the service test instruction is used to instruct the multiple devices to create a service instance and feedback the service test result; and determine whether the multiple devices meet the preset conditions according to the feedback service test result.

[0017] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the device testing method in the second aspect.

[0018] An embodiment of the present invention provides a non-transitory machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor can at least implement the device testing method in the second aspect.

[0019] In the device testing scheme provided in the embodiment of the present invention, in order to implement the test of the edge cloud node composed of multiple devices, a control subject for managing the edge cloud node is constructed, so as to realize the automated test of the edge cloud node based on the control subject, thereby improving the testing efficiency of the edge cloud node. Specifically, after the edge cloud node is deployed, the control subject establishes a communication connection with the multiple devices constituting the edge cloud node, and based on the communication connection, the control subject performs business tests on the multiple devices. Specifically, the control subject instructs the multiple devices to create business instances and feedback business test results, so as to finally determine whether the multiple devices meet the preset conditions based on the business test results fed back by the multiple devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A schematic diagram of a device testing scenario provided by an embodiment of the present invention;

[0022] Figure 2 A schematic diagram of the working process of a device testing system provided by an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of the working process of another device testing system provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of a flow chart of a device testing method provided by an embodiment of the present invention;

[0025] Figure 5 A schematic diagram of the structure of a device testing apparatus provided by an embodiment of the present invention;

[0026] Figure 6 For Figure 5 A schematic structural diagram of an electronic device corresponding to the device testing apparatus provided in the illustrated embodiment. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.

[0029] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0030] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0031] Figure 1 A schematic diagram of a device testing scenario provided by an embodiment of the present invention, such as Figure 1 As shown, the device test scenario includes: two edge cloud nodes (edge ​​cloud node A and edge cloud node B) and a control entity C for managing the two edge cloud nodes. Figure 1 In FIG, it is assumed that the edge cloud node A is composed of device T1 and device T2. Optionally, the control subject C is deployed on the central cloud node.

[0032] In fact, the central cloud node may be composed of tens of thousands of devices. The above-mentioned control subject C can be implemented as: business instance, virtual machine, hardware device. For example, the control subject C can be implemented as a business instance deployed on one or more devices in the central cloud node. In simple terms, the control subject C can be understood as a software deployed on the central cloud node for managing each edge cloud node. Alternatively, the control subject C can also be implemented as a virtual machine deployed on one or more devices in the central cloud node. The virtual machine is installed with application software for managing each edge cloud node. Alternatively, the control subject C can also be implemented as one or more hardware devices for managing edge cloud nodes among the many hardware devices that make up the central cloud node.

[0033] In practical applications, from the perspective of physical space, Figure 1 The control subject C, edge cloud node A, and edge cloud node B shown in the figure may be located in different locations, such as in different cities. Taking edge cloud node A as an example, assuming that edge cloud node A is deployed in Hangzhou, then the service providers located in Hangzhou or its surrounding areas can use edge cloud node A to deploy their own service instances. For example, a service provider develops an instant messaging application. The service provider can deploy the instant messaging application on edge cloud node A. At this time, the instant messaging application is regarded as a service instance.

[0034] Combination Figure 1For example, the purpose of the device testing solution provided in the embodiment of the present invention is: taking edge cloud node A as an example, after edge cloud node A is deployed by relevant deployment personnel, the control entity C tests the devices constituting edge cloud node A to test whether these devices meet the preset conditions, that is, whether they meet the requirements. When the test finds that the devices of edge cloud node A meet the preset conditions, edge cloud node A can be incorporated into the cloud computing architecture for use by users (such as various service providers).

[0035] To achieve the above purpose, the core idea of ​​the device testing solution provided by the embodiment of the present invention is: by constructing a control subject for managing edge cloud nodes, the automated testing of edge cloud nodes is realized, and the testing efficiency of edge cloud nodes is improved. After the edge cloud node is deployed by the relevant deployment personnel, the control subject establishes a communication connection with the multiple devices constituting the edge cloud node. Based on the communication connection, the control subject performs business tests on the multiple devices, and finally determines whether the multiple devices meet the preset conditions according to the business test results, that is, whether the multiple devices pass the business test.

[0036] The working principle of the equipment testing system provided by the present invention is described below in conjunction with the following embodiments.

[0037] Figure 2 A schematic diagram of the working process of a device testing system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the device testing system includes an edge cloud node composed of multiple devices and a control subject for managing the edge cloud node. For ease of description, the multiple devices constituting the edge cloud node are referred to as multiple devices below. The process includes the following steps:

[0038] 201. The control subject establishes communication connections with multiple devices.

[0039] 202. The control entity sends a business test instruction to multiple devices.

[0040] 203. Multiple devices create service instances according to the service test instruction.

[0041] 204. Multiple devices feed back the business test results to the control entity.

[0042] 205. The control entity determines whether multiple devices meet preset conditions based on the business test results.

[0043] To meet the requirements of deploying edge cloud nodes, the control entity creates an edge cloud node deployment task and notifies relevant deployment personnel to deploy multiple devices that constitute the edge cloud nodes. The edge cloud node deployment task includes reference device configuration data corresponding to the edge cloud node.

[0044] The reference device configuration data is used to reflect the device configuration requirements corresponding to the edge cloud node. Optionally, the reference device configuration data corresponding to the edge cloud node includes, for example, the number of devices, network bandwidth, device location, operating system, and the like.

[0045] In actual applications, the control entity can generate a task identifier corresponding to the edge cloud node deployment task and send the task identifier to the relevant deployment personnel so that the relevant deployment personnel can feedback the device configuration progress of the edge cloud node to the control entity based on the task identifier.

[0046] After the deployment personnel complete the deployment of the above multiple devices, the multiple devices are triggered to establish communication connections with the control subject. It can be understood that when the deployment is completed, the multiple devices have the ability to connect to the Internet.

[0047] Optionally, the deployment personnel can trigger multiple devices to establish communication connections with the control subject based on the IP address of the control subject. Optionally, the deployment personnel can also feed back the communication addresses (such as MAC addresses, IP addresses) of multiple devices to the control subject, so that the control subject establishes communication connections with multiple devices based on these communication addresses.

[0048] Furthermore, based on the established communication connection, the control entity performs business tests on multiple devices.

[0049] Specifically, the control entity sends service test instructions to multiple device nodes.

[0050] The function of the service test instruction in this embodiment is to enable the control center to obtain service test results from multiple devices, so as to determine whether the multiple devices meet the preset conditions based on these service test results. Specifically, the preset conditions include preset qualified conditions.

[0051] After receiving the service test instruction, multiple devices create service instances according to the service test instruction and feed back the service test results to the management and control entity.

[0052] Optionally, the service test instruction includes service identification information and service operation information. Based on the received service test instruction, the multiple devices create service instances corresponding to the service identification information and operate the service instances according to the service operation information to obtain service test results.

[0053] The service identification information may indicate a specific service instance, such as an instant messaging application, a mailbox application, a music application, etc. Alternatively, the service identification information may also indicate a service instance type, so that multiple devices can obtain any service instance of this type from a preset database based on the service instance type indicated by the service identification information, and install and run it.

[0054] In essence, the business operation information corresponding to a business instance simulates the behavior of the user when actually using the business instance. For example, assuming that the business instance is a mailbox application, the corresponding business operation information is: updating the user name, password, sending an email, creating an address book, etc.

[0055] After the multiple devices execute the creation and operation of the corresponding service instances based on the service test instructions, the service test results are fed back to the control subject. Thus, the control subject determines whether the multiple devices meet the preset conditions according to the received service test results.

[0056] Optionally, the control subject may determine whether the multiple devices meet the preset conditions in the following manner: the control subject obtains a reference service test result corresponding to the above service operation information, and if the received service test result matches the reference service test result, it is determined that the multiple devices meet the preset qualification condition. The preset qualification condition may be set as: the service test result of each device is consistent with the corresponding reference service test result.

[0057] For example, suppose that the business instance is to build a database, and the corresponding business operation information is to perform a summation calculation on a batch of data stored in the database. Assume that the reference business test result is the summation result M. Assume that the multiple devices are device a and device b. The management and control subject receives the actual calculation results of device a and device b and performs summation calculations on each of them, which are recorded as m1 and m2. If it is assumed that m1 is consistent with M and m2 is also consistent with M, it can be determined that device a and device b meet the preset qualification conditions, which means that the business tests of device a and device b are qualified. If it is assumed that m1 is inconsistent with M, it can be determined that device a does not meet the preset qualification conditions, which means that the business test of device a is unqualified. In this case, the management and control device can notify the deployment personnel to repair or redeploy device a.

[0058] It is worth noting that if the control entity determines that multiple devices meet the preset conditions based on the received business test results, it can also mark the edge cloud node as being in the business test completion state. This makes it easier to follow up on subsequent work in a timely manner based on the business test completion status, such as launching the edge cloud node.

[0059] Optionally, based on the communication connection established between the control entity and the multiple devices, the control entity can also perform hardware testing on the multiple devices.

[0060] Specifically, the control entity sends hardware test instructions to multiple devices through the established communication connection. After receiving the hardware test instructions, the multiple devices report device configuration data to the control entity according to the hardware test instructions.

[0061] Among them, the function of the device configuration data is mainly to reflect the hardware configuration of multiple devices in the edge cloud node and the corresponding operating environment. Optionally, the device configuration data corresponding to the edge cloud node includes but is not limited to: the product model of the device, the number of devices, the identification of the network operator supported by the device (such as China Mobile, China Unicom), the network bandwidth, the location of the device, the operating system, etc.

[0062] In actual applications, there may be multiple edge cloud nodes managed by the control subject, and these multiple edge cloud nodes are usually located in different locations, such as different cities. Assuming that multiple devices belong to different edge cloud nodes, the control subject can determine the correspondence between these multiple devices and different edge cloud nodes based on the locations of the devices reported by the multiple devices. In other words, multiple devices reporting the same location area correspond to the same edge cloud node.

[0063] After receiving the device configuration data reported by multiple devices, the control subject determines whether the device configuration data reported by the multiple devices meets the set conditions corresponding to the corresponding edge cloud nodes. If the device configuration data reported by the multiple devices meets the set conditions, it means that the hardware tests of the multiple devices are qualified.

[0064] In combination with the business testing process, the management and control subject can ultimately determine whether multiple devices meet the preset conditions based on the hardware test results and the business test results, that is, only when the hardware test results and the business test results meet their respective corresponding conditions, the multiple devices are considered to meet the preset conditions. Among them, the hardware test results are the judgment results of whether the device configuration data reported by multiple devices meet the set conditions corresponding to the corresponding edge cloud nodes. Specifically, the above-mentioned set conditions are reflected in: the management and control subject determines whether the device configuration data reported by the multiple devices matches the reference device configuration data corresponding to the edge cloud node based on the reference device configuration data corresponding to the edge cloud node. If they match, it means that the device configuration data of the multiple devices meet the device configuration requirements, and the hardware tests of the multiple devices are qualified.

[0065] The so-called matching can be understood as: each device configuration data in the reported device configuration data is consistent with the corresponding reference device configuration data.

[0066] For example, assume that the reference device configuration data includes the reference device quantity and the reference network bandwidth. Assume that the reference device quantity corresponding to the edge cloud node q is 100 and the reference network bandwidth is 100Gb / s (meaning that each device should have a network bandwidth of 100Gb / s). Assume that the device configuration data reported by the edge cloud node q includes the device quantity and the network bandwidth. If it is assumed that the number of devices reported by the edge cloud node q is 100 and the network bandwidth is 100Gb / s, it can be determined that the reported device configuration data and the reference device configuration data have the same corresponding values, and the two match. Alternatively, assume that the number of devices reported by the edge cloud node q is 98 and the network bandwidth is 100Gb / s. Although the reported network bandwidth is the same as the reference network bandwidth, the reported number of devices is different from the reference number of devices. In order to ensure that the deployment of the edge cloud node q meets the requirements, it is still determined that the reported device configuration data does not match the reference device configuration data. In this case, the control entity notifies the deployment personnel to redeploy or repair the edge cloud node q.

[0067] Among them, the number of devices and network bandwidth reported by edge cloud node q should be understood as the statistics obtained by the control subject based on the relevant information reported by multiple devices contained in edge cloud node q. For example, edge cloud node q contains devices 1, 2, and 3. These three devices report their own network bandwidths to the control subject. Assuming that they are all 100Gb / s, the control subject can statistically obtain that the edge cloud node q contains the above three devices and the network bandwidth of each device.

[0068] For another example, assume that the device configuration data reported by multiple devices include the device locations, and the reference device configuration data includes the reference location. Assume that the reference location is Haidian District, Beijing, and the device locations reported by multiple devices are also Haidian District, Beijing, then it can be determined that the device locations reported by multiple devices match the reference location.

[0069] It should be noted that for the device configuration data such as the product model and operating system of the device, these device configuration data may be different from the corresponding reference device configuration data. For example, assuming that the performance of two devices with product models X and Y are similar, in this case, even if the product model reported by multiple devices is X and the reference product model is Y, it can be considered that the product models reported by multiple devices match the reference product model.

[0070] It is worth noting that if the control entity determines that the received device configuration data meets the set conditions corresponding to the edge cloud node, it can also mark the edge cloud node as being in the hardware test completion state. In this way, if the deployer interrupts the test of the edge cloud node due to other things, then the next time the edge cloud node is tested, based on the recorded results of this state, there is no need to re-test the hardware of the edge cloud node.

[0071] In actual applications, in order to avoid the impact of device hardware on business test results, the hardware test process can be performed first, so that the business test process can be performed after multiple devices pass the hardware test. Based on this, the control entity can optionally send business test instructions to multiple devices after determining that the received device configuration data meets the set conditions corresponding to the edge cloud node.

[0072] Figure 2 In the working process of the device testing system shown, in order to realize the test of the edge cloud node composed of multiple devices, a control subject for managing the edge cloud node is constructed, so as to realize the automated test of the edge cloud node based on the control subject, and improve the test efficiency of the edge cloud node. Specifically, after the edge cloud node is deployed, the control subject establishes a communication connection with the multiple devices constituting the edge cloud node, and based on the communication connection, the control subject performs business tests on the multiple devices. Specifically, the control subject instructs the multiple devices to create business instances and feedback the business test results, so as to finally determine whether the multiple devices meet the preset conditions according to the business test results fed back by the multiple devices. Of course, the control subject can also first obtain the device configuration data of the multiple devices. If it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node, it means that the multiple devices have passed the hardware test. Then the control subject performs business tests on the multiple devices again, and finally determines whether the multiple devices meet the preset conditions according to the business test results.

[0073] Figure 3 A schematic diagram of the working process of another device testing system provided by an embodiment of the present invention. Figure 3 As shown, the device testing system includes an edge cloud node composed of multiple devices, a control subject for managing the edge cloud node, and a deployment terminal corresponding to the deployment personnel. For the sake of ease of description, the multiple devices constituting the edge cloud node are referred to as multiple devices below. The process includes the following steps:

[0074] 301. The demand direction control subject sends reference device configuration data corresponding to the edge cloud node.

[0075] 302. The control entity creates an edge cloud node deployment task and stores the reference device configuration data.

[0076] 303. The control entity sends a task identifier corresponding to the edge cloud node deployment task to the deployment terminal.

[0077] 304. The deployment terminal sends a notification message to the management and control entity to indicate that the hardware deployment of the edge cloud node has been completed.

[0078] 305. Multiple devices establish communication connections with the control entity.

[0079] 306. The control entity sends software programs to multiple devices.

[0080] 307. Multiple devices run the received software program.

[0081] 308. The control entity shuts down the monitoring programs corresponding to multiple devices.

[0082] 309. The control entity sends hardware test instructions to multiple devices.

[0083] 310. Multiple devices report device configuration data to the control entity.

[0084] 311. The control entity determines that the received device configuration data meets the set conditions corresponding to the edge cloud node.

[0085] 312. The control entity sends business test instructions to multiple devices.

[0086] 313. Multiple devices create service instances according to the service test instruction.

[0087] 314. Multiple devices feed back business test results to the management and control entity.

[0088] 315. According to the business test results, it is determined that the multiple devices meet the preset conditions and the monitoring program is started.

[0089] In order to meet the demand for deploying edge cloud nodes, the demand side control subject inputs the reference device configuration data corresponding to the edge cloud node. The demand side refers to the staff of the relevant enterprise or organization that proposes to deploy the above edge cloud nodes.

[0090] In actual applications, the deployment terminal is a mobile terminal device on the deployment personnel side, and a client corresponding to the control subject may be installed in the deployment terminal so that the deployment personnel can access the control subject.

[0091] After receiving the reference device configuration data corresponding to the edge cloud node, the control subject creates an edge cloud node deployment task, in which the reference device configuration data corresponding to the edge cloud node and a task identifier are stored.

[0092] The control entity sends the task identifier corresponding to the edge cloud node to the deployment terminal to notify the relevant deployment personnel to deploy multiple devices used to constitute the edge cloud node.

[0093] After the deployment personnel complete the deployment of the above multiple devices, the deployment terminal is triggered to send a notification message to the control subject indicating that the hardware deployment of the edge cloud node has been completed. After receiving the notification message, the control subject can establish a communication connection with multiple devices.

[0094] Based on the established communication connection, the control subject sends the software program that needs to be deployed on the edge cloud node to multiple devices, so that multiple devices can also run the software program. Among them, the software program that needs to be deployed on the edge cloud node can be used to implement the basic functions of the edge cloud node, such as computing function and forwarding function. The software program here can be understood as the software that needs to be configured by default in multiple devices corresponding to the edge cloud node.

[0095] The control subject also provides a monitoring function for the edge cloud node. Specifically, a monitoring program may be installed in the control subject to monitor the operating status of multiple devices corresponding to the edge cloud node.

[0096] To avoid false alarms from the monitoring program during equipment testing, the management and control entity needs to shut down the monitoring program before starting hardware testing.

[0097] After the control subject closes the monitoring program, it sends hardware test instructions to multiple devices. After receiving the hardware test instructions, the multiple devices report device configuration data to the control subject according to the hardware test instructions.

[0098] After receiving the device configuration data reported by multiple devices, the control subject determines whether the device configuration data reported by the multiple devices meets the set conditions corresponding to the edge cloud node. If the device configuration data reported by the multiple devices meets the set conditions, it means that the hardware test of the multiple devices has passed.

[0099] The service test instruction includes service identification information and service operation information. Based on the received service test instruction, multiple devices create service instances corresponding to the service identification information, and operate the service instances according to the service operation information to obtain service test results. Thus, the management and control subject determines whether the multiple devices meet the preset conditions according to the received service test results. The preset conditions include preset qualified conditions.

[0100] After the control entity determines that multiple devices meet the preset conditions based on the received business test results, it restarts the monitoring program.

[0101] Figure 3 The device testing system shown can also realize automated testing of edge cloud nodes through the management and control entity, thereby improving the testing efficiency of edge cloud nodes.

[0102] Figure 4 The present invention provides a flow chart of a device testing method according to an embodiment of the present invention. The device testing method is applied to a control subject, which is deployed on a central cloud node. Figure 4 As shown, the device testing method may include the following steps:

[0103] 401. The control entity establishes a communication connection with multiple devices, wherein the multiple devices constitute an edge cloud node.

[0104] 402. The management and control entity sends a service test instruction to multiple device nodes, where the service test instruction is used to instruct multiple devices to create service instances and feed back service test results.

[0105] 403. The control entity determines whether the multiple devices meet the preset conditions based on the feedback business test results.

[0106] Optionally, the control entity can be deployed on a central cloud node.

[0107] Optionally, the device testing method further includes the following steps:

[0108] The control subject sends a hardware test instruction to multiple devices, and the hardware test instruction is used to instruct multiple devices to report device configuration data; the control subject determines whether the received device configuration data meets the set conditions corresponding to the edge cloud node. Thus, the control subject ultimately determines whether multiple devices meet the preset conditions based on the business test results and the determination result of whether the device configuration data meets the set conditions corresponding to the edge cloud node.

[0109] Optionally, before sending the service test instruction to multiple devices, the following steps may also be included: the control subject sends a hardware test instruction to multiple devices, the hardware test instruction is used to instruct multiple devices to report device configuration data; if it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node, the service test instruction is sent to the multiple devices. Thus, the control subject ultimately determines whether the multiple devices meet the preset conditions based on the service test results fed back by the multiple devices based on the service test instruction.

[0110] The detailed execution process of the device testing method provided in this embodiment can refer to the relevant descriptions in the aforementioned other embodiments and will not be repeated here.

[0111] The device testing apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these device testing apparatuses can be configured using commercially available hardware components through the steps taught in this solution.

[0112] Figure 5 The schematic diagram of the structure of the device testing device provided in one embodiment of the present invention. The device testing device is applied to the control subject. Optionally, the control subject is deployed on the central cloud node. Figure 5 As shown, the device testing apparatus includes: a communication establishment module 501, a first test module 502, a second test module 503, and a determination module 504. The device testing apparatus includes:

[0113] A communication establishment module 501 is used to establish a communication connection with a plurality of devices, wherein the plurality of devices constitute an edge cloud node;

[0114] The test module 502 is used to send a service test instruction to the multiple device nodes, wherein the service test instruction is used to instruct the multiple devices to create a service instance and feedback the service test result; and determine whether the multiple devices meet the preset conditions according to the feedback service test result.

[0115] Optionally, the test module 502 is also used to send hardware test instructions to the multiple devices, and the hardware test instructions are used to instruct the multiple devices to report device configuration data; determine whether the received device configuration data meets the set conditions corresponding to the edge cloud node; and determine whether the multiple devices meet the preset conditions based on the business test results and the determination result of whether the device configuration data meets the set conditions corresponding to the edge cloud node.

[0116] Optionally, the test module 502 is also used to send hardware test instructions to the multiple devices, and the hardware test instructions are used to instruct the multiple devices to report device configuration data; if it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node, the service test instructions are sent to the multiple devices.

[0117] Optionally, the test module 502 can be specifically used to: obtain reference device configuration data corresponding to the edge cloud node, and if the received device configuration data matches the reference device configuration data, determine that the received device configuration data meets the set conditions corresponding to the edge cloud node.

[0118] Optionally, the service test instruction includes service identification information and service operation information. Based on this, optionally, the test module 502 is also used to obtain a reference service test result corresponding to the service operation information, and if the received service test result matches the reference service test result, it is determined that the multiple devices meet the preset conditions.

[0119] Optionally, the equipment testing device further includes: a status recording module.

[0120] The status recording module is used to mark the edge cloud node as being in a hardware test completion state if the test module 502 determines that the received device configuration data meets the set conditions corresponding to the edge cloud node.

[0121] Optionally, the status recording module is further used to mark the edge cloud node as being in a service test completion state if the test module 502 determines that the multiple devices meet preset conditions based on the received service test results.

[0122] Optionally, the equipment testing device further includes: a software issuing module.

[0123] The software delivery module is used to send the software program that needs to be deployed on the edge cloud node to the multiple devices through the communication connection in response to a notification message triggered by a deployment personnel indicating that the hardware deployment of the edge cloud node has been completed.

[0124] Optionally, the equipment testing device further includes: a monitoring module.

[0125] The monitoring module is used to close the monitoring programs corresponding to the multiple devices before the test module 50 sends hardware test instructions to the multiple devices; and to start the monitoring program in response to the test module 502 determining that the multiple devices meet the preset conditions based on the received business test results.

[0126] Figure 5 The device test apparatus shown can realize the aforementioned Figures 2 to 3 For the system provided in the illustrated embodiment, for parts not described in detail in this embodiment, reference may be made to the relevant descriptions of the aforementioned embodiments, which will not be described again here.

[0127] In one possible design, the above Figure 5 The structure of the device testing device shown in the figure can be realized as an electronic device. The electronic device corresponds to the control subject in the above-mentioned embodiment. Figure 6 As shown, the electronic device may include: a processor 601 and a memory 602. The memory 602 stores executable code, and when the executable code is executed by the processor 601, the processor 601 can at least implement the above-mentioned Figures 2 to 3 The system provided in the illustrated embodiment.

[0128] The structure of the electronic device may also include a communication interface 603 for communicating with other devices.

[0129] In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, wherein an executable code is stored on the non-transitory machine-readable storage medium. When the executable code is executed by a processor of an electronic device, the processor executes the aforementioned Figures 2 to 3 The methods provided in the illustrated embodiments.

[0130] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the present invention can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A device testing system, characterized in that: The system includes an edge cloud node composed of multiple devices and a control entity for managing the edge cloud node; The multiple devices are used to establish a communication connection with the control subject; create a business instance according to the business test instruction of the control subject, and feed back the business test result to the control subject; The control subject is used to send the service test instruction to the multiple device nodes; determine whether the multiple devices meet the preset conditions according to the received service test results; The multiple devices are used to operate the service instance according to the service operation information in the service test instruction to obtain the service test result; The control entity is also used to bring the edge cloud node online if it is determined that the multiple devices meet preset conditions based on the received business test results.

2. The system according to claim 1, characterized in that The plurality of devices are further configured to report device configuration data to the control subject according to the hardware test instruction of the control subject; The control entity is also used to send the hardware test instructions to the multiple devices; and determine whether the received device configuration data meets the set conditions corresponding to the edge cloud node.

3. The system according to claim 2, characterized in that The control entity is also used to determine whether the multiple devices meet the preset conditions based on the business test results and the determination result of whether the device configuration data meets the set conditions corresponding to the edge cloud node.

4. The system according to claim 2, characterized in that The control entity is also used to send the business test instructions to the multiple devices if it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node.

5. The system according to claim 2, characterized in that The control subject is also used to obtain reference device configuration data corresponding to the edge cloud node; The satisfying of the setting condition corresponding to the edge cloud node means that the device configuration data received by the control entity matches the reference device configuration data.

6. The system according to claim 1, characterized in that The service test instruction includes service identification information; The multiple devices are further used to create a service instance corresponding to the service identification information.

7. The system according to claim 6, characterized in that The control entity is further used to obtain a reference business test result corresponding to the business operation information, and if the received business test result matches the reference business test result, it is determined that the multiple devices meet the preset conditions.

8. The system according to claim 2, characterized in that The control subject is also used to mark the edge cloud node as being in a hardware test completion state if it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node.

9. The system according to claim 1, characterized in that The control entity is also used to mark the edge cloud node as being in a business test completion state if it is determined that the multiple devices meet preset conditions based on the received business test results.

10. The system according to claim 1, characterized in that The control subject is further configured to send the software program to be deployed on the edge cloud node to the multiple devices through the communication connection in response to a notification message triggered by a deployment personnel indicating that the hardware deployment of the edge cloud node has been completed; The multiple devices are also used to run the software program.

11. The system according to claim 1, characterized in that The control subject is also used to shut down the monitoring programs corresponding to the multiple devices.

12. The system according to claim 11, characterized in that The control subject is also used to start the monitoring program if it is determined that the multiple devices meet the preset conditions according to the received business test results.

13. The system according to any one of claims 1 to 12, characterized in that The control entity is deployed on the central cloud node.

14. A device testing method, characterized in that: The device testing method is applied to a control subject, and the device testing method includes: Establishing a communication connection with a plurality of devices, wherein the plurality of devices constitute an edge cloud node; Sending a service test instruction to the multiple device nodes, the service test instruction is used to instruct the multiple devices to create a service instance and feedback a service test result; the multiple devices are used to operate the service instance according to the service operation information in the service test instruction to obtain the service test result; Determine whether the plurality of devices meet preset conditions according to the fed-back service test results; If it is determined according to the received service test results that the multiple devices meet the preset conditions, the edge cloud node is put online.

15. The method according to claim 14, characterized in that The method further comprises: Sending a hardware test instruction to the multiple devices, wherein the hardware test instruction is used to instruct the multiple devices to report device configuration data; Determine whether the received device configuration data meets the set conditions corresponding to the edge cloud node.

16. The method according to claim 15, characterized in that The determining whether the plurality of devices meet preset conditions according to the fed-back service test results includes: Determine whether the multiple devices meet the preset conditions based on the business test results and the determination result of whether the device configuration data meets the set conditions corresponding to the edge cloud node.

17. The method according to claim 15, characterized in that The method further comprises: If it is determined that the received device configuration data meets the set conditions corresponding to the edge cloud node, the service test instruction is sent to the multiple devices.

18. The method according to claim 15, characterized in that The method further comprises: Obtain reference device configuration data corresponding to the edge cloud node; If the received device configuration data matches the reference device configuration data, it is determined that the device configuration data satisfies the setting conditions corresponding to the edge cloud node.

19. The method according to claim 14, characterized in that The service test instruction includes service identification information.

20. The method according to claim 19, characterized in that The method further comprises: Obtaining a reference service test result corresponding to the service operation information; If the received service test result matches the reference service test result, it is determined that the multiple devices meet the preset conditions.

21. The method according to claim 15, characterized in that The method further comprises: If it is determined that the received device configuration data satisfies the set conditions corresponding to the edge cloud node, the edge cloud node is marked as being in a hardware test completion state.

22. The method according to claim 14, characterized in that The method further comprises: If it is determined according to the received service test results that the multiple devices meet the preset conditions, the edge cloud node is marked as being in a service test completion state.

23. The method according to claim 14, characterized in that The method further comprises: In response to a notification message triggered by a deployment personnel indicating that the hardware deployment of the edge cloud node has been completed, a software program that needs to be deployed on the edge cloud node is sent to the multiple devices via the communication connection.

24. The method according to claim 23, characterized in that The method further comprises: The monitoring programs corresponding to the plurality of devices are closed.

25. The method according to claim 24, characterized in that The method further comprises: If it is determined according to the received service test results that the multiple devices meet the preset conditions, the monitoring program is started.

26. The method according to any one of claims 14 to 25, characterized in that The control entity is deployed on the central cloud node.

27. A device testing apparatus, characterized in that: Applied to a control subject, the device comprises: A communication establishment module, used to establish a communication connection with a plurality of devices, wherein the plurality of devices constitute an edge cloud node; A testing module, configured to send a service test instruction to the multiple device nodes, wherein the service test instruction is used to instruct the multiple devices to create a service instance and feedback a service test result; determine whether the multiple devices meet the preset conditions according to the feedback service test result; if it is determined that the multiple devices meet the preset conditions according to the received service test result, then go online to the edge cloud node; The multiple devices are used to operate the service instance according to the service operation information in the service test instruction to obtain the service test result.

28. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the device testing method according to any one of claims 14 to 26.

29. A non-transitory machine-readable storage medium, characterized in that The non-transitory machine-readable storage medium stores executable code, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the device testing method according to any one of claims 14 to 26.