Cloud testing method, device, equipment and storage medium for smart home devices

By automatically configuring the communication between smart home devices and cloud servers and automatically generating test reports, the inefficiency and high cost caused by manual participation in cloud testing is solved, and an efficient and automated test process is achieved.

CN113326068BActive Publication Date: 2025-04-11FOSHAN QITE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110753135.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-02
Publication Date
2025-04-11
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

Manual participation is required during the cloud testing of existing smart home devices, resulting in inefficiency and high labor costs.

Method used

By automatically configuring smart home devices, they can communicate with cloud servers, and automatically generate cloud testing reports to reduce manual participation.

Benefits of technology

It improves the efficiency of cloud testing, reduces labor costs, and realizes an automated test process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113326068B_ABST
    Figure CN113326068B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a cloud testing method, device, equipment and storage medium for smart home devices. The embodiment of the present invention configures the smart home devices to realize the function of communication between the smart home devices and the cloud server; controls the smart home devices to send feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules and obtains the verification results; controls the cloud server to send control instructions to the smart home devices, obtains the action execution results fed back by the smart home devices, generates a cloud test report according to the verification results and the action execution results, and the control instructions are used to control the smart home devices to perform corresponding actions. The technical problem that the cloud testing process in the prior art requires manual participation, resulting in low efficiency of cloud testing of smart home devices, is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of cloud testing, and in particular to a cloud testing method, apparatus, device and storage medium for smart home devices. Background Art

[0002] In the field of smart home, cloud testing refers to the testing of the process of smart home devices uploading data to cloud servers, obtaining control instructions from cloud servers and executing corresponding actions. Smart home devices need to be tested on the cloud before leaving the factory to ensure that they can work normally.

[0003] Currently, when testing smart home devices on the cloud, most of the work needs to be done manually. For example, when smart home devices upload data to the cloud server, they need to be manually configured, and querying the cloud test results on the cloud or terminal requires manual query. The need for manual participation in the cloud testing process leads to low efficiency and high labor costs. Summary of the invention

[0004] The embodiments of the present invention provide a method, apparatus, device and storage medium for cloud testing of smart home devices. This solution can automatically configure smart home devices and automatically generate cloud testing reports during the cloud testing process, solving the technical problem that the current cloud testing process requires manual participation, resulting in low efficiency of cloud testing.

[0005] In a first aspect, an embodiment of the present invention provides a cloud testing method for a smart home device, comprising the following steps:

[0006] Configuring smart home devices to enable communication between the smart home devices and a cloud server;

[0007] Controlling the smart home device to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules to obtain a verification result;

[0008] Control the cloud server to send control instructions to the smart home device, obtain the action execution result fed back by the smart home device, and generate a cloud test report according to the verification result and the action execution result. The control instruction is used to control the smart home device to perform corresponding actions.

[0009] Preferably, the specific process of configuring the smart home device so that the smart home device can communicate with the cloud server is as follows:

[0010] Sending device information of the smart home device to the cloud server, so that the cloud server obtains configuration information corresponding to the device information, and sends the configuration information to the configuration control terminal;

[0011] The configuration control terminal is controlled to configure the smart home device according to the configuration information to realize the function of communication between the smart home device and the cloud server.

[0012] Preferably, the configuration information includes a login ID and a login password for connecting to the cloud server and device linkage rules of the smart home device.

[0013] Preferably, a barcode containing device ID information is affixed to the smart home device;

[0014] Before sending the acquired characteristic data of the smart home device to the cloud server, the method further includes:

[0015] Scan the barcode with a barcode scanner to obtain the device ID;

[0016] The device ID is sent to the cloud server.

[0017] Preferably, the specific process of enabling the cloud server to verify the feature data according to the verification rules is:

[0018] The cloud server obtains the verification rules corresponding to the device ID, verifies the feature data according to the verification rules, and obtains the verification result.

[0019] Preferably, the control instruction is used to control the smart home device to perform an action corresponding to the device linkage rule.

[0020] Preferably, the method further comprises the following steps:

[0021] The cloud testing report is stored in the database.

[0022] In a second aspect, an embodiment of the present invention further provides a cloud testing device for smart home devices, comprising:

[0023] A device configuration module, used to configure the smart home device so that the smart home device can communicate with the cloud server;

[0024] A verification module, used to control the smart home device to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules to obtain a verification result;

[0025] The report generation module is used to enable the cloud server to send control instructions to the smart home device, obtain the action execution results fed back by the smart home device, and generate a cloud test report according to the verification results and the action execution results. The control instructions are used to control the smart home device to perform corresponding actions.

[0026] In a third aspect, an embodiment of the present invention further provides a cloud testing device for smart home devices, the device comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the cloud testing method for smart home devices as described in the first aspect.

[0027] In a fourth aspect, an embodiment of the present invention further provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute the cloud testing method on smart home devices as described in the first aspect.

[0028] In an embodiment of the present invention, the smart home device is first configured to realize the function of communication between the smart home device and the cloud server; then, the characteristic data of the smart home device is sent to the cloud server, so that the cloud server verifies the characteristic data according to the verification rules and obtains the verification result; then, the cloud server is controlled to send a control instruction to the smart home device to obtain the action execution result fed back by the smart home device, and finally a cloud test report is generated according to the verification result and the action execution result, and the control instruction is used to control the smart home device to perform the corresponding action. The present invention can automatically configure the smart home device during the cloud test process, and can automatically generate a cloud test report according to the verification result and the action execution result. No human participation is required during the cloud test process, thereby improving the efficiency of the cloud test and solving the technical problem that the current cloud test process requires human participation, resulting in low efficiency of the cloud test. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A method flow chart of a device cloud testing method provided by an embodiment of the present invention.

[0030] Figure 2 A method flow chart of another device cloud testing method provided by an embodiment of the present invention.

[0031] Figure 3 A schematic diagram of configuring a device provided in an embodiment of the present invention.

[0032] Figure 4 A schematic diagram of performing cloud testing on a device provided in an embodiment of the present invention.

[0033] Figure 5 A schematic diagram of the structure of a device-on-cloud testing apparatus provided by an embodiment of the present invention.

[0034] Figure 6 A schematic diagram of the structure of a device-on-device cloud testing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0036] The on-device cloud testing method provided in the embodiments of the present application can be executed by an on-device cloud testing device, which can be implemented by software and / or hardware, and can be composed of two or more physical entities or one physical entity.

[0037] Embodiment 1

[0038] Figure 1 This is a flow chart of a cloud testing method for a smart home device provided by an embodiment of the present invention. This embodiment can be applied to cloud testing of smart home devices, and specifically includes the following steps:

[0039] Step 101: configure the smart home device to enable communication between the smart home device and the cloud server.

[0040] In this embodiment, since the smart home devices of the smart home system need to be automatically controlled by the cloud server, before the smart home devices are tested on the cloud, the various parameters in the smart home devices have not been set, and the smart home devices cannot communicate with the cloud server. Therefore, it is necessary to first configure the smart home devices to realize the communication function between the smart home devices and the cloud server. The process of configuring the smart home devices in the parameters of the smart home devices can be set according to actual needs. Exemplarily, the smart home devices of the smart home system include sensors and controllers. The process of configuring the smart home devices can be to set the sensor parameters, controller parameters, network connection parameters and device linkage rules in the smart home devices to realize the communication function between the smart home devices and the cloud server, so that the cloud server can obtain the data uploaded by the sensors of the smart home devices, and control the smart home devices through the controllers of the smart home devices to perform actions corresponding to the device linkage rules.

[0041] Step 102: Control the smart home device to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules to obtain a verification result.

[0042] In this embodiment, after configuring the smart home device so that the smart home device can communicate with the cloud server, it is necessary to first determine whether the smart home device can send data to the cloud server. Therefore, the smart home device is controlled to send feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rule and generates a verification result. In this embodiment, the feature data and the verification rule can be set according to actual needs. For example, in one embodiment, the feature data of the smart home device is the temperature data collected by the sensor of the smart home device. The verification rule is: the temperature is less than 50°. After controlling the smart home device to send the temperature data to the cloud server, the cloud server determines whether the temperature in the temperature data is less than 50°. Since the environment of the smart home device of the smart home system is an indoor environment, the indoor temperature generally does not exceed 50°. If so, it means that the sensor of the smart home device can work normally, and a verification report containing "the temperature data sent by the smart home device is received, and the temperature data of the smart home device is normal" is generated. If not, it means that the sensor of the smart home device is faulty, and a verification report containing "the temperature data sent by the smart home device is received, and the temperature data of the smart home device is abnormal" is generated. This allows the staff to know whether the smart home device can communicate with the cloud server and whether the temperature sensor of the smart home device is normal. If the cloud server does not receive the characteristic data sent by the smart home device, a verification report is directly generated. The verification report contains the content of whether the characteristic data sent by the smart home device is received, so that the staff can know that the smart home device cannot send characteristic data to the cloud server and troubleshoot the fault of the smart home device.

[0043] Step 103: Control the cloud server to send control instructions to the smart home device, obtain the action execution results fed back by the smart home device, and generate a cloud test report based on the verification results and the action execution results. The control instructions are used to control the smart home device to perform corresponding actions.

[0044] After the verification result is generated, it is necessary to further determine whether the smart home device can perform the corresponding action according to the control instruction of the cloud server. The cloud server is controlled to send the control instruction to the smart home device. After receiving the control instruction, the smart home device performs the action corresponding to the control instruction. Exemplarily, in one embodiment, the smart home device is a smart air conditioner. The cloud server sends a control instruction of "start cooling mode" to the smart air conditioner. After receiving the control instruction, the smart air conditioner starts the cooling mode. After that, the cloud server obtains the action execution result fed back by the smart home device. For example, after the smart air conditioner starts the cooling mode according to the control instruction, it feeds back the action execution result containing "successfully started the smart mode" to the cloud server. If the smart air conditioner does not start the cooling mode after receiving the control instruction, it feeds back the action execution result containing the content "the cooling mode is not started" to the cloud server. After receiving the action execution result fed back by the smart home device, the cloud server generates a cloud test report according to the verification result and the action execution result. In one embodiment, if the verification report generated by the cloud server includes the content that the characteristic data sent by the smart home device is received, the characteristic data of the smart home device is normal, and the action execution result fed back by the smart home device is that the smart home device can execute the action in the control instruction, then a cloud test report containing the content "the characteristic data sent by the smart home device is received, the characteristic data of the smart home device is normal, and the smart home device can execute the corresponding action according to the control instruction" is generated. It can be understood that the content of the cloud test report can be set according to actual needs, and the specific content of the cloud test report is not limited in this embodiment.

[0045] As described above, the smart home devices can be automatically configured during the cloud testing process, and the cloud server can verify the feature data uploaded by the smart home devices according to the verification rules to obtain the verification results. Finally, the cloud server generates a cloud testing report based on the action execution results and verification results fed back by the smart home devices. No human participation is required during the cloud testing process, which improves the efficiency of the cloud testing and reduces labor costs. This solves the technical problem in the prior art that human participation is required during the cloud testing process, resulting in low efficiency of the cloud testing.

[0046] Embodiment 2

[0047] Figure 2 This is a flow chart of another method for cloud testing of smart home devices provided by an embodiment of the present invention. The method can be implemented by cloud testing of smart home devices on smart home devices, specifically comprising the following steps:

[0048] Step 201: Send device information of the smart home device to the cloud server, so that the cloud server obtains configuration information corresponding to the device information, and sends the configuration information to the configuration control terminal.

[0049] Since there are many smart home devices in the smart home system, before configuring the smart home devices, the device information of the smart home devices needs to be sent to the cloud server, so that the cloud server can obtain the configuration information corresponding to the device information, thereby correctly configuring the smart home devices. In one embodiment, the device information includes the model information of the smart home device and the firmware version information of the smart home device. The cloud server obtains the configuration information corresponding to the signal information and the firmware version information of the smart home device. The process of the cloud server obtaining the configuration information can be set according to actual needs. For example, the configuration information can be obtained on the Internet or in a database. This embodiment does not limit the specific process of obtaining the configuration information. After obtaining the configuration information, the configuration information is sent to the configuration control terminal, and the smart home device is configured through the configuration control terminal. In this embodiment, the configuration control terminal is a smart home device that can process data, such as a computer, a mobile phone, a tablet computer and other smart home devices.

[0050] In one embodiment, the configuration information includes a login ID (login identification) for connecting to a cloud server, a login password, and device linkage rules for smart home devices.

[0051] In this embodiment, since the purpose of configuring the smart home device is to realize the function of communication between the smart home device and the cloud server, the configuration information includes the login ID and login password connected to the cloud server, so that the smart home device can log in to the cloud according to the login ID and login password and establish a connection with the cloud server. In addition, since the smart home devices need to be linked in the smart home system, it is also necessary to obtain the linkage rules corresponding to the smart home devices to configure the smart home devices, so that the subsequent smart home devices can realize the smart home device linkage function. In one embodiment, in addition to the login ID, login password of the cloud server and the device linkage rules of the smart home device, the configuration information also includes the sensor ID of the smart home device, the controller ID of the smart home device and the bus ID. The cloud server configures the sensor, controller and bus ID of the smart home device respectively, so that different smart home devices can be identified according to the bus ID in the future, and different sensors and controllers in the same smart home device can be identified according to the sensor ID and controller ID.

[0052] Step 202: Control the configuration: The control terminal configures the smart home device according to the configuration information to realize the function of communication between the smart home device and the cloud server.

[0053] After the configuration information is sent to the configuration control terminal, the configuration control terminal is controlled to configure the smart home device according to the configuration information. Exemplarily, the process of configuring the smart home device can be to configure the smart home device according to the login ID and login password of the cloud server, so that the smart home device logs in to the cloud according to the login ID and login password and communicates with the cloud server. It can also be to configure the smart home device according to the device linkage rule, so that the smart home device can realize the linkage function of the smart home device according to the device linkage rule.

[0054] In one embodiment, a schematic diagram of configuring a smart home device is shown in FIG. Figure 3 As shown. Figure 3 In the present invention, the smart home device is connected to the cloud server through the network cable port, the configuration control terminal is connected to the smart home device through the 485 interface, and the configuration control terminal is connected to the cloud server through Ethernet. After the smart home device is powered on, the smart home device is controlled to upload the model information and firmware version information to the cloud server through the network cable port. The cloud server obtains the configuration information corresponding to the smart home device from the database according to the model information and firmware version information of the smart home device. The configuration information includes the login ID and login password of the cloud server and the device linkage rules of the smart home device. After that, the cloud server sends the configuration information to the configuration control terminal. The configuration control terminal burns the configuration information into the smart home device through the 485 protocol to complete the configuration process of the smart home device, so that the smart home device can log in to the cloud through the login ID and login password, and realize the function of communicating with the cloud server.

[0055] Step 203: Send the acquired feature data of the smart home device to the cloud server, so that the cloud server verifies the feature data according to the verification rules to obtain a verification result.

[0056] In one embodiment, a barcode containing device ID information is attached to the smart home device;

[0057] It can be understood that the device ID is a unique identifier of each smart home device. The corresponding smart home device can be found through the device ID. In this embodiment, the device ID information is pre-stored in the barcode, and the barcode is pasted on the corresponding smart home device.

[0058] Before controlling the smart home device to send feature data to the cloud server, it also includes:

[0059] Step 2031, scan the barcode with a barcode scanner to obtain the device ID.

[0060] The barcode of each smart home device is scanned by a barcode scanner to obtain the device ID corresponding to each smart home device. For example, the device ID of the smart air conditioner is preset to 014 and the device ID of the smart speaker is preset to 025. The smart air conditioner and the smart speaker are both pasted with a barcode containing the device ID. By scanning the barcode of each smart home device with a barcode scanner, the device ID of the smart air conditioner is 014 and the device ID of the smart speaker is 025.

[0061] Step 2032: Send the device ID to the cloud server.

[0062] After obtaining the device ID of each smart home device through the barcode scanner, the device ID of each smart home device is sent to the cloud server, so that the cloud server binds each smart home device with the device ID corresponding to each smart home device, so as to identify each smart home device later. In one embodiment, the cloud test smart home device on the smart home device is a test control terminal, and a barcode scanner is connected to the test control terminal. After scanning the barcode on the smart air conditioner with the barcode scanner to obtain the device ID 014 of the smart air conditioner, the device ID 014 of the smart air conditioner is sent to the cloud server, so that the cloud server binds the smart air conditioner and the device ID 014.

[0063] In one embodiment, the specific process of enabling the cloud server to verify the feature data according to the verification rules is as follows:

[0064] The cloud server obtains the verification rules corresponding to the device ID, verifies the feature data according to the verification rules, and obtains the verification result.

[0065] After receiving the characteristic data sent by the smart home device, the cloud server can obtain the verification rules corresponding to each smart home device according to the device ID, and verify the characteristic data uploaded by each smart home device according to the verification rules to obtain the verification result. Exemplarily, in one embodiment, the characteristic data is environmental data, including temperature data, humidity data, and light intensity data. The verification rules corresponding to each device ID are pre-formulated. For example, for the smart air conditioner with device ID 032, the verification rule with device ID 032 is set as follows: the temperature data is less than 50° and the humidity data is less than 100%. After receiving the environmental data sent by the smart air conditioner with device ID 032, the verification rules with device ID 032 are obtained according to the device ID of the smart air conditioner, and the environmental data is verified to determine whether the temperature data in the environmental data is less than 50° and whether the humidity data is less than 100%. After the determination is completed, the verification result can be obtained. In one embodiment, after obtaining the verification result, the cloud server sends the verification result to the test control terminal for visual display so that the staff can know the verification result.

[0066] Step 204: Control the cloud server to send control instructions to the smart home device, obtain the action execution results fed back by the smart home device, and generate a cloud test report based on the verification results and the action execution results. The control instructions are used to control the smart home device to perform corresponding actions.

[0067] In one embodiment, the control instruction is used to control the smart home device to perform an action corresponding to the device linkage rule. Since the device linkage rule corresponding to the smart home device is configured when the smart home device is configured, the control instruction sent by the cloud server to the smart home device is set to control the smart home device to perform the action in the device linkage rule corresponding to the smart home device, so as to determine whether the smart home device can realize the smart home device linkage function. Exemplary, for example, a device linkage rule is that when the brightness is too low, the light can be turned on and the smart curtains can be opened. When configuring the smart switch, the device linkage rule is burned into the smart switch. Afterwards, the cloud server is controlled to send a control instruction to the smart switch, so that the smart light executes the action of turning on the smart light in the device linkage rule according to the control instruction.

[0068] Step 205: Store the cloud test report in the database.

[0069] After the cloud test report is generated, it is stored in the database. When the user needs the cloud test report of a smart home device, it can be retrieved from the database, avoiding data loss and ensuring data security.

[0070] In one embodiment, a schematic diagram of performing cloud testing on smart home devices is shown as follows: Figure 4 As shown, in Figure 4 In the process, the smart home device is connected to the cloud server, the test control terminal is connected to the cloud server, and a barcode scanner is connected to the test control terminal. When the cloud test is performed, the barcode of each smart home device is scanned by the barcode scanner to obtain the device ID corresponding to each smart home device. After that, the barcode scanner sends the device ID of each smart home device to the test control terminal, and the test control terminal sends the device ID of each smart home device to the cloud server, so that the cloud server binds each smart home device with the device ID corresponding to each smart home device. After that, the smart home device is controlled to send the feature data to the cloud server, and the cloud server obtains the verification rules corresponding to each smart home device according to the device ID, verifies the feature data uploaded by each smart home device according to the verification rules, obtains the verification result, and sends the verification result to the test control terminal for visual display. After that, the cloud server is controlled to send control instructions to the smart home device, obtains the action execution result fed back by the smart home device, generates a cloud test report according to the verification result and the action execution result, and stores the cloud test report in the database to complete the cloud test process.

[0071] As described above, the smart home devices can be automatically configured during the cloud testing process, and the cloud server can verify the feature data uploaded by the smart home devices according to the verification rules to obtain the verification results. Finally, the cloud server generates a cloud testing report based on the action execution results and verification results fed back by the smart home devices. No human participation is required during the cloud testing process, which improves the efficiency of the cloud testing and reduces labor costs. This solves the technical problem in the prior art that human participation is required during the cloud testing process, resulting in low efficiency of the cloud testing.

[0072] Embodiment 3

[0073] Figure 5 This is a structural diagram of a cloud testing device on a smart home device provided by an embodiment of the present invention. In this embodiment, the cloud testing device on a smart home device includes:

[0074] The device configuration module 301 is used to configure the smart home device so that the smart home device can communicate with the cloud server;

[0075] The verification module 302 is used to control the smart home device to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules and obtains the verification result;

[0076] The report generation module 303 is used to enable the cloud server to send control instructions to the smart home device, obtain the action execution results fed back by the smart home device, and generate a cloud test report based on the verification results and the action execution results. The control instructions are used to control the smart home device to perform corresponding actions.

[0077] Based on the above embodiment, the device configuration module 301 includes a configuration information acquisition sub-module, which is used to send the device information of the smart home device to the cloud server, so that the cloud server obtains the configuration information corresponding to the device information and sends the configuration information to the configuration control terminal; the configuration sub-module is used to control the configuration control terminal to configure the smart home device according to the configuration information, so as to realize the function of communication between the smart home device and the cloud server.

[0078] Based on the above embodiment, the configuration information includes a login ID and a login password for connecting to a cloud server and device linkage rules of smart home devices.

[0079] Based on the above embodiment, a barcode containing device ID information is attached to the smart home device;

[0080] The smart home device cloud testing device also includes a device ID acquisition module, which is used to scan the barcode by a barcode scanner to obtain the device ID; and a device ID sending module, which is used to send the device ID to the cloud server.

[0081] On the basis of the above embodiment, the verification module 302 is specifically used to enable the cloud server to obtain the verification rules corresponding to the device ID, verify the feature data according to the verification rules, and obtain the verification result.

[0082] Based on the above embodiment, the control instruction is used to control the smart home device to execute an action corresponding to the device linkage rule.

[0083] On the basis of the above-mentioned embodiment, the cloud testing device for smart home devices further includes a storage module for storing the cloud testing report in a database.

[0084] Figure 6 A schematic diagram of a cloud testing device for a smart home device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the device includes a processor 401, a memory 402, an input device 403 and an output device 404; the number of processors 401 in the device can be one or more. Figure 6 A processor 401 is taken as an example; the processor 401, memory 402, input device 403 and output device 404 in the device can be connected by a bus or other means. Figure 6The example of the connection via bus is taken. The memory 402, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the cloud testing method on smart home devices in the embodiment of the present invention. The processor 401 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 402, that is, implements the cloud testing method on smart home devices mentioned above. The input device 403 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 404 may include display devices such as display screens.

[0085] An embodiment of the present invention further provides a storage medium containing computer executable instructions, which are used to execute a cloud testing method on a smart home device when executed by a computer processor. The method includes:

[0086] Configure smart home devices to enable communication between smart home devices and cloud servers;

[0087] Control the smart home device to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rules and obtains the verification result;

[0088] The control cloud server sends control instructions to smart home devices, obtains the action execution results fed back by the smart home devices, and generates a cloud test report based on the verification results and action execution results. The control instructions are used to control the smart home devices to perform corresponding actions.

[0089] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims

1. A cloud testing method for smart home devices, characterized in that: The following steps are involved: Configuring a smart home device to achieve a function of communication between the smart home device and a cloud server, including: sending device information of the smart home device to the cloud server so that the cloud server obtains configuration information corresponding to the device information, including: obtaining configuration information corresponding to the smart home device according to model information and firmware version information of the smart home device, and sending the configuration information to a configuration control terminal, controlling the configuration control terminal to configure the smart home device according to the configuration information, wherein the configuration information includes an ID of a sensor of the smart home device, an ID of a controller of the smart home device, and an ID of a bus, and the configuration information also includes a login ID and a login password connected to the cloud server and a device linkage rule of the smart home device; Control the smart home device to send feature data to the cloud server, so that the cloud server obtains a verification rule corresponding to the device ID, verifies the feature data according to the verification rule, and obtains a verification result. If the cloud server does not receive the feature data, a verification result including a prompt that the feature data is not received is generated, wherein the feature data is environmental data collected by a sensor of the smart home device, and the environmental data includes temperature data, humidity data, and light intensity data; Control the cloud server to send control instructions to the smart home device, obtain the action execution result fed back by the smart home device, and generate a cloud test report according to the verification result and the action execution result. The control instruction is used to control the smart home device to perform corresponding actions.

2. According to claim 1, a cloud testing method for smart home devices is characterized in that: A barcode containing device ID information is affixed to the smart home device; Before sending the acquired characteristic data of the smart home device to the cloud server, the method further includes: Scan the barcode with a barcode scanner to obtain the device ID; The device ID is sent to the cloud server.

3. The cloud testing method for smart home devices according to claim 1, characterized in that: The control instruction is used to control the smart home device to execute an action corresponding to the device linkage rule.

4. The cloud testing method for smart home devices according to claim 1, characterized in that: The following steps are also included: The cloud testing report is stored in the database.

5. A cloud testing device for smart home devices, characterized in that: include A device configuration module, used to configure a smart home device so that the smart home device can communicate with a cloud server. The device configuration module is specifically used to send device information of the smart home device to the cloud server so that the cloud server obtains configuration information corresponding to the device information. The device configuration module is specifically used to obtain configuration information corresponding to the smart home device according to model information and firmware version information of the smart home device, and send the configuration information to a configuration control terminal to control the configuration control terminal to configure the smart home device according to the configuration information, wherein the configuration information includes an ID of a sensor of the smart home device, an ID of a controller of the smart home device, and an ID of a bus. The configuration information also includes a login ID and a login password connected to the cloud server and a device linkage rule of the smart home device; a verification module, used to control the smart home device to send feature data to the cloud server, so that the cloud server obtains a verification rule corresponding to the device ID, verifies the feature data according to the verification rule, and obtains a verification result; if the cloud server does not receive the feature data, a verification result including a prompt that the feature data is not received is generated, wherein the feature data is environmental data collected by a sensor of the smart home device, and the environmental data includes temperature data, humidity data, and light intensity data; The report generation module is used to enable the cloud server to send control instructions to the smart home device, obtain the action execution results fed back by the smart home device, and generate a cloud test report according to the verification results and the action execution results. The control instructions are used to control the smart home device to perform corresponding actions.

6. A cloud testing device for smart home devices, the device comprising: one or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud testing method for smart home devices as described in any one of claims 1-4.

7. A storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the cloud testing method for smart home devices as described in any one of claims 1 to 4 when executed by a computer processor.

Citation Information

Patent Citations

  • Automatic test system and test method for Internet of Things serial port equipment

    CN112463511A

  • Systems and methods for pre-scheduling repair of home equipment

    US10217068B1

  • Testing automated smart device functions within smart environments

    US20210067366A1