CN115277516A - Automatic scene testing system and method based on API (application program interface) - Google Patents

Automatic scene testing system and method based on API (application program interface) Download PDF

Info

Publication number
CN115277516A
CN115277516A CN202210865713.9A CN202210865713A CN115277516A CN 115277516 A CN115277516 A CN 115277516A CN 202210865713 A CN202210865713 A CN 202210865713A CN 115277516 A CN115277516 A CN 115277516A
Authority
CN
China
Prior art keywords
scene
test
execution result
api
test execution
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
CN202210865713.9A
Other languages
Chinese (zh)
Inventor
曾小红
徐凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202210865713.9A priority Critical patent/CN115277516A/en
Publication of CN115277516A publication Critical patent/CN115277516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/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
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an automatic scene test system and method based on an API interface, wherein the system comprises: the persistent integration platform is to: receiving at least one scene mode set by a person and scene setting parameters under each scene mode, establishing a test task to enable the test task to execute a test case, enabling the test case to determine a corresponding scene control instruction, and sending the scene control instruction to a corresponding API (application program interface); after the test task is executed, triggering constructed operation to enable the API interface to send the test execution result to a preset mailbox; the API interface is used for sending the scene control instruction to the cloud platform, receiving a test execution result fed back by the cloud platform, and sending the test execution result to a preset mailbox after receiving an instruction corresponding to constructed operation; the cloud platform is used for sending the scene control instruction to the WIFI module of the intelligent household appliance, receiving a test execution result fed back by the WIFI module, and feeding back the test execution result to the API. The invention can reduce the test cost.

Description

Automatic scene testing system and method based on API (application program interface)
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to an automatic scene testing system and method based on an API (application program interface).
Background
With the continuous development of society, the living standard of people is increasing day by day, and intelligent household appliances such as intelligent air conditioners, intelligent refrigerators, intelligent washing machines and the like are in force. The basic functional requirements of people on intelligent products are beginning to trend to scene experience, and the scene-based product experience becomes the mainstream direction of the household electrical appliances in the current society.
At present, in a scenario test scheme for home appliance products, a tester basically sets different scenario parameters on a terminal such as a mobile phone, performs scenario control on an intelligent home appliance, and judges whether the scenario test is successful according to the execution condition of the intelligent home appliance on the scenario. Fig. 1 specifically describes an implementation of a conventional scenario test scheme. In the conventional scene test scheme, a tester installs an APP on a mobile phone, then logs in the APP through networking, manually sets scene mode parameters on an APP control interface, then waits for an intelligent household appliance to respond, analyzes whether a scene is successfully executed or not by observing the response condition, and records a scene execution result.
It can be seen that in a conventional scenario testing scheme, generally, a scenario control interface on a mobile phone is used for setting scenario mode parameters, and generally, there are several scenario modes, each scenario mode has multiple parameters that can be set, a tester needs to manually test parameters in each scenario mode, different scenario modes and mode parameters need to be manually tested, and a test result needs to be manually recorded, so that time cost and labor cost are high, that is, the test cost is high.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the invention provides an automatic scene testing system and method based on an API interface.
In a first aspect, an embodiment of the present invention provides an automated scenario testing system based on an API interface, including:
a persistent integration platform to: receiving at least one scene mode set by a person and scene setting parameters under each scene mode, establishing a test task to enable the test task to execute a test case, enabling the test case to determine a corresponding scene control instruction according to each scene mode and the scene setting parameters under the scene mode, and sending the scene control instruction to a corresponding API (application program interface); after the test task is executed, triggering constructed operation to enable the API interface to send the test execution result to a preset mailbox; the API interface is a communication interface between a control app corresponding to the intelligent household appliance and the cloud platform;
the API interface is used for: sending the scene control instruction to a cloud platform, receiving a test execution result fed back by the cloud platform, and sending the test execution result to a preset mailbox after receiving an instruction corresponding to constructed operation;
the cloud platform is used for: sending the scene control instruction to a WIFI module of the intelligent household appliance, receiving the test execution result fed back by the WIFI module, and feeding back the test execution result to the API;
wherein, the WIFI module of intelligence household electrical appliances is used for: sending the scene control instruction to an electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module is further used for: and feeding back the test execution result to the cloud platform.
In one embodiment, the API interface is specifically configured to: analyzing the test execution result to form an excel table; the persistent integration platform is specifically configured to: and after the test task is executed, triggering constructed operation so that the API interface sends the excel table to a preset mailbox.
In one embodiment, the intelligent appliance includes at least one of a washing machine, a tea bar, a refrigerator, an air conditioner, and a curtain box.
In one embodiment, the at least one scene mode includes a user's usage requirements of the smart appliance in different scenes.
In a second aspect, an embodiment of the present invention provides an automated scenario testing method based on an API interface, where the method is implemented based on the system provided in the first aspect, and the method includes:
the method comprises the steps that when a continuous integration platform receives at least one scene mode set by personnel and scene setting parameters under each scene mode, a test task is established to enable the test task to execute a test case, so that the test case determines a corresponding scene control instruction according to each scene mode and the scene setting parameters under the scene mode, and sends the scene control instruction to a corresponding API (application program interface);
the API interface sends the scene control instruction to a cloud platform;
the cloud platform sends the scene control instruction to a WIFI module of the intelligent household appliance; the WIFI module of the intelligent household appliance sends the scene control instruction to the electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module feeds the test execution result back to the cloud platform;
when receiving a test execution result fed back by the WIFI module, the cloud platform feeds back the test execution result to the API;
the API interface receives a test execution result fed back by the cloud platform;
after the test task is executed, triggering the constructed operation by the continuous integration platform;
and after receiving the instruction corresponding to the constructed operation, the API sends the test execution result to a preset mailbox.
In one embodiment, the method further comprises:
after receiving a test execution result fed back by the cloud platform, the API analyzes the test execution result to form an excel table; correspondingly, after receiving the instruction corresponding to the constructed operation, the API interface sends the test execution result to a preset mailbox, including: and after receiving an instruction corresponding to the constructed operation, sending the excel table to a preset mailbox.
In one embodiment, the intelligent appliance includes at least one of a washing machine, a cafeteria machine, a refrigerator, an air conditioner, and a curtain box.
In one embodiment, the at least one scene mode includes a user's usage requirements of the smart appliance in different scenes.
According to the automatic scene testing system and method based on the API interface, a user inputs a scene mode and test scene parameters on the continuous integration platform, then a test task is constructed on the continuous integration platform, and then the test task executes a corresponding test case, so that a scene control instruction is generated and sent to the corresponding API interface. The method comprises the following steps that an API (application programming interface) interface sends a scene control instruction to a cloud platform, the cloud platform sends the scene control instruction to a WIFI module of an intelligent household appliance, the WIFI module sends the scene control instruction to an electric control module of the intelligent household appliance, the electric control module executes the scene control instruction and feeds a test execution result back to the WIFI module, and the WIFI module feeds the test execution result back to the cloud platform; and the cloud platform feeds the test execution result back to the API. After the test task is executed, triggering the constructed operation by the continuous integration platform; and after receiving an instruction corresponding to the constructed operation, the API sends the test execution result to a preset mailbox. Therefore, in the process, the tester only needs to input the scene mode and the scene test parameters on the test integration platform to obtain the test execution result, the tester does not need to check the execution condition of the intelligent household appliance, manually record the test result, repeatedly operate on terminals such as a mobile phone and the like, and does not need to participate by too many testers, so that the time cost and the labor cost are greatly reduced. Namely, the test cost is greatly reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
FIG. 1 is a schematic diagram of an implementation of a conventional scenario test scheme in the prior art;
FIG. 2 is a block diagram of an automated scenario test system based on an API interface in an embodiment of the present invention;
fig. 3 is a schematic flowchart of an automated scenario testing method based on an API interface in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In a first aspect, an embodiment of the present invention provides an automated scenario testing system based on an API interface.
Referring to fig. 2, the system includes:
a persistent integration platform to: receiving at least one scene mode set by a person and scene setting parameters under each scene mode, establishing a corresponding test task to enable the test task to execute a test case, enabling the test case to determine a corresponding scene control instruction according to each scene mode and the scene setting parameters under the scene mode, and sending the scene control instruction to a corresponding API (application program interface); after the test task is executed, triggering constructed operation to enable the API interface to send the test execution result to a preset mailbox; the API interface is a communication interface between a control app corresponding to the intelligent household appliance and the cloud platform;
the API interface is used for: sending the scene control instruction to a cloud platform, receiving a test execution result fed back by the cloud platform, and sending the test execution result to a preset mailbox after receiving an instruction corresponding to constructed operation;
the cloud platform is used for: sending the scene control instruction to a WIFI module of the intelligent household appliance, receiving the test execution result fed back by the WIFI module, and feeding back the test execution result to the API;
wherein, the WIFI module of intelligence household electrical appliances is used for: sending the scene control instruction to an electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module is further used for: and feeding back the test execution result to the cloud platform.
Therefore, the system provided by the embodiment of the invention relates to a continuous integration platform, the API interface and the cloud platform.
Wherein, it can be jenkins and continue the integration platform to continue the integration platform. CIjobs, the test tasks mentioned above, can be built on the persistent integration platform. The constructed Cijobs are used for executing test cases, the purpose of executing the test cases is to generate scene control instructions according to each scene mode and scene setting parameters in the scene mode, and the scene control instructions are sent to corresponding API interfaces. After the constructed CIjobs execute the test cases, the continuous integration platform triggers a constructed operation, and the constructed operation triggers the API interface to feed back test execution results to a mailbox of a tester.
The API interface is a communication interface between the APP and the cloud platform, and different scene control instructions are sent to the cloud platform through different API interfaces, so that whether each API interface is normal or not can be known after the system provided by the embodiment of the invention is tested.
The app refers to an application program for controlling each intelligent household appliance in a home, for example, four intelligent household appliances, i.e., a refrigerator, a television, a washing machine, and an air conditioner, are in a home, and the app can be used to control the four intelligent household appliances.
Wherein the intelligent appliances in one home may include at least one of a washing machine, a caf e machine, a refrigerator, an air conditioner, and a curtain box.
In the scene mode, for example, a user generally needs to turn on the air conditioner and the television when going home from work, so that in the scene of going home from work, the air conditioner needs to be controlled to be turned on, and the television needs to be controlled to be turned on, that is, the corresponding scene setting parameters are parameters for controlling the turning on of the air conditioner and parameters for controlling the turning on of the television. For another example, in the early morning, when the window shade is to be opened to allow the sun to shine, the scene mode may be referred to as a scene mode to allow the sun to shine, and the scene setting parameter in the scene mode is a control parameter for controlling the window shade box to open the window shade. These scene modes may be gradually formed according to the usage habits of the user along with the long-term use of the intelligent home appliance by the user, or several initial scene modes may be set at the beginning of the design, and the user may select the use.
That is, the at least one scene mode includes a user's usage demand of the smart appliance in different scenes.
The API interface is an application programming interface.
It is understood that the hardware device where the persistent integration platform is located in the embodiment of the present invention may be any computing device as long as a program corresponding to the persistent integration platform can be installed in the computing device.
It can be understood that in the embodiment of the present invention, the scene mode and the scene setting parameters in the scene mode are used as the construction parameters of the cijoba, and different cijobs are constructed in different scene modes and the scene setting parameters in the scene mode, so as to execute different test cases. And different CIjobs execute the corresponding test cases to generate corresponding scene control instructions, and the different scene control instructions are sent to the cloud platform through different API interfaces.
It can be understood that the API interface sends the scene control instruction to the cloud platform after receiving the scene control instruction, and the cloud platform may analyze the scene control instruction, send the analyzed scene control instruction to the corresponding electronic control module of the intelligent appliance, and further enable the electronic control module of the intelligent appliance to execute the scene control instruction, so as to obtain a scene test result, that is, an execution success or an execution failure, which may also include other information, such as an execution time. And then the electric control module sends the scene test result to the WIFI module, the WIFI module feeds the scene test result back to the cloud platform, and the cloud platform feeds the scene test result back to the corresponding API.
And finishing the execution of each test task on the continuous integration platform, namely finishing the execution of each test case on the continuous integration platform, and finishing the construction. After the construction is finished, the continuous integration platform triggers a post-construction operation, namely, an instruction corresponding to the post-construction operation is sent to each API. And after receiving the constructed operation instruction, each API sends the respective test execution result to a preset mailbox.
The preset mailbox can be set as a mailbox of a tester or a mailbox of a developer or a mailbox of other related personnel, the mailbox address is set in advance by the continuous integration platform, and when a corresponding instruction is sent after construction and operation, the instruction carries the mailbox address of the preset mailbox.
The cloud platform can receive the scene control instruction sent by the API interface through the MQTT protocol.
In one embodiment, after receiving a test execution result fed back by a cloud platform, an API interface can write the test integration result into an excel table, so that after receiving an instruction of post-construction operation, the excel table can be sent to a preset mailbox as an attachment. The excel table can make the test execution result more intuitive.
That is, the API interface may be specifically configured to: analyzing the test execution result to form an excel table; the persistent integration platform may be specifically configured to: and after the test task is executed, triggering constructed operation so that the API interface sends the excel table to a preset mailbox.
It can be understood that whether the API interface, the intelligent household appliance and the like are normal can be known through the system provided by the embodiment of the invention for testing. If the API is abnormal, no method is available for sending the scene control instruction to the intelligent household appliance, and no test execution result is fed back. Whether the intelligent household appliance is normal can be known through testing whether the execution result is successful.
According to the automatic scene testing system based on the API, after a user inputs a scene mode and testing scene parameters on the continuous integration platform, a testing task is built on the continuous integration platform, and then the testing task executes a corresponding testing case, so that a scene control instruction is generated and sent to the corresponding API. The method comprises the following steps that an API (application programming interface) interface sends a scene control instruction to a cloud platform, the cloud platform sends the scene control instruction to a WIFI module of an intelligent household appliance, the WIFI module sends the scene control instruction to an electric control module of the intelligent household appliance, the electric control module executes the scene control instruction and feeds a test execution result back to the WIFI module, and the WIFI module feeds the test execution result back to the cloud platform; and the cloud platform feeds the test execution result back to the API. After the test task is executed, triggering the constructed operation by the continuous integration platform; and after receiving the instruction corresponding to the constructed operation, the API sends the test execution result to a preset mailbox. Therefore, in the process, the tester only needs to input the scene mode and the scene test parameters on the test integration platform to obtain the test execution result, the tester does not need to check the execution condition of the intelligent household appliance, manually record the test result, repeatedly operate on terminals such as a mobile phone and the like, and does not need to participate by too many testers, so that the time cost and the labor cost are greatly reduced. Namely, the test cost is greatly reduced.
In a second aspect, an embodiment of the present invention provides an automated scenario testing method based on an API interface, where the method is implemented based on the system provided in the first aspect.
Referring to fig. 3, the method may include the following steps S110 to S170:
s110, when receiving at least one scene mode set by a person and scene setting parameters in each scene mode, a continuous integration platform establishes a test task to enable the test task to execute a test case, so that the test case determines a corresponding scene control instruction according to each scene mode and the scene setting parameters in the scene mode, and sends the scene control instruction to a corresponding API (application program interface);
s120, the API interface sends the scene control instruction to a cloud platform;
s130, the cloud platform sends the scene control instruction to a WIFI module of the intelligent household appliance; the WIFI module of the intelligent household appliance sends the scene control instruction to the electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module feeds the test execution result back to the cloud platform;
s140, when receiving a test execution result fed back by the WIFI module, the cloud platform feeds back the test execution result to the API;
s150, the API receives a test execution result fed back by the cloud platform;
s160, triggering the constructed operation after the continuous integration platform finishes the execution of the test task;
and S170, after receiving the instruction corresponding to the constructed operation, the API sends the test execution result to a preset mailbox.
It can be seen that the above method involves the sending of instructions and the feedback of results.
Wherein, the sending process of the result: the method comprises the steps that a CIjobis continuously built by an integration platform, a test case is executed by the built CIjobto obtain a scene control instruction, the scene control instruction is sent to a corresponding API interface, the API interface sends the scene control instruction to a cloud platform, the cloud platform sends the scene control instruction to a WIFI module of a corresponding intelligent household appliance, the WIFI module sends the scene control instruction to an electric control module of the intelligent household appliance, and the electric control module executes the scene control instruction to obtain a test execution result.
Wherein, the feedback of the result: the electric control module of the intelligent household appliance feeds the test execution result back to the WIFI module of the intelligent household appliance, the WIFI module feeds the test execution result back to the cloud platform, and the cloud platform feeds the test execution result back to the API. And after all the CIjobs are executed, triggering a constructed operation by the continuous integration platform. And after receiving the instruction corresponding to the constructed operation, each API sends a test execution result to a preset mailbox.
In one embodiment, the method may further comprise:
after receiving a test execution result fed back by the cloud platform, the API analyzes the test execution result to form an excel table; correspondingly, after receiving the instruction corresponding to the constructed operation, the API interface sends the test execution result to a preset mailbox, including: and after receiving an instruction corresponding to the constructed operation, sending the excel table to a preset mailbox.
Namely, the test execution result is fed back to the preset mailbox in the form of an excel table, and the function of automatic notification is realized.
Wherein, the intelligent household appliance can comprise at least one of a washing machine, a tea bar machine, a refrigerator, an air conditioner and a curtain box.
The at least one scene mode may include a usage demand of the intelligent appliance by a user in different scenes.
It is to be understood that for the explanation, the specific implementation, the beneficial effects, the examples and the like of the related contents in the method provided by the embodiment of the present invention, reference may be made to corresponding parts in the system provided in the first aspect, and details are not described here.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this disclosure may be implemented in hardware, software, hardware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (8)

1. An automated scenario test system based on an API (application programming interface), comprising:
a persistent integration platform to: receiving at least one scene mode set by a person and scene setting parameters under each scene mode, establishing a test task to enable the test task to execute a test case, enabling the test case to determine a corresponding scene control instruction according to each scene mode and the scene setting parameters under the scene mode, and sending the scene control instruction to a corresponding API (application program interface); after the test task is executed, triggering constructed operation to enable the API interface to send the test execution result to a preset mailbox; the API interface is a communication interface between a control app corresponding to the intelligent household appliance and the cloud platform;
the API interface is used for: sending the scene control instruction to a cloud platform, receiving a test execution result fed back by the cloud platform, and sending the test execution result to a preset mailbox after receiving an instruction corresponding to constructed operation;
the cloud platform is used for: sending the scene control instruction to a WIFI module of the intelligent household appliance, receiving the test execution result fed back by the WIFI module, and feeding back the test execution result to the API;
wherein, the WIFI module of intelligence household electrical appliances is used for: sending the scene control instruction to an electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module is further used for: and feeding back the test execution result to the cloud platform.
2. The system of claim 1,
the API interface is specifically configured to: analyzing the test execution result to form an excel table;
the persistent integration platform is specifically configured to: and after the test task is executed, triggering constructed operation so that the API interface sends the excel table to a preset mailbox.
3. The system of claim 1, wherein the intelligent appliance comprises at least one of a washing machine, a caf e machine, a refrigerator, an air conditioner, and a curtain box.
4. The system of claim 1, wherein the at least one scene mode comprises user demand for use of the smart appliance in different scenes.
5. An automatic scenario testing method based on an API (application programming interface), which is implemented based on the system of any one of claims 1 to 4, and comprises the following steps:
the method comprises the steps that when a continuous integration platform receives at least one scene mode set by a person and scene setting parameters in each scene mode, a test task is established to enable the test task to execute a test case, so that the test case determines a corresponding scene control instruction according to each scene mode and the scene setting parameters in the scene mode, and sends the scene control instruction to a corresponding API (application program interface);
the API interface sends the scene control instruction to a cloud platform;
the cloud platform sends the scene control instruction to a WIFI module of the intelligent household appliance; the WIFI module of the intelligent household appliance sends the scene control instruction to the electric control module of the intelligent household appliance, so that the electric control module executes the scene control instruction and feeds back a test execution result to the WIFI module; the WIFI module feeds the test execution result back to the cloud platform;
when receiving a test execution result fed back by the WIFI module, the cloud platform feeds back the test execution result to the API;
the API interface receives a test execution result fed back by the cloud platform;
after the test task is executed, triggering the constructed operation by the continuous integration platform;
and after receiving the instruction corresponding to the constructed operation, the API sends the test execution result to a preset mailbox.
6. The method of claim 5, further comprising:
after receiving a test execution result fed back by the cloud platform, the API analyzes the test execution result to form an excel table;
correspondingly, after receiving the instruction corresponding to the operation after construction, the API interface sends the test execution result to a preset mailbox, including: and after receiving an instruction corresponding to the constructed operation, sending the excel table to a preset mailbox.
7. The method of claim 5, wherein the intelligent appliance comprises at least one of a washing machine, a tea bar, a refrigerator, an air conditioner, and a curtain box.
8. The method of claim 5, wherein the at least one scene mode comprises user usage requirements of the smart appliance in different scenes.
CN202210865713.9A 2022-07-22 2022-07-22 Automatic scene testing system and method based on API (application program interface) Pending CN115277516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210865713.9A CN115277516A (en) 2022-07-22 2022-07-22 Automatic scene testing system and method based on API (application program interface)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210865713.9A CN115277516A (en) 2022-07-22 2022-07-22 Automatic scene testing system and method based on API (application program interface)

Publications (1)

Publication Number Publication Date
CN115277516A true CN115277516A (en) 2022-11-01

Family

ID=83766490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210865713.9A Pending CN115277516A (en) 2022-07-22 2022-07-22 Automatic scene testing system and method based on API (application program interface)

Country Status (1)

Country Link
CN (1) CN115277516A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150160931A1 (en) * 2013-09-29 2015-06-11 Syrp Inc. System and method for developing an application
CN107018523A (en) * 2017-04-13 2017-08-04 美的智慧家居科技有限公司 WIFI module testing method and device
CN109491258A (en) * 2018-11-08 2019-03-19 青岛大学 A kind of regression test system of smart home system
CN111290905A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Testing method and device for cloud platform of Internet of things
CN113032267A (en) * 2021-03-30 2021-06-25 深圳Tcl新技术有限公司 Intelligent scene testing method and device, electronic equipment and storage medium
CN113162823A (en) * 2021-04-06 2021-07-23 广州鲁邦通物联网科技有限公司 APP test simulation system and Internet of things simulation test method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150160931A1 (en) * 2013-09-29 2015-06-11 Syrp Inc. System and method for developing an application
CN107018523A (en) * 2017-04-13 2017-08-04 美的智慧家居科技有限公司 WIFI module testing method and device
CN109491258A (en) * 2018-11-08 2019-03-19 青岛大学 A kind of regression test system of smart home system
CN111290905A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Testing method and device for cloud platform of Internet of things
CN113032267A (en) * 2021-03-30 2021-06-25 深圳Tcl新技术有限公司 Intelligent scene testing method and device, electronic equipment and storage medium
CN113162823A (en) * 2021-04-06 2021-07-23 广州鲁邦通物联网科技有限公司 APP test simulation system and Internet of things simulation test method

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN110262274B (en) Intelligent household equipment control display method and system based on Internet of things operating system
JP2020529280A (en) Washing machine clothing identification system, binding of the system and clothing identification method
CN110011885A (en) Control authority binding method and device of electric appliance, storage medium and electric appliance
CN108762213A (en) Control method, device and the intelligent glasses of smart home
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN112423368A (en) Gateway, intelligent device, mobile terminal, network access method and network access auxiliary method and system
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
CN111739273A (en) Test method and system
CN115277516A (en) Automatic scene testing system and method based on API (application program interface)
CN108873834A (en) A kind of smart machine inter-linked controlling method and device
CN105020849A (en) Air conditioning control method and device
CN111722600A (en) Remote control method and device based on equipment space relation and remote control equipment
CN115134218B (en) Device replacement method, device, storage medium and server
CN107493394B (en) System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi
CN116540556A (en) Equipment control method and device based on user habit
CN109957910B (en) Clothes washing management method based on big data analysis
WO2022068519A1 (en) Method and system for controlling laundry processing device and device
CN109974232A (en) Quick control method, terminal, air-conditioner system and the medium of air-conditioner system
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN115499333A (en) Method, system, storage medium and electronic device for determining association relationship
CN114554466A (en) Equipment detection method and device
CN112484389A (en) Electronic equipment parameter adjusting method, system, equipment and storage medium
CN111538248B (en) Method and system for sharing information of intelligent home terminal
CN110120617A (en) Method for turning off household electrical appliance and intelligent socket

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