CN113381901A - Equipment test system, method, device and equipment - Google Patents

Equipment test system, method, device and equipment Download PDF

Info

Publication number
CN113381901A
CN113381901A CN202010162423.9A CN202010162423A CN113381901A CN 113381901 A CN113381901 A CN 113381901A CN 202010162423 A CN202010162423 A CN 202010162423A CN 113381901 A CN113381901 A CN 113381901A
Authority
CN
China
Prior art keywords
devices
edge cloud
service
management
cloud node
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.)
Pending
Application number
CN202010162423.9A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010162423.9A priority Critical patent/CN113381901A/en
Publication of CN113381901A publication Critical patent/CN113381901A/en
Pending legal-status Critical Current

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/12Network monitoring probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a system, a method, a device and equipment for testing equipment. The equipment testing system comprises an edge cloud node formed by a plurality of equipment and a control main body for managing the edge cloud node. The plurality of devices are used for establishing communication connection with the management and control main body; and creating a service instance according to the service test instruction of the control main body, and feeding back a service test result to the control main body. The management and control main body is used for sending a service test instruction to the plurality of equipment nodes; and determining whether the plurality of devices meet preset conditions according to the received service test result. The equipment testing system realizes automatic testing of the edge cloud nodes through the management and control main body, and improves testing efficiency of the edge cloud nodes.

Description

Equipment test system, method, device and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a system, a method, an apparatus, and a device for testing a device.
Background
With the development of cloud computing technology, the cloud computing technology is being applied to more and more technical fields.
Currently, there is a cloud computing architecture consisting of a central cloud node and edge cloud nodes. In brief, the center cloud node is farther from the user side (or the terminal side) than the edge cloud node. Moreover, the scale of the equipment contained in the central cloud node is often much larger than that of the equipment contained in the edge cloud node. Both the center cloud node and the edge cloud node can be regarded as a device cluster formed by a plurality of devices.
Some services are transferred from the center cloud node to the edge cloud node which is closer to the user side, so that corresponding services such as calculation, forwarding, storage and the like can be provided for the user nearby, the service response time delay to the user side is shortened, and the service processing pressure of the center cloud node is relieved.
After the edge cloud node is deployed, it needs to be tested to test whether it meets the requirement. At present, the testing of the edge cloud nodes is implemented by technicians on site, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a system, a method, a device and equipment for testing equipment, which are used for improving the testing efficiency of edge cloud nodes.
In a first aspect, an embodiment of the present invention provides an apparatus testing system, where the apparatus testing system includes: an edge cloud node composed of a plurality of devices and a management and control agent for managing the edge cloud node,
the plurality of devices are used for establishing communication connection with the management and control main body; creating a service instance according to the service test instruction of the control main body, and feeding back a service test result to the control main body;
the management and control main body is used for sending the service test instruction to the plurality of equipment nodes; and determining whether the plurality of devices meet preset conditions according to the received service test result.
In a second aspect, an embodiment of the present invention provides an apparatus testing method, where the apparatus testing method is applied to a management and control main body; the equipment testing method comprises the following steps:
establishing communication connection with a plurality of devices, wherein the plurality of devices form an edge cloud node;
sending a service test instruction to the equipment nodes, wherein the service test instruction is used for indicating the equipment nodes to create service instances and feeding back service test results;
and determining whether the plurality of devices meet preset conditions according to the fed back service test result.
In a third aspect, an embodiment of the present invention provides an apparatus testing device, where the apparatus testing device is configured to implement a management and control main body, and the apparatus testing device includes:
the communication establishing module is used for establishing communication connection with a plurality of devices, wherein the devices form an edge cloud node;
the test module is used for sending a service test instruction to the equipment nodes, and the service test instruction is used for indicating the equipment nodes to create a service instance and feeding back a service test result; and determining whether the plurality of devices meet preset conditions according to the fed back service test result.
In a fourth aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable code, and when the executable code is executed by the processor, the processor is enabled to implement at least the device testing method in the second aspect.
An embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the device testing method of the second aspect.
In the device testing scheme provided by the embodiment of the invention, in order to realize the testing of the edge cloud node formed by a plurality of devices, a control main body for managing the edge cloud node is constructed, so that the automatic testing of the edge cloud node is realized based on the control main body, and the testing efficiency of the edge cloud node is improved. Specifically, after the edge cloud node deployment is completed, the management and control main body establishes communication connection with a plurality of devices constituting the edge cloud node, and based on the communication connection, the management and control main body performs service testing on the plurality of devices. Specifically, the management and control main body instructs the multiple devices to create the service instances and feed back the service test results, so as to finally determine whether the multiple devices meet the preset conditions according to the service test results fed back by the multiple devices.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an apparatus test scenario according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a working process of an apparatus testing system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an operation process of another device testing system according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a device testing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus testing device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device corresponding to the device testing apparatus provided in the embodiment shown in fig. 5.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention 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, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a schematic diagram of an apparatus test scenario provided in an embodiment of the present invention, and as shown in fig. 1, the apparatus test scenario includes: two edge cloud nodes (edge cloud node a and edge cloud node B) and a management and control agent C for managing the two edge cloud nodes. In fig. 1, it is assumed that the edge cloud node a is composed of a device T1 and a device T2. Optionally, the control agent C is deployed on a central cloud node.
In practice, a central cloud node may be made up of tens of thousands of devices. The above-mentioned management and control body C may be implemented as: service instance, virtual machine, hardware device. For example, the governing body C may be implemented as a service instance deployed on one or more devices in a central cloud node. In short, the control agent C may be understood as software deployed on the central cloud node for managing each edge cloud node. Alternatively, the control agent C may also be implemented as a virtual machine deployed on one or more devices in the central cloud node. The virtual machine is provided with application software for managing each edge cloud node. Alternatively, the management and control agent C may also be implemented to set one or more hardware devices among a plurality of hardware devices forming the central cloud node, so as to manage the edge cloud node.
In practical applications, from the perspective of physical space, the control entity C, the edge cloud node a, and the edge cloud node B illustrated in fig. 1 may be located in different location areas, such as different cities. Taking the edge cloud node a as an example, assuming that the edge cloud node a is deployed in the state of hangzhou, service providers located in the state of hangzhou or around the state of hangzhou may deploy their own service instances using the edge cloud node a. For example, a service provider develops an instant messaging application, and the instant messaging application can be deployed on the edge cloud node a by the service provider, and at this time, the instant messaging application serves as a service instance.
With reference to fig. 1, the device testing scheme provided by the embodiment of the present invention is aimed at: taking the edge cloud node a as an example, after the edge cloud node a is deployed by the relevant deployment personnel, the management and control main body C tests the devices forming the edge cloud node a to test whether the devices meet the preset conditions, that is, whether the requirements are met. When the testing finds that the devices of the edge cloud node a all meet the preset conditions, the edge cloud node a may be incorporated into a cloud computing architecture for users (e.g., various service providers) to use.
In order to achieve the above object, a core idea of an apparatus testing scheme provided in an embodiment of the present invention is: by constructing the management and control main body for managing the edge cloud nodes, the automatic testing of the edge cloud nodes is realized, and the testing efficiency of the edge cloud nodes is improved. After the edge cloud node is deployed by related deployment personnel, the management and control main body establishes communication connection with a plurality of devices forming the edge cloud node, performs service test on the plurality of devices based on the communication connection, and finally determines whether the plurality of devices meet preset conditions according to a service test result, namely whether the plurality of devices pass the service test.
The working principle of the device testing system provided by the invention is described below with reference to the following embodiments.
Fig. 2 is a schematic diagram of a working process of an equipment testing system according to an embodiment of the present invention, and as shown in fig. 2, the equipment testing system includes an edge cloud node formed by a plurality of equipment and a management and control main body for managing the edge cloud node. For convenience of description, the plurality of devices constituting the edge cloud node will be hereinafter simply referred to as a plurality of devices. The process comprises the following steps:
201. the management and control main body establishes communication connection with a plurality of devices.
202. The management and control main body sends a service test instruction to the plurality of devices.
203. And the plurality of devices create the service instances according to the service test instruction.
204. And the plurality of devices feed back the service test result to the control main body.
205. And the management and control main body determines whether the plurality of devices meet preset conditions according to the service test result.
In order to meet the requirement of deploying the edge cloud nodes, the management and control main body creates an edge cloud node deployment task and informs related deployment personnel to deploy a plurality of devices for forming the edge cloud nodes. The edge cloud node deployment task comprises reference equipment configuration data corresponding to the edge cloud node.
The reference device configuration data is used for reflecting device configuration requirements corresponding to the edge cloud nodes. Optionally, the reference device configuration data corresponding to the edge cloud node includes, for example, the number of devices, network bandwidth, locations of the devices, an operating system, and the like.
In practical application, the management and control main body may 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 feed back the device configuration progress of the edge cloud node to the management and control main body based on the task identifier.
After the deployment personnel complete the deployment of the plurality of devices, the deployment personnel trigger the plurality of devices to establish communication connection with the control main body. It can be appreciated that upon completion of deployment, multiple devices have networking capabilities.
Optionally, the deployment personnel may trigger the multiple devices to establish the communication connection with the control subject based on the IP address of the control subject. Optionally, the deployment personnel may also feed back communication addresses (e.g., MAC addresses and IP addresses) of the multiple devices to the management and control entity, so that the management and control entity establishes communication connections with the multiple devices according to the communication addresses.
And then, based on the established communication connection, the management and control main body performs service test on the plurality of devices.
Specifically, the management and control body sends a service test instruction to the plurality of device nodes.
The service test instruction in this embodiment is used to enable the management and control center to obtain service test results from the multiple devices, so as to determine whether the multiple devices meet the preset conditions based on the service test results. Specifically, the preset condition includes a preset qualified condition.
After receiving the service test instruction, the multiple devices create a service instance according to the service test instruction, and feed back a service test result to the management and control main body.
Optionally, the service test instruction includes service identification information and service operation information. And the plurality of devices create a service instance corresponding to the service identification information based on the received service test instruction, and operate the service instance according to the service operation information to obtain a service test result.
The service identification information may indicate a specific service instance, such as an instant messaging application, a mailbox application, a music application, and the like. Or, the service identification information may also indicate the service instance type, so that the multiple devices obtain any service instance in the type from a preset database based on the service instance type indicated by the service identification information, and install and operate the service instance.
In essence, the service operation information corresponding to a certain service instance simulates the behavior of a user when actually using the service instance. For example, assuming that the service instance is a mailbox application, the corresponding service operation information is, for example: update username, password, send email, create address book, etc.
And after the plurality of devices execute the establishment of the corresponding service instances and the service operation based on the service test instruction, feeding back a service test result to the control main body. Therefore, the management and control main body determines whether the plurality of devices meet the preset conditions according to the received service test result.
Optionally, the management and control subject may determine whether the plurality of devices meet the preset condition according to the following manner: the management and control main body obtains a reference service test result corresponding to the service operation information, and if the received service test result is matched with the reference service test result, the plurality of devices are determined to meet preset qualification conditions. The preset qualified condition may be set as: the service test result of each device is consistent with the corresponding reference service test result.
For example, suppose a database is constructed by the service instance, and the corresponding service operation information is a summation calculation of a batch of data stored in the database. Assume that the reference traffic test result is a summation result M. Assume that the plurality of devices are device a and device b. And the management and control main body receives the actual calculation results obtained by summing and calculating the devices a and b respectively, and the actual calculation results are recorded as m1 and m 2. If M1 is consistent with M, and M2 is also consistent with M, it may be determined that the device a and the device b meet the preset pass condition, that is, the service test of the device a and the device b is passed. If M1 is not consistent with M, it may be determined that the device a does not meet the preset qualified condition, which indicates that the service test of the device a is not qualified, in this case, the management and control device may notify the deployment personnel to repair or redeploy the device a.
It should be noted that, if the management and control main body determines that the multiple devices meet the preset conditions according to the received service test result, the management and control main body may further mark that the edge cloud node is in a service test completion state. Therefore, follow-up work such as online edge cloud nodes and the like can be conveniently carried out in time according to the service test completion state.
Optionally, based on the communication connection established between the management and control main body and the multiple devices, the management and control main body may further perform hardware testing on the multiple devices.
Specifically, the management and control main body sends a hardware test instruction to the multiple devices through the established communication connection, and after the multiple devices receive the hardware test instruction, the device configuration data is reported to the management and control main body according to the hardware test instruction.
The device configuration data mainly reflects the hardware configuration condition and the corresponding operating environment condition of a plurality of devices in the edge cloud node. Optionally, the device configuration data corresponding to the edge cloud node includes, but is not limited to: the model number of the device, the number of devices, the identity of the network operators (e.g., mobile, unicom) supported by the device, network bandwidth, the location of the device, the operating system, etc.
In practical applications, there may be a plurality of edge cloud nodes managed by the management entity, and the plurality of edge cloud nodes are usually located in different location areas, such as different cities, respectively. Assuming that the multiple devices belong to different edge cloud nodes, the management and control main body may determine the correspondence between the multiple devices and the different edge cloud nodes according to the locations of the devices reported by the multiple devices. That is, multiple devices reporting the same location area correspond to the same edge cloud node.
After receiving the device configuration data reported by the multiple devices, the management and control main body judges whether the device configuration data reported by the multiple devices meet the set conditions corresponding to the corresponding edge cloud nodes. If the device configuration data reported by the multiple devices meets the set condition, the hardware test of the multiple devices is qualified.
In combination with the service test process, the management and control main body may finally determine whether the multiple devices meet the preset conditions in combination with the hardware test result and the service test result, that is, when only the hardware test result and the service test result both meet the respective corresponding conditions, the multiple devices are considered to meet the preset conditions. The hardware test result is a judgment result of whether the device configuration data reported by the multiple devices meet the set conditions corresponding to the corresponding edge cloud nodes. Specifically, the setting conditions are as follows: and the management and control main body judges whether the device configuration data reported by the devices are matched with the reference device configuration data or not according to the reference device configuration data corresponding to the edge cloud node. If the device configuration data of the plurality of devices are matched with the device configuration requirement, the hardware test of the plurality of devices is qualified.
Matching is understood to mean: and each piece of equipment configuration data in the reported equipment configuration data is consistent with the corresponding reference equipment configuration data.
For example, assume that the reference device configuration data includes a reference device number and a reference network bandwidth. Assume that the number of reference devices corresponding to the edge cloud node q is 100, and the reference network bandwidth is 100Gb/s (which means that each device should have a network bandwidth of 100 Gb/s). Further, it is assumed that the device configuration data reported by the edge cloud node q includes the number of devices and the network bandwidth. If the number of the devices reported by the edge cloud node q is 100 and the network bandwidth is 100Gb/s, it can be determined that the respective corresponding values of the reported device configuration data and the reference device configuration data are the same and the two are matched. Or, assuming 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 number of devices reported is different from the reference device number, and in order to ensure that the deployment of the edge cloud node q meets the requirement, it is still determined that the reported device configuration data is not matched with the reference device configuration data. In this case, the management and control body notifies the deployment personnel to perform the deployment or maintenance on the edge cloud node q again.
The number of devices and the network bandwidth reported by the edge cloud node q should be understood to be obtained by the management and control main body based on statistics of relevant information reported by each of the multiple devices included in the edge cloud node q. For example, the device 1, the device 2, and the device 3 included in the edge cloud node q report respective network bandwidths to the management and control main body, and if the network bandwidths of the three devices are all 100Gb/s, the management and control main body may obtain, based on the network bandwidths that the edge cloud node q includes the three devices and each device.
For another example, it is assumed that the device configuration data reported by the multiple devices includes the locations of the devices, and the reference device configuration data includes reference locations. Assuming that the reference location is the hai lake area of beijing, and the locations of the devices reported by the multiple devices are also the hai lake area of beijing, it can be determined that the locations of the devices reported by the multiple devices are matched with the reference location.
It should be noted that, for device configuration data such as a product model of a device, an operating system, and the like, the device configuration data may be different from the corresponding reference device configuration data. For example, assuming that the performances of two devices with the product models X and Y are similar, in this case, even if the product model X reported by the multiple devices and the reference product model Y are used, the product models reported by the multiple devices can be considered to match the reference product model.
It should be noted that, if the management and control main body determines that the received device configuration data meets the setting condition corresponding to the edge cloud node, it may also mark that the edge cloud node is in a hardware test completion state. Therefore, if the deployment personnel interrupt the testing of the edge cloud node due to other things, the hardware testing of the edge cloud node is not required to be performed again based on the recorded result of the state when the edge cloud node is tested again next time.
In practical application, in order to avoid the influence of the device hardware on the service test result, the hardware test process may be executed first, so that the service test process is executed again on the basis that a plurality of devices pass the hardware test. Based on this, optionally, the management and control main body may send the service test instruction to the multiple devices after determining that the received device configuration data meets the setting condition corresponding to the edge cloud node.
In the working process of the device testing system shown in fig. 2, in order to implement testing of an edge cloud node formed by a plurality of devices, a management and control main body for managing the edge cloud node is constructed, so that the edge cloud node is automatically tested based on the management and control main body, and the testing efficiency of the edge cloud node is improved. Specifically, after the edge cloud node deployment is completed, the management and control main body establishes communication connection with a plurality of devices constituting the edge cloud node, and based on the communication connection, the management and control main body performs service testing on the plurality of devices. Specifically, the management and control main body instructs the multiple devices to create the service instances and feed back the service test results, so as to finally determine whether the multiple devices meet the preset conditions according to the service test results fed back by the multiple devices. Of course, the management and control main body may also obtain the device configuration data of the multiple devices, and if it is determined that the received device configuration data meets the setting condition corresponding to the edge cloud node, it indicates that the multiple devices pass the hardware test. And then the management and control main body performs service test on the plurality of devices, and finally determines whether the plurality of devices meet preset conditions according to the service test result.
Fig. 3 is a schematic diagram of an operation process of another device testing system according to an embodiment of the present invention. As shown in fig. 3, the device testing system includes an edge cloud node formed by a plurality of devices, a management and control agent for managing the edge cloud node, and a deployment terminal corresponding to a deployment person. For convenience of description, the plurality of devices constituting the edge cloud node will be hereinafter simply referred to as a plurality of devices. The process comprises the following steps:
301. and the demand direction management and control main body sends reference equipment configuration data corresponding to the edge cloud nodes.
302. The management and control main body creates an edge cloud node deployment task and stores the reference equipment configuration data.
303. The management and control main body sends a task identifier corresponding to the edge cloud node deployment task to the deployment terminal.
304. The deployment terminal sends a notification message used for indicating that the hardware deployment of the edge cloud node is completed to the management and control main body.
305. The multiple devices establish communication connection with the control main body.
306. The management and control main body issues the software program to a plurality of devices.
307. A plurality of devices run the received software program.
308. The management and control main body closes the monitoring programs corresponding to the plurality of devices.
309. The management and control main body sends a hardware test instruction to the plurality of devices.
310. And reporting the equipment configuration data to the management and control main body by the plurality of equipment.
311. The management and control main body determines that the received equipment configuration data meet the set conditions corresponding to the edge cloud nodes.
312. The management and control main body sends a service test instruction to the plurality of devices.
313. And the plurality of devices create the service instances according to the service test instruction.
314. And the plurality of devices feed back the service test result to the control main body.
315. And determining that the plurality of devices meet preset conditions according to the service test result, and starting a monitoring program.
In order to meet the requirement for deploying the edge cloud nodes, the requirement direction management and control main body inputs reference equipment configuration data corresponding to the edge cloud nodes. The demander is a worker who proposes a related enterprise or organization deploying the edge cloud node.
In practical application, the deployment terminal is a mobile terminal device on the deployment personnel side, and a client corresponding to the management and control main body can be installed in the deployment terminal so that the deployment personnel can access the management and control main body.
After receiving the reference device configuration data corresponding to the edge cloud node, the management and control main body creates an edge cloud node deployment task, wherein the reference device configuration data corresponding to the edge cloud node and the task identifier are stored in the edge cloud node deployment task.
The management and control main body sends the task identification corresponding to the edge cloud node to the deployment terminal so as to inform relevant deployment personnel to deploy the equipment for forming the edge cloud node.
After the deployment personnel complete the deployment of the devices, the deployment terminal is triggered to send a notification message for indicating that the hardware deployment of the edge cloud node is completed to the management and control main body. After receiving the notification message, the management and control entity may establish a communication connection with a plurality of devices.
The management and control main body sends the software program which needs to be deployed at the edge cloud node to the multiple devices based on the established communication connection, so that the multiple devices can run the software program. The software program to be deployed in the edge cloud node may be used to implement basic functions of the edge cloud node, such as a computing function and a forwarding function. The software program can be understood as being configured in a plurality of devices corresponding to the edge cloud node by default.
The management and control main body further provides a monitoring function for the edge cloud nodes. Specifically, the management and control main body may have a monitoring program installed therein, and be configured to monitor operating states of the multiple devices corresponding to the edge cloud node.
In order to avoid false alarm of the monitoring program during the device test, the management and control body needs to close the monitoring program before starting the hardware test.
And after receiving the hardware test instruction, the plurality of devices report device configuration data to the management and control main body according to the hardware test instruction.
After receiving the device configuration data reported by the multiple devices, the management and control main body judges whether the device configuration data reported by the multiple devices meet the set conditions corresponding to the edge cloud nodes. If the device configuration data reported by the multiple devices meets the set condition, the hardware test of the multiple devices is passed.
The service test instruction comprises service identification information and service operation information. And the plurality of devices create a service instance corresponding to the service identification information based on the received service test instruction, and operate the service instance according to the service operation information to obtain a service test result. Therefore, the management and control main body determines whether the plurality of devices meet the preset conditions according to the received service test result. The preset conditions include preset qualified conditions.
And the management and control main body restarts the monitoring program after determining that the plurality of devices meet the preset conditions according to the received service test result.
The equipment testing system shown in fig. 3 can also realize automatic testing of the edge cloud nodes through the management and control main body, so that the testing efficiency of the edge cloud nodes is improved.
Fig. 4 is a schematic flowchart of a device testing method according to an embodiment of the present invention. The equipment testing method is applied to a control main body, and the control main body is deployed on a central cloud node. As shown in fig. 4, the device testing method may include the steps of:
401. the management and control main body establishes communication connection with a plurality of devices, wherein the plurality of devices form an edge cloud node.
402. The management and control main body sends a service test instruction to the multiple equipment nodes, and the service test instruction is used for indicating the multiple equipment nodes to create service instances and feeding back service test results.
403. And the management and control main body determines whether the plurality of devices meet preset conditions according to the fed back service test results.
Optionally, the regulatory body may be deployed on a central cloud node.
Optionally, the device testing method further includes the following steps:
the management and control main body sends a hardware test instruction to the plurality of devices, wherein the hardware test instruction is used for indicating the plurality of devices to report device configuration data; the management and control main body determines whether the received equipment configuration data meets set conditions corresponding to the edge cloud nodes. Therefore, the management and control main body finally determines whether the plurality of devices meet the preset conditions according to the service test result and the determination result of whether the device configuration data meet the set conditions corresponding to the edge cloud nodes.
Optionally, before sending the service test instruction to a plurality of devices, the method may further include the following steps: the management and control main body sends a hardware test instruction to the plurality of devices, wherein the hardware test instruction is used for indicating the plurality of devices to report device configuration data; and if the received equipment configuration data is determined to meet the set conditions corresponding to the edge cloud nodes, sending the service test instruction to the plurality of equipment. Therefore, the management and control main body finally determines whether the plurality of devices meet the preset conditions according to the service test results fed back by the plurality of devices based on the service test instruction.
For the detailed execution process of the device testing method provided in this embodiment, reference may be made to the related descriptions in the foregoing other embodiments, which are not repeated herein.
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 test apparatuses may each be constructed using commercially available hardware components configured by the steps taught in this scheme.
Fig. 5 is a schematic structural diagram of an apparatus testing device according to an embodiment of the present invention. The equipment testing device is applied to a control main body. Optionally, the regulatory body is deployed on a central cloud node. As shown in fig. 5, the device testing apparatus includes: a communication establishing module 501, a first testing module 502, a second testing module 503, and a determining module 504. The device testing apparatus includes:
a communication establishing module 501, configured to establish communication connection with a plurality of devices, where the plurality of devices form an edge cloud node;
a test module 502, configured to send a service test instruction to the multiple device nodes, where the service test instruction is used to instruct the multiple devices to create a service instance and feed back a service test result; and determining whether the plurality of devices meet preset conditions according to the fed back service test result.
Optionally, the test module 502 is further configured to send a hardware test instruction to the multiple devices, where the hardware test instruction is used to instruct the multiple devices to report device configuration data; determining whether the received equipment configuration data meets a set condition corresponding to the edge cloud node; and determining whether the plurality of devices meet preset conditions according to the service test result and the determination result of whether the device configuration data meet the set conditions corresponding to the edge cloud nodes.
Optionally, the test module 502 is further configured to send a hardware test instruction to the multiple devices, where the hardware test instruction is used to instruct the multiple devices to report device configuration data; and if the received equipment configuration data is determined to meet the set conditions corresponding to the edge cloud nodes, sending the service test instruction to the plurality of equipment.
Optionally, the test module 502 may specifically be configured to: acquiring reference equipment configuration data corresponding to the edge cloud node, and if the received equipment configuration data is matched with the reference equipment configuration data, determining that the received equipment configuration data meets a set condition corresponding to the edge cloud node.
Optionally, the service test instruction includes service identification information and service operation information. Based on this, optionally, the testing module 502 is further configured 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 a preset condition.
Optionally, the device testing apparatus further includes: and a state recording module.
The state recording module is configured to mark that the edge cloud node is in a hardware test completion state if the testing module 502 determines that the received device configuration data meets a setting condition corresponding to the edge cloud node.
Optionally, the state recording module is further configured to mark that the edge cloud node is in a service test completion state if the testing module 502 determines that the multiple devices meet the preset condition according to the received service test result.
Optionally, the device testing apparatus further includes: and a software issuing module.
The software issuing module is used for responding to a notification message which is triggered by deployment personnel and indicates that hardware deployment of the edge cloud node is completed, and sending a software program which needs to be deployed on the edge cloud node to the plurality of devices through the communication connection.
Optionally, the device testing apparatus further includes: and a monitoring module.
The monitoring module is configured to close the monitoring programs corresponding to the multiple devices before the testing module 50 sends the hardware testing instruction to the multiple devices; and in response to the test module 502 determining that the plurality of devices meet the preset conditions according to the received service test result, starting the monitoring program.
The device testing apparatus shown in fig. 5 can implement the systems provided in the embodiments shown in fig. 2 to fig. 3, and parts not described in detail in this embodiment may refer to the related descriptions of the embodiments described above, and are not described again here.
In one possible design, the structure of the device testing apparatus shown in fig. 5 described above may be implemented as an electronic device. The electronic apparatus corresponds to the regulating body in the foregoing embodiments. As shown in fig. 6, the electronic device may include: a processor 601, a memory 602. Wherein the memory 602 has stored thereon executable code, which when executed by the processor 601, at least makes the processor 601 capable of implementing the system as provided in the embodiments of fig. 2 to 3 described above.
The electronic device may further include a communication interface 603 configured to communicate with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to perform the method provided in the foregoing embodiments shown in fig. 2 to 3.
The above-described apparatus embodiments are merely illustrative, wherein the various modules illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments can be implemented by adding necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and certain aspects that make contribution to the present invention may be embodied in the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including, but not limited to, disk storage, CD-ROM, optical storage, etc.).
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (29)

1. The equipment testing system is characterized by comprising an edge cloud node consisting of a plurality of equipment and a management and control main body for managing the edge cloud node;
the plurality of devices are used for establishing communication connection with the management and control main body; creating a service instance according to the service test instruction of the control main body, and feeding back a service test result to the control main body;
the management and control main body is used for sending the service test instruction to the plurality of equipment nodes; and determining whether the plurality of devices meet preset conditions according to the received service test result.
2. The system according to claim 1, wherein the plurality of devices are further configured to report device configuration data to the management and control main body according to a hardware test instruction of the management and control main body;
the management and control main body is further used for sending the hardware test instruction to the plurality of devices; determining that the received device configuration data meets a set condition corresponding to the edge cloud node.
3. The system according to claim 2, wherein the management and control body is further configured to determine whether the plurality of devices meet a preset condition according to a determination result of whether the service test result and the device configuration data meet a set condition corresponding to the edge cloud node.
4. The system according to claim 2, wherein the management and control body is further configured to send the service test instruction to the multiple devices if it is determined that the received device configuration data meets a set condition corresponding to the edge cloud node.
5. The system according to claim 2, wherein the management and control agent is further configured to obtain reference device configuration data corresponding to the edge cloud node;
the meeting of the setting condition corresponding to the edge cloud node is as follows: the device configuration data received by the governing body is matched with the reference device configuration data.
6. The system according to claim 1, wherein the service test instruction includes service identification information and service operation information;
the multiple devices are further configured to create a service instance corresponding to the service identification information, and operate the service instance according to the service operation information to obtain the service test result.
7. The system according to claim 6, wherein the management and control body is further configured 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, determine that the multiple devices meet a preset condition.
8. The system according to claim 2, wherein the management and control body is further configured to mark the edge cloud node as a hardware test completion state if it is determined that the received device configuration data meets a set condition corresponding to the edge cloud node.
9. The system according to claim 1, wherein the management and control body is further configured to mark that the edge cloud node is in a service test completion state if it is determined that the multiple devices meet a preset condition according to the received service test result.
10. The system of claim 1, wherein the management and control entity is further configured to send, to the plurality of devices via the communication connections, a software program to be deployed at the edge cloud node in response to a notification message triggered by deployment personnel indicating that hardware deployment of the edge cloud node has been completed;
the plurality of devices are further configured to run the software program.
11. The system of claim 1, wherein the management entity is further configured to shut down monitoring programs corresponding to the plurality of devices.
12. The system according to claim 11, wherein the management and control body is further configured to start the monitoring program if it is determined that the multiple devices meet a preset condition according to the received service test result.
13. The system according to any one of claims 1 to 12, wherein the governing body is deployed on a central cloud node.
14. The equipment testing method is applied to a management and control main body and comprises the following steps:
establishing communication connection with a plurality of devices, wherein the plurality of devices form an edge cloud node;
sending a service test instruction to the equipment nodes, wherein the service test instruction is used for indicating the equipment nodes to create service instances and feeding back service test results;
and determining whether the plurality of devices meet preset conditions according to the fed back service test result.
15. The method of claim 14, further comprising:
sending a hardware test instruction to the plurality of devices, wherein the hardware test instruction is used for indicating the plurality of devices to report device configuration data;
determining whether the received device configuration data meets a set condition corresponding to the edge cloud node.
16. The method of claim 15, wherein the determining whether the plurality of devices meet a preset condition according to the fed back service test result comprises:
and determining whether the plurality of devices meet preset conditions according to the service test result and the determination result of whether the device configuration data meet the set conditions corresponding to the edge cloud nodes.
17. The method of claim 15, further comprising:
and if the received equipment configuration data is determined to meet the set conditions corresponding to the edge cloud nodes, sending the service test instruction to the plurality of equipment.
18. The method of claim 15, further comprising:
acquiring reference equipment configuration data corresponding to the edge cloud node;
and if the received equipment configuration data is matched with the reference equipment configuration data, determining that the equipment configuration data meets the set conditions corresponding to the edge cloud nodes.
19. The method of claim 14, wherein the service test command comprises service identification information and service operation information.
20. The method of claim 19, further comprising:
acquiring a reference service test result corresponding to the service operation information;
and if the received service test result is matched with the reference service test result, determining that the plurality of devices meet the preset conditions.
21. The method of claim 15, further comprising:
and if the received equipment configuration data is determined to meet the set conditions corresponding to the edge cloud nodes, marking the edge cloud nodes to be in a hardware test completion state.
22. The method of claim 14, further comprising:
and if the plurality of devices are determined to meet the preset conditions according to the received service test result, marking that the edge cloud node is in a service test completion state.
23. The method of claim 14, further comprising:
and in response to a notification message triggered by deployment personnel and indicating that hardware deployment of the edge cloud node is completed, sending a software program required to be deployed at the edge cloud node to the plurality of devices through the communication connection.
24. The method of claim 23, further comprising:
and closing the monitoring programs corresponding to the plurality of devices.
25. The method of claim 24, further comprising:
and if the plurality of devices are determined to meet the preset conditions according to the received service test results, starting the monitoring program.
26. The method of any one of claims 14 to 25, wherein the governing body is deployed on a central cloud node.
27. The utility model provides an equipment testing device which characterized in that is applied to the management and control main part, the device includes:
the communication establishing module is used for establishing communication connection with a plurality of devices, wherein the devices form an edge cloud node;
the test module is used for sending a service test instruction to the equipment nodes, and the service test instruction is used for indicating the equipment nodes to create a service instance and feeding back a service test result; and determining whether the plurality of devices meet preset conditions according to the fed back service test result.
28. An electronic device, comprising: a processor and a memory, wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the device testing method of any of claims 14 to 26.
29. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the device testing method of any one of claims 14 to 26.
CN202010162423.9A 2020-03-10 2020-03-10 Equipment test system, method, device and equipment Pending CN113381901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010162423.9A CN113381901A (en) 2020-03-10 2020-03-10 Equipment test system, method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010162423.9A CN113381901A (en) 2020-03-10 2020-03-10 Equipment test system, method, device and equipment

Publications (1)

Publication Number Publication Date
CN113381901A true CN113381901A (en) 2021-09-10

Family

ID=77569515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010162423.9A Pending CN113381901A (en) 2020-03-10 2020-03-10 Equipment test system, method, device and equipment

Country Status (1)

Country Link
CN (1) CN113381901A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170013456A1 (en) * 2015-07-10 2017-01-12 Xiaomi Inc. Method and device for testing a terminal
CN107770786A (en) * 2016-08-15 2018-03-06 中国移动通信有限公司研究院 A kind of method of testing of network performance, equipment and system
CN108153635A (en) * 2018-01-18 2018-06-12 郑州云海信息技术有限公司 Installed System Memory marginal test method, system equipment and computer readable storage medium
CN108874596A (en) * 2017-05-08 2018-11-23 龙芯中科技术有限公司 server stability test method and server
CN109981771A (en) * 2019-03-22 2019-07-05 长安大学 A kind of bus or train route communication test system and test method based on 5G technology
CN110083510A (en) * 2019-05-06 2019-08-02 深圳市网心科技有限公司 Fringe node test method, electronic equipment, system and medium
CN110166328A (en) * 2019-07-05 2019-08-23 南方电网科学研究院有限责任公司 A kind of test device of demand response equipment
CN110398264A (en) * 2019-07-31 2019-11-01 联想(北京)有限公司 A kind of equipment condition monitoring method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170013456A1 (en) * 2015-07-10 2017-01-12 Xiaomi Inc. Method and device for testing a terminal
CN107770786A (en) * 2016-08-15 2018-03-06 中国移动通信有限公司研究院 A kind of method of testing of network performance, equipment and system
CN108874596A (en) * 2017-05-08 2018-11-23 龙芯中科技术有限公司 server stability test method and server
CN108153635A (en) * 2018-01-18 2018-06-12 郑州云海信息技术有限公司 Installed System Memory marginal test method, system equipment and computer readable storage medium
CN109981771A (en) * 2019-03-22 2019-07-05 长安大学 A kind of bus or train route communication test system and test method based on 5G technology
CN110083510A (en) * 2019-05-06 2019-08-02 深圳市网心科技有限公司 Fringe node test method, electronic equipment, system and medium
CN110166328A (en) * 2019-07-05 2019-08-23 南方电网科学研究院有限责任公司 A kind of test device of demand response equipment
CN110398264A (en) * 2019-07-31 2019-11-01 联想(北京)有限公司 A kind of equipment condition monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐小平;: "云计算环境下的软件测试服务分析", 电脑与电信, no. 03 *

Similar Documents

Publication Publication Date Title
US10667151B2 (en) Coverage solution recommendation tool
CN109636309B (en) Task processing method and device, electronic equipment and storage medium
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
US10198284B2 (en) Ensuring operational integrity and performance of deployed converged infrastructure information handling systems
CN106911648B (en) Environment isolation method and equipment
CN105867837A (en) Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
US11636016B2 (en) Cloud simulation and validation system
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
CN112600870A (en) Cloud-assisted management of devices
US20230034901A1 (en) Resource pool management system, resource pool management method and program
CN112527912A (en) Data processing method and device based on block chain network and computer equipment
US20220337493A1 (en) Report generation from testing a test application in a network-as-a-service
CN113645314B (en) Private cloud deployment method and server
CN115812298A (en) Block chain management of supply failure
CN114363334A (en) Network configuration method, device and equipment for cloud system and cloud desktop virtual machine
EP3709571A1 (en) Device management clustering
CN111628903B (en) Monitoring method and monitoring system for transaction system running state
CN111367810B (en) Test environment generation method, device, system, electronic equipment and readable medium
CN114513419A (en) Security policy configuration method and system
WO2023124241A1 (en) Service testing method, server, terminal device and storage medium
CN113381901A (en) Equipment test system, method, device and equipment
EP4187864A1 (en) Landscape model verification system
US20230040676A1 (en) Network service construction system and network service construction method
CN115037573A (en) Network interconnection method, device, equipment and storage medium
Winasis et al. Design and Implementation of Network Monitoring System on Local Area Network with Social Media Twitter Notification

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