CN113468033A - Testing method and system for household appliance - Google Patents

Testing method and system for household appliance Download PDF

Info

Publication number
CN113468033A
CN113468033A CN202110708521.2A CN202110708521A CN113468033A CN 113468033 A CN113468033 A CN 113468033A CN 202110708521 A CN202110708521 A CN 202110708521A CN 113468033 A CN113468033 A CN 113468033A
Authority
CN
China
Prior art keywords
virtual
household appliance
virtual household
configuration
appliance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110708521.2A
Other languages
Chinese (zh)
Other versions
CN113468033B (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

Images

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 electrical appliances. Wherein, the method comprises the following steps: acquiring a configuration file of virtual household electrical appliances corresponding to the household electrical appliances; generating virtual household electrical appliance equipment according to the configuration file; and receiving an operation instruction through a control interface of the virtual household appliance, operating 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 invention solves the technical problems that the household appliance test needs to be carried out in a real object test and the real object resources are wasted in the related technology.

Description

Testing method and system for household appliance
Technical Field
The invention relates to the field of equipment testing, in particular to a testing method and a testing system for household electrical appliances.
Background
The household appliance test is an important link in the household appliance research and development process and can help designers to optimize a design scheme. In the related art, it is generally required to manufacture a prototype and then perform a test by the prototype in a laboratory. In this way, a prototype needs to be manufactured according to the design scheme, and under the condition that the design scheme has a plurality of versions, the prototype needs to be manufactured for a plurality of times, so that the resource waste of the real household appliance is easily caused. And the household appliance test is always required to be carried out under the limitation of a prototype substance and a laboratory
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a system for testing household appliances, which at least solve the technical problems that the household appliance testing needs to be performed in a real object manner and real object resources are wasted in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for testing a home appliance, including: acquiring a configuration file of virtual household electrical appliances corresponding to the household electrical appliances; generating virtual household electrical appliance equipment according to the configuration file; and receiving an operation instruction through a control interface of the virtual household appliance, operating 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.
Optionally, generating the virtual household appliance 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 electrical appliance, and determining the configuration function of the virtual household electrical appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
Optionally, before adding the configuration module to the virtual home appliance device, the method further includes: setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance, wherein the test result comprises the following steps: responding to a first operation on the control interface, and generating a first control instruction, 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; sending the first control instruction to the configuration module through the port; receiving first feedback data generated by the configuration module 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, the method includes receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance includes: responding to a second operation of the control interface, and generating a second control instruction, 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 configuration file responding to the second control instruction and operating the basic function of the virtual household appliance; and displaying the second feedback data on the control interface, and testing the virtual household appliance according to the second feedback data to obtain a test result of the virtual household appliance.
Optionally, before obtaining the configuration file of the virtual home appliance device corresponding to the home appliance device, the method further includes: the method comprises the steps that configuration files of a plurality of virtual household electrical appliances are regularly obtained from a cloud server, wherein the configuration files of the virtual household electrical appliances are stored in the cloud server in advance; and caching the acquired configuration files of the plurality of virtual household electrical appliances.
Optionally, the obtaining of the configuration file of the virtual home appliance device corresponding to the home appliance device includes: receiving a selection instruction of a virtual household appliance, wherein the selection instruction is used for selecting one or more target virtual household appliances in the virtual household appliance; and responding to the selection instruction, selecting the target virtual household appliance from the cache, and acquiring a configuration file of the target virtual household appliance.
According to another aspect of the embodiments of the present invention, there is also provided a testing system for a home appliance, including: the system comprises a client and a cloud server, wherein 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 electrical appliance equipment according to the configuration file; and receiving an operation instruction through a control interface of the virtual household appliance, operating 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.
Optionally, the test system further includes a configuration module, and the client includes: the analyzer is used for analyzing and operating 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 a configuration module to the virtual household appliance and determining the configuration function of the virtual household appliance according to the configuration module; and the client is also used for generating the virtual household appliance according to the basic function and the configuration function.
According to another aspect of the embodiments of the present invention, there is further provided a processor, wherein the processor is configured to execute a program, and when the program is executed, the method for testing a home appliance is performed.
According to another aspect of the embodiments of the present invention, there is provided a computer storage medium, where the computer storage medium includes a stored program, and when the program runs, the apparatus where the computer storage medium is located is controlled to execute any one of the above methods for testing a home appliance.
In the embodiment of the invention, the configuration file of the virtual household appliance corresponding to the household appliance is obtained; generating virtual household electrical appliance equipment according to the configuration file; the operation instruction is received through the control interface of the virtual household appliance, the virtual household appliance is operated, and the test result of the virtual household appliance is determined, wherein the control interface comprises the functions and parameters of the virtual household appliance, so that the purpose of improving the display quality of the display device through the virtual household appliance of the household appliance at any time and any place is achieved, and the technical problems that in the related technology, the physical test is required for household appliance testing, and the physical resources are wasted 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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a testing method of a home appliance according to embodiment 1 of the present invention;
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;
fig. 3 is a flowchart of testing a virtual home device 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 device according to embodiment 1 of the present invention;
fig. 5 is a schematic diagram of a testing system for a home appliance according to embodiment 2 of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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
In accordance with an embodiment of the present invention, there is provided a method embodiment of a testing method for a home appliance, it is 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 than that described herein.
Fig. 1 is a flowchart of a method for testing a home appliance according to embodiment 1 of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring a configuration file of a virtual household appliance corresponding to the household appliance;
step S104, generating virtual household electrical appliances according to the configuration files;
and S106, receiving an operation instruction through a control interface of the virtual household appliance, operating 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 steps can be a web client. Acquiring a configuration file of the virtual household appliance corresponding to the household appliance through the steps; generating virtual household electrical appliance equipment according to the configuration file; the operation instruction is received through the control interface of the virtual household appliance, the virtual household appliance is operated, and the test result of the virtual household appliance is determined, wherein the control interface comprises the functions and parameters of the virtual household appliance, so that the purpose of improving the display quality of the display device through the virtual household appliance of the household appliance at any time and any place is achieved, and the technical problems that in the related technology, the physical test is required for household appliance testing, and the physical resources are wasted are solved.
The household appliance can be an air conditioner, a refrigerator, a water heater, a washing machine, a kitchen appliance and the like, and the household appliance can be an intelligent household appliance. The kitchen appliances can comprise a range hood, an induction cooker, an electric pressure cooker, an electric rice cooker, a microwave oven, an electric oven, a dish-washing machine and the like. Because the household appliances need to be tested by a manufacturing prototype in the design stage, the cost is high, the resources are wasted, and the test perimeter is limited by the physical space of equipment and specific test.
Virtual household appliances of different models and styles can be established on the cloud server, and the household appliances are tested by operating the virtual household appliances. The cloud server stores a configuration file of the virtual household appliance corresponding to the household appliance, and the virtual household appliance can be operated by operating the configuration file so as to simulate the operation of the real household appliance, thereby testing the household appliance.
Before the configuration files of the virtual household appliances are obtained, the configuration files of the virtual household appliances are obtained from a cloud server periodically, wherein the configuration files of the virtual household appliances are stored in the cloud server in advance; and caching the acquired configuration files of the plurality of virtual household electrical appliances. Therefore, the problem that the efficiency of household appliance testing is influenced due to the fact that the obtaining speed is low due to poor network conditions is avoided.
The configuration file of the virtual household appliance corresponding to the household appliance is obtained, and the required configuration file of the virtual household appliance can be selected from the existing virtual household appliances in the cloud server according to the test requirements of the user. For example, when a user needs to perform an internet of things test on an air conditioner, a refrigerator and a water heater, the virtual household appliance of the air conditioner, the virtual household appliance of the refrigerator and the virtual household appliance of the water heater are obtained from the cloud server.
When a configuration file of the virtual household appliance is obtained, a selection instruction of the virtual household appliance is received, wherein the selection instruction is used for selecting one or more target virtual household appliances in the virtual household appliance; and responding to the selection instruction, selecting the target virtual household appliance from the cache, and acquiring the configuration file of the target virtual household appliance.
The configuration file may include a three-dimensional model of the virtual home appliance device, and may further include a function control for simulating a basic function of the real home appliance. For example, the virtual household electrical appliance may be a virtual air conditioning appliance, and the function control of the basic function may include functions of setting temperature, swinging air up and down, left and right, operating mode, wind speed, power on and off, electronic lock and the like, which are provided by the style and specification of the real household electrical appliance.
And generating the virtual household electrical appliance according to the configuration file, and displaying a control interface of the virtual household electrical appliance, wherein the control interface comprises functions and parameters of the virtual household electrical appliance. The control interface may be a control interface generated by the client acquiring various parameters of the virtual household appliance in the testing process. The control interface may include a plurality of sub-pages, as shown in fig. 4, where fig. 4 is a schematic diagram of a control interface of a virtual home appliance according to embodiment 1 of the present invention. The control interface comprises a port setting sub-page, an equipment 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, such as the set temperature, the vertical wind, the mode, the wind speed, the set humidity, the feeling of the human, the horizontal wind, the power on, the health, and the like in fig. 4. The control interface can also include sub-pages that control testing, such as the general instructions sub-page. And a port for client communication is also set, and equipment can be managed, data can be sent and the like.
The user can operate on the control interface and sends an operation instruction through the control interface, and the client receives the operation instruction sent by the control interface, runs the virtual household appliance and acquires various functional parameters of the virtual household appliance in running in real time, so that the household appliance is tested according to the virtual household appliance.
Optionally, the 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 electrical appliance, and determining the configuration function of the virtual household electrical 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 a framework of a web page system of a virtual home appliance according to embodiment 1 of the present invention, and as shown in fig. 2, the client is provided with an analyzer, and after obtaining the virtual home appliance from a cloud server, the analyzer analyzes a configuration file, and then runs the analyzed configuration file to determine a basic function of the virtual home appliance. The basic functions are the functions of the real household electrical appliance of the specification and the model.
In one case, a user needs to test a new function added to the virtual home appliance, and at this time, the virtual home appliance does not have a function control of the function, so that one or more configuration modules are arranged outside the client, and a configuration function, for example, an internet of things function, is added to the virtual home appliance according to a requirement.
After the basic function and the configuration function of the virtual household appliance can be operated, a control interface of the virtual household appliance can be generated according to the configuration file, and 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 device, the method further includes: setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance, wherein the test result comprises the following steps: responding to a first operation on a control interface, and generating a first control instruction, 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; sending the first control instruction to a configuration module through a port; receiving first feedback data generated by the configuration module 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 the test result of the virtual household appliance according to the first feedback data.
When the configuration module is added to the virtual household appliance, the configuration module and the client side need to be connected to add the configuration function to the virtual household appliance outside the client side, so that the problem that the client side is heavy in burden due to the fact that the configuration module is added to the client side can be solved. Specifically, a communication port is arranged for the configuration module by the resolver at the client, and data transmission is performed in a json transmission mode by connecting the port of the resolver with a serial port of the configuration module and using a predetermined communication protocol. The communication protocol may be an E + + communication protocol.
When the functions of the virtual home appliance include the configuration function, the configuration function and the basic function of the virtual home appliance respond in different ways. Specifically, when a user performs a first operation on the control interface to control the virtual household appliance to execute the 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 the configuration module through the port, and first feedback data generated when the function module responds to the first control instruction to operate the configuration function of the virtual household appliance is received. 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 carries out 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 by responding to the second operation on the control interface, wherein the second control instruction is used for controlling the basic function; sending the second control instruction to a configuration file; receiving second feedback data generated by the configuration file responding to a second control instruction to operate the basic function of the virtual household appliance; 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 testing the virtual home appliance, the virtual home appliance is initialized, so that both basic functions and configuration functions of the virtual home appliance are initialized to prepare for testing. The content of the test includes device control, that is, the control of the function of the virtual household electrical appliance, state report, that is, the operation state of the function of the virtual household electrical appliance, whether an alarm is given when the operation fails or not, and a command is sent, that is, the instruction feedback of the virtual household electrical appliance is performed through a part of functions having a feedback effect. For example, the temperature automatic control function needs to automatically perform feedback control according to temperature parameters, that is, send temperature feedback instructions, including temperature up-regulation, temperature down-regulation, and the like.
Example 2
Fig. 5 is a schematic diagram of a testing system of a home appliance according to an embodiment of the present invention, and as shown in fig. 5, according to another aspect of the embodiment of the present invention, there is also provided a testing system of a home appliance, including: client 52, cloud server 54, and the system is 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 for obtaining a configuration file; generating virtual household electrical appliance equipment according to the configuration file; and receiving an operation instruction through a control interface of the virtual household appliance, operating 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.
By the system, the configuration file of the virtual household appliance corresponding to the household appliance is obtained; generating virtual household electrical appliance equipment according to the configuration file; the operation instruction is received through the control interface of the virtual household appliance, the virtual household appliance is operated, and the test result of the virtual household appliance is determined, wherein the control interface comprises the functions and parameters of the virtual household appliance, so that the purpose of improving the display quality of the display device through the virtual household appliance of the household appliance at any time and any place is achieved, and the technical problems that in the related technology, the physical test is required for household appliance testing, and the physical resources are wasted are solved.
The test system also comprises a configuration module, and the client comprises: the analyzer is used for analyzing and operating the configuration file and determining the basic function of the virtual household appliance; the configuration module is connected with the analyzer and 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; and the client is also used for generating the virtual household appliance equipment according to the basic function and the configuration function.
The resolver of the client is provided with a port for communicating with the configuration module. The client responses to the control interface to operate the virtual household appliance, and tests the household appliance through the virtual household appliance comprises the following steps: responding to a first operation on the control interface, and generating a first control instruction, wherein the first control instruction is used for controlling a configuration function; sending the first control instruction to a configuration module through a port; receiving first feedback data generated by the functional module 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 so as to test the virtual household appliance according to the first feedback data.
Operate control interface, operate virtual household electrical appliances to test household electrical appliances through virtual household electrical appliances still includes: responding to a second operation on the control interface, and generating a second control instruction, wherein the second control instruction is used for controlling the basic function; sending the second control instruction to a configuration file; receiving second feedback data generated by the configuration file responding to a second control instruction to operate the basic function of the virtual household appliance; 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 comprises: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for periodically acquiring configuration files of a plurality of virtual household appliances from a cloud server, and the cloud server stores the configuration files of the plurality of virtual household appliances in advance; and the caching module is used for caching the acquired configuration files of the plurality of virtual household electrical appliances.
The above-mentioned acquisition module includes: the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a selection instruction of the virtual household appliances, and the selection instruction is used for selecting one or more target virtual household appliances in the virtual household appliances; and the selection unit is used for responding to the selection instruction, selecting the target virtual household appliance from the cache and acquiring the configuration file of the target virtual household appliance.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the following steps:
acquiring a configuration file of virtual household electrical appliances corresponding to the household electrical appliances; generating virtual household electrical appliance equipment according to the configuration file, and displaying a control interface of the virtual household electrical appliance equipment, wherein the control interface comprises functions and parameters of the virtual household electrical appliance equipment; and receiving the operation instruction through the control interface, and operating the virtual household appliance so as to test the household appliance through the virtual household appliance.
As an optional implementation, the 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 electrical appliance, and determining the configuration function of the virtual household electrical appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
As an optional implementation, before adding the configuration module to the virtual home device, the method further includes: setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance, wherein the test result comprises the following steps: responding to a first operation on a control interface, and generating a first control instruction, 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; sending the first control instruction to a configuration module through a port; receiving first feedback data generated by the configuration module 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 the 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 device, and operating the virtual home device, where determining a test result of the virtual home device includes: responding to a second operation on the control interface, and generating a second control instruction, wherein the second control instruction is used for controlling the basic function; sending the second control instruction to a configuration file; receiving second feedback data generated by the basic function of the virtual household appliance by the configuration file responding to a second control instruction; and displaying the second feedback data on the control interface, and testing the virtual household appliance according to the second feedback data to obtain a test result of the virtual household 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: the method comprises the steps that configuration files of a plurality of virtual household electrical appliances are regularly obtained from a cloud server, wherein the configuration files of the virtual household electrical appliances are stored in the cloud server in advance; and caching the acquired configuration files of the plurality of virtual household electrical appliances.
As an optional implementation manner, the obtaining a configuration file of a virtual home device corresponding to the home device includes: receiving a selection instruction of the virtual household electrical appliance, wherein the selection instruction is used for selecting one or more target virtual household electrical appliances in the virtual household electrical appliance; and responding to the selection instruction, selecting the target virtual household appliance from the cache, and acquiring the configuration file of the target virtual household appliance.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium including a stored program, wherein when the program runs, the apparatus on which the computer storage medium is located is controlled to perform the following steps:
acquiring a configuration file of virtual household electrical appliances corresponding to the household electrical appliances; generating virtual household electrical appliance equipment according to the configuration file, and displaying a control interface of the virtual household electrical appliance equipment, wherein the control interface comprises functions and parameters of the virtual household electrical appliance equipment; and receiving the operation instruction through the control interface, and operating the virtual household appliance so as to test the household appliance through the virtual household appliance.
As an optional implementation, the 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 electrical appliance, and determining the configuration function of the virtual household electrical appliance according to the configuration module; and generating the virtual household appliance according to the basic function and the configuration function.
As an optional implementation, before adding the configuration module to the virtual home device, the method further includes: setting a port for the configuration module; receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance, wherein the test result comprises the following steps: responding to a first operation on a control interface, and generating a first control instruction, 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; sending the first control instruction to a configuration module through a port; receiving first feedback data generated by the configuration module 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 the 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 device, and operating the virtual home device, where determining a test result of the virtual home device includes: responding to a second operation on the control interface, and generating a second control instruction, wherein the second control instruction is used for controlling the basic function; sending the second control instruction to a configuration file; receiving second feedback data generated by the basic function of the virtual household appliance by the configuration file responding to a second control instruction; and displaying the second feedback data on the control interface, and testing the virtual household appliance according to the second feedback data to obtain a test result of the virtual household 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: the method comprises the steps that configuration files of a plurality of virtual household electrical appliances are regularly obtained from a cloud server, wherein the configuration files of the virtual household electrical appliances are stored in the cloud server in advance; and caching the acquired configuration files of the plurality of virtual household electrical appliances.
As an optional implementation manner, the obtaining a configuration file of a virtual home device corresponding to the home device includes: receiving a selection instruction of the virtual household electrical appliance, wherein the selection instruction is used for selecting one or more target virtual household electrical appliances in the virtual household electrical appliance; and responding to the selection instruction, selecting the target virtual household appliance from the cache, and acquiring the configuration file of the target virtual household appliance.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for testing household appliances is characterized by comprising the following steps:
acquiring a configuration file of virtual household electrical appliances corresponding to the household electrical appliances;
generating virtual household electrical appliance equipment according to the configuration file;
and receiving an operation instruction through a control interface of the virtual household appliance, operating 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.
2. The method of claim 1, wherein generating the virtual appliance device according to 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 electrical appliance, and determining the configuration function of the virtual household electrical 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 2, wherein prior to adding a configuration module for the virtual appliance device, the method further comprises:
setting a port for the configuration module;
receiving an operation instruction through a control interface of the virtual household appliance, operating the virtual household appliance, and determining a test result of the virtual household appliance, wherein the test result comprises the following steps:
responding to a first operation on the control interface, and generating a first control instruction, 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;
sending the first control instruction to the configuration module through the port;
receiving first feedback data generated by the configuration module 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.
4. The method of claim 2, wherein the virtual home device is operated by receiving an operation instruction through a control interface of the virtual home device, and determining the test result of the virtual home device comprises:
responding to a second operation of the control interface, and generating a second control instruction, 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 configuration file responding to the second control instruction and operating the basic function of the virtual household appliance;
and displaying the second feedback data on the control interface, and testing the virtual household appliance according to the second feedback data to obtain a test result of the virtual household appliance.
5. The method of claim 1, wherein before obtaining the configuration file of the virtual home device corresponding to the home device, the method further comprises:
the method comprises the steps that configuration files of a plurality of virtual household electrical appliances are obtained from a cloud server, wherein the configuration files of the virtual household electrical appliances are stored in the cloud server in advance;
and caching the acquired configuration files of the plurality of virtual household electrical appliances.
6. The method of claim 5, wherein obtaining the configuration file of the virtual home device corresponding to the home device comprises:
receiving a selection instruction of a virtual household appliance, wherein the selection instruction is used for selecting one or more target virtual household appliances in the virtual household appliance;
and responding to the selection instruction, selecting the target virtual household appliance from the cache, and acquiring a configuration file of the target virtual household appliance.
7. A testing system for home appliances, comprising: a client, a cloud 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 electrical appliance equipment according to the configuration file; and receiving an operation instruction through a control interface of the virtual household appliance, operating 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.
8. The system of claim 7, wherein the test system further comprises a configuration module, and wherein the client comprises: a resolver is used for resolving the error of the data,
the analyzer is used for analyzing and operating 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 a configuration module to the virtual household appliance and determining the configuration function of the virtual household appliance according to the configuration module;
and the client is also used for generating the virtual household appliance according to the basic function and the configuration function.
9. A processor, configured to execute a program, wherein the program executes the method for testing the home device according to any one of claims 1 to 6.
10. A computer storage medium, comprising a stored program, wherein the program, when executed, controls a device on which the computer storage medium is located to perform the method for testing a home appliance according to any one of claims 1 to 6.
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 true CN113468033A (en) 2021-10-01
CN113468033B 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)

Cited By (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
方兴 等: "基于虚拟仪器的控制指令码自动测试系统", 电子测量技术, no. 7, pages 1 - 3 *
黄若衡 等: "SHSim:基于OSGI的智能家居的系统测试平台", 《计算机工程与科学》, no. 04, pages 1 - 5 *

Cited By (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

Also Published As

Publication number Publication date
CN113468033B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN113468033B (en) Household appliance testing method and system
CN107991891B (en) Method and system for adjusting environmental parameters and user equipment
KR20120137546A (en) Server system and online service for device management
CN109684146A (en) Upper and lower electric test method, device, system and processing equipment
CN103940956A (en) Smell detection method, device and system
CN108055179A (en) The method, apparatus and system of Intelligent housing
CN115343962A (en) Intelligent household appliance control method and system, intelligent screen and storage medium
CN115358395A (en) Knowledge graph updating method and device, storage medium and electronic device
CN113960929A (en) Visual data interaction detection method, system, equipment and medium for intelligent kitchen electricity
CN110836405B (en) Linkage control method and system and intelligent range hood
US10216869B2 (en) System and method for simulating multiple BACnet devices and objects
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN114265328A (en) Control method and device of intelligent household equipment
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
CN113434255A (en) Virtual equipment creating method and device
CN111901155A (en) Internet of things debugging method, device and system and storage medium
CN205384460U (en) Big data analysis smart home systems
CN110795842B (en) Method and device for creating combined equipment model and control equipment
CN113434421A (en) Virtual equipment testing method and device
CN113925357B (en) Selection method and device of temperature acquisition device, cooking device and storage medium
CN117331322A (en) Scene simulation method and device
CN116074141A (en) Function configuration method, device, equipment and storage medium
CN116382105A (en) Visual scene control method, system, storage medium and electronic device
CN110727728A (en) Information processing method, information processing apparatus, storage medium, and electronic apparatus

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