CN114389908A - Method and system for testing remote control curtain opening and closing - Google Patents
Method and system for testing remote control curtain opening and closing Download PDFInfo
- Publication number
- CN114389908A CN114389908A CN202011125657.2A CN202011125657A CN114389908A CN 114389908 A CN114389908 A CN 114389908A CN 202011125657 A CN202011125657 A CN 202011125657A CN 114389908 A CN114389908 A CN 114389908A
- Authority
- CN
- China
- Prior art keywords
- test
- curtain
- round
- time
- closing
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Curtains And Furnishings For Windows Or Doors (AREA)
- Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)
Abstract
The invention provides a testing method for remotely controlling a curtain switch, which comprises the following steps: step S1, setting a closed test scene, and placing the smart phone on the curtain side of the test scene; step S2, initializing, and remotely controlling the calling interface to close the curtain; step S3, setting the test duration and the test interval duration of each round, and remotely controlling the curtain switch to carry out the on and off operations of multiple rounds; step S4, acquiring the corresponding brightness value of the smart phone after the curtain is opened and the corresponding brightness value of the smart phone after the curtain is closed in each round; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report. The testing method replaces manual field observation of the real-time opening and closing states of the intelligent curtain, reduces labor cost and improves testing efficiency.
Description
Technical Field
The invention relates to the technical field of Internet equipment, in particular to a method and a system for testing the opening and closing of a remote control curtain.
Background
The internet of things, namely the internet with all things connected, is an extended and expanded network on the basis of the internet, combines various information sensing devices with the internet to form a huge network, and realizes the interconnection and intercommunication of people, machines and things at any time and any place. The definition of the internet of things is a network which connects any article with the internet according to an agreed protocol through information sensing equipment such as radio frequency identification, an infrared sensor, a global positioning system, a laser scanner and the like to carry out information exchange and communication so as to realize intelligent identification, positioning, tracking, monitoring and management of the article.
Nowadays, the application field of the internet of things relates to aspects, and the application of the internet of things in the infrastructure fields of industry, agriculture, environment, traffic, logistics, security and the like effectively promotes the intelligent development of the aspects, so that the limited resources are more reasonably used and distributed, and the industry efficiency and benefit are improved. The method is applied to the fields which are closely related to life, such as home furnishing, medical health, education, finance, service industry, tourism industry and the like, the service range, the service mode, the service quality and the like are greatly improved, and the life quality of people is greatly improved.
And this patent is mainly to the intelligent house direction of thing networking study. The smart home is the basic application of the Internet of things in the home, and with the popularization of broadband services, smart home products relate to various aspects. The system is unmanned at home, and can intelligently control the opening and closing of curtains, televisions, intelligent air conditioners and the like at home by using clients such as mobile phones and the like; wifi is arranged in the socket, so that the current can be switched on and off at regular time by the remote control socket, even the electricity utilization condition of equipment can be monitored, an electricity utilization chart is generated, the electricity utilization condition can be clear at a glance, and resource use and expenditure budget are arranged; the intelligent weighing scale monitors the exercise effect; safety monitoring equipment such as intelligent camera, intelligent doorbell, smoke detector, intelligent alarm let you go out outside, also can be anytime and anywhere easily look over the affairs in home, prevent the potential safety hazard.
How to test the opening and closing of a remote-controlled smart window shade? A common and simple manual test scheme is to go to a corresponding test site, and check whether a corresponding expected result is achieved by operating a switch of a client of a corresponding product and observing the product with naked eyes. If stability test or pressure test need be carried out to the test target, need special manpower and the input of time to carry out the repeatability test, input cost of labor is high and efficiency is lower.
Disclosure of Invention
In order to overcome the problems, the invention aims to provide a method for testing a remote control curtain switch, which is used for repeatedly testing the stability of an intelligent curtain switch for a long time, so that the product quality is ensured, and the testing efficiency is improved.
The invention is realized by adopting the following scheme: a testing method for remotely controlling the opening and closing of a curtain comprises the following steps:
step S1, setting a closed test scene, and placing the smart phone on the curtain side of the test scene;
step S2, initializing, and remotely controlling the calling interface to close the curtain;
step S3, setting the test duration and the test interval duration of each round, and remotely controlling the curtain switch to carry out the on and off operations of multiple rounds;
step S4, acquiring the corresponding brightness value of the smart phone after the curtain is opened and the corresponding brightness value of the smart phone after the curtain is closed in each round; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
Further, the step S3 is further specifically: setting parameters: the test time length is A, and the test interval time length of each round is B; setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter C represents the starting time of the test; acquiring the starting time of each round as D, and starting to record the D, wherein the parameter D represents the starting time of each round of test; and sending a command for opening or closing the curtain to a corresponding interface, and opening or closing the curtain.
Further, the step S4 is further specifically: step S41, sending a command of opening the curtain to a corresponding interface, and opening the curtain;
step S42, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value x of the smart phone through a command;
step S43, sending a curtain closing instruction to a corresponding interface, and closing the curtain;
step S44, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value y of the smart phone through a command;
step S45, acquiring the end time E of the current round;
step S46, judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the current round is more than or equal to A hours, finishing the test, and executing a step S48;
judging that the end time E-test start time C of the current round is less than A hours, and executing the step S47;
step S47, determining the result of the current round of end time E-each round of start time D:
firstly, the end time E of the current round, namely the starting time D of each round is more than or equal to B minutes, the step is returned to the step S41, and a new round of instructions is executed;
the step S45 is returned to for execution again, the end time E of the round is obtained again until the end time E of the round-the start time D of each round is more than or equal to B minutes, and a new round of execution instruction is started from the step S41;
step S48, outputting a test report: the test report contains the number of rounds; the corresponding mobile phone brightness value after the curtain is opened and the corresponding mobile phone brightness value after the curtain is closed in each round; and in the test conclusion, the brightness value of the mobile phone in the set value range is passed, otherwise, the brightness value of the mobile phone in the set value range is not passed.
Furthermore, the test scene is a closed room separated into 2 spaces, a window and a smart curtain are installed in the middle, one space is provided with a stable light source, the smart phone is arranged in the other space, and the light source can be sensed by opening and closing the curtain.
The invention also provides a test system for remotely controlling the curtain opening and closing, which comprises a scene setting module, an interface calling module, a test parameter setting module and a test module;
the scene setting module is used for setting a closed test scene and placing the smart phone on the curtain side of the test scene;
the interface calling module is initialized and remotely controls the calling interface to close the curtain;
the test parameter setting module is used for setting the test duration and the test interval duration of each round and remotely controlling the curtain switch to carry out multi-round opening and closing operations;
the testing module is used for acquiring the brightness value of the smart phone corresponding to each round of opening the curtain and the brightness value of the smart phone corresponding to each round of closing the curtain; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
Further, the implementation manner of the test parameter setting module is further specifically: setting parameters: the test time length is A, and the test interval time length of each round is B; setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter C represents the starting time of the test; acquiring the starting time of each round as D, and starting to record the D, wherein the parameter D represents the starting time of each round of test; and sending a command for opening or closing the curtain to a corresponding interface, and opening or closing the curtain.
Further, the implementation manner of the test module further includes the following steps: step S41, sending a command of opening the curtain to a corresponding interface, and opening the curtain;
step S42, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value x of the smart phone through a command;
step S43, sending a curtain closing instruction to a corresponding interface, and closing the curtain;
step S44, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value y of the smart phone through a command;
step S45, acquiring the end time E of the current round;
step S46, judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the current round is more than or equal to A hours, finishing the test, and executing a step S48;
judging that the end time E-test start time C of the current round is less than A hours, and executing the step S47;
step S47, determining the result of the current round of end time E-each round of start time D:
thirdly, when the end time E of the current round and the start time D of each round are more than or equal to B minutes, returning to the step S41 and starting to execute a new round of instructions;
fourthly, the end time E of the current round is obtained, the start time D of each round is less than B minutes, the step S45 is executed again, the end time E of the current round is obtained again until the end time E of the current round and the start time D of each round are more than or equal to B minutes, and a new round of execution instruction is started from the step S41;
step S48, outputting a test report: the test report contains the number of rounds; the corresponding mobile phone brightness value after the curtain is opened and the corresponding mobile phone brightness value after the curtain is closed in each round; and in the test conclusion, the brightness value of the mobile phone in the set value range is passed, otherwise, the brightness value of the mobile phone in the set value range is not passed.
Furthermore, the test scene is a closed room separated into 2 spaces, a window and a smart curtain are installed in the middle, one space is provided with a stable light source, the smart phone is arranged in the other space, and the light source can be sensed by opening and closing the curtain.
The invention has the beneficial effects that: 1. the testing method replaces manual field observation of the real-time opening and closing states of the intelligent curtain, reduces labor cost and improves testing efficiency.
2. By adopting the testing method, the stability of the intelligent curtain switch can be repeatedly tested for a long time, so that the product quality is ensured.
3. The test method is flexible and changeable, can be applied to the test of other intelligent equipment, and is a relatively universal test method.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
FIG. 2 is a flow chart of a method according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of the system of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Referring to fig. 1, the testing method for remotely controlling the opening and closing of the curtain according to the present invention includes the following steps:
step S1, setting a closed test scene, and placing the smart phone on the curtain side of the test scene;
step S2, initializing, and remotely controlling the calling interface to close the curtain;
step S3, setting the test duration and the test interval duration of each round, and remotely controlling the curtain switch to carry out the on and off operations of multiple rounds;
step S4, acquiring the corresponding brightness value of the smart phone after the curtain is opened and the corresponding brightness value of the smart phone after the curtain is closed in each round; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
It is preferable not to use a solar light source because of the limited daytime of only 12 hours and the light source is not stable enough. The test scene is a closed room and is separated into 2 spaces, a window and an intelligent curtain are arranged in the middle of the closed room, a stable light source is placed in one space, the intelligent mobile phone is placed in the other space, and the light source can be sensed by opening and closing the curtain.
The invention is further illustrated below with reference to a specific embodiment:
referring to fig. 2, a method for testing a remote control curtain switch according to the present invention comprises:
1. initializing, calling an interface to close the curtain (so that the initial state of the curtain device is closed by default);
2. setting the parameter testing time length as A and the testing interval time length of each round as B.
For example: the testing time is 1 hour, and the interval time of each round of testing is 5 minutes;
3. setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter represents the starting time of the test;
4. acquiring the starting time of each round as D, and starting to record the D, wherein the parameter represents the starting time of each round of test;
5. sending a command of opening the curtain to a corresponding interface, and opening the curtain;
6. and acquiring the current screen brightness value x of the mobile phone through a command. For example: 105; (the mobile phone can automatically adjust the brightness according to the light source, and the value of the brightness can be shown in the following table II, the brightness value table after the mobile phone-7T PRO testing switch curtain is added to the first table)
7. Sending a curtain closing instruction to a corresponding interface, and closing the curtain;
8. and acquiring the current screen brightness value y of the mobile phone through a command. For example: 24; (the mobile phone can automatically adjust the brightness according to the light source, and the value of the brightness can be shown in the following table II, the brightness value table after the mobile phone-7T PRO testing switch curtain is added to the first table)
9. Acquiring the end time E of the current round;
10. judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the current round is more than or equal to A hours, finishing the test, and executing the step 12;
for example: the end time E-test start time C > of the current round is 1 hour, and the whole test duration already exceeds the initially set test duration by 1 hour, so the test is ended, and step 12 is executed;
judging that the end time E-test start time C of the current round is less than A hours, and executing the step 11;
for example: the end time E of the current round and the test start time C are less than 1 hour, and the whole test time does not exceed the initially set test time by 1 hour, so that the next round of test is continued and the step 11 is executed;
11. judging the result of the current round of end time E-each round of start time D:
firstly, the end time E of the current round and the starting time D of each round are more than or equal to B minutes, the step 4 is returned, and a new round of instructions are executed;
for example: the end time E-the start time D > of each round is 5 minutes, which indicates that the interval duration of one round exceeds 5 minutes, the next round of test can be executed, and step 4 is executed;
the end time E of the current round-the starting time D of each round is less than B minutes, the step 9 is returned to execute again, the end time E of the current round is obtained again until the end time E of the current round-the starting time D of each round is more than or equal to B minutes, and a new round of execution instruction is started from the step 4;
for example: the end time E of the current round-the starting time D of each round is less than 5 minutes, which indicates that the interval time of one round does not exceed 5 minutes, the step 9 is returned, the end time E of the current round is obtained again, and the step 10 is continuously executed;
12. and (3) outputting a test report: the test report contains
Number of rounds
Opening the curtain and the corresponding mobile phone brightness value in each round, and closing the curtain and the corresponding mobile phone brightness value;
test conclusion a value within the range we require is a pass test, and vice versa a fail.
Table 1: remote control curtain switch test report table
TABLE 1
Judgment basis- -acquisition of luminance value
The data in the following table 2 is that the mobile phone I plus 7T PRO is used, the system android 10 is used, the automatic brightness adjusting function of the mobile phone is firstly closed, the brightness of the mobile phone is adjusted to be the lowest, the mobile phone is placed in the building environment described above, a curtain is opened, the automatic brightness adjusting function of the mobile phone is started, and the brightness value is obtained; closing the curtain and obtaining the brightness value; the data thus obtained were cycled 5 times. As can be seen from table 2 below, in this environment, when the curtain is opened, the brightness value of the mobile phone is greater than or equal to 100; when the curtain is closed, the brightness value of the mobile phone is 24.
Therefore, when the remote control switching curtain is tested in the same environment and the same machine type, the data can be used as the judgment basis for switching the curtain, when the brightness value is equal to 24, the curtain is closed, the brightness value is greater than or equal to 100, and the curtain is opened. Since the dark coefficient is stable and the brightness of the light source may vary according to the lighting condition of the lamp each time, a certain error exists, so that the brightness value is constant when the curtain is closed, and the brightness value when the curtain is opened is in a certain range. Of course, this data will be different in different environments and different brands and models of mobile phones, so that standard setting is performed after actual testing is required.
Table 2: brightness value-taking table after opening and closing curtain by adding mobile phone-7T PRO test
TABLE 2
Window brightness value 24 for 1 closure | Open window brightness value 111 |
Window brightness value 24 for 2 closures | Open window brightness value 111 |
Window brightness value 24 for 3 times closure | Open window brightness value 110 |
Window brightness value 24 for 4 closures | Open window brightness value 105 |
Window brightness value 24 for 5 closures | Open window brightness value 100 |
As shown in fig. 3, the invention further provides a testing system for remotely controlling the opening and closing of the curtain, wherein the testing system comprises a scene setting module, an interface calling module, a testing parameter setting module and a testing module;
the scene setting module is used for setting a closed test scene and placing the smart phone on the curtain side of the test scene;
the interface calling module is initialized and remotely controls the calling interface to close the curtain;
the test parameter setting module is used for setting the test duration and the test interval duration of each round and remotely controlling the curtain switch to carry out multi-round opening and closing operations;
the testing module is used for acquiring the brightness value of the smart phone corresponding to each round of opening the curtain and the brightness value of the smart phone corresponding to each round of closing the curtain; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
The implementation manner of the test parameter setting module is further specifically: setting parameters: the test time length is A, and the test interval time length of each round is B; for example: the testing time is 1 hour, and the interval time of each round of testing is 5 minutes; setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter C represents the starting time of the test; acquiring the starting time of each round as D, and starting to record the D, wherein the parameter D represents the starting time of each round of test; and sending a command for opening or closing the curtain to a corresponding interface, and opening or closing the curtain.
The implementation of the test module further comprises the following steps: step S41, sending a command of opening the curtain to a corresponding interface, and opening the curtain;
step S42, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value x of the smart phone through a command;
step S43, sending a curtain closing instruction to a corresponding interface, and closing the curtain;
step S44, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value y of the smart phone through a command;
step S45, acquiring the end time E of the current round;
step S46, judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the current round is more than or equal to A hours, finishing the test, and executing a step S48;
for example: the end time E-start time C > of the test is 1 hour, and the whole test duration exceeds the initially set test duration by 1 hour, so that the test is ended, and step S48 is executed;
judging that the end time E-test start time C of the current round is less than A hours, and executing the step S47;
for example: the end time E of the current round and the test start time C are less than 1 hour, and the whole test time does not exceed the initially set test time by 1 hour, so that the next round of test is continued, and the step S47 is executed;
step S47, determining the result of the current round of end time E-each round of start time D:
thirdly, when the end time E of the current round and the start time D of each round are more than or equal to B minutes, returning to the step S41 and starting to execute a new round of instructions;
for example: the end time E-start time D > of the current round is 5 minutes, which indicates that the interval duration of one round exceeds 5 minutes, and the next round of test can be performed, step S41;
thirdly, the end time E of the current round-the starting time D of each round is less than B minutes, the step S45 is returned to execute again, the end time E of the current round is obtained again until the end time E of the current round-the starting time D of each round is more than or equal to B minutes, and a new round of execution instruction is started from the step S41;
for example: the end time of the round E-the start time of each round D is less than 5 minutes, which indicates that the interval time of one round does not exceed 5 minutes
Returning to the step S45, acquiring the end time E of the current round again, and continuing to execute the step S41;
step S48, outputting a test report: the test report contains the number of rounds; the corresponding mobile phone brightness value after the curtain is opened and the corresponding mobile phone brightness value after the curtain is closed in each round; and in the test conclusion, the brightness value of the mobile phone in the set value range is passed, otherwise, the brightness value of the mobile phone in the set value range is not passed.
The test scene is a closed room and is separated into 2 spaces, a window and an intelligent curtain are arranged in the middle of the closed room, a stable light source is placed in one space, the intelligent mobile phone is placed in the other space, and the light source can be sensed by opening and closing the curtain.
In a word, the invention considers that the adoption of an automatic testing method is more suitable for the switch test of the remote control intelligent curtain than a manual testing method. Because the curtain is tested to be opened and closed, a relatively closed test scene can be searched by using the condition of the light source, the mobile phone can be placed at the edge of the curtain by using the characteristic that the mobile phone can automatically adjust the brightness according to the light source, the test tool provided by the patent is used for issuing a curtain opening and closing instruction and then obtaining the brightness parameter fed back by the mobile phone, so that the test result that the curtain is normally opened or closed is obtained, and a test report is output.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.
Claims (8)
1. A method for testing the remote control curtain opening and closing is characterized in that: the test method comprises the following steps:
step S1, setting a closed test scene, and placing the smart phone on the curtain side of the test scene;
step S2, initializing, and remotely controlling the calling interface to close the curtain;
step S3, setting the test duration and the test interval duration of each round, and remotely controlling the curtain switch to carry out the on and off operations of multiple rounds;
step S4, acquiring the corresponding brightness value of the smart phone after the curtain is opened and the corresponding brightness value of the smart phone after the curtain is closed in each round; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
2. The method for testing the opening and closing of a remotely controlled window covering of claim 1, wherein: the step S3 further includes: setting parameters: the test time length is A, and the test interval time length of each round is B; setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter C represents the starting time of the test; acquiring the starting time of each round as D, and starting to record the D, wherein the parameter D represents the starting time of each round of test; and sending a command for opening or closing the curtain to a corresponding interface, and opening or closing the curtain.
3. The method for testing the opening and closing of a remotely controlled window covering of claim 2, wherein: the step S4 further includes: step S41, sending a command of opening the curtain to a corresponding interface, and opening the curtain;
step S42, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value x of the smart phone through a command;
step S43, sending a curtain closing instruction to a corresponding interface, and closing the curtain;
step S44, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value y of the smart phone through a command;
step S45, acquiring the end time E of the current round;
step S46, judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the round is more than or equal to A hours, finishing the test, and executing the step S48;
judging that the end time E-test start time C of the current round is less than A hours, and executing the step S47;
step S47, determining the result of the current round of end time E-each round of start time D:
when the current round of ending time E-each round of starting time D is more than or equal to B minutes, returning to the step S41, and starting to execute a new round of instructions;
the current round of end time E-each round of start time D is less than B minutes, the step S45 is executed again, the current round of end time E is obtained again until the current round of end time E-each round of start time D is more than or equal to B minutes, and a new round of execution instruction is started from the step S41;
step S48, outputting a test report: the test report contains the number of rounds; the corresponding mobile phone brightness value after the curtain is opened and the corresponding mobile phone brightness value after the curtain is closed in each round; and in the test conclusion, the brightness value of the mobile phone in the set value range is passed, otherwise, the brightness value of the mobile phone in the set value range is not passed.
4. The method for testing the opening and closing of a remotely controlled window covering of claim 1, wherein: the test scene is a closed room and is separated into 2 spaces, a window and an intelligent curtain are arranged in the middle of the closed room, a stable light source is placed in one space, the intelligent mobile phone is placed in the other space, and the light source can be sensed by opening and closing the curtain.
5. A test system for remotely controlling the opening and closing of a curtain is characterized in that: the test system comprises a scene setting module, an interface calling module, a test parameter setting module and a test module;
the scene setting module is used for setting a closed test scene and placing the smart phone on the curtain side of the test scene;
the interface calling module is initialized and remotely controls the calling interface to close the curtain;
the test parameter setting module is used for setting the test duration and the test interval duration of each round and remotely controlling the curtain switch to carry out multi-round opening and closing operations;
the testing module is used for acquiring the brightness value of the smart phone corresponding to each round of opening the curtain and the brightness value of the smart phone corresponding to each round of closing the curtain; thereby obtaining the test result that the curtain is normally opened or closed and outputting a test report.
6. The system of claim 5, wherein the remote control window covering switch comprises: the implementation manner of the test parameter setting module is further specifically as follows: setting parameters: the test time length is A, and the test interval time length of each round is B; setting the starting time of a test parameter to be C, and starting to record C, wherein the parameter C represents the starting time of the test; acquiring the starting time of each round as D, and starting to record the D, wherein the parameter D represents the starting time of each round of test; and sending a command for opening or closing the curtain to a corresponding interface, and opening or closing the curtain.
7. The system of claim 6, wherein the remote control window covering switch comprises: the implementation of the test module further comprises the following steps: step S41, sending a command of opening the curtain to a corresponding interface, and opening the curtain;
step S42, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value x of the smart phone through a command;
step S43, sending a curtain closing instruction to a corresponding interface, and closing the curtain;
step S44, the smart phone automatically adjusts the brightness according to the light source, and obtains the current screen brightness value y of the smart phone through a command;
step S45, acquiring the end time E of the current round;
step S46, judging the result of the current round of end time E-test start time C:
judging that the end time E-test start time C of the round is more than or equal to A hours, finishing the test, and executing the step S48;
judging that the end time E-test start time C of the round is less than A hours, and executing the step S47;
step S47, determining the result of the current round of end time E-each round of start time D:
when the current round of ending time E-each round of starting time D is more than or equal to B minutes, returning to the step S41, and starting to execute a new round of instructions;
the current round of end time E-each round of start time D is less than B minutes, the step S45 is executed again, the current round of end time E is obtained again until the current round of end time E-each round of start time D is more than or equal to B minutes, and a new round of execution instruction is started from the step S41;
step S48, outputting a test report: the test report contains the number of rounds; the corresponding mobile phone brightness value after the curtain is opened and the corresponding mobile phone brightness value after the curtain is closed in each round; and in the test conclusion, the brightness value of the mobile phone in the set value range is passed, otherwise, the brightness value of the mobile phone in the set value range is not passed.
8. The system of claim 5, wherein the remote control window covering switch comprises: the test scene is a closed room and is separated into 2 spaces, a window and an intelligent curtain are arranged in the middle of the closed room, a stable light source is placed in one space, the intelligent mobile phone is placed in the other space, and the light source can be sensed by opening and closing the curtain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011125657.2A CN114389908B (en) | 2020-10-20 | 2020-10-20 | Testing method and system for remote control curtain switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011125657.2A CN114389908B (en) | 2020-10-20 | 2020-10-20 | Testing method and system for remote control curtain switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114389908A true CN114389908A (en) | 2022-04-22 |
CN114389908B CN114389908B (en) | 2023-08-18 |
Family
ID=81194327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011125657.2A Active CN114389908B (en) | 2020-10-20 | 2020-10-20 | Testing method and system for remote control curtain switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114389908B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010068956A (en) * | 2000-01-11 | 2001-07-23 | 문해중 | Curtain and Blind Automation System with Running Time Setting Function |
CN106842027A (en) * | 2017-03-22 | 2017-06-13 | 美的智慧家居科技有限公司 | Curtain motor runnability detection means and detection method |
CN206557580U (en) * | 2017-03-17 | 2017-10-13 | 西北民族大学 | A kind of SCM Based warmhouse booth automatic ventilation window control system |
CN107733751A (en) * | 2017-09-25 | 2018-02-23 | 合肥艾斯克光电科技有限责任公司 | A kind of Internet bar's brightness regulation control system based on cell phone application |
US20190040676A1 (en) * | 2014-12-16 | 2019-02-07 | Current Products Corp. | Remote controlled motorized wand for controlling blinds |
CN109799727A (en) * | 2019-03-20 | 2019-05-24 | 北京理工大学 | A kind of smart home system of long-range control curtain and window |
-
2020
- 2020-10-20 CN CN202011125657.2A patent/CN114389908B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010068956A (en) * | 2000-01-11 | 2001-07-23 | 문해중 | Curtain and Blind Automation System with Running Time Setting Function |
US20190040676A1 (en) * | 2014-12-16 | 2019-02-07 | Current Products Corp. | Remote controlled motorized wand for controlling blinds |
CN206557580U (en) * | 2017-03-17 | 2017-10-13 | 西北民族大学 | A kind of SCM Based warmhouse booth automatic ventilation window control system |
CN106842027A (en) * | 2017-03-22 | 2017-06-13 | 美的智慧家居科技有限公司 | Curtain motor runnability detection means and detection method |
CN107733751A (en) * | 2017-09-25 | 2018-02-23 | 合肥艾斯克光电科技有限责任公司 | A kind of Internet bar's brightness regulation control system based on cell phone application |
CN109799727A (en) * | 2019-03-20 | 2019-05-24 | 北京理工大学 | A kind of smart home system of long-range control curtain and window |
Also Published As
Publication number | Publication date |
---|---|
CN114389908B (en) | 2023-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070156256A1 (en) | Home automation system and method utilizing outdoor environmental conditions | |
CN105867158A (en) | Smart-home control method and device based on artificial intelligence and system | |
EP3402138A1 (en) | Integrated gateway apparatus for implementing smart home | |
CN105743931A (en) | Control method and device applied to intelligent home platform | |
CN108709299A (en) | One kind being based on LoRa wireless remote intelligents air-conditioner control system and its control method | |
CN109215200A (en) | A kind of Multifunctional smart classroom control system and its control method | |
CN109218145B (en) | IOT equipment control interface display method, system, equipment and storage medium | |
CN104618201A (en) | Internet of things appliance control system, control method and appliance gateway | |
US11563594B2 (en) | Method for controlling a home-automation facility | |
CN108989162B (en) | Household intelligent robot management system | |
KR101412184B1 (en) | Crops control system and method using the same | |
CN108965077A (en) | Smart home interactive control method and system | |
CN111812993A (en) | Scene linkage control method, device and storage medium | |
CN108156058A (en) | Access method and device, the readable storage medium storing program for executing of intelligent gateway device | |
CN106054660B (en) | Control system and method of intelligent household equipment | |
US11070387B2 (en) | Method for recording a central control unit belonging to a home-automation facility | |
CN112015106B (en) | Smart home control system and control method | |
US11468280B2 (en) | Two-dimensional code based communication method, apparatus, and lift desk | |
CN114389908A (en) | Method and system for testing remote control curtain opening and closing | |
KR101915670B1 (en) | System and Operating Method for Home Network | |
CN204965043U (en) | Intelligent house control system based on cloud platform | |
CN104281078A (en) | Infrared device centralized control system | |
EP3175586B1 (en) | Residential automation system, equipment and process that is easy to install, configure and use | |
CN111857002A (en) | Electrical appliance control self-matching system | |
CN111812992A (en) | Intelligent home control method and device for gateway |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |