CN107328592A - Air conditioner test method, device, system and processor, storage medium - Google Patents

Air conditioner test method, device, system and processor, storage medium Download PDF

Info

Publication number
CN107328592A
CN107328592A CN201710499374.6A CN201710499374A CN107328592A CN 107328592 A CN107328592 A CN 107328592A CN 201710499374 A CN201710499374 A CN 201710499374A CN 107328592 A CN107328592 A CN 107328592A
Authority
CN
China
Prior art keywords
air
test
conditioning
measured
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710499374.6A
Other languages
Chinese (zh)
Inventor
王志辉
肖彪
田云
张梦茹
刘国光
戴志博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710499374.6A priority Critical patent/CN107328592A/en
Publication of CN107328592A publication Critical patent/CN107328592A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/005Testing of complete machines, e.g. washing-machines or mobile phones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/008Subject matter not provided for in other groups of this subclass by doing functionality tests

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a kind of air conditioner test method, device, system and processor, storage medium.Wherein, this method includes:In the case where being connected with the foundation of target detection device, the test case of air-conditioning to be measured is obtained, wherein, the target detection device is used to test the air-conditioning to be measured;The test case is converted into executable machine code;At least one test module for driving the target detection device according to the executable machine code tests the air-conditioning to be measured.The present invention is solved due to the less efficient technical problem that manual test air conditioning function is caused.

Description

Air conditioner test method, device, system and processor, storage medium
Technical field
The present invention relates to air conditioner test field, in particular to a kind of air conditioner test method, device, system and processing Device, storage medium.
Background technology
Each air-conditioning is required for carrying out functional test before dispatching from the factory.Existing air conditioning function test is based on artificial mostly Manual test, less efficient, task coverage rate is low.Also, test and use man-to-man on-the-spot test pattern, space-consuming mostly Greatly, it is unfavorable for personal management and puies forward effect.
For it is above-mentioned the problem of, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of air conditioner test method, device, system and processor, storage medium, with least Solve due to the less efficient technical problem that manual test air conditioning function is caused.
One side according to embodiments of the present invention there is provided a kind of air conditioner test method, including:Filled with target detection In the case of setting up vertical connection, the test case of air-conditioning to be measured is obtained, wherein, above-mentioned target detection device is used to test above-mentioned treat Survey air-conditioning;Above-mentioned test case is converted into executable machine code;Above-mentioned target detection is driven according to above-mentioned executable machine code At least one test module of device tests above-mentioned air-conditioning to be measured.
Alternatively, above-mentioned target detection device includes following one or several test modules:Remote control module, power supply mould Block, analog temperature give module, load condition monitoring module, device control module, communication monitoring module;Wherein, above-mentioned remote control Module, the mode of operation for controlling above-mentioned air-conditioning to be measured;Above-mentioned energy supply control module, for supplying above-mentioned air-conditioning to be measured Electric control;Above-mentioned analog temperature gives module, the temperature for controlling above-mentioned air-conditioning to be measured;Above-mentioned load condition monitoring module, Load condition for monitoring above-mentioned air-conditioning to be measured;The said equipment control module, the controller for controlling above-mentioned air-conditioning to be measured; Above-mentioned communication monitoring module, the Content of Communication between multiple controllers for monitoring above-mentioned air-conditioning to be measured.
Alternatively, set up with target detection device be connected including:Receive IP address;According to above-mentioned IP address, from least one Above-mentioned target detection device is determined in platform test device;Set up and be connected with above-mentioned target detection device.
Alternatively, above-mentioned test case is converted into executable machine code includes:Load above-mentioned test case;To above-mentioned survey Instruction in example on probation is classified;
By it is sorted it is above-mentioned it is instruction morphing be above-mentioned executable machine code, wherein, above-mentioned executable machine code include life Order and order execution sequence table.
Alternatively, above-mentioned target detection device is driven to call at least one test module to survey according to above-mentioned executable machine code Trying above-mentioned air-conditioning to be measured includes:Order according to mentioned order execution sequence table performs mentioned order, to drive above-mentioned target to survey At least one above-mentioned test module that trial assembly is put tests above-mentioned air-conditioning to be measured.
Alternatively, mentioned order includes at least one of:It is guidance command, power control command, temperature control order, negative Carry monitor command, controller control command, controller monitoring order.
Alternatively, at least one test module for driving above-mentioned target detection device according to above-mentioned executable machine code is tested After above-mentioned air-conditioning to be measured, the above method also includes:Monitor and generate test result.
Another aspect according to embodiments of the present invention, additionally provides a kind of host computer, including:Acquiring unit, for In the case that target detection device sets up connection, the test case of air-conditioning to be measured is obtained, wherein, above-mentioned target detection device is used for Test air-conditioning to be measured;Conversion unit, for above-mentioned test case to be converted into executable machine code;Driver element, for according to Above-mentioned executable machine code drives at least one test module of above-mentioned target detection device to test above-mentioned air-conditioning to be measured.
Alternatively, above-mentioned target detection device includes following one or several test modules:Remote control module, power supply mould Block, analog temperature give module, load condition monitoring module, device control module, communication monitoring module;Wherein, above-mentioned remote control Module, the mode of operation for controlling above-mentioned air-conditioning to be measured;Above-mentioned energy supply control module, for supplying above-mentioned air-conditioning to be measured Electric control;Above-mentioned analog temperature gives module, the temperature for controlling above-mentioned air-conditioning to be measured;Above-mentioned load condition monitoring module, Load condition for monitoring above-mentioned air-conditioning to be measured;The said equipment control module, the controller for controlling above-mentioned air-conditioning to be measured; Above-mentioned communication monitoring module, the Content of Communication between multiple controllers for monitoring above-mentioned air-conditioning to be measured.
Another aspect according to embodiments of the present invention, additionally provides a kind of air conditioner test system, including at least one test Device and at least one host computer;Wherein, above-mentioned host computer, in the case where being connected with the foundation of target detection device, obtaining The test case of air-conditioning to be measured is taken, wherein, above-mentioned target detection device is used to test above-mentioned air-conditioning to be measured;By above-mentioned test case It is converted into executable machine code;At least one test module of above-mentioned target detection device is driven according to above-mentioned executable machine code Above-mentioned air-conditioning to be measured is tested, above-mentioned target detection device is one in above-mentioned at least one test device.
Alternatively, above-mentioned target detection device includes following one or several test modules:Remote control module, power supply mould Block, analog temperature give module, load condition monitoring module, device control module, communication monitoring module;Wherein, above-mentioned remote control Module, the mode of operation for controlling above-mentioned air-conditioning to be measured;Above-mentioned energy supply control module, for supplying above-mentioned air-conditioning to be measured Electric control;Above-mentioned analog temperature gives module, the temperature for controlling above-mentioned air-conditioning to be measured;Above-mentioned load condition monitoring module, Load condition for monitoring above-mentioned air-conditioning to be measured;The said equipment control module, the controller for controlling above-mentioned air-conditioning to be measured; Above-mentioned communication monitoring module, the Content of Communication between multiple controllers for monitoring above-mentioned air-conditioning to be measured.
Alternatively, above-mentioned host computer is connected for performing following steps with the foundation of target detection device:Receive IP address;Root According to above-mentioned IP address, above-mentioned target detection device is determined from least one test device;Set up with above-mentioned target detection device Connection.
Alternatively, above-mentioned test case is converted into executable machine code by above-mentioned host computer for performing following steps:Plus Carry above-mentioned test case;Instruction in above-mentioned test case is classified;By it is sorted it is above-mentioned it is instruction morphing for it is above-mentioned can Machine code is performed, wherein, above-mentioned executable machine code includes order and order execution sequence table.
Alternatively, said system also includes:Interchanger, is arranged at above-mentioned at least one host computer and above-mentioned at least one survey Trial assembly is put between, for realizing the data interaction between above-mentioned at least one host computer and above-mentioned at least one test device.
Another aspect according to embodiments of the present invention, additionally provides a kind of computer, including:Acquisition module, for In the case that target detection device sets up connection, the test case of air-conditioning to be measured is obtained, wherein, above-mentioned target detection device is used for Test above-mentioned air-conditioning to be measured;Processor, above-mentioned processor operation program, wherein, for from above-mentioned acquisition when said procedure is run The data of module output perform following process step:Above-mentioned test case is converted into executable machine code;Held according to above-mentioned Row machine code drives at least one test module of above-mentioned target detection device to test above-mentioned air-conditioning to be measured.
Another aspect according to embodiments of the present invention, additionally provides a kind of computer, including:Acquisition module, for In the case that target detection device sets up connection, the test case of air-conditioning to be measured is obtained, wherein, above-mentioned target detection device is used for Test above-mentioned air-conditioning to be measured;Storage medium, for storage program, wherein, said procedure is operationally for from above-mentioned acquisition mould The data of block output perform following process step:Above-mentioned test case is converted into executable machine code;According to above-mentioned executable Machine code drives at least one test module of above-mentioned target detection device to test above-mentioned air-conditioning to be measured.
Another aspect according to embodiments of the present invention, additionally provides a kind of storage medium.Above-mentioned storage medium includes storage Program, wherein, said procedure perform with above-mentioned arbitrary characteristics air conditioner test method.
Another aspect according to embodiments of the present invention, additionally provides a kind of processor.Above-mentioned processor is used for operation program, Wherein, said procedure performs the air conditioner test method with above-mentioned arbitrary characteristics.
In embodiments of the present invention, using in the case where being connected with the foundation of target detection device, air-conditioning to be measured is obtained Test case, wherein, target detection device is used to test air-conditioning to be measured;Test case is converted into executable machine code;According to At least one test module of executable machine code driving target detection device tests the mode of air-conditioning to be measured, by being filled with test Vertical long-range connection is set up, test case executable machine code is converted into, and then target detection is driven according to executable machine code At least one test module of device tests air-conditioning to be measured, has reached remote control, the purpose of automatic test, it is achieved thereby that Improve air conditioning function testing efficiency technique effect, and then solve due to manual test air conditioning function cause it is less efficient Technical problem.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic flow sheet of optional air conditioner test method according to embodiments of the present invention;
Fig. 2 is a kind of structural representation of optional host computer according to embodiments of the present invention;
Fig. 3 (a) is a kind of structural representation of optional air conditioner test system according to embodiments of the present invention;
Fig. 3 (b) is the structural representation of another optional air conditioner test system according to embodiments of the present invention;
Fig. 4 is the structural representation of another optional air conditioner test system according to embodiments of the present invention;
Fig. 5 is the structural representation of another optional air conditioner test system according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
The term that the present embodiment is related to is explained as follows:
Test case (Test Case):Be worked out for some special objective one group of test input, execution condition and Expected results, to test some Program path or to examine whether meet some particular demands.
Host computer:Refer to directly send the computer of manipulation order.
Interchanger (Switch):It is a kind of network equipment for electric (light) signal forwarding, it can be access switch Any two network node the pathway for electrical signals that exclusively enjoys is provided.
IP address:Refer to Internet protocol address (Internet Protocol Address, internet protocol address), be IP Address abbreviation.IP address is a kind of unified address format that IP agreement is provided, and it is each on internet One logical address of network and each host assignment, the difference of physical address is shielded with this.
Embodiment 1
According to embodiments of the present invention there is provided a kind of embodiment of the method for air conditioner test method, it is necessary to illustrate, attached The step of flow of figure is illustrated can perform in the computer system of such as one group computer executable instructions, though also, So logical order is shown in flow charts, but in some cases, can be shown to be performed different from order herein Or the step of description.
Fig. 1 is air conditioner test method according to embodiments of the present invention, as shown in figure 1, this method comprises the following steps:
Step S102, in the case where being connected with the foundation of target detection device, obtains the test case of air-conditioning to be measured.
In the technical scheme that the application step S102 is provided, target detection device is used to test air-conditioning to be measured.By defeated The IP address for entering or selecting, determines the target detection device for testing air-conditioning to be measured at least one test device, and with The target detection device sets up telecommunication connection.It should be noted that every unique IP address of test device correspondence.
In the case where being connected with the foundation of target detection device, test case prepared in advance is obtained., can in the present embodiment With the test case prepared in advance of the function logic according to air-conditioning to be measured, the establishment technique of test case can using plain text, The technologies such as man-machine interface, generic text, can also be worked out, the present embodiment is without limitation according to specific syntax gauge.
Step S104, executable machine code is converted into by test case.
In the technical scheme that the application step S104 is provided, executable machine code refers to the generation that machine can be performed directly Code., it is necessary to load test case after the test case of air-conditioning to be measured is got, the test case is converted into executable machine Device code.
Step S106, at least one test module for driving target detection device according to executable machine code tests sky to be measured Adjust.
In the technical scheme that the application step S106 is provided, target detection device can include following one or more surveys Die trial block:Remote control module, energy supply control module, analog temperature give module, load condition monitoring module, device control module, Communication monitoring module.Specifically, remote control module can realize infrared remote control, it is RF remote-controlled, reach the control to the mode of operation of air-conditioning System;Energy supply control module can realize the power supply control of tested model machine;Analog temperature, which gives module, can realize air-conditioner temperature condition It is given;Load condition monitoring module can realize the monitoring of each load of air-conditioning, for example:Compressor behavior, inside and outside blower fan fortune The real-time status monitoring of row state even load;Device control module can realize the control to air-conditioner controller internal signal, for example Some protection signals it is given;Communication monitoring module can realize the monitoring to the Content of Communication between air-conditioner controller.Target is surveyed The hardware interface for each test module that trial assembly is put is connected by cable with air-conditioning to be measured.
Different classes of order is included in executable machine code, for example, order, given temperature bar to power-on of air conditioner to be measured Order of part etc..According to executable machine code, at least one test module of driving target detection device tests air-conditioning to be measured.
Pass through above-mentioned steps, it is possible to achieve set up and be remotely connected with test device, test case is converted into executable machine Device code, and then drive at least one test module of target detection device to test air-conditioning to be measured according to executable machine code, reach Remote control, the purpose of automatic test, it is achieved thereby that improving the technique effect of air conditioning function testing efficiency, and then are solved The less efficient technical problem caused due to manual test air conditioning function.
As an alternative embodiment, target detection device includes following one or several test modules:Remote control mould Block, energy supply control module, analog temperature give module, load condition monitoring module, device control module, communication monitoring module; Wherein, remote control module, the mode of operation for controlling air-conditioning to be measured;Energy supply control module, for being powered to air-conditioning to be measured Control;Analog temperature gives module, the temperature for controlling air-conditioning to be measured;Load condition monitoring module, for monitoring sky to be measured The load condition of tune;Device control module, the controller for controlling air-conditioning to be measured;Communication monitoring module, it is to be measured for monitoring Content of Communication between multiple controllers of air-conditioning.
Comprise the following steps as an alternative embodiment, setting up to be connected with target detection device:
Step S10, receives IP address.
In the technical scheme that the application step S10 is provided, the IP address received can be the IP address of user's input.
Step S12, according to IP address, determines target detection device from least one test device.
In the technical scheme that the application step S12 is provided, after IP address is received, according to the IP address, to Determine target detection device in a few test device, i.e., the corresponding test device of air-conditioning to be measured.
Step S14, sets up with target detection device and is connected.
In the technical scheme that the application step S14 is provided, determined according to IP address from least one test device After target detection device, set up telecommunication with the target detection device and be connected.
By above-mentioned steps can according to IP address, search out with the unique corresponding target detection device of the IP address, enter And set up telecommunication with target detection device and be connected, so that the purpose of remote control, reaches saving manpower, it is easy to centralized management Effect.
Comprise the following steps as an alternative embodiment, test case is converted into executable machine code:
Step S20, loads test case.
In the technical scheme that the application step S20 is provided, can directly it be performed in order to which test case is converted into machine Code, firstly, it is necessary to load test case.
Step S22, classifies to the instruction in test case.
In the technical scheme that the application step S22 is provided, test case includes different types of instruction, such as remote control Instruction, temperature control instruction etc., after loading test case, classify to each instruction in test case.
Step S24, by it is sorted it is instruction morphing be executable machine code, wherein, executable machine code include order and Order execution sequence table.
In the technical scheme that the application step S24 is provided, order includes at least one of:Guidance command, power supply control Make order, temperature control order, load monitoring order, controller control command, controller monitoring order.Specifically, remote control is ordered Order, for driving remote control module to control the mode of operation of air-conditioning to be measured;Power control command, for driving power supply control module pair Air-conditioning to be measured is powered control;Temperature control order, for driving analog temperature to give the temperature that module controls air-conditioning to be measured; Load monitoring order, the load condition of air-conditioning to be measured is monitored for driving load monitoring module;Controller control command, is used The controller of air-conditioning to be measured is controlled in driving equipment control module;Controller monitoring order, for driving communication monitoring module to supervise The Content of Communication surveyed between multiple controllers of air-conditioning to be measured.
Wherein, at least one test module is called to test air-conditioning to be measured according to executable machine code driving target detection device Including:Order according to order execution sequence table performs order, to drive at least one test module of target detection device to survey Try air-conditioning to be measured.
The instruction in test case can be classified by above-mentioned steps, by it is sorted it is instruction morphing be executable Machine code, and then order is performed according to the order of order execution sequence table, to drive at least one test of target detection device Module testing air-conditioning to be measured, so as to realize the purpose of the automatic test of logic function, reaches that raising testing efficiency and task are covered The effect of lid rate.
As an alternative embodiment, driving at least one test of target detection device according to executable machine code After module testing air-conditioning to be measured, method also includes:Monitor and generate test result.
In the present embodiment, down performed according to the line command of order a line one of order execution sequence table.For example, realizing first To the upper electricity of air-conditioning to be measured, then given temperature condition, then remote-controlled start-up perform certain mode of operation, finally monitor compressor and open Open state and judged.Afterwards, test data is recorded, test result is finally provided, such as shown in table 1.
Table 1
Test result can be generated by above-mentioned steps, so that tester grasps the situation of air-conditioning to be measured in time, so that Automatic test, the purpose of personnel's concentrative operation are realized, the effect for improving testing efficiency and testing time-effectiveness is reached.
It should be noted that can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Performed in computer system, and, although logical order is shown in flow charts, but in some cases, can be with not The order being same as herein performs shown or described step.
Embodiment 2
The embodiment of the present invention additionally provides a kind of host computer.It should be noted that the host computer of the embodiment can be used for Perform the air conditioner test method of the embodiment of the present invention.
Fig. 2 is a kind of schematic diagram of host computer according to embodiments of the present invention.As shown in Fig. 2 the host computer includes:Obtain Unit 20, conversion unit 22 and driver element 24.
Acquiring unit 20, in the case where being connected with the foundation of target detection device, the test for obtaining air-conditioning to be measured to be used Example, wherein, the target detection device is used to test air-conditioning to be measured;
Conversion unit 22, for the test case to be converted into executable machine code;
Driver element 24, at least one test for driving the target detection device according to the executable machine code Air-conditioning to be measured described in module testing.
Alternatively, the target detection device includes following one or several test modules:Remote control module, power supply mould Block, analog temperature give module, load condition monitoring module, device control module, communication monitoring module;Wherein, the remote control Module, the mode of operation for controlling the air-conditioning to be measured;The energy supply control module, for supplying the air-conditioning to be measured Electric control;The analog temperature gives module, the temperature for controlling the air-conditioning to be measured;The load condition monitoring module, Load condition for monitoring the air-conditioning to be measured;The device control module, the controller for controlling the air-conditioning to be measured; The communication monitoring module, the Content of Communication between multiple controllers for monitoring the air-conditioning to be measured.
Alternatively, the host computer also includes:Receiving unit, determining unit and connection unit.
Receiving unit, for receiving IP address;
Determining unit, for according to the IP address, the target detection device to be determined from least one test device;
Connection unit, is connected for being set up with the target detection device.
Alternatively, the conversion unit 22 includes:Load-on module, sort module and conversion module.
Load-on module, for loading the test case;
Sort module, for classifying to the instruction in the test case;
Conversion module, for by it is sorted it is described it is instruction morphing be the executable machine code, wherein, it is described executable Machine code includes order and order execution sequence table.
Alternatively, driver element 24 is used to perform following steps according to the executable machine code driving target detection Device calls at least one test module to test the air-conditioning to be measured:Order according to the order execution sequence table performs described Order, to drive at least one test module described in the target detection device to test the air-conditioning to be measured.
Alternatively, the order includes at least one of:It is guidance command, power control command, temperature control order, negative Carry monitor command, controller control command, controller monitoring order.Specifically, guidance command, for driving remote control module to control The mode of operation of air-conditioning to be measured;Power control command, control is powered for driving power supply control module to air-conditioning to be measured;Temperature Control command is spent, for driving analog temperature to give the temperature that module controls air-conditioning to be measured;Load monitoring order, it is negative for driving Carry the load condition that monitoring module monitors air-conditioning to be measured;Controller control command, for the control of driving equipment control module The controller of air-conditioning to be measured;Controller monitoring order, for driving communication monitoring module to monitor multiple controllers of air-conditioning to be measured Between Content of Communication.
Alternatively, host computer can also include:Generation unit, for monitoring and generating test result.
In embodiments of the present invention, obtained using acquiring unit 20 in the case where being connected with the foundation of target detection device The test case of air-conditioning to be measured, wherein, the target detection device is used to test air-conditioning to be measured;Conversion unit 22 is by the test Use-case is converted into executable machine code;Driver element 24 drives the target detection device extremely according to the executable machine code A few test module tests the mode of the air-conditioning to be measured, is remotely connected by being set up with test device, and test case is turned Executable machine code is turned to, and then drives at least one test module test of target detection device to treat according to executable machine code Air-conditioning is surveyed, remote control, the purpose of automatic test has been reached, it is achieved thereby that improving the technology effect of air conditioning function testing efficiency Really, and then solve due to the less efficient technical problem that manual test air conditioning function is caused.
Embodiment 3
The embodiment of the present invention additionally provides a kind of air conditioner test system.It should be noted that the air conditioner test of the embodiment System can be used for the air conditioner test method for performing the embodiment of the present invention.
Fig. 3 is a kind of schematic diagram of air conditioner test system according to embodiments of the present invention., should as shown in Fig. 3 (a) and 3 (b) At least one test device 302 of air conditioner test system and at least one host computer 304.
Wherein, the host computer 304, in the case where being connected with the foundation of target detection device, obtaining air-conditioning to be measured 306 test case, wherein, the target detection device is used to test the air-conditioning to be measured;The test case is converted into Executable machine code;At least one test module for driving the target detection device according to the executable machine code tests institute Air-conditioning 306 to be measured is stated, the target detection device is one at least one test device 302.
Alternatively, the target detection device includes following one or several test modules:Remote control module, power supply mould Block, analog temperature give module, load condition monitoring module, device control module, communication monitoring module;Wherein, the remote control Module, the mode of operation for controlling the air-conditioning to be measured;The energy supply control module, for supplying the air-conditioning to be measured Electric control;The analog temperature gives module, the temperature for controlling the air-conditioning to be measured;The load condition monitoring module, Load condition for monitoring the air-conditioning to be measured;The device control module, the controller for controlling the air-conditioning to be measured; The communication monitoring module, the Content of Communication between multiple controllers for monitoring the air-conditioning to be measured.
As shown in figure 4, at least one test device 302 includes following one or several test modules:Remote control module 3020, Energy supply control module 3021, analog temperature give module 3022, load condition monitoring module 3023, device control module 3024, Communication monitoring module 3025.
Alternatively, the host computer 304 is connected for performing following steps with the foundation of target detection device:With receiving IP Location;According to the IP address, the target detection device is determined from least one test device 302;With the target detection Device sets up connection.
Alternatively, the test case is converted into executable machine code by the host computer 304 for performing following steps: Load the test case;Instruction in the test case is classified;By it is sorted it is described it is instruction morphing be described Executable machine code, wherein, the executable machine code includes order and order execution sequence table.
Alternatively, the host computer 304 is used to perform following steps according to the executable machine code driving target Test device calls at least one test module to test the air-conditioning to be measured:Order according to the order execution sequence table is performed The order, to drive at least one test module described in the target detection device to test the air-conditioning to be measured.
Alternatively, the order includes at least one of:It is guidance command, power control command, temperature control order, negative Carry monitor command, controller control command, controller monitoring order.Specifically, guidance command, for driving remote control module 3020 Control the mode of operation of air-conditioning to be measured;Power control command, is supplied air-conditioning to be measured for driving power supply control module 3021 Electric control;Temperature control order, for driving analog temperature to give the temperature that module 3022 controls air-conditioning to be measured;Load monitoring is ordered Order, the load condition of air-conditioning to be measured is monitored for driving load monitoring module 3023;Controller control command, for driving Device control module 3024 controls the controller of air-conditioning to be measured;Controller monitoring order, for driving communication monitoring module 3025 Monitor the Content of Communication between multiple controllers of air-conditioning to be measured.
Alternatively, the host computer 304, is additionally operable to driving the target detection device according to the executable machine code At least one test module test after the air-conditioning to be measured, monitor and generate test result.
Alternatively, as shown in figure 5, the air conditioner test system of the present embodiment also includes:
Interchanger 502, is arranged at least one host computer 304 and at least one test device 302 between, For realizing the data interaction between at least one host computer 304 and at least one test device 302.
It should be added that, many host computers 302 are connected to an interchanger 502 by netting twine in the present embodiment On, while many test devices 302 are connected to same interchanger 502, constitute a many host computers 302 and many are automatic Test device 302 be in can free net connection LAN.Test device 302 is by cable each hardware module (remote control Module 3020, energy supply control module 3021, analog temperature give module 3022, load condition monitoring module 3023, equipment control Module 3024, communication monitoring module 3025) and air-conditioning to be measured 306 link together (as shown in Figure 5).Such a connected mode of the above Simply one of which, at the same comprising it is other it is several can be test device 302 and the network structure of the UNICOM of host computer 302.
In embodiments of the present invention, obtained to be measured using host computer in the case where being connected with the foundation of target detection device The test case of air-conditioning, wherein, the target detection device is used to test air-conditioning to be measured;The test case, which is converted into, to be held Row machine code;Drive and treated described at least one test module test of the target detection device according to the executable machine code The mode of air-conditioning is surveyed, is remotely connected by being set up with test device, test case is converted into executable machine code, and then according to At least one test module of executable machine code driving target detection device tests air-conditioning to be measured, reached remote control, from The purpose of dynamicization test, it is achieved thereby that improving the technique effect of air conditioning function testing efficiency, and then is solved due to survey manually The less efficient technical problem that examination air conditioning function is caused.
Embodiment 4
The embodiment of the present invention additionally provides a kind of computer.The computer includes:Acquisition module, for target detection In the case that device sets up connection, the test case of air-conditioning to be measured is obtained, wherein, the target detection device is used to test described Air-conditioning to be measured;Processor, the processor operation program, wherein, for being exported from the acquisition module when described program is run Data perform following process step:The test case is converted into executable machine code;According to the executable machine code At least one test module of the target detection device is driven to test the air-conditioning to be measured.
Embodiment 5
The embodiment of the present invention additionally provides a kind of computer.The computer includes:Acquisition module, for target detection In the case that device sets up connection, the test case of air-conditioning to be measured is obtained, wherein, the target detection device is used to test described Air-conditioning to be measured;Storage medium, for storage program, wherein, described program is operationally for exporting from the acquisition module Data perform following process step:The test case is converted into executable machine code;Driven according to the executable machine code At least one test module for moving the target detection device tests the air-conditioning to be measured.
Embodiment 6
The embodiment of the present invention additionally provides a kind of storage medium, and the storage medium includes the program of storage, wherein, it is described Program performs the air conditioner test method with above-mentioned arbitrary characteristics.
The embodiment of the present invention additionally provides a kind of processor, and the processor is used for operation program, wherein, described program is held Air conditioner test method of the row with above-mentioned arbitrary characteristics.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, Ke Yiwei A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (18)

1. a kind of air conditioner test method, it is characterised in that including:
In the case where being connected with the foundation of target detection device, the test case of air-conditioning to be measured is obtained, wherein, the target detection Device is used to test the air-conditioning to be measured;
The test case is converted into executable machine code;
At least one test module for driving the target detection device according to the executable machine code tests the sky to be measured Adjust.
2. according to the method described in claim 1, it is characterised in that the target detection device includes following one or several surveys Die trial block:Remote control module, energy supply control module, analog temperature give module, load condition monitoring module, device control module, Communication monitoring module;Wherein,
The remote control module, the mode of operation for controlling the air-conditioning to be measured;
The energy supply control module, for being powered control to the air-conditioning to be measured;
The analog temperature gives module, the temperature for controlling the air-conditioning to be measured;
The load condition monitoring module, the load condition for monitoring the air-conditioning to be measured;
The device control module, the controller for controlling the air-conditioning to be measured;
The communication monitoring module, the Content of Communication between multiple controllers for monitoring the air-conditioning to be measured.
3. according to the method described in claim 1, it is characterised in that set up with target detection device be connected including:
Receive IP address;
According to the IP address, the target detection device is determined from least one test device;
Set up and be connected with the target detection device.
4. according to the method described in claim 1, it is characterised in that the test case is converted into executable machine code bag Include:
Load the test case;
Instruction in the test case is classified;
By it is sorted it is described it is instruction morphing be the executable machine code, wherein, the executable machine code include order and Order execution sequence table.
5. method according to claim 4, it is characterised in that drive the target detection according to the executable machine code Device, which calls at least one test module to test the air-conditioning to be measured, to be included:
Order according to the order execution sequence table performs the order, to drive described in the target detection device at least One test module tests the air-conditioning to be measured.
6. method according to claim 4, the order includes at least one of:Guidance command, power control command, Temperature control order, load monitoring order, controller control command, controller monitoring order.
7. method according to any one of claim 1 to 6, it is characterised in that driven according to the executable machine code At least one test module of the target detection device is tested after the air-conditioning to be measured, and methods described also includes:
Monitor and generate test result.
8. a kind of host computer, it is characterised in that including:
Acquiring unit, in the case where being connected with the foundation of target detection device, obtaining the test case of air-conditioning to be measured, its In, the target detection device is used to test air-conditioning to be measured;
Conversion unit, for the test case to be converted into executable machine code;
Driver element, for driving at least one test module of the target detection device to survey according to the executable machine code Try the air-conditioning to be measured.
9. host computer according to claim 8, it is characterised in that the target detection device includes following one or several Test module:Remote control module, energy supply control module, analog temperature give module, load condition monitoring module, equipment control mould Block, communication monitoring module;Wherein,
The remote control module, the mode of operation for controlling the air-conditioning to be measured;
The energy supply control module, for being powered control to the air-conditioning to be measured;
The analog temperature gives module, the temperature for controlling the air-conditioning to be measured;
The load condition monitoring module, the load condition for monitoring the air-conditioning to be measured;
The device control module, the controller for controlling the air-conditioning to be measured;
The communication monitoring module, the Content of Communication between multiple controllers for monitoring the air-conditioning to be measured.
10. a kind of air conditioner test system, it is characterised in that including at least one test device and at least one host computer;Wherein,
The host computer, in the case where being connected with the foundation of target detection device, obtaining the test case of air-conditioning to be measured, its In, the target detection device is used to test the air-conditioning to be measured;The test case is converted into executable machine code;According to The executable machine code drives at least one test module of the target detection device to test the air-conditioning to be measured, the mesh Mapping trial assembly is set to one at least one test device.
11. system according to claim 10, it is characterised in that the target detection device includes following one or several Test module:Remote control module, energy supply control module, analog temperature give module, load condition monitoring module, equipment control mould Block, communication monitoring module;Wherein,
The remote control module, the mode of operation for controlling the air-conditioning to be measured;
The energy supply control module, for being powered control to the air-conditioning to be measured;
The analog temperature gives module, the temperature for controlling the air-conditioning to be measured;
The load condition monitoring module, the load condition for monitoring the air-conditioning to be measured;
The device control module, the controller for controlling the air-conditioning to be measured;
The communication monitoring module, the Content of Communication between multiple controllers for monitoring the air-conditioning to be measured.
12. system according to claim 10, it is characterised in that the host computer is used to perform following steps and target survey Vertical connection is set up in trial assembly:
Receive IP address;
According to the IP address, the target detection device is determined from least one test device;
Set up and be connected with the target detection device.
13. system according to claim 10, it is characterised in that the host computer is used to perform following steps by the survey Example on probation is converted into executable machine code:
Load the test case;
Instruction in the test case is classified;
By it is sorted it is described it is instruction morphing be the executable machine code, wherein, the executable machine code include order and Order execution sequence table.
14. the system according to any one of claim 10 to 13, it is characterised in that also include:
Interchanger, is arranged at least one host computer and at least one test device between, described for realizing Data interaction between at least one host computer and at least one test device.
15. a kind of computer, it is characterised in that including:
Acquisition module, in the case where being connected with the foundation of target detection device, obtaining the test case of air-conditioning to be measured, its In, the target detection device is used to test the air-conditioning to be measured;
Processor, the processor operation program, wherein, data when described program is run for being exported from the acquisition module Perform following process step:The test case is converted into executable machine code;Institute is driven according to the executable machine code At least one test module for stating target detection device tests the air-conditioning to be measured.
16. a kind of computer, it is characterised in that including:
Acquisition module, in the case where being connected with the foundation of target detection device, obtaining the test case of air-conditioning to be measured, its In, the target detection device is used to test the air-conditioning to be measured;
Storage medium, for storage program, wherein, described program is operationally held for the data exported from the acquisition module The following process step of row:The test case is converted into executable machine code;It is described according to executable machine code driving At least one test module of target detection device tests the air-conditioning to be measured.
17. a kind of storage medium, it is characterised in that the storage medium includes the program of storage, wherein, described program right of execution Profit requires the air conditioner test method described in any one in 1 to 7.
18. a kind of processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the air conditioner test method described in any one in 1 to 7.
CN201710499374.6A 2017-06-26 2017-06-26 Air conditioner test method, device, system and processor, storage medium Pending CN107328592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710499374.6A CN107328592A (en) 2017-06-26 2017-06-26 Air conditioner test method, device, system and processor, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710499374.6A CN107328592A (en) 2017-06-26 2017-06-26 Air conditioner test method, device, system and processor, storage medium

Publications (1)

Publication Number Publication Date
CN107328592A true CN107328592A (en) 2017-11-07

Family

ID=60198139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710499374.6A Pending CN107328592A (en) 2017-06-26 2017-06-26 Air conditioner test method, device, system and processor, storage medium

Country Status (1)

Country Link
CN (1) CN107328592A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109187061A (en) * 2018-08-21 2019-01-11 格力电器(武汉)有限公司 A kind of air conditioner test system and air conditioner test method
CN110441082A (en) * 2019-08-09 2019-11-12 宁波奥克斯电气股份有限公司 Test macro and method for air-conditioning software function
CN110673585A (en) * 2019-10-15 2020-01-10 新誉轨道交通科技有限公司 Test method, test device and test system for train air conditioning system
CN112378687A (en) * 2020-11-24 2021-02-19 宝能(广州)汽车研究院有限公司 Automatic testing system and method for vehicle-mounted air conditioner
CN113094251A (en) * 2019-12-23 2021-07-09 深圳奇迹智慧网络有限公司 Embedded system testing method and device, computer equipment and storage medium
CN113835413A (en) * 2021-09-22 2021-12-24 交控科技股份有限公司 Interlocking automation test system, method, device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1799012A (en) * 2003-05-29 2006-07-05 松下电器产业株式会社 Abnormality processing system
CN101113942A (en) * 2006-07-26 2008-01-30 珠海格力电器股份有限公司 Air conditioner controller automatic test equipment and test method thereof
CN101711350A (en) * 2007-06-21 2010-05-19 莱特普菌特公司 System and method for testing wireless devices
CN103064403A (en) * 2012-12-19 2013-04-24 潍柴动力股份有限公司 Method and system of electronic control unit (ECU) hardware-in-loop simulation automated testing
CN103984338A (en) * 2014-05-04 2014-08-13 广东美的集团芜湖制冷设备有限公司 Air conditioner controller automatic testing system and testing method thereof
CN204330370U (en) * 2014-12-30 2015-05-13 广东美的制冷设备有限公司 The trouble-shooter of air conditioner
CN105302115A (en) * 2015-11-05 2016-02-03 株洲南车时代电气股份有限公司 Train network application level control software automation test method
CN105928722A (en) * 2016-04-18 2016-09-07 合肥美的暖通设备有限公司 Air conditioner performance detection system and method
CN106338984A (en) * 2016-10-31 2017-01-18 中国第汽车股份有限公司 Automatic test system and device for passive entry passive start (PEPS) bus signal
CN106873574A (en) * 2017-02-28 2017-06-20 中国电子信息产业集团有限公司第六研究所 For the automated testing method and device of Programmable Logic Controller

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1799012A (en) * 2003-05-29 2006-07-05 松下电器产业株式会社 Abnormality processing system
CN101113942A (en) * 2006-07-26 2008-01-30 珠海格力电器股份有限公司 Air conditioner controller automatic test equipment and test method thereof
CN101711350A (en) * 2007-06-21 2010-05-19 莱特普菌特公司 System and method for testing wireless devices
CN103064403A (en) * 2012-12-19 2013-04-24 潍柴动力股份有限公司 Method and system of electronic control unit (ECU) hardware-in-loop simulation automated testing
CN103984338A (en) * 2014-05-04 2014-08-13 广东美的集团芜湖制冷设备有限公司 Air conditioner controller automatic testing system and testing method thereof
CN204330370U (en) * 2014-12-30 2015-05-13 广东美的制冷设备有限公司 The trouble-shooter of air conditioner
CN105302115A (en) * 2015-11-05 2016-02-03 株洲南车时代电气股份有限公司 Train network application level control software automation test method
CN105928722A (en) * 2016-04-18 2016-09-07 合肥美的暖通设备有限公司 Air conditioner performance detection system and method
CN106338984A (en) * 2016-10-31 2017-01-18 中国第汽车股份有限公司 Automatic test system and device for passive entry passive start (PEPS) bus signal
CN106873574A (en) * 2017-02-28 2017-06-20 中国电子信息产业集团有限公司第六研究所 For the automated testing method and device of Programmable Logic Controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯登国: "《可信计算——理论与实践》", 31 May 2013 *
张善文: "6.测试用例的内容", 《软件测试及其案例分析》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109187061A (en) * 2018-08-21 2019-01-11 格力电器(武汉)有限公司 A kind of air conditioner test system and air conditioner test method
CN110441082A (en) * 2019-08-09 2019-11-12 宁波奥克斯电气股份有限公司 Test macro and method for air-conditioning software function
CN110673585A (en) * 2019-10-15 2020-01-10 新誉轨道交通科技有限公司 Test method, test device and test system for train air conditioning system
CN113094251A (en) * 2019-12-23 2021-07-09 深圳奇迹智慧网络有限公司 Embedded system testing method and device, computer equipment and storage medium
CN113094251B (en) * 2019-12-23 2024-02-23 深圳奇迹智慧网络有限公司 Method and device for testing embedded system, computer equipment and storage medium
CN112378687A (en) * 2020-11-24 2021-02-19 宝能(广州)汽车研究院有限公司 Automatic testing system and method for vehicle-mounted air conditioner
CN113835413A (en) * 2021-09-22 2021-12-24 交控科技股份有限公司 Interlocking automation test system, method, device and storage medium

Similar Documents

Publication Publication Date Title
CN107328592A (en) Air conditioner test method, device, system and processor, storage medium
CN104620186B (en) The mobile device of automatic acquisition and analysis with building automation system
US10833888B2 (en) IoT device plug-in method and device in data analysis-based automation systems
CN102509178A (en) Distribution network device status evaluating system
CN105629947B (en) Home equipment monitoring method, home equipment monitoring device and terminal
CN109816308A (en) A kind of equipment routing inspection householder method, apparatus and system
CN108491903A (en) Service kit for power industry manages system and control method
CN111818132A (en) Control method and device of Internet of things equipment, computer equipment and storage medium
CN110727257A (en) Equipment operation diagnosis method and device based on K-means clustering algorithm
CN109669705A (en) A kind of method and system of programming firmware
CN109541463A (en) Test method and device, the test macro of motor performance of motor performance
CN107966914A (en) Show the methods, devices and systems of image
CN103914058B (en) The fault diagnosis and alarm method and system of a kind of oil-gas pipeline industrial control equipment remote monitoring system
CN107395687A (en) Monitoring method, device, system and the air-conditioning of equipment
CN107064659A (en) Rail vehicle debugging system, rail vehicle and rail vehicle adjustment method
CN206301028U (en) A kind of automatic checkout system of intelligent switch
CN106815590A (en) A kind of cable trough and cable management system
CN106288152A (en) Apparatus monitoring method and device
CN116720854B (en) Equipment coordination control method and system based on intelligent patrol
CN113063211A (en) Alarm information intelligent diagnosis and after-sale order dispatching method for central air-conditioning system
CN107355948A (en) The control method and device of PV air-conditioner
CN108121221A (en) A kind of robotic command interface control system and method
CN205397912U (en) Hoisting machinery control analytic system
CN110502376A (en) A kind of hard disk electric test method and device up and down
CN108426724A (en) EMU joins test method and device, EMU weight joint-trial check system again

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107