Movatterモバイル変換


[0]ホーム

URL:


CN113326068B - Cloud testing method, device, equipment and storage medium for smart home devices - Google Patents

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

Info

Publication number
CN113326068B
CN113326068BCN202110753135.5ACN202110753135ACN113326068BCN 113326068 BCN113326068 BCN 113326068BCN 202110753135 ACN202110753135 ACN 202110753135ACN 113326068 BCN113326068 BCN 113326068B
Authority
CN
China
Prior art keywords
smart home
cloud server
cloud
home device
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110753135.5A
Other languages
Chinese (zh)
Other versions
CN113326068A (en
Inventor
张常华
张川
贺鹏
陈海林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Qite Technology Co Ltd
Original Assignee
Foshan Qite Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Qite Technology Co LtdfiledCriticalFoshan Qite Technology Co Ltd
Priority to CN202110753135.5ApriorityCriticalpatent/CN113326068B/en
Publication of CN113326068ApublicationCriticalpatent/CN113326068A/en
Application grantedgrantedCritical
Publication of CN113326068BpublicationCriticalpatent/CN113326068B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种智能家居设备上云测试方法、装置、设备和存储介质。本发明实施例通过对智能家居设备进行配置,以实现智能家居设备与云服务器之间进行通信的功能;控制智能家居设备将特征数据发送至云服务器中,以使云服务器根据验证规则对特征数据进行验证,得到验证结果;控制云服务器向智能家居设备发送控制指令,获取智能家居设备反馈的动作执行结果,根据验证结果以及动作执行结果生成上云测试报告,控制指令用于控制智能家居设备执行相应的动作。解决了现有技术中上云测试的过程中需要人工参与,导致智能家居设备的上云测试的效率低下的技术问题。

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.

Description

Cloud testing method, device, equipment and storage medium for intelligent household equipment
Technical Field
The embodiment of the application relates to the field of cloud testing, in particular to a cloud testing method, device and equipment for intelligent household equipment and a storage medium.
Background
In the field of smart home, cloud testing refers to testing the process that smart home devices upload data to a cloud server and acquire control instructions from the cloud server and execute corresponding actions, and the smart home devices need to be subjected to cloud testing before leaving the factory, so that the smart home devices can work normally.
At present, when the intelligent home equipment is subjected to cloud test, most of work needs to be manually carried out, for example, in the process that the intelligent home equipment uploads data to a cloud server, the intelligent home equipment needs to be manually configured, cloud test results are queried at a cloud or a terminal, manual query is needed, and in the process of cloud test, due to the fact that manual participation is needed, the efficiency of the cloud test is low, and the labor cost is high.
Disclosure of Invention
The embodiment of the invention provides a cloud testing method, device, equipment and storage medium for intelligent household equipment. According to the cloud test method and the cloud test system, the intelligent household equipment can be automatically configured and the cloud test report can be automatically generated in the cloud test process, and the technical problem that the efficiency of the cloud test is low due to the fact that manual participation is needed in the current cloud test process is solved.
In a first aspect, an embodiment of the present invention provides a cloud testing method for an intelligent home device, including the following steps:
configuring intelligent household equipment to realize a function of communication between the intelligent household equipment and a cloud server;
the intelligent home equipment is controlled to send the feature data to the cloud server, so that the cloud server verifies the feature data according to a verification rule to obtain a verification result;
And controlling the cloud server to send a control instruction to the intelligent household equipment, acquiring an action execution result fed back by the intelligent household equipment, and generating a cloud test report according to the verification result and the action execution result, wherein the control instruction is used for controlling the intelligent household equipment to execute corresponding actions.
Preferably, the specific process of configuring the smart home device so that the smart home device realizes the function of communicating with the cloud server is as follows:
Transmitting equipment information of intelligent household equipment to a cloud server, so that the cloud server acquires configuration information corresponding to the equipment information, and transmitting the configuration information to a configuration control terminal;
And controlling the configuration control terminal to configure the intelligent household equipment according to the configuration information so as to realize the function of communication between the intelligent household equipment and the cloud server.
Preferably, the configuration information includes a login ID, a login password, and a device linkage rule of the smart home device, which are connected to the cloud server.
Preferably, a bar code containing information of the device ID is stuck on the intelligent home device;
Before the obtained characteristic data of the intelligent home equipment is sent to the cloud server, the method further comprises the following steps:
Scanning the bar code through a code scanning gun to obtain the equipment ID;
And sending the equipment ID to the cloud server.
Preferably, the specific process for the cloud server to verify the feature data according to the verification rule is as follows:
and the cloud server acquires a verification rule corresponding to the equipment ID, and verifies the feature data according to the verification rule to obtain a verification result.
Preferably, the control instruction is used for controlling the intelligent home equipment to execute actions corresponding to the equipment linkage rules.
Preferably, the method further comprises the following steps:
And storing the cloud test report into a database.
In a second aspect, an embodiment of the present invention further provides an apparatus for cloud testing on an intelligent home device, including:
The device configuration module is used for configuring the intelligent household device so that the intelligent household device can realize the function of communicating with the cloud server;
The verification module is used for controlling the intelligent home equipment to send the feature data to the cloud server so that the cloud server verifies the feature data according to a verification rule to obtain a verification result;
The report generation module is used for enabling the cloud server to send a control instruction to the intelligent household equipment, acquiring an action execution result fed back by the intelligent household equipment, and generating a cloud test report according to the verification result and the action execution result, wherein the control instruction is used for controlling the intelligent household equipment to execute corresponding actions.
In a third aspect, an embodiment of the present invention further provides a cloud testing device on an intelligent home device, where the device includes one or more processors, and a storage device configured to store one or more programs, where the one or more programs are executed by the one or more processors, so that the one or more processors implement the cloud testing method on an intelligent home device according to the first aspect.
In a fourth aspect, embodiments of the present invention further provide a storage medium storing computer-executable instructions, which when executed by a computer processor are configured to perform the smart home device cloud testing method according to the first aspect.
In the embodiment of the invention, the intelligent household equipment is firstly configured to realize the function of communication between the intelligent household equipment and the cloud server, then the characteristic data of the intelligent household equipment is sent to the cloud server to enable the cloud server to verify the characteristic data according to the verification rule to obtain a verification result, then the cloud server is controlled to send a control instruction to the intelligent household equipment to acquire an action execution result fed back by the intelligent household equipment, and finally an up-cloud test report is generated according to the verification result and the action execution result, wherein the control instruction is used for controlling the intelligent household equipment to execute corresponding actions. According to the cloud test method and the cloud test system, the intelligent household equipment can be automatically configured in the cloud test process, the cloud test report can be automatically generated according to the verification result and the action execution result, human participation is not needed in the cloud test process, the cloud test efficiency is improved, and the technical problem that the cloud test efficiency is low due to the fact that human participation is needed in the current cloud test process is solved.
Drawings
Fig. 1 is a method flowchart of a cloud testing method on a device according to an embodiment of the present invention.
Fig. 2 is a flowchart of another method for cloud testing on a device according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of configuring a device according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of performing cloud testing on a device according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an on-device cloud testing device according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an on-device cloud testing device according to an embodiment of the present invention.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. The scope of embodiments of the application encompasses the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "application" merely for convenience and without intending to voluntarily limit the scope of this application to any single application or inventive concept if more than one is in fact disclosed. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. Various embodiments are described herein in a progressive manner, each embodiment focusing on differences from other embodiments, and identical and similar parts between the various embodiments are sufficient to be seen with each other. The structures, products and the like disclosed in the embodiments correspond to the parts disclosed in the embodiments, so that the description is relatively simple, and the relevant parts refer to the description of the method parts.
The cloud testing method on the device provided by the embodiment of the application can be executed by the cloud testing device on the device, the cloud testing device on the device can be realized in a software and/or hardware mode, and the cloud testing device on the device can be composed of two or more physical entities or one physical entity.
Example 1
Fig. 1 is a flowchart of a cloud testing method for an intelligent home device, which is provided by the embodiment of the present invention, and the embodiment may be suitable for performing a cloud testing on an intelligent home device, and specifically includes the following steps:
Step 101, configuring the intelligent home equipment to realize the function of communication between the intelligent home equipment and the cloud server.
In this embodiment, since the smart home device of the smart home system needs to be automatically controlled by the cloud server, various parameters in the smart home device are not yet set before the smart home device performs the cloud test, and the smart home device cannot communicate with the cloud server, the smart home device needs to be configured first, so that a function of communicating between the smart home device and the cloud server is achieved. The process of carrying out intelligent household equipment on the parameters of the intelligent household equipment can be set according to actual needs. The intelligent home equipment of the intelligent home system comprises a sensor and a controller, the intelligent home equipment is configured by setting sensor parameters, controller parameters, network connection parameters and equipment linkage rules in the intelligent home equipment, and a communication function between the intelligent home equipment and a cloud server is realized, so that the cloud server can acquire data uploaded by the sensor of the intelligent home equipment, and the intelligent home equipment is controlled to execute actions corresponding to the equipment linkage rules through the controller of the intelligent home equipment.
And 102, controlling the intelligent home equipment to send the feature data to the cloud server so that the cloud server verifies the feature data according to the verification rule to obtain a verification result.
In this embodiment, after configuring the smart home device so that the smart home device and the cloud server can communicate, it needs to first determine whether the smart home device can send data to the cloud server, so that the smart home device is controlled to send the feature data to the cloud server, so that the cloud server verifies the feature data according to a verification rule, and generates a verification result. In this embodiment, the characteristic data and the verification rule may be set according to actual needs, for example, in one embodiment, the characteristic data of the smart home device is temperature data collected by a sensor of the smart home device, the verification rule is that the temperature is less than 50 °, after the smart home device is controlled to send the temperature data to the cloud server, the cloud server determines whether the temperature in the temperature data is less than 50 °, because 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, the sensor of the smart home device can work normally, and a verification report including "the temperature data sent by the smart home device is received, the temperature data of the smart home device is normal" is generated, if not, the sensor of the smart home device fails, and the generated content includes a verification report including "the temperature data sent by the smart home device is received, and the temperature data of the smart home device is abnormal". The intelligent household equipment can communicate with the cloud server, and whether the temperature sensor of the intelligent household equipment is normal or not can be known by a worker. If the cloud server does not receive the characteristic data sent by the intelligent home equipment, a verification report is directly generated, and the verification report contains the content of the characteristic data which is not received by the intelligent home equipment, so that a worker can know that the intelligent home equipment cannot send the characteristic data to the cloud server, and troubleshooting is carried out on the fault of the intelligent home equipment.
Step 103, the control cloud server sends a control instruction to the intelligent household equipment, an action execution result fed back by the intelligent household equipment is obtained, a cloud test report is generated according to the verification result and the action execution result, and the control instruction is used for controlling the intelligent household equipment to execute corresponding actions.
After the verification result is generated, whether the intelligent home equipment can execute corresponding actions according to the control instruction of the cloud server is further judged. The control cloud server sends a control instruction to the intelligent household equipment, and the intelligent household equipment executes actions corresponding to the control instruction after receiving the control instruction. In an embodiment, the smart home device is an intelligent air conditioner, and the cloud server sends a control instruction for starting a refrigeration mode to the intelligent air conditioner, and the intelligent air conditioner starts the refrigeration mode after receiving the control instruction. And then, the cloud server acquires an action execution result fed back by the intelligent household equipment, for example, after the intelligent air conditioner starts a refrigeration mode according to a control instruction, the action execution result comprising the intelligent mode which is started successfully is fed back to the cloud server, and if the intelligent air conditioner does not start the refrigeration mode after receiving the control instruction, the action execution result comprising the refrigeration mode which is not started is fed back to the cloud server. And after receiving the action execution result fed back by the intelligent household equipment, 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 content that the feature data sent by the smart home device is received, the feature data of the smart home device is normal, and the received 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 an up-cloud test report including content that "the feature data sent by the smart home device is received, the feature 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 in the cloud test report may be set according to actual needs, and in this embodiment, the specific content of the cloud test report is not limited.
Above-mentioned, can dispose intelligent house equipment automatically in the in-process of cloud testing, and cloud server can verify the characteristic data that intelligent house equipment was uploaded according to verification rule and obtain the verification result, finally, cloud server is according to action execution result and the verification result that intelligent house equipment fed back to generate cloud test report, do not need the human participation in the in-process of cloud testing, improve cloud test's efficiency, reduce the cost of labor, the in-process of cloud testing needs artifical the participation in the prior art has been solved, lead to the technical problem that cloud test's inefficiency.
Example two
Fig. 2 is a flowchart of another cloud testing method for smart home devices, which is provided by the embodiment of the present invention, and the method may be implemented by cloud testing smart home devices on smart home devices, and specifically includes the following steps:
Step 201, sending the device information of the smart home device to a cloud server, so that the cloud server obtains configuration information corresponding to the device information, and sending the configuration information to a configuration control terminal.
Because the intelligent home equipment of the intelligent home system is numerous, before the intelligent home equipment is configured, equipment information of the intelligent home equipment needs to be sent to the cloud server, so that the cloud server can correctly configure the intelligent home equipment according to the acquired configuration information corresponding to the equipment information. In an embodiment, the device information includes model information of the smart home device and firmware version information of the smart home device, the cloud server obtains configuration information corresponding to signal information and firmware version information of the smart home device, and a process of obtaining the configuration information by the cloud server may be set according to actual needs, which may be exemplified by obtaining the configuration information in the internet or obtaining the configuration information in a database, and the embodiment is not limited to a specific process of obtaining the configuration information. After the configuration information is obtained, the configuration information is sent to a configuration control terminal, and the intelligent household equipment is configured through the configuration control terminal. In this embodiment, the configuration control terminal is an intelligent home device capable of processing data, such as a computer, a mobile phone, a tablet computer, and other intelligent home devices.
In one embodiment, the configuration information includes a login ID (login identification) connected to the cloud server, a login password, and a device linkage rule of the smart home device.
In this embodiment, since the purpose of configuring the smart home device is to implement a function of communication between the smart home device and the cloud server, the configuration information includes a login ID and a login password connected to the cloud server, so that the smart home device can login into the cloud according to the login ID and the login password, and establish a connection with the cloud server. In addition, since the intelligent home equipment is required to be linked in the intelligent home system, the intelligent home equipment is required to be configured by acquiring a linkage rule corresponding to the intelligent home equipment, so that the follow-up intelligent home equipment can realize the linkage function of the intelligent home equipment. In one embodiment, the configuration information includes, in addition to the login ID and the login password of the cloud server and the device linkage rule of the smart home device, 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, where the cloud server configures the IDs for the sensor, the controller, and the bus of the smart home device, so that different smart home devices can be identified according to the bus ID in the following process, and different sensors and controllers in the same smart home device can be identified according to the sensor ID and the controller ID.
Step 202, controlling the configuration control terminal to configure the intelligent home equipment according to the configuration information so as to realize the function of communication between the intelligent home equipment and the cloud server.
After the configuration information is sent to the configuration control terminal, the configuration control terminal is controlled to configure the intelligent home equipment according to the configuration information, and an exemplary process of configuring the intelligent home equipment can be to configure the intelligent home equipment according to the login ID and the login password of the cloud server, so that the intelligent home equipment can communicate with the cloud server according to the login ID and the login password, or configure the intelligent home equipment according to the equipment linkage rule, and the intelligent home equipment can realize the linkage function of the intelligent home equipment according to the equipment linkage rule.
In one embodiment, a schematic diagram of configuring smart home devices is shown in fig. 3. In fig. 3, the smart home device is connected to the cloud server through a network cable port, the configuration control terminal is connected to the smart home device through a 485 interface, and the configuration control terminal is connected to the cloud server through an ethernet. After the intelligent household equipment is electrified, the intelligent household equipment is controlled to upload model information and firmware version information into the cloud server through the network cable port, and the cloud server acquires configuration information corresponding to the intelligent household equipment from the database according to the model information and the firmware version information of the intelligent household equipment, wherein the configuration information comprises a login ID (identification) of the cloud server, a login password and equipment linkage rules of the intelligent household equipment. And then, the cloud server sends the configuration information to a configuration control terminal, and the configuration control terminal burns the configuration information into the intelligent household equipment through a 485 protocol to complete the configuration process of the intelligent household equipment, so that the intelligent household equipment can log in the cloud through a login ID and a login password, and the function of communicating with the cloud server is realized.
And 203, sending the obtained characteristic data of the intelligent home equipment to a cloud server, so that the cloud server verifies the characteristic data according to a verification rule to obtain a verification result.
In one embodiment, the smart home device has a bar code affixed to it that contains information of the device ID;
It can be understood that the device ID is a unique identifier of each smart home device, and the corresponding smart home device can be found through the device ID.
Before the intelligent household equipment is controlled to send the characteristic data to the cloud server, the method further comprises the following steps:
step 2031, scanning the bar code by a code scanner to obtain the device ID.
The bar codes of all intelligent household devices are scanned through a code scanning gun, so that the device ID corresponding to each intelligent household device is obtained. By way of example, the device ID of the intelligent air conditioner is 014, the device ID of the intelligent sound box is 025, bar codes containing the device ID are stuck on the intelligent air conditioner and the intelligent sound box, and the bar codes of each intelligent home device are scanned by the code scanning gun, so that the device ID of the intelligent air conditioner is 014, and the device ID of the intelligent sound box is 025.
Step 2032, sending the device ID to the cloud server.
After the device ID of each intelligent household device is obtained through the code scanning gun, the device ID of each intelligent household device is sent to the cloud server, so that the cloud server binds the device ID corresponding to each intelligent household device with each intelligent household device, and the intelligent household devices can be identified later. In one embodiment, the cloud testing intelligent home device on the intelligent home device is a testing control terminal, a code scanning gun is connected to the testing control terminal, and after the bar code on the intelligent air conditioner is scanned through the code scanning gun to obtain the device ID 014 of the intelligent air conditioner, the device ID 014 of the intelligent air conditioner is sent to the cloud server, so that the cloud server binds the intelligent air conditioner with the device ID 014.
In one embodiment, the specific process of enabling the cloud server to verify the feature data according to the verification rule is as follows:
and the cloud server acquires the verification rule corresponding to the equipment ID, and verifies the feature data according to the verification rule to obtain a verification result.
After the cloud server receives the feature data sent by the intelligent home devices, the cloud server can acquire verification rules corresponding to the intelligent home devices according to the device IDs because the cloud server has the device IDs of the intelligent home devices, and verify the feature data uploaded by the intelligent home devices according to the verification rules to obtain verification results. Illustratively, in one embodiment, the characteristic data is environmental data, including temperature data, humidity data, and illumination intensity data, among others. The verification rule corresponding to each equipment ID is preset, for example, for an intelligent air conditioner with the equipment ID of 032, the verification rule with the equipment ID of 032 is set to be that the temperature data is smaller than 50 degrees and the humidity data is smaller than 100 percent. After receiving the environmental data sent by the intelligent air conditioner with the equipment ID of 032, acquiring a verification rule with the equipment ID of 032 according to the equipment ID of the intelligent air conditioner, verifying the environmental data, judging whether the temperature data in the environmental data is smaller than 50 degrees and the humidity data is smaller than 100 percent, and obtaining a verification result after the judgment is finished. In one embodiment, after the cloud server obtains the verification result, the verification result is sent to the test control terminal for visual display, so that a worker can know the verification result.
Step 204, the control cloud server sends a control instruction to the intelligent home equipment, an action execution result fed back by the intelligent home equipment is obtained, a cloud test report is generated according to the verification result and the action execution result, and the control instruction is used for controlling the intelligent home equipment to execute corresponding actions.
In one embodiment, the control instructions are for controlling the smart home device to perform an action corresponding to the device linkage rule. Because the device linkage rule corresponding to the intelligent household device is configured when the intelligent household device is configured, the control instruction sent by the cloud server to the intelligent household device is set to control the intelligent household device to execute the action in the device linkage rule corresponding to the intelligent household device, so that whether the intelligent household device can realize the intelligent household device linkage function is judged. For example, one device linkage rule is to enable lights to be turned on and smart curtains to be turned on when the light is too low. When the intelligent switch is configured, the equipment linkage rule is burnt into the intelligent switch. And then, the cloud server is controlled to send a control instruction to the intelligent switch, so that the intelligent lamplight executes the action of opening the intelligent lamplight in the equipment linkage rule according to the control instruction.
Step 205, storing the cloud test report in a database.
After the cloud test report is generated, the cloud test report is stored in a database, and when a user needs the cloud test report of a certain intelligent household device, the cloud test report is called from the database, so that data loss is avoided, and the safety of the data is ensured.
In one embodiment, a schematic diagram of performing cloud testing on an intelligent home device is shown in fig. 4, the intelligent home device is connected with a cloud server, a test control terminal is connected with the cloud server, and a code scanning gun is connected to the test control terminal. When the cloud test is carried out, the bar code of each intelligent household device is scanned through the code scanning gun, so that the device ID corresponding to each intelligent household device is obtained, then the code scanning gun sends the device ID of each intelligent household device to the test control terminal, and the test control terminal sends the device ID of each intelligent household device to the cloud server, so that the cloud server binds the device ID corresponding to each intelligent household device with the device ID corresponding to each intelligent household device. And then, the intelligent home equipment is controlled to send the characteristic data to a cloud server, the cloud server acquires verification rules corresponding to each intelligent home equipment according to the equipment ID, verifies the characteristic data uploaded by each intelligent home equipment according to the verification rules to obtain verification results, and sends the verification results to a test control terminal for visual display. And then, the control cloud server sends a control instruction to the intelligent household equipment, an action execution result fed back by the intelligent household equipment is obtained, a cloud test report is generated according to the verification result and the action execution result, and the cloud test report is stored in a database to complete the cloud test process.
Above-mentioned, can dispose intelligent house equipment automatically in the in-process of cloud testing, and cloud server can verify the characteristic data that intelligent house equipment was uploaded according to verification rule and obtain the verification result, finally, cloud server is according to action execution result and the verification result that intelligent house equipment fed back to generate cloud test report, do not need the human participation in the in-process of cloud testing, improve cloud test's efficiency, reduce the cost of labor, the in-process of cloud testing needs artifical the participation in the prior art has been solved, lead to the technical problem that cloud test's inefficiency.
Example III
Fig. 5 is a schematic structural diagram of an on-cloud testing device for smart home devices according to an embodiment of the present invention, where in this embodiment, the on-cloud testing device for smart home devices includes:
the device configuration module 301 is configured to configure an intelligent home device, so that the intelligent home device can realize a function of communicating with a cloud server;
The verification module 302 is configured 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 a verification rule to obtain a verification result;
The report generating module 303 is configured to enable the cloud server to send a control instruction to the smart home device, obtain an action execution result fed back by the smart home device, generate a cloud test report according to the verification result and the action execution result, and control the smart home device to execute a corresponding action.
On the basis of the above embodiment, the device configuration module 301 includes a configuration information obtaining sub-module, configured 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 and sends the configuration information to the configuration control terminal, and a configuration sub-module, configured to control the configuration control terminal to configure the smart home device according to the configuration information, so as to implement a function of communication between the smart home device and the cloud server.
On the basis of the embodiment, the configuration information includes a login ID, a login password and a device linkage rule of the smart home device, which are connected to the cloud server.
On the basis of the embodiment, a bar code containing information of the device ID is stuck on the intelligent home device;
the cloud testing device for the intelligent household equipment further comprises an equipment ID acquisition module for scanning the bar code through the code scanning gun to acquire the equipment ID, and an equipment ID sending module for sending the equipment ID to the cloud server.
On the basis of the above embodiment, the verification module 302 is specifically configured to enable the cloud server to obtain a verification rule corresponding to the device ID, and verify the feature data according to the verification rule to obtain a verification result.
On the basis of the embodiment, the control instruction is used for controlling the intelligent household equipment to execute the action corresponding to the equipment linkage rule.
On the basis of the embodiment, the cloud testing device for the intelligent home equipment further comprises a storage module, wherein the storage module is used for storing the cloud testing report into a database.
Fig. 6 is a schematic structural diagram of a cloud testing device on an intelligent home device according to an embodiment of the present invention, where, as shown in fig. 6, the device includes a processor 401, a memory 402, an input device 403 and an output device 404, where the number of the processors 401 in the device may be one or more, in fig. 6, one processor 401 is taken as an example, and the processor 401, the memory 402, the input device 403 and the output device 404 in the device may be connected by a bus or other manners, in fig. 6, the connection is taken as an example by a bus. The memory 402 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, and a module, such as a program instruction/module corresponding to a cloud testing method on an intelligent home device in an embodiment of the present invention. The processor 401 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 402, that is, implements the above-mentioned cloud testing method for smart home devices. The input means 403 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output 404 may include a display device such as a display screen.
The embodiment of the invention also provides a storage medium containing computer executable instructions, which when executed by a computer processor are used for executing a cloud testing method on intelligent household equipment, and the method comprises the following steps:
Configuring intelligent household equipment to realize the function of communication between the intelligent household equipment and a cloud server;
the intelligent home equipment is controlled to send the feature data to the cloud server, so that the cloud server verifies the feature data according to the verification rule to obtain a verification result;
The cloud control server sends a control instruction to the intelligent household equipment, an action execution result fed back by the intelligent household equipment is obtained, a cloud test report is generated according to the verification result and the action execution result, and the control instruction is used for controlling the intelligent household equipment to execute corresponding actions.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the embodiments of the present invention are not limited to the particular embodiments described herein, but are capable of numerous obvious changes, rearrangements and substitutions without departing from the scope of the embodiments of the present invention. Therefore, while the embodiments of the present invention have been described in connection with the above embodiments, the embodiments of the present invention are not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit 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 (7)

Translated fromChinese
1.一种智能家居设备上云测试方法,其特征在于,包括以下步骤:1. A cloud testing method for smart home devices, characterized in that it includes the following steps:对智能家居设备进行配置,以实现所述智能家居设备与云服务器之间进行通信的功能,其中包括:将智能家居设备的设备信息发送至云服务器中,以使所述云服务器获取与所述设备信息相对应的配置信息,其中包括:根据智能家居设备的型号信息和固件版本信息获取所述智能家居设备对应的配置信息,并将所述配置信息发送到配置控制终端中,控制所述配置控制终端根据所述配置信息对所述智能家居设备进行配置,其中所述配置信息包括所述智能家居设备的传感器的ID、所述智能家居设备的控制器的ID以及总线的ID,所述配置信息还包括连接至所述云服务器的登录ID、登录密码以及所述智能家居设备的设备联动规则;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;控制所述智能家居设备将特征数据发送至所述云服务器中,以使所述云服务器获取与设备ID相对应的验证规则,根据所述验证规则对所述特征数据进行验证,得到验证结果,若所述云服务器没有接收到所述特征数据,则生成包含未接收到所述特征数据的提示内容的验证结果,所述特征数据为所述智能家居设备的传感器采集的环境数据,所述环境数据包括温度数据、湿度数据和光照强度数据;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.根据权利要求1所述的一种智能家居设备上云测试方法,其特征在于,所述智能家居设备上粘贴有包含设备ID的信息的条形码;2. A cloud testing method for smart home devices according to claim 1, 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:通过扫码枪扫描所述条形码,获取所述设备ID;Scan the barcode with a barcode scanner to obtain the device ID;将所述设备ID发送至所述云服务器中。The device ID is sent to the cloud server.3.根据权利要求1所述的一种智能家居设备上云测试方法,其特征在于,所述控制指令用于控制所述智能家居设备执行与所述设备联动规则相对应的动作。3. A 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 perform an action corresponding to the device linkage rule.4.根据权利要求1所述的一种智能家居设备上云测试方法,其特征在于,还包括以下步骤:4. The method for cloud testing of smart home devices according to claim 1, further comprising the following steps:将所述上云测试报告储存至数据库中。The cloud testing report is stored in the database.5.一种智能家居设备上云测试装置,其特征在于,包括5. A cloud testing device for smart home devices, characterized by comprising:设备配置模块,用于对智能家居设备进行配置,以使所述智能家居设备实现与云服务器进行通信的功能,所述设备配置模块具体用于将智能家居设备的设备信息发送至云服务器中,以使所述云服务器获取与所述设备信息相对应的配置信息,所述设备配置模块具体用于根据智能家居设备的型号信息和固件版本信息获取所述智能家居设备对应的配置信息,并将所述配置信息发送到配置控制终端中,控制所述配置控制终端根据所述配置信息对所述智能家居设备进行配置,其中所述配置信息包括所述智能家居设备的传感器的ID、所述智能家居设备的控制器的ID以及总线的ID,所述配置信息还包括连接至所述云服务器的登录ID、登录密码以及所述智能家居设备的设备联动规则;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;验证模块,用于控制所述智能家居设备将特征数据发送至所述云服务器中,以使所述云服务器获取与设备ID相对应的验证规则,根据所述验证规则对所述特征数据进行验证,得到验证结果,若所述云服务器没有接收到所述特征数据,则生成包含未接收到所述特征数据的提示内容的验证结果,所述特征数据为所述智能家居设备的传感器采集的环境数据,所述环境数据包括温度数据、湿度数据和光照强度数据;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.一种智能家居设备上云测试设备,所述设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-4中任一项所述的智能家居设备上云测试方法。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.一种存储计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求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.
CN202110753135.5A2021-07-022021-07-02 Cloud testing method, device, equipment and storage medium for smart home devicesActiveCN113326068B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110753135.5ACN113326068B (en)2021-07-022021-07-02 Cloud testing method, device, equipment and storage medium for smart home devices

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110753135.5ACN113326068B (en)2021-07-022021-07-02 Cloud testing method, device, equipment and storage medium for smart home devices

Publications (2)

Publication NumberPublication Date
CN113326068A CN113326068A (en)2021-08-31
CN113326068Btrue CN113326068B (en)2025-04-11

Family

ID=77425685

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110753135.5AActiveCN113326068B (en)2021-07-022021-07-02 Cloud testing method, device, equipment and storage medium for smart home devices

Country Status (1)

CountryLink
CN (1)CN113326068B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113961459A (en)*2021-10-252022-01-21四川虹美智能科技有限公司Intelligent product testing system
CN116149194B (en)*2021-11-192025-03-25青岛海尔科技有限公司 Method and device for generating scene control index, electronic device, and storage medium
CN114567916A (en)*2022-03-012022-05-31德沃康科技集团有限公司Production test method, device, equipment and medium based on WiFi furniture

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10217068B1 (en)*2015-08-102019-02-26State Farm Mutual Automobile Insurance CompanySystems and methods for pre-scheduling repair of home equipment
CN112463511A (en)*2020-11-092021-03-09武汉迈威通信股份有限公司Automatic test system and test method for serial port equipment of Internet of things

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10929280B2 (en)*2014-03-112021-02-23Verizon Patent And Licensing Inc.Scheduling tests of software for a cloud computing environment
CN105402795B (en)*2015-12-172018-04-13珠海格力电器股份有限公司Range hood, detection method and device thereof and mobile communication terminal
CN111290905A (en)*2018-12-072020-06-16北京奇虎科技有限公司 Test method and device for IoT cloud platform
CN110568339A (en)*2019-08-092019-12-13江苏斯菲尔电气股份有限公司Instrument automatic testing system and method based on Internet of things
US11133955B2 (en)*2019-08-292021-09-28International Business Machines CorporationTesting automated smart device functions within smart environments
CN111025925A (en)*2019-12-052020-04-17重庆特斯联智慧科技股份有限公司Intelligent home furnishing system based on cloud computing
CN112601211B (en)*2020-12-232023-02-24青岛海信电子产业控股股份有限公司Intelligent household appliance control equipment, mobile terminal and testing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10217068B1 (en)*2015-08-102019-02-26State Farm Mutual Automobile Insurance CompanySystems and methods for pre-scheduling repair of home equipment
CN112463511A (en)*2020-11-092021-03-09武汉迈威通信股份有限公司Automatic test system and test method for serial port equipment of Internet of things

Also Published As

Publication numberPublication date
CN113326068A (en)2021-08-31

Similar Documents

PublicationPublication DateTitle
CN113326068B (en) Cloud testing method, device, equipment and storage medium for smart home devices
CN109525540B (en) A smart device binding method and device
CN112327763A (en) Intelligent scene control method, device, gateway and storage medium
CN105371426A (en)Intelligent air purifying system and use method thereof
CN103414881A (en)Method for fast configuring remote video monitoring system
CN105577493A (en)Control method and device of smart home devices and system
US20140236997A1 (en)Controller, information processing apparatus, and recording medium
CN108363579B (en)Data burning method, device, equipment and storage medium
CN111913402A (en)Smart home batch configuration method, device and system and electronic equipment
CN110932944A (en)Method and system for controlling intelligent household equipment by visitor terminal
US20200374149A1 (en)Systems and methods for the implementation of an ai/iot hub in the control of electrical devices, electronics and appliances
CN103544830A (en)Intelligent pairing method of infrared remote control device
CN109257795A (en)Method and equipment for network distribution
WO2018010388A1 (en)Wearable device and control method for home device
CN107580040B (en)Method and device for upgrading communication module in intelligent household terminal
WO2016192579A1 (en)Information processing method, cloud service platform and information processing system
CN110808037B (en)Voice control method and device, household appliance and storage medium
US20170094035A1 (en)Management method and management device
CN111679834B (en)Automatic burning system and method for internet of things module
CN112088340A (en)Automatic system and method for updating firmware on an industrial device
CN107942701A (en)appliance control system and method based on internet of things
CN115314332B (en)Equipment theme setting method and device, storage medium and electronic device
CN115174297B (en)Method and device for updating attribute information, storage medium and electronic device
CN115356940A (en)Intelligent remote control matching method, system and storage medium
CN112738775B (en)Centralized control equipment and topology method, system and equipment thereof

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp