CN117544546A - Household appliance testing method, device and system and electronic equipment - Google Patents

Household appliance testing method, device and system and electronic equipment Download PDF

Info

Publication number
CN117544546A
CN117544546A CN202311537304.7A CN202311537304A CN117544546A CN 117544546 A CN117544546 A CN 117544546A CN 202311537304 A CN202311537304 A CN 202311537304A CN 117544546 A CN117544546 A CN 117544546A
Authority
CN
China
Prior art keywords
appliance
module
testing
household
interactive terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311537304.7A
Other languages
Chinese (zh)
Inventor
林军克
曾成鑫
姚昌松
彭程
黄文超
李玲珠
庄意强
赵淑琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Group Shanghai Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Group Shanghai 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd, Midea Group Shanghai Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202311537304.7A priority Critical patent/CN117544546A/en
Publication of CN117544546A publication Critical patent/CN117544546A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Environmental & Geological Engineering (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses test method, device, system and electronic equipment of household electrical appliances, household electrical appliances are configured with the household electrical appliances module, and test device can communicate with interactive terminal, installs the application program that is used for controlling household electrical appliances on the interactive terminal, and the test method of household electrical appliances includes: the target interface is configured as an interface for communicating with the home appliance module, and when the home appliance module is connected to the target interface, the home appliance module can communicate with the testing device; controlling the interactive terminal to operate the application program so as to send out an instruction for controlling the household electrical appliance; acquiring an instruction received by a household appliance module from a target interface; in response to the instruction, operation of the home device is simulated.

Description

Household appliance testing method, device and system and electronic equipment
Technical Field
The application belongs to the technical field of testing, and particularly relates to a method, a device, a system and electronic equipment for testing household appliances.
Background
Intelligent home appliances, that is, home appliances capable of networking, are popular with more and more users because they can be remotely operated through mobile phones and the like. The intelligent home appliance is generally additionally provided with an intelligent module based on the existing home appliance. In the related art, when testing an app of an intelligent home appliance (i.e., an application program for operating the home appliance, which is generally installed on a mobile phone of a user), a tester generally needs to manually operate the intelligent home appliance to enable the intelligent home appliance to enter a network configuration state, and only after the network configuration is successful, the next test can be performed. In addition, when the app of the existing intelligent household electrical appliance is tested, the intelligent household electrical appliance is connected with the interfaces of the terminals such as the mobile phone, and because the intelligent household electrical appliance is large in general size, a large occupied area is usually required for placing the intelligent household electrical appliance to be tested, so that the intelligent household electrical appliance is high in testing workload and high in cost.
Therefore, how to reduce the test cost and the test workload of the home appliance is a problem to be solved.
Disclosure of Invention
The present application aims to solve one of the technical problems in the prior art.
In order to solve the above technical problems, an embodiment of a first aspect of the present application provides a method for testing a home appliance.
An embodiment of a second aspect of the present application provides a test device for a home appliance.
Embodiments of a third aspect of the present application provide an electronic device.
Embodiments of a fourth aspect of the present application provide a readable storage medium.
Embodiments of a fifth aspect of the present application provide a test system for an electrical home appliance.
An embodiment of a first aspect of the present application provides a method for testing a home appliance, which is used for a test device of the home appliance, and the home appliance is configured with a home appliance module. The testing device can communicate with the interactive terminal, and an application program for controlling the household appliance is installed on the interactive terminal. The method for testing the household electrical appliance comprises the following steps: the target interface is configured as an interface for communicating with the home appliance module, and when the home appliance module is connected to the target interface, the home appliance module can communicate with the testing device; controlling the interactive terminal to operate the application program so as to send out an instruction for controlling the household electrical appliance; acquiring an instruction received by a household appliance module from a target interface; in response to the instruction, operation of the home device is simulated.
According to the method for testing the household electrical appliance, before testing, the testing device, the interactive terminal provided with the app (application program) for controlling the intelligent household electrical appliance and the household electrical appliance module are well connected, so that communication between the devices can be normally conducted. Specifically, the testing device and the matched interaction terminal can be well connected through a wireless network, bluetooth and the like. The household appliance module can be connected to the appointed interface through the serial interface. When the household appliance needs to be tested, information of a target interface is acquired according to input information of a user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the household appliance module. Thus, after the household appliance module is connected to the target interface, the household appliance module can communicate with the testing device. The testing device can simulate the operation of the household appliance, namely, the testing device is provided with the household appliance simulation program, so that the testing device can respond according to the received instruction after receiving the instruction from the target interface, and the operation of the household appliance is simulated. Specifically, the test procedure is as follows: the testing device automatically operates the interactive terminal, sends out an instruction for controlling the household electrical appliance (mainly sent to the household electrical appliance module), and after the sent control instruction is received by the household electrical appliance module, the control instruction is sent to the testing device through the target interface by the household electrical appliance module, and after the testing device receives the instruction from the target interface, the testing device responds according to the received instruction, so that the operation of the household electrical appliance is simulated in a remote control mode, and the testing of the intelligent module and the app of the intelligent household electrical appliance is realized. According to the scheme, the testing device can automatically operate the interactive terminal to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Furthermore, the testing method simulates the work of the household electrical appliance by the testing device, so that the household electrical appliance does not need to be placed in a testing place, and the testing place only needs to be provided with a small amount of space for placing the household electrical appliance modules, so that the space required by the testing place is obviously reduced, and the testing cost is reduced.
Furthermore, in existing solutions, it is often necessary to customize a corresponding test solution for each app of the smart home device. The intelligent household appliances are various in variety, and the intelligent household appliances are updated quickly, so that the app test workload of the existing intelligent household appliances is very large. In view of the fact that the home appliance modules among different home appliances are basically universal, the function of apps of different home appliances can be tested through one home appliance module, app tests of a plurality of home appliances can be achieved through the same set of testing scheme, corresponding testing cases are not required to be customized for the home appliances of different models, and accordingly cost of intelligent home appliance automatic testing is reduced.
Optionally, the test method further comprises: response information generated in response to the instruction is obtained, and the response information is sent to the household appliance module through the target interface.
In the technical scheme, in the process of simulating the work of the household electrical appliance by the testing device, response information is generated in response to some instructions, the generated response information can be sent to the household electrical appliance module through the target interface and then fed back to the application program by the household electrical appliance module, so that normal information interaction between the application program and the household electrical appliance is simulated. Of course, in the process that the test device simulates the operation of the home appliance, only the action may be performed in response to the instruction, without generating feedback information.
Optionally, the step of controlling the interactive terminal to operate the application program to issue an instruction for controlling the home appliance includes: controlling the interactive terminal to start an application program; controlling the interactive terminal to open a distribution network interface of the application program; acquiring a distribution network interface and checking whether the distribution network interface meets preset requirements; under the condition that the distribution network interface meets the preset requirement, the control interaction terminal sends a hot spot opening instruction to the household appliance module so that the household appliance module can open a hot spot function of the household appliance; when the interaction terminal finds out the information of the household electrical appliance, the interaction terminal is controlled to carry out network distribution for the household electrical appliance.
According to the technical scheme, the automatic network distribution process of the household electrical appliance can be simulated, so that the network distribution function of the household electrical appliance is tested. The method comprises the following specific steps: the testing device starts the application program first, and then sends a distribution network starting instruction to the interactive terminal so as to operate the interactive terminal to open a distribution network interface of the application program. And then the testing device verifies whether the distribution network interface meets the requirements, after the requirements are met, the control interaction terminal sends a hot spot opening instruction, the household appliance module receives the instruction and then sends the instruction to the testing device, and then the testing device simulates household appliances and opens a hot spot switch so that the household appliances can be found, and subsequent distribution network operation is performed. After the interactive terminal finds the information of the household electrical appliance through searching, the testing device can operate the interactive terminal to simulate the network distribution operation of the household electrical appliance until the network distribution is completed. By the method, the whole automatic distribution network test is realized, the whole test process is free from artificial participation, and the efficiency and the frequency of the automatic test are improved.
Optionally, the method for testing the home appliance further includes: after the network distribution is completed, display information of the household electrical appliance is obtained from the interactive terminal, and whether the household electrical appliance is successfully distributed or not is judged according to the display information.
In the technical scheme, after the distribution network is completed, the home appliance has special marks on the interactive terminal, namely, the display mode is different from that before the distribution network, and after the simulation distribution network test, whether the distribution network is successful or not can be verified by acquiring the display information of the home appliance on the interactive terminal. By the verification, the network allocation success of the household appliances can be ensured, and the problem that the household appliances are not successfully allocated but not found is avoided, so that the accuracy of the network allocation test of the household appliances can be improved.
Optionally, the step of outputting the network allocation start command to the interactive terminal includes: and outputting a distribution network starting instruction to the interactive terminal through the HTTP request.
Optionally, the hotspots include bluetooth hotspots and/or WIFI (Wireless Fidelity) hotspots. The form of the hot spot can be specifically selected according to a network module built in the home appliance.
Optionally, the test method further comprises: and sending a class code modification instruction to the household appliance module to modify the class code by the household appliance module.
Wherein, in order to be convenient for the management and the control of different types of household electrical appliances, be provided with the class code on the household electrical appliances module. And the household appliance modules of different household appliances have different class codes. I.e. the type of the home appliance can be determined based on the class code. When different kinds of household appliances are tested, the test device can send out instructions for modifying the class code to the household appliance module, so that the class code is modified after the household appliance module receives the instructions, and the household appliance module is matched with the class of the household appliance to be tested. And different class codes can also correspond to different hot spots, so that the class codes can be modified, and the household appliance module is controlled to start different hot spots. The reset of the household appliance module can be realized by modifying the class code.
After receiving the network allocation instruction, the home appliance module starts different home appliances according to the class code in the communication protocol inside the home appliance module.
Optionally, the step of controlling the interactive terminal to operate the application program to issue an instruction for controlling the home appliance further includes: after the distribution network is completed, the control interaction terminal sends out an instruction for controlling the running of the household electrical appliance so as to test the performance of the household electrical appliance.
In the technical scheme, after the home appliance completes the network distribution test, the test of other performances of the app can be performed, namely, other control instructions are sent to the home appliance through the operation interaction terminal so as to simulate the operation of a user, and thus, the test of other functions of the app of the home appliance is realized.
Optionally, the method for testing the home appliance further includes: acquiring and storing each operation interface of the interactive terminal; or each operation interface of the interactive terminal is obtained and sent to the server.
In the technical scheme, the analysis and judgment of the distribution network test and the app function test of the household electrical appliance are facilitated by recording the operation interface of the interactive terminal.
Further, the test device is matched with a server, and the operation of simulating the household appliance can specifically comprise: and sending the instruction to the server to simulate the operation of the household appliance through the server, and receiving response information fed back by the server.
In the technical scheme, the household appliance simulation operation can be put on the server at the rear end, so that the workload of the testing device can be reduced, and the performance requirement on the testing device can be reduced. Of course, the home appliance simulation operation may be put on the test device without considering the performance requirements of the test device.
In a second aspect, an embodiment of the present application provides a testing device for a home appliance, where the home appliance is configured with a home appliance module. The testing device can communicate with the interactive terminal, and an application program for controlling the household appliance is installed on the interactive terminal. The testing device of the household electrical appliance comprises: the configuration unit is used for configuring the target interface as an interface for communicating with the household appliance module, and the household appliance module can communicate with the testing device when being connected to the target interface; the control unit is used for controlling the interactive terminal to operate the application program so as to send out an instruction for controlling the household electrical appliance; the acquisition unit acquires the instruction received by the household appliance module from the target interface; and the simulation response unit is used for responding to the instruction and simulating the operation of the household appliance.
According to the testing device of the household electrical appliance, before testing, the testing device, the interactive terminal provided with the app (application program) for controlling the intelligent household electrical appliance and the household electrical appliance module are well connected, so that communication between the devices can be normally carried out. Specifically, the testing device and the matched interaction terminal can be well connected through a wireless network, bluetooth and the like. The household appliance module can be connected to the appointed interface through the serial interface. When the household appliance needs to be tested, information of a target interface is acquired according to input information of a user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the household appliance module. Thus, after the household appliance module is connected to the target interface, the household appliance module can communicate with the testing device. The testing device can simulate the operation of the household appliance, so that the testing device can respond according to the received command after receiving the command from the target interface, thereby simulating the operation of the household appliance. Specifically, the test procedure is as follows: the testing device automatically operates the interactive terminal, sends out an instruction for controlling the household electrical appliance (mainly sent to the household electrical appliance module), and after the sent control instruction is received by the household electrical appliance module, the control instruction is sent to the testing device through the target interface by the household electrical appliance module, and after the testing device receives the instruction from the target interface, the testing device responds according to the received instruction, so that the operation of the household electrical appliance is simulated in a remote control mode, and the testing of the intelligent module and the app of the intelligent household electrical appliance is realized. According to the scheme, the testing device can automatically operate the interactive terminal to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Furthermore, the testing method simulates the work of the household electrical appliance by the testing device, so that the household electrical appliance does not need to be placed in a testing place, and the testing place only needs to be provided with a small amount of space for placing the household electrical appliance modules, so that the space required by the testing place is obviously reduced, and the testing cost is reduced.
Furthermore, in existing solutions, it is often necessary to customize a corresponding test solution for each app of the smart home device. The intelligent household appliances are various in variety, and the intelligent household appliances are updated quickly, so that the app test workload of the existing intelligent household appliances is very large. In view of the fact that the home appliance modules among different home appliances are basically universal, the function of apps of different home appliances can be tested through one home appliance module, app tests of a plurality of home appliances can be achieved through the same set of testing scheme, corresponding testing cases are not required to be customized for the home appliances of different models, and accordingly cost of intelligent home appliance automatic testing is reduced.
In a third aspect, an embodiment of the present application provides an electronic device, including: the memory stores a program or instructions, and the processor implements the steps of the method for testing the home appliance provided in any aspect of the first aspect when the processor executes the program or instructions.
According to the testing device of the household electrical appliance, the steps of the testing method of the household electrical appliance provided by any one of the aspects can be realized. Therefore, the testing device of the household appliance has all the beneficial effects of the testing method of the household appliance provided by any one of the schemes.
In a fourth aspect, an embodiment of the present application proposes a readable storage medium, on which a program or an instruction is stored, where the program or the instruction is executed to implement the steps of the method for testing a home appliance provided in any one of the third aspects.
The steps of the method for testing a home appliance provided in any of the aspects of the first aspect can be implemented by a readable storage medium. Thus, the readable storage medium has all the advantages of the method for testing the home appliance provided by any one of the aspects.
In a fifth aspect, an embodiment of the present application provides a test system for a home appliance, including: the household appliance module is used for controlling the work of household appliances; the interactive terminal is connected with the household appliance module, and is provided with an application program which is used for controlling the work of the household appliance; the testing device of the household appliance of any one of the above technical schemes and/or the electronic equipment of any one of the above technical schemes, wherein the testing device and/or the electronic equipment are provided with a target interface; after the home appliance module is connected with the target interface, the home appliance module can communicate with the testing device and/or the electronic equipment through the target interface.
According to the test system of the household electrical appliance, before testing, the test device, the interactive terminal provided with the app (application program) for controlling the intelligent household electrical appliance and the household electrical appliance module are well connected, so that communication between the devices can be normally carried out. Specifically, the testing device and the matched interaction terminal can be well connected through a wireless network, bluetooth and the like. The household appliance module can be connected to the appointed interface through the serial interface. When the household appliance needs to be tested, information of a target interface is acquired according to input information of a user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the household appliance module. Thus, after the household appliance module is connected to the target interface, the household appliance module can communicate with the testing device. The testing device can simulate the operation of the household appliance, so that the testing device can respond according to the received command after receiving the command from the target interface, thereby simulating the operation of the household appliance. Specifically, the test procedure is as follows: the testing device automatically operates the interactive terminal, sends out an instruction for controlling the household electrical appliance (mainly sent to the household electrical appliance module), and after the sent control instruction is received by the household electrical appliance module, the control instruction is sent to the testing device through the target interface by the household electrical appliance module, and after the testing device receives the instruction from the target interface, the testing device responds according to the received instruction, so that the operation of the household electrical appliance is simulated in a remote control mode, and the testing of the intelligent module and the app of the intelligent household electrical appliance is realized. According to the scheme, the testing device can automatically operate the interactive terminal to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Furthermore, the testing method simulates the work of the household electrical appliance by the testing device, so that the household electrical appliance does not need to be placed in a testing place, and the testing place only needs to be provided with a small amount of space for placing the household electrical appliance modules, so that the space required by the testing place is obviously reduced, and the testing cost is reduced.
In addition, in view of the fact that the home appliance modules among different home appliances are basically universal, the function of apps of different home appliances can be tested through one home appliance module, app tests of a plurality of home appliances can be achieved through the same set of testing scheme, corresponding testing cases do not need to be customized for home appliances of different models, and accordingly cost of intelligent home appliance automatic testing is reduced.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, wherein:
fig. 1 is a flow chart of a testing method of an electrical home appliance according to an embodiment of the present application;
Fig. 2 is a schematic flow chart of a home appliance performing a distribution network test according to an embodiment of the present application;
FIG. 3 is a block diagram of a test device for a home device according to an embodiment of the present application;
fig. 4 is a block diagram of a test apparatus of a home appliance according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a test system of an electric home appliance according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a test system of an electric home appliance according to another embodiment of the present application;
FIG. 7 is a second flow chart of a method for testing home devices according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the like or similar elements throughout or elements having the same or similar functions. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Test methods, apparatuses, systems, readable storage media, and electronic devices for home appliances according to embodiments of the present application are described below in conjunction with fig. 1-8.
As shown in fig. 1, an embodiment of a first aspect of the present application proposes a method for testing a home appliance, which is used for a testing device of the home appliance.
As shown in fig. 5 and fig. 6, the testing device is matched with an interaction terminal 520, the home appliance to be tested is configured with a home appliance module 530, the interaction terminal 520 can communicate with the testing device 510, and an application program is installed on the interaction terminal 520, and can perform network distribution on the home appliance and control the work of the home appliance.
As shown in fig. 1, the method for testing the home appliance includes:
s102, configuring a target interface as an interface for communication with a home appliance module, wherein the home appliance module can communicate with a testing device when being connected to the target interface;
s104, controlling the interactive terminal to operate an application program so as to send out an instruction for controlling the household electrical appliance;
s106, acquiring an instruction received by the household appliance module from the target interface;
s108, responding to the instruction, and simulating the operation of the household appliance.
According to the method for testing the household electrical appliance, before testing, the testing device, the interactive terminal provided with the app (application program) for controlling the intelligent household electrical appliance and the household electrical appliance module are well connected, so that communication between the devices can be normally conducted. Specifically, the testing device and the matched interaction terminal can be well connected through a wireless network, bluetooth and the like. The household appliance module can be connected to the appointed interface through the serial interface. When the household appliance needs to be tested, information of a target interface is acquired according to input information of a user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the household appliance module. Thus, after the household appliance module is connected to the target interface, the household appliance module can communicate with the testing device. The testing device can simulate the operation of the household appliance, so that the testing device can respond according to the received command after receiving the command from the target interface, thereby simulating the operation of the household appliance. Specifically, the test procedure is as follows: the testing device automatically operates the interactive terminal, sends out an instruction for controlling the household electrical appliance (mainly sent to the household electrical appliance module), and after the sent control instruction is received by the household electrical appliance module, the control instruction is sent to the testing device through the target interface by the household electrical appliance module, and after the testing device receives the instruction from the target interface, the testing device responds according to the received instruction, so that the operation of the household electrical appliance is simulated in a remote control mode, and the testing of the intelligent module and the app of the intelligent household electrical appliance is realized. According to the scheme, the testing device can automatically operate the interactive terminal to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Furthermore, the testing method simulates the work of the household electrical appliance by the testing device, so that the household electrical appliance does not need to be placed in a testing place, and the testing place only needs to be provided with a small amount of space for placing the household electrical appliance modules, so that the space required by the testing place is obviously reduced, and the testing cost is reduced.
In addition, in view of the fact that the home appliance modules among different home appliances are basically universal, the function of apps of different home appliances can be tested through one home appliance module, app tests of a plurality of home appliances can be achieved through the same set of testing scheme, corresponding testing cases do not need to be customized for home appliances of different models, and accordingly cost of intelligent home appliance automatic testing is reduced.
Optionally, response information generated in response to the instruction is obtained, and the response information is sent to the home appliance module through the target interface.
In this embodiment, in the process of simulating the operation of the home appliance by the testing device, in response to some instructions, response information is generated, and the generated response information can be sent to the home appliance module through the target interface and then fed back to the application program by the home appliance module, so that normal information interaction between the application program and the home appliance is simulated. Of course, in the process that the test device simulates the operation of the home appliance, only the action may be performed in response to the instruction, without generating feedback information.
In a specific embodiment, the method for testing the home appliance includes a distribution network test, where, as shown in fig. 2, the distribution network test includes the following steps:
s202, connecting a household appliance module to a target interface;
s204, obtaining information of a target interface, and configuring the target interface as an interface for communicating with the household appliance module;
s206, controlling the interactive terminal to start an application program and opening a distribution network interface of the application program;
s208, acquiring a distribution network interface, and checking whether the distribution network interface meets preset requirements;
s210, controlling the interactive terminal to send a hot spot opening instruction to the household appliance module under the condition that the distribution network interface meets the preset requirement, and receiving the hot spot opening instruction by the household appliance module;
s212, acquiring a hot spot opening instruction received by the home appliance module through a target interface, and responding to the hot spot opening instruction, simulating a hot spot opening function of the home appliance;
s214, when the interactive terminal finds the household electrical appliance, operating the interactive terminal to perform network distribution for the household electrical appliance: the interactive terminal sends an instruction to the household appliance module, the test terminal obtains the instruction received by the household appliance module through the target interface, and then the network distribution process of the household appliance is simulated according to the received instruction.
In this embodiment, an automatic network distribution process of the home appliance can be simulated, so that a network distribution function of the home appliance is tested. The method comprises the following specific steps: the testing device starts an application program firstly, and then sends a distribution network starting instruction to the interactive terminal so as to operate the interactive terminal to open a distribution network interface. And then the testing device verifies whether the distribution network interface meets the requirements, after the requirements are met, the control interaction terminal sends a hot spot opening instruction, the household appliance module receives the instruction and then sends the instruction to the testing device, and then the testing device simulates household appliances and opens a hot spot switch so that the household appliances can be found, and subsequent distribution network operation is performed. After the interactive terminal finds the information of the household electrical appliance through searching, the testing device can operate the interactive terminal to simulate the network distribution operation of the household electrical appliance until the network distribution is completed. By the method, the whole automatic distribution network test is realized, the whole test process is free from artificial participation, and the efficiency and the frequency of the automatic test are improved.
Optionally, the method for testing the home appliance further includes: after the network distribution is completed, display information of the household electrical appliance is obtained from the interactive terminal, and whether the household electrical appliance is successfully distributed or not is judged according to the display information.
In this embodiment, after the network allocation is completed, the home appliance has a special identifier on the interactive terminal, that is, the display mode is different from that before the network allocation, and after the network allocation simulation test, whether the network allocation is successful can be verified by acquiring the display information of the home appliance on the interactive terminal. By the verification, the network allocation success of the household appliances can be ensured, and the problem that the household appliances are not successfully allocated but not found is avoided, so that the accuracy of the network allocation test of the household appliances can be improved.
Optionally, the step of outputting the network allocation start command to the interactive terminal includes: and outputting a distribution network starting instruction to the interactive terminal through the HTTP request.
Optionally, the hotspot comprises a bluetooth hotspot and/or a WIFI hotspot. The form of the hot spot can be specifically selected according to a network module built in the home appliance.
Optionally, the test method further comprises: and sending a class code modification instruction to the household appliance module to modify the class code by the household appliance module.
Wherein, in order to be convenient for the management and the control of different kinds of household electrical appliances, be provided with the class on the household electrical appliances module. And the household appliance modules of different household appliances have different class codes. I.e. the type of the home appliance can be determined based on the class code. When different kinds of household appliances are tested, the test device can send out instructions for modifying the class code to the household appliance module, so that the class code is modified after the household appliance module receives the instructions, and the household appliance module is matched with the class of the household appliance to be tested. And different class codes can also correspond to different hot spots, so that the class codes can be modified, and the household appliance module is controlled to start different hot spots. The reset of the household appliance module can be realized by modifying the class code.
After receiving the network allocation instruction, the home appliance module starts different home appliances according to the class code in the communication protocol inside the home appliance module. Optionally, the step of controlling the interactive terminal to operate the application program to issue an instruction for controlling the home appliance further includes: after the distribution network is completed, the control interaction terminal sends out an instruction for controlling the running of the household electrical appliance so as to test the performance of the household electrical appliance.
In this embodiment, after the home appliance completes the network configuration test, the test of other performances of the app may be performed, that is, other control instructions are sent to the home appliance by operating the interaction terminal to simulate the operation of the user, so as to implement the test of other functions of the app of the home appliance.
Optionally, the method for testing the home appliance further includes: acquiring and storing each operation interface of the interactive terminal; or each operation interface of the interactive terminal is obtained and sent to the server.
In the embodiment, the analysis and judgment of the distribution network test and the app function test of the household electrical appliance are facilitated by recording the operation interface of the interactive terminal.
Further, the test device is matched with a server, and the operation of simulating the household appliance can specifically comprise: and sending the instruction to the server to simulate the operation of the household appliance through the server, and receiving response information fed back by the server.
In this embodiment, the home appliance simulation operation can be put on the server at the back end, so that the workload of the testing device itself can be reduced, and the performance requirement on the testing device can be reduced. Of course, the home appliance simulation operation may be put on the test device without considering the performance requirements of the test device.
In a second aspect, an embodiment of the present application provides a testing device for a home appliance. The home appliance to be tested is configured with a home appliance module 530, the interaction terminal 520 can communicate with the testing device 510, and an application program is installed on the interaction terminal 520, and the home appliance can be distributed with a network and controlled to work through the application program. As shown in fig. 3, the test apparatus 300 of the home appliance includes: a configuration unit 310, configured to configure the target interface as an interface for communication with the home appliance module, and when the home appliance module is connected to the target interface, the configuration unit is capable of communicating with the testing device; a control unit 320, configured to control the interactive terminal to operate the application program, so as to issue an instruction for controlling the home appliance; an acquisition unit 330 for acquiring the instruction received by the home appliance module from the target interface; and the simulation response unit 340 is used for responding to the instruction and simulating the operation of the household appliance.
According to the testing device 300 of the home appliance, before testing, the testing device, the interaction terminal provided with the app (application program) for controlling the intelligent home appliance, and the home appliance module can be connected, so that communication between the devices can be performed normally. Specifically, the testing device and the matched interaction terminal can be well connected through a wireless network, bluetooth and the like. The household appliance module can be connected to the appointed interface through the serial interface. When the household appliance needs to be tested, information of a target interface is acquired according to input information of a user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the household appliance module. Thus, after the household appliance module is connected to the target interface, the household appliance module can communicate with the testing device. The testing device can simulate the operation of the household appliance, so that the testing device can respond according to the received command after receiving the command from the target interface, thereby simulating the operation of the household appliance. Specifically, the test procedure is as follows: the testing device automatically operates the interactive terminal, sends out an instruction for controlling the household electrical appliance (mainly sent to the household electrical appliance module), and after the sent control instruction is received by the household electrical appliance module, the control instruction is sent to the testing device through the target interface by the household electrical appliance module, and after the testing device receives the instruction from the target interface, the testing device responds according to the received instruction, so that the operation of the household electrical appliance is simulated in a remote control mode, and the testing of the intelligent module and the app of the intelligent household electrical appliance is realized. According to the scheme, the testing device can automatically operate the interactive terminal to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Furthermore, the testing method simulates the work of the household electrical appliance by the testing device, so that the household electrical appliance does not need to be placed in a testing place, and the testing place only needs to be provided with a small amount of space for placing the household electrical appliance modules, so that the space required by the testing place is obviously reduced, and the testing cost is reduced.
In addition, in view of the fact that the home appliance modules among different home appliances are basically universal, the function of apps of different home appliances can be tested through one home appliance module, app tests of a plurality of home appliances can be achieved through the same set of testing scheme, corresponding testing cases do not need to be customized for home appliances of different models, and accordingly cost of intelligent home appliance automatic testing is reduced.
As shown in fig. 4, an electronic device 400 according to some embodiments of the present application includes: the memory 410, the memory 410 stores a program or an instruction, and the processor 420 implements the steps of the method for testing a home appliance provided in any one of the aspects when the processor 420 executes the program or the instruction.
In this embodiment, the electronic device 400 can implement the steps of the method for testing a home appliance set forth in any of the above embodiments, so that all the advantages defined by the method for testing a home appliance are achieved.
The test device of the household electrical appliance in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The test device of the home appliance in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The testing device for the household electrical appliance provided by the embodiment of the application can realize each process realized by the testing method embodiment of the household electrical appliance, and in order to avoid repetition, the description is omitted here. A readable storage medium according to some embodiments of the present application has stored thereon a program or instructions, which when executed, implement the steps of the method for testing a home appliance provided in any of the aspects of the first aspect.
In this embodiment, the readable storage medium has all the advantages defined by the method for testing the home appliance, because the steps of the method for testing the home appliance set forth in any one of the embodiments can be implemented.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
It should be noted that, the electronic device in the embodiment of the present application includes a mobile electronic device, such as a mobile phone, and may also include a non-mobile electronic device, such as a computer, a game console, and the like.
As shown in fig. 5 and fig. 6, in a fifth aspect, an embodiment of the present application provides a test system for a home appliance, including: a home appliance module 530 for controlling the operation of the home appliance; the interactive terminal 520 is connected with the home appliance module 530, and an application program is installed on the interactive terminal 520 and used for controlling the work of the home appliance; the testing device 510 of the home appliance according to any one of the above-mentioned embodiments and/or the electronic device according to any one of the above-mentioned embodiments, where the testing device 510 and/or the electronic device are provided with a target interface; after the home appliance module 530 is connected to the target interface, it can communicate with the testing device 510 and/or the electronic device through the target interface.
According to the home appliance testing system of the present application, before testing, the testing device 510, the interaction terminal 520 with the app (application program) for controlling the intelligent home appliance, and the home appliance module 530 may be connected, so that communication between these devices can be performed normally. Specifically, the testing device 510 and the mating interactive terminal 520 may be connected via a wireless network, bluetooth, etc. And the home appliance module 530 may be connected to a designated interface through a serial interface. When the home appliance needs to be tested, the information of the target interface is acquired according to the input information of the user, then the target interface is determined based on the acquired information of the target interface, and then the target interface is configured as an interface for communication with the home appliance module 530. Thus, the home appliance module 530 is connected to the target interface, and is capable of communicating with the testing device 510. The test device 510 is capable of simulating the operation of the home appliance, so that the test device 510 can respond according to the received command after receiving the command from the target interface, thereby simulating the operation of the home appliance. Specifically, the test procedure is as follows: the testing device 510 automatically operates the interaction terminal 520, sends out an instruction for controlling the home appliance (mainly sent to the home appliance module 530), and after the sent control instruction is received by the home appliance module 530, the control instruction is sent to the testing device 510 through the target interface by the home appliance module 530, and after the test device 510 receives the instruction from the target interface, the test device responds according to the received instruction, so that the operation of the home appliance is simulated through a remote control mode, and the testing of apps of the intelligent module and the intelligent home appliance is realized. According to the scheme, the testing device 510 can automatically operate the interactive terminal 520 to realize the simulation operation of the household electrical appliance, so that the operation of a user on the household electrical appliance through the interactive terminal 520 is simulated, and the intelligent testing of the intelligent module and the app of the household electrical appliance is realized. In the testing process, no human participation is needed, so that the testing of the household appliance is simpler and more intelligent.
Further, in the testing method, since the operation of the home appliance is simulated by the testing device 510, the home appliance does not need to be placed in the testing place, and the testing place only needs to be provided with a small amount of space for placing the home appliance module 530, so that the space required in the testing place is obviously reduced, and the testing cost is reduced.
In addition, in view of the fact that the home appliance modules 530 between different home appliances are basically universal, the application can test the functions of apps of different home appliances through one home appliance module 530, so that app tests of a plurality of home appliances can be realized through the same set of test schemes, corresponding test cases do not need to be customized for home appliances of different models, and the cost of intelligent home appliance automatic test is reduced.
Further, as shown in fig. 5, the test system of the home appliance further includes a server 570, and the server is connected to the test device 510, so as to cooperate with the work of the test device 510, for example, a part of the work on the test device 510 may be put on the server 570 to complete. For example, the simulated home device may be placed on the server 570 to complete.
The method and system for testing home appliances of the present application are described below with reference to a specific embodiment.
With the continuous development of intelligent home appliance technology and internet technology, intelligent home appliances, such as intelligent air conditioners, intelligent refrigerators and the like, are continuously popularized. Current intelligent appliances require a distribution network (wireless modules (Wi-Fi, bluetooth, etc.) within the appliance are connected to the internet). However, the panel of the household appliance is relatively simple, and the WIFI name and the password are required to be told to the household appliance with the aid of the mobile phone App. The home appliance is automatically accessed to the Internet.
The existing intelligent household electrical appliances are very many in types, the on-line used module versions are very many, and the near hundred household electrical appliances in a laboratory can be used for distribution network testing every day. In addition, the problems of serious fragmentation of the mobile phone end and frequent app reform are commonly encountered in the industry. Traditional manual testing methods are cumbersome and inefficient. The automatic test can not realize the complete automatic test because the home appliances are operated by people to enable the modules to enter the distribution network state. In order to solve the problem, the application designs a set of automatic test scheme, the whole automatic test process breaks away from artificial participation, and the efficiency and the frequency of the automatic test are improved.
Wherein, as shown in fig. 6, the whole automated test system comprises: the system comprises a UI automation test module 560, an interaction terminal 520, an intelligent household appliance module 530 (mainly comprising a Bluetooth/AP module), a PC serial communication module 540 and a cloud 550. The UI automation testing module 560 includes a server and a agent, where the agent may be the testing device 510 in fig. 5, and the server is the server 570.
The home appliance module 530 is connected to the PC serial communication module 540 and plugged into the agent of the UI automation test module 560. And deploying a program of the UI automation test module and a program capable of receiving the control household appliance module initiated by the UI automation test module on the agent of the UI automation test module 560.
UI automation test module 560 includes a server side and a agent side. The method is mainly used for controlling and checking whether the interface on the mobile phone meets the software requirement. In the automatic test process, the home appliance module is remotely controlled by the program for controlling the home appliance module through the HTTP request. Specifically:
PC serial port communication module 540: is responsible for being connected with a module to be tested and is inserted into the agent through a USB port. The home appliance module is controlled by transmitting and sending serial data under the control of remote messages.
Home appliance module 530: the home appliance module refers to an electronic module embedded in a home appliance for controlling and managing various functions of the home appliance. The household appliance module generally comprises a microcontroller, a sensor, a communication module and other components, and can realize intelligent control and networking functions of household appliances. For example, the intelligent air conditioning module can remotely control an air conditioning switch, temperature adjustment, wind speed control and the like through the mobile phone app, and can also realize functions of voice control, timing switch and the like.
UI automation test module 560: a tool platform for implementing UI automation testing. The UI automation test module comprises a server end and a agent end. The method is mainly used for controlling and checking whether the interface on the mobile phone meets the software requirement. In the automatic test process, the home appliance module is remotely controlled by the program for controlling the home appliance module through the HTTP request. Meanwhile, the UI automation test module 560 has a function of simulating the operation of the home appliance to be tested, that is, the UI automation test module 560 has a program of simulating the operation of the home appliance to be tested, so that the operation of the home appliance to be tested can be simulated.
Cloud 550: and a set of computers connected to the Internet.
Interaction terminal 520: refers to a device or program that a user interacts with the smart home system. It allows a user to control the behavior of the smart home by inputting commands or operations, and at the same time, can also acquire the status or data of the home from the smart home system. Common interaction terminals include mobile phone terminals, central control screens and the like. An app for controlling the home appliance is installed on the interactive terminal 520.
Key point of this embodiment:
although the intelligent household appliances of different types have different forms and functions. But the intelligent module is the same, and it communicates with the electronic control board of household electrical appliances through serial ports. If different household appliances can be started through the remote control intelligent module, the automatic test of the intelligent household appliances can be much easier.
Based on this, this application has designed a set of device, is connected with the module that is to test through the serial ports, makes the device possess networking ability, realizes long-range distribution network command that issues, and controlling means initiates the distribution network instruction to the module through the serial ports. The specific process is as follows:
1. the tester controls the program to read serial port information sent by the module to the household appliance from the appointed serial port through the HTTP request and respond the serial port information. The HTTP request can carry parameters to control how the program responds to the message to the module, so as to achieve the purpose of controlling the module to simulate various household appliances. By message control, the appliance can be controlled in a more versatile manner.
2. And after receiving the network allocation instruction, the module operates according to the class code defined in the communication protocol between the household appliance module and the electric control board of the household appliance. Such as resetting the module, starting bluetooth, WIFI hotspot, etc. According to different class codes, one module can simulate different household appliances to test. Thereby avoiding stacking a large number of home appliances.
3. After the controlled module simulates the household appliance, an interface automation testing tool can be utilized to automatically test the app.
As shown in fig. 7, a specific test flow is as follows:
s701: and connecting the interactive terminal and the module. The method comprises the following two steps:
And connecting the interactive terminal to be tested and the module to the UI automation test module according to the topological structure.
And starting a remote control program capable of controlling the household appliance module through the message on the agent.
S702: the UI automation test module opens an interactive interface on the interactive terminal. The method comprises the following two steps:
and the UI automation testing module opens an interactive interface on the interactive terminal through the automation testing suite.
Verifying that the presentation on the interactive interface meets the software design expectations.
S703: the UI automatic test module plays a role in hot spots of corresponding household appliances through the remote control program control module. The method comprises the following two steps:
the UI automatic test module transmits household appliance type information needing to be heated through an HTTP request.
And the remote control program sends a control instruction to the household appliance module according to the control instruction. The household appliance module can play a hot spot of the corresponding household appliance under the control of the control instruction.
S704: the interactive terminal can discover new household appliances.
And after detecting that a new household appliance exists on the interactive terminal, correctly displaying on an interface and guiding a user to complete network distribution.
S705: and the UI automation test module is operated on the interactive terminal to complete network configuration. The method comprises the following three steps:
The UI automation test module can detect that the new household appliance is correctly displayed on the interactive terminal.
And the UI automation test module completes network configuration on an operation interface on the interactive terminal according to the software design requirement and verifies that the display on the interactive terminal meets the expectations.
In the network configuration process, the message interaction between the home appliance module and the home appliance is automatically completed by a remote control program.
S706: the UI automation test module collects and processes test results. The method comprises the following two steps:
and the UI automation test module judges whether the network configuration of the household appliance is successful or not according to information display on the interactive terminal.
The UI automation test module sends the test result to the UI automation test server so as to facilitate real-time monitoring and data analysis.
S707: the home appliance control function related to the home appliance is continuously tested. The method comprises the following two steps:
and the UI automation test module completes the test of other functional points according to the software design requirement. Such as controlling appliances, etc.
The UI automation test module sends the test result to the UI automation test server so as to facilitate real-time monitoring and data analysis.
Fig. 8 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: radio frequency unit 2001, network module 2002, audio output unit 2003, input unit 2004, sensor 2005, display unit 2006, user input unit 2007, interface unit 2008, memory 2009, and processor 2010.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power source 2011 (such as a battery) for powering the various components, where the power source 2011 may be logically connected to the processor 2010 through a power management system to perform functions such as managing charging, discharging, and power consumption. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 2007 receives a first input;
processor 2010 generates and stores a corresponding original operation record according to the first input, wherein the original operation record includes at least one original operation node;
the user input unit 2007 receives a second input to a target operation node among the operation nodes;
processor 2010 generates adjusted simulated operational records in response to the second input;
and controlling the electronic equipment to run corresponding programs or functions according to the simulated operation records.
Optionally, the first input includes at least one input step, and each original operation node includes one input step and a corresponding operation result;
Wherein, the operation result is: after receiving the input step, the program or function of the electronic device outputs a feedback result according to the input step.
The input unit 2004 acquires a program or function corresponding to the first input;
the memory 2009 records each input step and the corresponding operation result according to the input sequence of the input steps;
the processor 2010 correspondingly stores the program or function corresponding to the first input, the input steps and the operation result in the input order, and forms an original operation record.
Optionally, the display unit 2006 displays an identification associated with the original operation record;
the user input unit 2007 receives a third input of the identification;
the display unit 2006 displays the original operation nodes in the original operation record in the input order in response to the third input.
Optionally, the processor 2010 adjusts the target input step corresponding to the target operation node according to the second input, to obtain an adjusted analog input step;
the processor 2010 controls the electronic equipment to run a program or a function corresponding to the target input step according to the analog input step so as to obtain an analog operation result corresponding to the analog input step;
the processor 2010 generates corresponding simulation operation nodes according to the simulation input steps and the simulation operation results, and generates simulation operation records according to the simulation operation nodes;
The input sequence corresponding to the analog operation node is the same as the input sequence corresponding to the target operation node.
Optionally, the user input unit 2007 receives a running input;
processor 2010, in response to the run input, controls the electronic device to run a corresponding program or function according to the simulated operation record.
Optionally, the processor 2010 separately determines a simulated operation result of each simulated operation node in each of the plurality of simulated operation records;
the display unit 2006 displays corresponding prompt information when any two simulated operation records exist and the simulated operation results of corresponding simulated operation nodes in any two simulated operation records are different.
According to the method and the device for processing the operation information, the first input of the user is stored and is formed into the original operation node according to each operation step, so that the user can trace back the operation node with the error after the operation error occurs and conduct targeted correction, after correction, the operation record is formed into a complete operation record and is executed according to the stored correct node and the corrected node, the user is prevented from manually operating from the beginning, on one hand, quick correction of misoperation is achieved, on the other hand, the user is not required to operate again, the possibility of misoperation again is fundamentally avoided, and the interactive experience of the user is improved.
It should be appreciated that in embodiments of the present application, the input unit 2004 may include a graphics processor (Graphics Processing Unit, GPU) 5082 and a microphone 5084, the graphics processor 5082 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode.
The display unit 2006 may include a display panel 5122, and the display panel 5122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 2007 includes a touch panel 5142 and other input devices 5144. The touch panel 5142 is also referred to as a touch screen. The touch panel 5142 may include two parts of a touch detection device and a touch controller. Other input devices 5144 can include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 2009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 2010 may integrate an application processor with a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 2010.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the test method embodiment of the home appliance can be realized, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims (12)

1. The utility model provides a test method for tame electric installation, its characterized in that is used for the testing arrangement of tame electric installation, tame electric installation is furnished with the tame electric module, testing arrangement can communicate with interactive terminal, install the application program that is used for controlling tame electric installation on the interactive terminal, the test method of tame electric installation includes:
configuring a target interface as an interface for communicating with the home appliance module, wherein the home appliance module can communicate with the testing device when being connected to the target interface;
controlling the interactive terminal to operate the application program so as to send out an instruction for controlling the household electrical appliance;
acquiring an instruction received by the household appliance module from the target interface;
and responding to the instruction, and simulating the operation of the household appliance.
2. The method of testing a home device of claim 1, further comprising:
and obtaining response information generated in response to the instruction, and sending the response information to the household appliance module through the target interface.
3. The method according to claim 1, wherein the step of controlling the interactive terminal to operate the application program to issue an instruction to control the home appliance comprises:
Controlling the interactive terminal to start the application program;
controlling the interactive terminal to open a distribution network interface of the application program;
acquiring the distribution network interface and checking whether the distribution network interface meets preset requirements;
controlling the interactive terminal to send a hot spot opening instruction to the home appliance module under the condition that the distribution network interface meets the preset requirement so as to enable the home appliance module to open a hot spot function of the home appliance;
and when the interactive terminal searches the information of the household electrical appliance, controlling the interactive terminal to carry out network distribution for the household electrical appliance.
4. The method for testing a home appliance of claim 3, further comprising:
and after the network distribution is completed, acquiring display information of the household electrical appliance on the interactive terminal, and judging whether the household electrical appliance is successfully distributed according to the display information.
5. The method of testing a home device of claim 1, further comprising:
and sending a class code modification instruction to the household appliance module so as to enable the household appliance module to modify the class code.
6. The method of claim 1, wherein simulating operation of the home device in response to the instruction further comprises:
The instruction is sent to a server to simulate the operation of the household appliance through the server;
and receiving response information fed back by the server.
7. The method according to any one of claims 1 to 6, wherein the step of controlling the interactive terminal to operate the application program to issue an instruction to control the home appliance further comprises:
and after the network distribution is completed, controlling the interactive terminal to send out an instruction for controlling the running of the household electrical appliance so as to test the performance of the household electrical appliance.
8. The method for testing a home appliance according to any one of claims 1 to 6, further comprising:
acquiring and storing each operation interface of the interactive terminal; or (b)
And acquiring each operation interface of the interactive terminal and sending the operation interfaces to a server.
9. The utility model provides a testing arrangement of tame electric installation, its characterized in that, tame electric installation is furnished with the tame electric module, testing arrangement can communicate with interactive terminal, install on the interactive terminal and be used for controlling tame electric installation's application, tame electric installation's testing arrangement includes:
the configuration unit is used for configuring a target interface as an interface for communicating with the household appliance module, and the household appliance module can communicate with the testing device when being connected to the target interface;
The control unit is used for controlling the interactive terminal to operate the application program so as to send out an instruction for controlling the household electrical appliance;
the acquisition unit acquires the instruction received by the household appliance module from the target interface;
and the simulation response unit is used for responding to the instruction and simulating the operation of the household appliance.
10. An electronic device, comprising:
a memory storing a program or instructions;
a processor, which when executing the program or the instructions, implements the steps of the method for testing a home appliance according to any one of claims 1 to 8.
11. A readable storage medium, characterized in that it has stored thereon a program or instructions, which when executed, implement the steps of the method for testing a home appliance according to any of claims 1 to 8.
12. A test system for a home device, comprising:
the household appliance module is used for controlling the work of the household appliance;
the interactive terminal is connected with the household appliance module, and is provided with an application program for controlling the household appliance to work;
The test device of the home appliance according to claim 9, and/or the electronic device according to claim 10, wherein the test device and/or the electronic device are/is provided with a target interface;
after the household appliance module is connected with the target interface, the household appliance module can communicate with the testing device and/or the electronic equipment through the target interface.
CN202311537304.7A 2023-11-16 2023-11-16 Household appliance testing method, device and system and electronic equipment Pending CN117544546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311537304.7A CN117544546A (en) 2023-11-16 2023-11-16 Household appliance testing method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311537304.7A CN117544546A (en) 2023-11-16 2023-11-16 Household appliance testing method, device and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN117544546A true CN117544546A (en) 2024-02-09

Family

ID=89789472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311537304.7A Pending CN117544546A (en) 2023-11-16 2023-11-16 Household appliance testing method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN117544546A (en)

Similar Documents

Publication Publication Date Title
CN110209639B (en) Information processing method, device and system
CN106953785B (en) Intelligent household equipment adding method and device
CN106648669B (en) Product equipment remote firmware upgrading method and system
US9225705B2 (en) Method and system for providing a service for a mobile device and non-transitory computer-readable recording medium
EP3174251B1 (en) Method and apparatus for identifying type of electronic device on smart socket
CN103680118A (en) An intelligent remote control system and a control method thereof
CN112328492B (en) Interaction control method and device between anchor and electronic equipment
EP4230927A1 (en) Connection and control board for air conditioning system, air conditioning system, and adaptive control method
CN108733403B (en) BIOS setting method and device
WO2023045911A1 (en) Motor parameter setting method, device, and computer readable storage medium
CN202795345U (en) Application software test system
CN112601211A (en) Intelligent household appliance control equipment, mobile terminal and testing method
CN108293199A (en) The electronic device and method of event management service are provided
CN114201184A (en) Method, device, storage medium, equipment and system for burning information
CN113904949A (en) Distribution network binding method and device, intelligent equipment and storage medium
CN113434255A (en) Virtual equipment creating method and device
CN113434422A (en) Virtual device debugging method and device and virtual device debugging system
CN117544546A (en) Household appliance testing method, device and system and electronic equipment
CN112463199A (en) System upgrading method and terminal
KR101828898B1 (en) Boiler controlling method based on application and terminal apparatus
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium
CN114116090A (en) Information display method and device, electronic equipment and computer readable storage medium
CN103576019A (en) Testing tool, system and method of electrical equipment
CN113434421A (en) Virtual equipment testing method and device
CN113760750B (en) Intelligent device testing method and device, electronic device and storage medium

Legal Events

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