CN113468033B - Household appliance testing method and system - Google Patents

Household appliance testing method and system Download PDF

Info

Publication number
CN113468033B
CN113468033B CN202110708521.2A CN202110708521A CN113468033B CN 113468033 B CN113468033 B CN 113468033B CN 202110708521 A CN202110708521 A CN 202110708521A CN 113468033 B CN113468033 B CN 113468033B
Authority
CN
China
Prior art keywords
virtual
appliance
configuration
control interface
household
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110708521.2A
Other languages
Chinese (zh)
Other versions
CN113468033A (en
Inventor
王党军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110708521.2A priority Critical patent/CN113468033B/en
Publication of CN113468033A publication Critical patent/CN113468033A/en
Application granted granted Critical
Publication of CN113468033B publication Critical patent/CN113468033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3457Performance evaluation by simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Selective Calling Equipment (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method and a system for testing household appliances. Wherein the method comprises the following steps: acquiring a configuration file of a virtual household appliance corresponding to the household appliance; generating virtual household appliances according to the configuration files; and receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance. The invention solves the technical problems that the real object test is needed to be carried out on the household appliance test and the real object resource is wasted in the related technology.

Description

Household appliance testing method and system
Technical Field
The invention relates to the field of equipment testing, in particular to a method and a system for testing household appliances.
Background
The household appliance test is an important link in the research and development process of the household appliance, and can help a designer to optimize a design scheme. In the related art, it is generally necessary to manufacture a prototype and then test the prototype in a laboratory. In this way, the prototype needs to be manufactured according to the design scheme, and in the case that multiple versions of the design scheme exist, the prototype needs to be manufactured for multiple times, so that the resource waste of the real household appliance is easily caused. And is limited by sample objects and laboratories, home appliance tests are often required
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a system for testing household appliances, which at least solve the technical problem that real object testing is needed for testing household appliances in the related technology, and real object resources are wasted.
According to an aspect of an embodiment of the present invention, there is provided a method for testing a home appliance, including: acquiring a configuration file of a virtual household appliance corresponding to the household appliance; generating virtual household appliances according to the configuration files; and receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance.
Optionally, generating the virtual home appliance according to the configuration file includes: analyzing and operating the configuration file to determine the basic function of the virtual household appliance; adding a configuration module for the virtual household appliance, and determining the configuration function of the virtual household appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
Optionally, before adding a configuration module to the virtual home appliance, the method further includes: setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling a configuration function, and the control interface comprises parameters of the configuration function and parameters of the basic function; transmitting the first control instruction to the configuration module through the port; receiving first feedback data generated by the configuration module for responding to the first control instruction to operate the configuration function of the virtual household appliance; and displaying the first feedback data on the control interface, and determining a test result of the virtual household appliance according to the first feedback data.
Optionally, receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance includes: generating a second control instruction in response to a second operation of the control interface, wherein the second control instruction is used for controlling a basic function; sending the second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance in response to the second control instruction by the configuration file; and displaying the second feedback data on the control interface, and testing the virtual household electrical appliance according to the second feedback data to obtain a test result of the virtual household electrical appliance.
Optionally, before obtaining the configuration file of the virtual home appliance corresponding to the home appliance, the method further includes: periodically acquiring configuration files of a plurality of virtual household appliances from a cloud server, wherein the cloud server stores the configuration files of the plurality of virtual household appliances in advance; and caching the obtained configuration files of the plurality of virtual home appliances.
Optionally, the obtaining a configuration file of the virtual home appliance corresponding to the home appliance includes: receiving a selection instruction of the virtual home appliances, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances; and responding to the selection instruction, selecting the target virtual home equipment from the cache, and acquiring a configuration file of the target virtual home equipment.
According to another aspect of the embodiment of the present invention, there is also provided a test system for a home appliance, including: the cloud server is used for storing configuration files of virtual household appliances corresponding to the household appliances; the client is connected with the cloud server and used for acquiring the configuration file; generating virtual household appliances according to the configuration files; and receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance.
Optionally, the test system further includes a configuration module, and the client includes: the analyzer is used for analyzing and running the configuration file and determining the basic function of the virtual household appliance; the configuration module is connected with the analyzer and is used for adding the configuration module for the virtual household appliance and determining the configuration function of the virtual household appliance according to the configuration module; the client is further configured to generate the virtual home appliance according to the basic function and the configuration function.
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to run a program, where the program executes the method for testing any one of the foregoing home appliances.
According to another aspect of the embodiment of the present invention, there is further provided a computer storage medium, where the computer storage medium includes a stored program, and when the program runs, the device in which the computer storage medium is controlled to execute the method for testing any one of the home appliances.
In the embodiment of the invention, the configuration file of the virtual household electrical appliance corresponding to the household electrical appliance is obtained; generating virtual household appliances according to the configuration files; the control interface of the virtual household electrical appliance receives the operation instruction, operates the virtual household electrical appliance and determines the test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance, the purpose of the virtual household electrical appliance passing through the household electrical appliance is achieved at any time and any place, the technical effect of improving the display quality of the display device is achieved, and the technical problems that physical testing is needed for household electrical appliance testing and physical resources are wasted in the related art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a flowchart of a method for testing home appliances according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of the architecture of a virtual home device web page system according to embodiment 1 of the present invention;
FIG. 3 is a flow chart of a virtual home device testing on a web page according to embodiment 1 of the present invention;
fig. 4 is a schematic diagram of a control interface of a virtual home appliance according to embodiment 1 of the present invention;
fig. 5 is a schematic diagram of a test system of a home appliance according to embodiment 2 of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a method embodiment of a method for testing a home appliance, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different from that herein.
Fig. 1 is a flowchart of a testing method of a home appliance according to embodiment 1 of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, obtaining a configuration file of a virtual household appliance corresponding to the household appliance;
step S104, generating virtual household appliances according to the configuration files;
step S106, receiving an operation instruction through a control interface of the virtual household appliance, running the virtual household appliance, and determining a test result of the virtual household appliance, wherein the control interface comprises functions and parameters of the virtual household appliance.
The execution subject of the above steps may be a web client. Through the steps, the configuration file of the virtual household electrical appliance corresponding to the household electrical appliance is obtained; generating virtual household appliances according to the configuration files; the control interface of the virtual household electrical appliance receives the operation instruction, operates the virtual household electrical appliance and determines the test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance, the purpose of the virtual household electrical appliance passing through the household electrical appliance is achieved at any time and any place, the technical effect of improving the display quality of the display device is achieved, and the technical problems that physical testing is needed for household electrical appliance testing and physical resources are wasted in the related art are solved.
The household electrical appliance can be an air conditioner, a refrigerator, a water heater, a washing machine, a kitchen electrical appliance and the like, and the household electrical appliance can be an intelligent household electrical appliance. The kitchen appliances may include range hoods, induction cookers, electric pressure cookers, electric cookers, microwave ovens, electric ovens, dishwashers, and the like. Because the household electrical appliance needs to be tested by a manufacturing prototype in the design stage, the cost is high, the resource is wasted, and the test circumference is limited by the physical space of equipment and specific tests.
Virtual household appliances of different models and styles can be established at the cloud server, and the household appliances are tested by running the virtual household appliances. The cloud server stores configuration files of virtual household appliances corresponding to the household appliances, and the virtual household appliances can be operated by operating the configuration files so as to simulate the operation of the real household appliances, thereby testing the household appliances.
Before the configuration files of the virtual home appliances are obtained, the configuration files of the virtual home appliances are regularly obtained from a cloud server, wherein the cloud server stores the configuration files of the virtual home appliances in advance; and caching the acquired configuration files of the plurality of virtual home appliances. Therefore, the problem that the efficiency of the household appliance test is affected due to low acquisition speed caused by poor network conditions is avoided.
The configuration files of the virtual home appliances corresponding to the home appliances are obtained, and the configuration files of the required virtual home appliances can be selected from the existing virtual home appliances in the cloud server according to the test requirements of users. For example, when a user needs to perform a combined test on an air conditioner, a refrigerator and a water heater, virtual air-conditioning home appliances, virtual refrigerator home appliances and virtual water heater home appliances are obtained from a cloud server.
Receiving a selection instruction of the virtual home appliances when the configuration file of the virtual home appliances is acquired, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances; and responding to the selection instruction, selecting the target virtual home appliance from the cache, and acquiring the configuration file of the target virtual home appliance.
The configuration file may include a three-dimensional model of the virtual home appliance, and may further include a function control for simulating a basic function of the real home appliance. For example, the virtual home appliance may be a virtual air conditioning device, and the functional control of the basic function may include a function of setting a temperature, setting a wind up, down, left, right, a working mode, a wind speed, turning on, turning off, an electronic lock, and the like, which are provided in a style and a specification of the real home appliance.
And generating the virtual household appliance according to the configuration file, and displaying a control interface of the virtual household appliance, wherein the control interface comprises functions and parameters of the virtual household appliance. The control interface can be generated by a client acquiring various parameters of the virtual home appliance in the test process. The control interface may include a plurality of sub-pages, as shown in fig. 4, and fig. 4 is a schematic diagram of a control interface of a virtual home device according to embodiment 1 of the present invention. The control interface comprises a port setting sub-page, a device management sub-page, a function model sub-page, a data sending sub-page, a general instruction sub-page and a setting sub-page. The control interface may include functions and parameters of the virtual home appliance during the testing process, for example, the functions and parameters of setting temperature, swinging air up and down, mode, wind speed, setting humidity, sensing people, swinging air left and right, starting up, health, etc. in fig. 4. The control interface may also include sub-pages that control testing, such as the general instruction sub-pages described above. The port for client communication is also arranged, and the device can be managed, and data can be sent.
The user can operate on the control interface, an operation instruction is sent through the control interface, the client receives the operation instruction sent by the control interface, the virtual household appliance is operated, and various functional parameters in the operation of the virtual household appliance are obtained in real time, so that the household appliance is tested according to the virtual household appliance.
Optionally, generating the virtual home device according to the configuration file includes: analyzing and operating the configuration file to determine the basic function of the virtual household appliance; adding a configuration module for the virtual household appliance, and determining the configuration function of the virtual household appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
Fig. 2 is a schematic diagram of an architecture of a web page system of a virtual home appliance according to embodiment 1 of the present invention, as shown in fig. 2, the client is provided with a parser, after the virtual home appliance is obtained from a cloud server, the parser parses a configuration file, and then runs the parsed configuration file to determine a basic function of the virtual home appliance, and since the virtual home appliance is tested according to its function during testing, the running of the virtual home appliance, that is, the virtual home appliance can be implemented by running the configuration file to determine the basic function. The basic function is the function of the real household appliance with the specification.
In one case, the user needs to test a new function added to the virtual home appliance, at this time, there is no function control of the function for the virtual home appliance, so one or more configuration modules are set outside the client, and a configuration function, such as an internet of things function, is added to the virtual home appliance according to the requirement.
After the basic function and the configuration function of the virtual home appliance can be operated, a control interface of the virtual home appliance can be generated according to the configuration file, wherein the control interface comprises parameters of the configuration function and parameters of the basic function.
Optionally, before adding the configuration module to the virtual home appliance, the method further includes: setting a port for a configuration module; receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling the configuration function, and the control interface comprises parameters of the configuration function and parameters of the basic function; the first control instruction is sent to the configuration module through the port; receiving first feedback data generated by a configuration function of the virtual household appliance, which is operated by a configuration module in response to a first control instruction; and displaying the first feedback data on a control interface, and determining a test result of the virtual household appliance according to the first feedback data.
When the configuration module is added for the virtual home appliance, the configuration module and the client are connected to realize the addition of the configuration function for the virtual home appliance outside the client, so that the problem of heavy burden of the client caused by adding the configuration module into the client can be avoided. Specifically, a parser at a client side sets a communication port for a configuration module, and data transmission is performed in a preset communication protocol in a json transmission mode by connecting the port of the parser with a serial port of the configuration module. The communication protocol may be an e++ communication protocol.
When the functions of the virtual home appliance include configuration functions, the configuration functions are also different from the basic functions of the virtual home appliance in the manner in which they respond. Specifically, when a user performs a first operation on a control interface to control the virtual home appliance to execute a configuration function, a first control instruction is generated in response to the first operation on the control interface, wherein the first control instruction is used for controlling the configuration function, the first control instruction is sent to a configuration module through a port, and the first feedback data generated by the configuration function of the virtual home appliance is operated by a receiving function module in response to the first control instruction. And displaying the first feedback data on the control interface so as to test the virtual household appliance according to the first feedback data.
The user performs a second operation on the control interface, and when the virtual household appliance is controlled to execute the basic function, a second control instruction is generated in response to the second operation on the control interface, wherein the second control instruction is used for controlling the basic function; sending a second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance running by the configuration file in response to the second control instruction; and displaying the second feedback data on the control interface so as to test the virtual household appliance according to the second feedback data.
Fig. 3 is a flowchart of testing a virtual home appliance on a web page according to embodiment 1 of the present invention, and as shown in fig. 3, when the virtual home appliance is tested, the virtual home appliance is initialized so that both its basic function and its configuration function are initialized in preparation for testing. The test content comprises equipment control, namely, the control of the functions of the virtual household appliances, state report, namely, the running state of the functions of the virtual household appliances, alarm, namely, whether the alarm is carried out when the running fault occurs, and sending command, namely, the command feedback of the virtual household appliances through the functions with feedback effects. For example, the automatic temperature control function needs to automatically perform feedback control according to temperature parameters, that is, send a temperature feedback instruction, including temperature up-regulation, temperature down-regulation, and the like.
Example 2
Fig. 5 is a schematic diagram of a test system of a home appliance according to an embodiment of the present invention, as shown in fig. 5, according to another aspect of an embodiment of the present invention, there is further provided a test system of a home appliance, including: the client 52, cloud server 54, and the system are described in detail below.
The cloud server 54 is configured to store a configuration file of a virtual home appliance corresponding to the home appliance; the client 52 is connected to the cloud server 54, and is configured to obtain a configuration file; generating virtual household appliances according to the configuration files; and receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance.
Through the system, the configuration file of the virtual household electrical appliance corresponding to the household electrical appliance is acquired; generating virtual household appliances according to the configuration files; the control interface of the virtual household electrical appliance receives the operation instruction, operates the virtual household electrical appliance and determines the test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance, the purpose of the virtual household electrical appliance passing through the household electrical appliance is achieved at any time and any place, the technical effect of improving the display quality of the display device is achieved, and the technical problems that physical testing is needed for household electrical appliance testing and physical resources are wasted in the related art are solved.
The test system also includes a configuration module, and the client includes: the analyzer is used for analyzing and running the configuration file and determining the basic function of the virtual household appliance; the configuration module is connected with the resolver and is used for adding the configuration module for the virtual household appliance and determining the configuration function of the virtual household appliance according to the configuration module; the client is also used for generating virtual household appliances according to the basic functions and the configuration functions.
The resolver of the client is provided with a port for communicating with the configuration module. The client-side responding to the operation of the control interface, operating the virtual household electrical appliance, and testing the household electrical appliance through the virtual household electrical appliance comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling the configuration function; the first control instruction is sent to the configuration module through the port; the method comprises the steps that a receiving function module responds to a first control instruction to run first feedback data generated by a configuration function of virtual household appliances; and displaying the first feedback data on the control interface so as to test the virtual household appliance according to the first feedback data.
Operating the control interface, running the virtual home device to test the home device through the virtual home device further comprises: generating a second control instruction in response to a second operation of the control interface, wherein the second control instruction is used for controlling the basic function; sending a second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance running by the configuration file in response to the second control instruction; and displaying the second feedback data on the control interface so as to test the virtual household appliance according to the second feedback data.
The client further includes: the cloud server is used for storing configuration files of the plurality of virtual household appliances in advance; and the caching module is used for caching the obtained configuration files of the plurality of virtual household appliances.
The acquisition module comprises: the receiving unit is used for receiving a selection instruction of the virtual home appliances, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances; and the selection unit is used for responding to the selection instruction, selecting the target virtual home appliance from the cache and acquiring the configuration file of the target virtual home appliance.
Example 3
According to another aspect of the embodiment of the present invention, there is also provided a processor for running a program, wherein the program executes the following steps:
acquiring a configuration file of a virtual household appliance corresponding to the household appliance; generating virtual household appliances according to the configuration files, and displaying control interfaces of the virtual household appliances, wherein the control interfaces comprise functions and parameters of the virtual household appliances; and receiving an operation instruction through a control interface, and running the virtual household electrical appliance so as to test the household electrical appliance through the virtual household electrical appliance.
As an alternative embodiment, generating a virtual home device according to a configuration file includes: analyzing and operating the configuration file to determine the basic function of the virtual household appliance; adding a configuration module for the virtual household appliance, and determining the configuration function of the virtual household appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
As an alternative embodiment, before adding the configuration module to the virtual home appliance, the method further includes: setting a port for a configuration module; receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling the configuration function, and the control interface comprises parameters of the configuration function and parameters of the basic function; the first control instruction is sent to the configuration module through the port; receiving first feedback data generated by a configuration function of the virtual household appliance, which is operated by a configuration module in response to a first control instruction; and displaying the first feedback data on a control interface, and determining a test result of the virtual household appliance according to the first feedback data.
As an optional implementation manner, receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance includes: generating a second control instruction in response to a second operation of the control interface, wherein the second control instruction is used for controlling the basic function; sending a second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance in response to the second control instruction by the configuration file; and displaying the second feedback data on the control interface, and testing the virtual household electrical appliance according to the second feedback data to obtain a test result of the virtual household electrical appliance.
As an optional implementation manner, before obtaining the configuration file of the virtual home device corresponding to the home device, the method further includes: periodically acquiring configuration files of a plurality of virtual household appliances from a cloud server, wherein the cloud server stores the configuration files of the plurality of virtual household appliances in advance; and caching the acquired configuration files of the plurality of virtual home appliances.
As an optional implementation manner, obtaining a configuration file of a virtual home device corresponding to the home device includes: receiving a selection instruction of the virtual home appliances, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances; and responding to the selection instruction, selecting the target virtual home appliance from the cache, and acquiring the configuration file of the target virtual home appliance.
Example 4
According to another aspect of the embodiment of the present invention, there is also provided a computer storage medium including a stored program, wherein the program when run controls a device in which the computer storage medium is located to perform the steps of:
acquiring a configuration file of a virtual household appliance corresponding to the household appliance; generating virtual household appliances according to the configuration files, and displaying control interfaces of the virtual household appliances, wherein the control interfaces comprise functions and parameters of the virtual household appliances; and receiving an operation instruction through a control interface, and running the virtual household electrical appliance so as to test the household electrical appliance through the virtual household electrical appliance.
As an alternative embodiment, generating a virtual home device according to a configuration file includes: analyzing and operating the configuration file to determine the basic function of the virtual household appliance; adding a configuration module for the virtual household appliance, and determining the configuration function of the virtual household appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
As an alternative embodiment, before adding the configuration module to the virtual home appliance, the method further includes: setting a port for a configuration module; receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling the configuration function, and the control interface comprises parameters of the configuration function and parameters of the basic function; the first control instruction is sent to the configuration module through the port; receiving first feedback data generated by a configuration function of the virtual household appliance, which is operated by a configuration module in response to a first control instruction; and displaying the first feedback data on a control interface, and determining a test result of the virtual household appliance according to the first feedback data.
As an optional implementation manner, receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance includes: generating a second control instruction in response to a second operation of the control interface, wherein the second control instruction is used for controlling the basic function; sending a second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance in response to the second control instruction by the configuration file; and displaying the second feedback data on the control interface, and testing the virtual household electrical appliance according to the second feedback data to obtain a test result of the virtual household electrical appliance.
As an optional implementation manner, before obtaining the configuration file of the virtual home device corresponding to the home device, the method further includes: periodically acquiring configuration files of a plurality of virtual household appliances from a cloud server, wherein the cloud server stores the configuration files of the plurality of virtual household appliances in advance; and caching the acquired configuration files of the plurality of virtual home appliances.
As an optional implementation manner, obtaining a configuration file of a virtual home device corresponding to the home device includes: receiving a selection instruction of the virtual home appliances, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances; and responding to the selection instruction, selecting the target virtual home appliance from the cache, and acquiring the configuration file of the target virtual home appliance.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (8)

1. A method for testing a home appliance, comprising:
acquiring a configuration file of a virtual household appliance corresponding to the household appliance;
generating virtual household appliances according to the configuration files;
receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance;
wherein, before adding a configuration module for the virtual home appliance, the method further comprises:
setting a port for a configuration module;
receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps:
generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling a configuration function, and the control interface comprises parameters of the configuration function and parameters of a basic function;
transmitting the first control instruction to the configuration module through the port;
receiving first feedback data generated by the configuration module for responding to the first control instruction to operate the configuration function of the virtual household appliance;
displaying the first feedback data on the control interface, and determining a test result of the virtual household appliance according to the first feedback data;
receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance comprises:
generating a second control instruction in response to a second operation of the control interface, wherein the second control instruction is used for controlling a basic function;
sending the second control instruction to the configuration file;
receiving second feedback data generated by the basic function of the virtual household appliance in response to the second control instruction by the configuration file;
and displaying the second feedback data on the control interface, and testing the virtual household electrical appliance according to the second feedback data to obtain a test result of the virtual household electrical appliance.
2. The method of claim 1, wherein generating the virtual home device from the configuration file comprises:
analyzing and operating the configuration file to determine the basic function of the virtual household appliance;
adding a configuration module for the virtual household appliance, and determining the configuration function of the virtual household appliance according to the configuration module;
and generating the virtual household appliance according to the basic function and the configuration function.
3. The method of claim 1, wherein prior to obtaining the configuration file of the virtual home device corresponding to the home device, the method further comprises:
acquiring configuration files of a plurality of virtual household appliances from a cloud server, wherein the cloud server stores the configuration files of the plurality of virtual household appliances in advance;
and caching the obtained configuration files of the plurality of virtual home appliances.
4. The method of claim 1, wherein obtaining a configuration file of a virtual home device corresponding to the home device comprises:
receiving a selection instruction of the virtual home appliances, wherein the selection instruction is used for selecting one or more target virtual home appliances in the virtual home appliances;
and responding to the selection instruction, selecting the target virtual home equipment from the cache, and acquiring a configuration file of the target virtual home equipment.
5. A test system for a home device, comprising: a client-side, a cloud-side server,
the cloud server is used for storing configuration files of virtual household appliances corresponding to the household appliances;
the client is connected with the cloud server and used for acquiring the configuration file; generating virtual household appliances according to the configuration files; receiving an operation instruction through a control interface of the virtual household electrical appliance, running the virtual household electrical appliance, and determining a test result of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance;
the client is further used for setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual home appliance, running the virtual home appliance, and determining a test result of the virtual home appliance, wherein the method comprises the following steps: generating a first control instruction in response to a first operation of the control interface, wherein the first control instruction is used for controlling a configuration function, and the control interface comprises parameters of the configuration function and parameters of a basic function; transmitting the first control instruction to the configuration module through the port; receiving first feedback data generated by the configuration module for responding to the first control instruction to operate the configuration function of the virtual household appliance; displaying the first feedback data on the control interface, and determining a test result of the virtual household appliance according to the first feedback data;
the client is further configured to generate a second control instruction in response to a second operation on the control interface, where the second control instruction is used to control a basic function; sending the second control instruction to the configuration file; receiving second feedback data generated by the basic function of the virtual household appliance in response to the second control instruction by the configuration file; and displaying the second feedback data on the control interface, and testing the virtual household electrical appliance according to the second feedback data to obtain a test result of the virtual household electrical appliance.
6. The system of claim 5, wherein the test system further comprises a configuration module, the client comprising: the device comprises a parser and a control unit,
the analyzer is used for analyzing and running the configuration file and determining the basic function of the virtual household appliance;
the configuration module is connected with the analyzer and is used for adding the configuration module for the virtual household appliance and determining the configuration function of the virtual household appliance according to the configuration module;
the client is further configured to generate the virtual home appliance according to the basic function and the configuration function.
7. A processor, characterized in that the processor is configured to run a program, wherein the program, when run, performs the method of testing a home appliance according to any of claims 1 to 4.
8. A computer storage medium, characterized in that the computer storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer storage medium is located to perform the method of testing a home appliance according to any one of claims 1 to 4.
CN202110708521.2A 2021-06-23 2021-06-23 Household appliance testing method and system Active CN113468033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110708521.2A CN113468033B (en) 2021-06-23 2021-06-23 Household appliance testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110708521.2A CN113468033B (en) 2021-06-23 2021-06-23 Household appliance testing method and system

Publications (2)

Publication Number Publication Date
CN113468033A CN113468033A (en) 2021-10-01
CN113468033B true CN113468033B (en) 2024-03-26

Family

ID=77872946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110708521.2A Active CN113468033B (en) 2021-06-23 2021-06-23 Household appliance testing method and system

Country Status (1)

Country Link
CN (1) CN113468033B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114200911A (en) * 2021-06-29 2022-03-18 青岛经济技术开发区海尔热水器有限公司 Virtual backplane-based equipment testing method, device, equipment and storage medium
CN114721772A (en) * 2022-03-25 2022-07-08 乐元素科技(北京)股份有限公司 Virtual equipment management method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791032A (en) * 2016-05-04 2016-07-20 珠海格力电器股份有限公司 Test method for transport protocol between intelligent household electrical appliance and mobile terminal and test device thereof
CN105915418A (en) * 2016-05-23 2016-08-31 珠海格力电器股份有限公司 Method and device for controlling household appliance
CN107528752A (en) * 2016-06-22 2017-12-29 佛山市顺德区美的电热电器制造有限公司 The control system and virtual reality projection arrangement of intelligent appliance
CN108958057A (en) * 2018-08-01 2018-12-07 珠海格力电器股份有限公司 The control method and device of household appliance, storage medium, electronic device
CN110610631A (en) * 2018-06-15 2019-12-24 上海企想信息技术有限公司 Virtual intelligent home practical training system and virtual practical training method thereof
CN110764429A (en) * 2019-11-25 2020-02-07 广东美的制冷设备有限公司 Interaction method of household electrical appliance, terminal device and storage medium
CN110784538A (en) * 2019-10-30 2020-02-11 广东美的制冷设备有限公司 Household appliance configuration file generation method and device, household appliance and storage medium
CN111078539A (en) * 2019-11-29 2020-04-28 江苏苏宁物流有限公司 Test method, device, system and computer readable storage medium
TWI706656B (en) * 2020-04-01 2020-10-01 台灣松下電器股份有限公司 Visualized household appliance control system and method
CN111814354A (en) * 2020-07-23 2020-10-23 展讯通信(上海)有限公司 Simulation test method, system, medium and electronic device for instrument performance

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791032A (en) * 2016-05-04 2016-07-20 珠海格力电器股份有限公司 Test method for transport protocol between intelligent household electrical appliance and mobile terminal and test device thereof
CN105915418A (en) * 2016-05-23 2016-08-31 珠海格力电器股份有限公司 Method and device for controlling household appliance
CN107528752A (en) * 2016-06-22 2017-12-29 佛山市顺德区美的电热电器制造有限公司 The control system and virtual reality projection arrangement of intelligent appliance
CN110610631A (en) * 2018-06-15 2019-12-24 上海企想信息技术有限公司 Virtual intelligent home practical training system and virtual practical training method thereof
CN108958057A (en) * 2018-08-01 2018-12-07 珠海格力电器股份有限公司 The control method and device of household appliance, storage medium, electronic device
CN110784538A (en) * 2019-10-30 2020-02-11 广东美的制冷设备有限公司 Household appliance configuration file generation method and device, household appliance and storage medium
CN110764429A (en) * 2019-11-25 2020-02-07 广东美的制冷设备有限公司 Interaction method of household electrical appliance, terminal device and storage medium
CN111078539A (en) * 2019-11-29 2020-04-28 江苏苏宁物流有限公司 Test method, device, system and computer readable storage medium
TWI706656B (en) * 2020-04-01 2020-10-01 台灣松下電器股份有限公司 Visualized household appliance control system and method
CN111814354A (en) * 2020-07-23 2020-10-23 展讯通信(上海)有限公司 Simulation test method, system, medium and electronic device for instrument performance

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHSim:基于OSGI的智能家居的系统测试平台;黄若衡 等;《计算机工程与科学》(04);1-5 *
基于虚拟仪器的控制指令码自动测试系统;方兴 等;电子测量技术(第7期);1-3 *

Also Published As

Publication number Publication date
CN113468033A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN113468033B (en) Household appliance testing method and system
US20080157936A1 (en) Appliance Network for a Networked Appliance and a Remote User Interface
CN102684952B (en) The control method of intelligent appliance
CN107991891B (en) Method and system for adjusting environmental parameters and user equipment
CN103940956A (en) Smell detection method, device and system
CN103940971A (en) Smell detection method, device, baking box and detection system
CN105074683B (en) Using messaging and there are protocol remotes to test electronic equipment
CN110836405B (en) Linkage control method and system and intelligent range hood
CN111934908A (en) Internet of things simulation method, device and system and storage medium
CN109361579A (en) A kind of smart machine control method, system and storage medium
CN113960929A (en) Visual data interaction detection method, system, equipment and medium for intelligent kitchen electricity
CN111861221A (en) Equipment fault information pushing method and device, storage medium and electronic device
CN113296729A (en) Prompt message broadcasting method, device and system, storage medium and electronic device
CN105959174A (en) Testing method and testing device for intelligent equipment platform
CN116431852A (en) Environment state visualization method and device, storage medium and electronic device
CN116484083A (en) Dish information display method and device, storage medium and electronic device
CN110795842B (en) Method and device for creating combined equipment model and control equipment
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN113434421B (en) Virtual equipment testing method and device
CN116360584A (en) Virtual target product generation method and device, storage medium and electronic device
CN205384460U (en) Big data analysis smart home systems
CN108509311A (en) A kind of apparatus monitoring method, device, storage medium and computer equipment
CN113925357B (en) Selection method and device of temperature acquisition device, cooking device and storage medium
CN112035102A (en) Configuration method and device of data interface, storage medium and electronic device
CN115174383B (en) Equipment updating method, storage medium and electronic device

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