CN107037294A - The detection method and detecting system of a kind of host computer, frequency conversion integrated board - Google Patents

The detection method and detecting system of a kind of host computer, frequency conversion integrated board Download PDF

Info

Publication number
CN107037294A
CN107037294A CN201710379216.7A CN201710379216A CN107037294A CN 107037294 A CN107037294 A CN 107037294A CN 201710379216 A CN201710379216 A CN 201710379216A CN 107037294 A CN107037294 A CN 107037294A
Authority
CN
China
Prior art keywords
parameter
frequency conversion
integrated board
messaging parameter
conversion integrated
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
CN201710379216.7A
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.)
Hefei Meiling Union Technology Co Ltd
Original Assignee
Mianyang Meiling Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mianyang Meiling Software Technology Co Ltd filed Critical Mianyang Meiling Software Technology Co Ltd
Priority to CN201710379216.7A priority Critical patent/CN107037294A/en
Publication of CN107037294A publication Critical patent/CN107037294A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides the detection method and detecting system of a kind of host computer, frequency conversion integrated board, the host computer includes:Messaging parameter acquiring unit, for obtaining messaging parameter;Communication detection unit, for detecting whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches, when the communication protocol of messaging parameter and frequency conversion integrated board to be detected matches there is provided control parameter input template, so that user inputs control parameter according to control parameter input template;Control process unit, for the control parameter inputted according to user, generates control instruction, and control instruction is sent into frequency conversion integrated board to be detected;Working state detection units, for receiving running parameter, and determine whether the working condition of frequency conversion integrated board to be detected is normal according to the running parameter, wherein, running parameter is produced when being and controlling peripheral hardware load to be operated according to control instruction by frequency conversion integrated board to be detected.This programme can improve the detection efficiency of frequency conversion integrated board.

Description

The detection method and detecting system of a kind of host computer, frequency conversion integrated board
Technical field
The present invention relates to family's electro-technical field, more particularly to a kind of host computer, the detection method of frequency conversion integrated board and detection System.
Background technology
In household electrical appliance, frequency conversion integrated board is as primary control, the control instruction that can be sent according to host computer, control The peripheral hardware load (temperature detecting module etc.) of household electrical appliance processed performs corresponding action.In order to ensure the usability of household electrical appliance Can, before dispatching from the factory, staff can be tested the function of frequency conversion integrated board.
Because the function of host computer is typically fixedly installed before dispatching from the factory, i.e., it can only send the control of set form and refer to Order, a kind of a kind of communication protocol of control instruction correspondence., need to be according to the logical of frequency conversion integrated board when then testing frequency conversion integrated board Believe agreement, choose corresponding host computer.For example, the communication first code of frequency conversion integrated board is 0, when communication digit is 10, then choosing is needed Select the host computer for meeting this communication protocol, communication first code is not 0 or communication digit is not that the host computer of 10 does not meet test then It is required that.
Thus, the test of the frequency conversion integrated board of household electrical appliance must could be carried out after corresponding host computer is developed, Frequency conversion integrated board with different communication protocol must match corresponding host computer one by one and could be tested, so as to cause frequency conversion The testing efficiency of integrated board is relatively low.
The content of the invention
The embodiments of the invention provide the detection method and detecting system of a kind of host computer, frequency conversion integrated board, change can be improved The testing efficiency of frequency integrated board.
In a first aspect, the embodiments of the invention provide a kind of host computer, including:Messaging parameter acquiring unit, communication check Unit, control process unit and working state detection units;Wherein,
The messaging parameter acquiring unit, for obtaining messaging parameter;
The communication detection unit, for detecting that the messaging parameter is corresponding with outside frequency conversion integrated board to be detected logical Whether letter agreement matches, and when the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches, there is provided control Parameter input template processed, so that user inputs control parameter according to the control parameter input template;
The control process unit, for the control parameter inputted according to the user, generates control instruction, and will The control instruction is sent to the frequency conversion integrated board to be detected;
The working state detection units, for receiving running parameter, and are determined according to the running parameter described to be checked Survey frequency conversion integrated board working condition it is whether normal, wherein, the running parameter be by the frequency conversion integrated board to be detected according to The control instruction control peripheral hardware load is produced when being operated.
Preferably,
The communication detection unit, is further used for detecting the messaging parameter and communication protocol mismatch When there is provided messaging parameter change template so that user according to the messaging parameter change template, to the messaging parameter carry out more Change;And trigger the messaging parameter acquiring unit;
The messaging parameter acquiring unit, for receiving the amended messaging parameter.
Preferably,
The messaging parameter includes:The first code that communicates and data bits;
The communication detection unit, for detecting whether the communication first code and the data bits communicate with described respectively The communication first code that agreement includes is identical with data bits, if it is, determining the messaging parameter and the communication protocol phase Matching.
Preferably,
The messaging parameter acquiring unit, the messaging parameter prestored for being read from memory;
Preferably,
The communication detection unit, is further used for the communication protocol matching detecting the messaging parameter When, the messaging parameter is stored to memory;
Preferably,
Further comprise:Display unit;Wherein,
The display unit, the running parameter for showing the peripheral hardware load.
Second aspect, the embodiments of the invention provide a kind of detection method of frequency conversion integrated board, including:
Obtain messaging parameter;
Detect whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches;
It is defeated there is provided control parameter when the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches Enter template, so that user inputs control parameter according to the control parameter input template;
The control parameter inputted according to user, generates control instruction, and the control instruction is sent to described to be detected Frequency conversion integrated board;
Running parameter is received, the running parameter is to be controlled by the frequency conversion integrated board to be detected according to the control instruction Peripheral hardware load is produced when being operated;
Determine whether the working condition of the frequency conversion integrated board to be detected is normal according to the running parameter.
Preferably,
After whether detection messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches, enter One step includes:
Template is changed there is provided messaging parameter when the messaging parameter and the communication protocol are mismatched, so that user's root Template is changed according to the messaging parameter, the messaging parameter is modified;
The acquisition messaging parameter, including:Obtain the amended messaging parameter;
Preferably,
The messaging parameter includes:The first code that communicates and data bits;
It is described to detect whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches, including:Inspection Survey communication first code and data bits that whether the communication first code and the data bits include with the communication protocol respectively It is identical.
Preferably,
The acquisition messaging parameter, including:The messaging parameter prestored is read from memory;
Preferably,
When the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches, further comprise:Will The messaging parameter is stored to memory;
Preferably,
The frequency conversion integrated board to be detected is received according to the control instruction described, when control peripheral hardware load is operated After the running parameter of generation, further comprise:The running parameter is shown.
The third aspect, the embodiments of the invention provide a kind of detecting system, including:Frequency conversion integrated board and above-mentioned reality of the invention Apply any described host computer of example;Wherein,
The frequency conversion integrated board, for receiving the control instruction that the host computer is sent, according to the control instruction, control Peripheral hardware load is operated;And the running parameter produced when the peripheral hardware is loaded and is operated according to the control instruction is sent To the host computer;
The host computer, for according to the running parameter, determining whether the working condition of the frequency conversion integrated board is normal.
Preferably,
The frequency conversion integrated board, for parsed from the control instruction communication first code, at least one effectively control number According to the first data check information, according to the communication first code and at least one described effective control data, determine the second data Check information;Determine whether first check information and second check information identical, when first check information and When second check information is identical, perform described according to the control instruction, control peripheral hardware load is operated.
Preferably,
The frequency conversion integrated board, for according to following calculation formula, calculating the second data check information;
Wherein, DnCharacterize the second data check information, D0Characterize the data first code, DiCharacterize described in i-th effectively Control data.
The embodiments of the invention provide the detection method and detecting system of a kind of host computer, frequency conversion integrated board, receiving There is provided control parameter input template after the messaging parameter matched with the communication protocol of frequency conversion integrated board to be detected, so that user Control parameter is inputted according to control parameter input template, control instruction is then generated according to the control parameter of input, and will generation Control instruction be sent to frequency conversion integrated board to be detected so that frequency conversion integrated board to be detected is according to the control instruction received, control Peripheral hardware load processed is operated, and the running parameter that peripheral hardware is loaded is returned into host computer, so that host computer is according to reception The running parameter arrived, determines whether the working condition of frequency conversion integrated board is normal.Thus, host computer can be according to the different communication of reception Parameter, is communicated with the frequency conversion integrated board of different communication protocol, i.e., one host computer can be led to multiple frequency conversion integrated boards Letter, so that after avoiding having to develop the host computer corresponding with frequency conversion integrated board to be detected first, could be to frequency conversion one Body plate is tested, and then improves the testing efficiency of frequency conversion integrated board.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation for host computer that one embodiment of the invention is provided;
Fig. 2 is a kind of structural representation for host computer that another embodiment of the present invention is provided;
Fig. 3 is a kind of flow chart of the detection method for frequency conversion integrated board that one embodiment of the invention is provided;
Fig. 4 is a kind of structural representation for detecting system that one embodiment of the invention is provided;
Fig. 5 is a kind of flow chart of the application method for detecting system that one embodiment of the invention is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of host computer, including:Messaging parameter acquiring unit 101, communication Detection unit 102, control process unit 103 and working state detection units 104;Wherein,
The messaging parameter acquiring unit 101, for obtaining messaging parameter;
The communication detection unit 102, for detecting that the messaging parameter is corresponding with outside frequency conversion integrated board to be detected Communication protocol whether match, when the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches, carry For control parameter input template, so that user inputs control parameter according to the control parameter input template;
The control process unit 103, for the control parameter inputted according to the user, generates control instruction, And the control instruction is sent to the frequency conversion integrated board to be detected;
The working state detection units 104, are treated for receiving running parameter, and according to being determined the running parameter Detect whether the working condition of frequency conversion integrated board is normal, wherein, the running parameter is by the frequency conversion integrated board root to be detected Produced when being operated according to control instruction control peripheral hardware load.
In above-described embodiment, after the messaging parameter matched with the communication protocol of frequency conversion integrated board to be detected is received, Control parameter input template is provided, so that user inputs control parameter according to control parameter input template, then according to input Control parameter generates control instruction, and the control instruction of generation is sent into frequency conversion integrated board to be detected, so that frequency conversion to be detected Integrated board is according to the control instruction received, and control peripheral hardware load is operated, and the running parameter that peripheral hardware is loaded is returned to Host computer, so that host computer is according to the running parameter received, determines whether the working condition of frequency conversion integrated board is normal.By This, host computer can be communicated, i.e., on one according to the different communication parameter of reception with the frequency conversion integrated board of different communication protocol Position machine can be communicated with multiple frequency conversion integrated boards, so as to avoid having to develop first relative with frequency conversion integrated board to be detected After the host computer answered, frequency conversion integrated board could be tested, and then improve the testing efficiency of frequency conversion integrated board.
Specifically, in one embodiment of the invention, the messaging parameter includes:The first code that communicates and data bits;It is described logical Detection unit 102 is believed, for detecting whether the communication first code and the data bits include with the communication protocol respectively Communication first code it is identical with data bits, if it is, determining that the messaging parameter matches with the communication protocol.
For example, the communication first code that messaging parameter includes is 0, data bits is 10, then only works as in communication protocol and wrap The communication first code included is also 0 and data bits when being also 10, and messaging parameter could match with communication protocol, otherwise be considered as Messaging parameter and data bits are mismatched.
In order to further improve in the testing efficiency of frequency conversion integrated board, one embodiment of the invention, the communication check list Member 102, is further used for changing mould there is provided messaging parameter when detecting the messaging parameter with communication protocol mismatch Plate, so that user changes template according to the messaging parameter, is modified to the messaging parameter;And trigger the messaging parameter Acquiring unit;
The messaging parameter acquiring unit 101, for receiving the amended messaging parameter.
For example, host computer is the display board with human-computer interaction interface, when electricity on display board, into messaging parameter Interface, and the messaging parameter being stored in when reading upper task automatically are set, if the messaging parameter that last time prestores becomes with to be detected When the communication protocol of frequency integrated board is mismatched, family can be used to change template by messaging parameter (is herein communication parameter setting Interface) messaging parameter is modified.Specifically, messaging parameter has multiple data bit such as communication first code position and valid data position When, user can be by the cursor in the mobile communication parameter setting interface of button up and down of display board, with this to messaging parameter The numerical value of each data bit be modified.User has often changed a data bit, can click on communication parameter setting interface Determination key is confirmed, after the change of whole messaging parameter is completed, then clicks on determination key, and display board can be made to receive after change Messaging parameter, then detect whether the messaging parameter after change matches with the communication protocol of frequency conversion integrated board to be detected again. Thus, user can be modified according to the communication protocol of different frequency conversion integrated boards to messaging parameter, so that host computer can be with Frequency conversion integrated board with different communication protocol is communicated.Then when being detected to frequency conversion integrated board, host computer can be entered Any selection of row, without being matched one by one to frequency conversion integrated board and host computer, so as to further increase frequency conversion integrated board Testing efficiency.
In one embodiment of the invention, the communication detection unit 102 is further used for detecting the messaging parameter When matching with the communication protocol, the messaging parameter is stored to memory;
The messaging parameter acquiring unit 101, the messaging parameter prestored for being read from memory;
Herein, when the communication protocol for detecting messaging parameter and frequency conversion integrated board to be detected matches, communication is joined Number is stored to memory, for example, storing to EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), then when host computer operation next time, it can be read directly from EEPROM The messaging parameter of last stored is taken, when the communication protocol of this messaging parameter and frequency conversion integrated board to be detected matches, for example, on When position machine is communicated with multiple frequency conversion integrated boards with the same communications protocols, user to messaging parameter then without being weighed again New input, so as to further increase the detection efficiency of frequency conversion integrated board.
As shown in Fig. 2 in one embodiment of the invention, the host computer may further include:Display unit 201;Wherein, The display unit 201, the running parameter for showing the peripheral hardware load.
Herein, when host computer is the display board with human-computer interaction interface, display unit is then query interface, this boundary Face can show the running parameter of each peripheral hardware load (temperature detecting module and door switch detection module etc.), thus can be used family straight Get the current operating parameters of each peripheral hardware load with seeing, improve Consumer's Experience.
As shown in figure 3, the embodiments of the invention provide a kind of detection method of frequency conversion integrated board, this method can include with Lower step:
Step 301:Obtain messaging parameter;
Step 302:Detect whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches;
Step 303:When the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches, there is provided control Parameter input template processed, so that user inputs control parameter according to the control parameter input template;
Step 304:The control parameter inputted according to user, generates control instruction, and the control instruction is sent into institute State frequency conversion integrated board to be detected;
Step 305:Running parameter is received, the running parameter is according to the control by the frequency conversion integrated board to be detected Instruction control peripheral hardware load is produced when being operated;
Step 306:Determine whether the working condition of the frequency conversion integrated board to be detected is normal according to the running parameter.
In above-described embodiment, after the messaging parameter matched with the communication protocol of frequency conversion integrated board to be detected is received, Control parameter input template is provided, so that user inputs control parameter according to control parameter input template, then according to input Control parameter generates control instruction, and the control instruction of generation is sent into frequency conversion integrated board to be detected, so that frequency conversion to be detected Integrated board is according to the control instruction received, and control peripheral hardware load is operated, and the running parameter that peripheral hardware is loaded is returned to Host computer, so that host computer is according to the running parameter received, determines whether the working condition of frequency conversion integrated board is normal.By This, host computer can be communicated, i.e., on one according to the different communication parameter of reception with the frequency conversion integrated board of different communication protocol Position machine can be communicated with multiple frequency conversion integrated boards, so as to avoid having to develop first relative with frequency conversion integrated board to be detected After the host computer answered, frequency conversion integrated board could be tested, and then improve the testing efficiency of frequency conversion integrated board.
Specifically, in one embodiment of the invention, the messaging parameter includes:The first code that communicates and data bits;Step 302 Embodiment, can include:Detection it is described communication first code and the data bits whether respectively with the communication protocol The communication first code included is identical with data bits.
For example, the communication first code that messaging parameter includes is 0, data bits is 10, then only works as in communication protocol and wrap The communication first code included is also 0 and data bits when being also 10, and messaging parameter could match with communication protocol, otherwise be considered as Messaging parameter and data bits are mismatched.
In order to further improve in the testing efficiency of frequency conversion integrated board, one embodiment of the invention, after step 302, It may further include:Template is changed there is provided messaging parameter when the messaging parameter and the communication protocol are mismatched, so that User changes template according to the messaging parameter, and the messaging parameter is modified;
The embodiment of step 301, can include:Obtain the amended messaging parameter.
For example, host computer is the display board with human-computer interaction interface, when electricity on display board, into messaging parameter Interface, and the messaging parameter being stored in when reading upper task automatically are set, if the messaging parameter that last time prestores becomes with to be detected When the communication protocol of frequency integrated board is mismatched, family can be used to change template by messaging parameter (is herein communication parameter setting Interface) messaging parameter is modified.Specifically, messaging parameter has multiple data bit such as communication first code position and valid data position When, user can be by the cursor in the mobile communication parameter setting interface of button up and down of display board, with this to messaging parameter The numerical value of each data bit be modified.User has often changed a data bit, can click on communication parameter setting interface Determination key is confirmed, after the change of whole messaging parameter is completed, then clicks on determination key, and display board can be made to receive after change Messaging parameter, then detect whether the messaging parameter after change matches with the communication protocol of frequency conversion integrated board to be detected again. Thus, user can be modified according to the communication protocol of different frequency conversion integrated boards to messaging parameter, so that host computer can be with Frequency conversion integrated board with different communication protocol is communicated.Then when being detected to frequency conversion integrated board, host computer can be entered Any selection of row, without being matched one by one to frequency conversion integrated board and host computer, so as to further increase frequency conversion integrated board Testing efficiency.
In one embodiment of the invention, after step 303, it may further include:By the messaging parameter store to Memory;The embodiment of step 101, can include:The messaging parameter prestored is read from memory;
Herein, when the communication protocol for detecting messaging parameter and frequency conversion integrated board to be detected matches, communication is joined Number is stored to memory, for example, storing to EEPROM, then when host computer operation next time, can be read directly from EEPROM The messaging parameter of secondary storage, when the communication protocol of this messaging parameter and frequency conversion integrated board to be detected matches, for example, host computer When being communicated with multiple frequency conversion integrated boards with the same communications protocols, user then carries out again defeated without again to messaging parameter Enter, so as to further increase the detection efficiency of frequency conversion integrated board.
In one embodiment of the invention, after step 305, further comprise:The running parameter is shown.
Herein, when host computer is the display board with human-computer interaction interface, display unit is then query interface, this boundary Face can show the running parameter of each peripheral hardware load (temperature detecting module and door switch detection module etc.), thus can be used family straight Get the current operating parameters of each peripheral hardware load with seeing, improve Consumer's Experience.
As shown in figure 4, the embodiments of the invention provide a kind of detecting system, including:On frequency conversion integrated board 401 and the present invention State any described host computer 402 of embodiment;Wherein,
The frequency conversion integrated board 401, for receiving the control instruction that the host computer 402 is sent, refers to according to the control Order, control peripheral hardware load is operated;And the work produced when the peripheral hardware is loaded and is operated according to the control instruction Parameter is sent to the host computer 402;
The host computer 402, for according to the running parameter, determining the working condition of the frequency conversion integrated board 401 to be It is no normal.
In above-described embodiment, the control instruction that frequency conversion integrated board is sent according to host computer, control peripheral hardware load is operated, And the running parameter that peripheral hardware is loaded is returned into host computer, so that host computer is according to the running parameter received, it is determined that becoming Whether the working condition of frequency integrated board is normal.Thus, host computer can be communicated with the frequency conversion integrated board of different communication protocol, i.e., One host computer can be communicated with multiple frequency conversion integrated boards, so as to avoid having to develop first and frequency conversion to be detected one After the corresponding host computer of plate, frequency conversion integrated board could be tested, and then improve the testing efficiency of frequency conversion integrated board.
In one embodiment of the invention, the frequency conversion integrated board 401, for parsing communication head from the control instruction Code, at least one effective control data and the first data check information, according to the communication first code and described at least one is effective Control data, determines the second data check information;Determine whether first check information and second check information are identical, When first check information is identical with second check information, perform described according to the control instruction, control peripheral hardware Load is operated.
For example, the control parameter of user's input has 5 data bit, wherein, first place is communication first code position, and last position is number According to check bit, middle three are effective control data position, then when the control parameter generation control that host computer is inputted according to user refers to After order, the concrete numerical value in each data bit can be parsed from control instruction by receiving the frequency conversion integrated board of control instruction, be ascended the throne In the communication first code on communication first code position, the effective control data being located at respectively on three effective control data positions, and it is located at First data check information of data check position.Then, frequency conversion integrated board controls number according to the communication first code parsed and effectively According to utilizing formulaThe second data check information is calculated, wherein, characterize the second data school Test information, characterize the data first code, characterize described in i-th effectively control data, i.e., data check information be data first code and These three effective control data sums.
Contrast that the first data check information for carrying and frequency conversion all-in-one are calculated in the control instruction of host computer second Data check information, can learn control instruction during frequency conversion all-in-one is transferred to by host computer, if to be tampered.When When one data check information is identical with the second data check information, illustrate data transmission procedure safety and precise, then frequency conversion all-in-one According to the control instruction received, control peripheral hardware load is operated.When the first data check information and the second data check are believed When ceasing different, illustrate that data transmission procedure is faulty, data are distorted or attacked, now frequency conversion integrated board will not be according to reception The control instruction arrived, control peripheral hardware load, it is to avoid cause the work for feeding back to host computer mistake to peripheral hardware load progress maloperation Make parameter, and then improve the accuracy detected to frequency conversion integrated board.
Below so that the frequency conversion integrated board in refrigerator is detected as an example, to detecting system provided in an embodiment of the present invention Application method is described in detail, as shown in figure 5, this method may comprise steps of:
Step 501:On host computer after electricity, the messaging parameter prestored is read from memory.
Herein, messaging parameter includes communication first code and data bits, for example, host computer read from EEPROM it is logical It is 0 to believe first code, and data bits is 10.
Step 502:Judge whether the messaging parameter matches with the communication protocol of the frequency conversion integrated board of refrigerator, if It is then to perform step 505, otherwise performs step 503.
Also communication first code and data bits are carried in the communication protocol of the frequency conversion integrated board of refrigerator, by contrasting from storage Whether the communication first code and data bits read in device be identical with the communication first code and data bits in communication protocol respectively, with this Judge whether to match with communication protocol.
Step 503:Messaging parameter change template is provided, so that user changes template according to the messaging parameter, to communication Parameter is modified.
Step 504:The messaging parameter after change is received, and performs step 502.
For example, host computer is the display board with human-computer interaction interface, and messaging parameter change template is ascended the throne display board Parameter setting interface, user can be set by the mobile communication parameter of button up and down of display board in this parameter setting interface Cursor on demarcation face, is modified with the numerical value of this each data bit to messaging parameter.When the form of each data bit is equal During for eight-digit binary number data, if user is in change procedure, illegal parameter is have input, for example, have input nonbinary number According to now system can provide miscue.
Step 505:The messaging parameter is stored in memory, and control parameter input template is provided so that user according to The control parameter input template inputs control parameter.
Herein, control parameter input template is the control interface of display board, and the form of control parameter does not enter for eight two yet Data processed, user by the button up and down of display board can sequentially input control parameter in this control interface.For example, control Parameter has 10 data bit, and control interface carries out Pagination Display to this 10 data bit, and 4 data of every page of display can then pass through Cursor up down movement realizes that the circulation at each interface of control interface is shown, carries out complete input to control parameter with this.
Messaging parameter is stored to memory, for example, store to EEPROM, then, can be direct when host computer operation next time The messaging parameter of last stored is read from EEPROM, when the communication protocol phase of this messaging parameter and frequency conversion integrated board to be detected Timing, for example, when host computer is communicated with multiple frequency conversion integrated boards with the same communications protocols, user is then without again to logical Letter parameter is re-entered.
Step 506:The control parameter inputted according to user, generates control instruction, and the control instruction is sent into ice The frequency conversion integrated board of case.
In 10 data bit inputted, first place is communication first code, and last position is the first data check information, and other are middle 8 Data bit is effective control data, and host computer according to communication first code and effective control data, calculates the first data check first Information, and according to the first data check information, communication first code and effective control data calculated, generate control instruction.
Step 507:The frequency conversion integrated board of refrigerator parses communication first code from the control instruction, and at least one is effectively controlled Data processed and the first data check information.
Step 508:According to the communication first code and at least one described effective control data, the second data check letter is calculated Breath.
The frequency conversion integrated board of refrigerator can be according to formulaWherein, the second data check letter is characterized Breath, characterizes the data first code, characterizes effective control data described in i-th, calculates the second data check information, i.e. data school It is data first code and this 8 effective control data sums to test information.
Step 509:Judge whether first check information and second check information are identical, if it is, performing Step 510, current process is otherwise terminated.
Step 510:According to the control instruction, control peripheral hardware load is operated, and by peripheral hardware load according to institute State the running parameter produced when control instruction is operated and be sent to the host computer.
For example, control instruction of the frequency conversion integrated board of refrigerator according to host computer, control temperature detecting module detection refrigerator is cold The temperature of room is hidden, and the temperature detected is sent to host computer.
Step 511:Host computer shows the running parameter, and according to the running parameter, determines the frequency conversion one of refrigerator Whether the working condition of plate is normal.
Herein, running parameter is shown by the query interface of display board, and query interface and control interface can be by cutting Change operation button and realize circulation display, consequently facilitating different control parameters are received, to be controlled to different peripheral load, and will The running parameter of peripheral hardware load is shown in real time, facilitates user to check.
Present invention also offers a kind of computer-readable recording medium, including execute instruction, when described in the computing device of storage control During execute instruction, the storage control performs the method that any of the above-described embodiment of the invention is provided.
In addition, present invention also offers a kind of storage control, including:Processor, memory and bus;The memory For storing execute instruction, the processor is connected with the memory by the bus, when storage control operation When, the execute instruction of memory storage described in the computing device, so that the storage control is performed in the present invention The method that any embodiment offer is provided.
In summary, each embodiment of the invention at least has the advantages that:
1st, in embodiments of the present invention, join receiving the communication that matches with the communication protocol of frequency conversion integrated board to be detected There is provided control parameter input template after number, so that user inputs control parameter according to control parameter input template, then according to defeated The control parameter generation control instruction entered, and the control instruction of generation is sent to frequency conversion integrated board to be detected, so as to be detected Frequency conversion integrated board is according to the control instruction received, and control peripheral hardware load is operated, and the running parameter that peripheral hardware is loaded is returned Back to host computer, so that whether just host computer determines the working condition of frequency conversion integrated board according to the running parameter received Often.Thus, host computer can be communicated, i.e., according to the different communication parameter of reception with the frequency conversion integrated board of different communication protocol One host computer can be communicated with multiple frequency conversion integrated boards, so as to avoid having to develop first and frequency conversion to be detected one After the corresponding host computer of plate, frequency conversion integrated board could be tested, and then improve the testing efficiency of frequency conversion integrated board.
2nd, in embodiments of the present invention, when the communication protocol of messaging parameter and frequency conversion all-in-one is mismatched, there is provided communication Parameter change template, so that user is modified according to messaging parameter template to messaging parameter, and to the messaging parameter after change Verified again.Thus, user can be modified according to the communication protocol of different frequency conversion integrated boards to messaging parameter, so that So that host computer can be communicated with the frequency conversion integrated board with different communication protocol.Then detected to frequency conversion integrated board When, any selection can be carried out to host computer, without being matched one by one to frequency conversion integrated board and host computer, so as to further carry The high testing efficiency of frequency conversion integrated board.
3rd, in embodiments of the present invention, when the communication protocol for detecting messaging parameter and frequency conversion integrated board to be detected matches When, messaging parameter is stored to memory, when host computer is run, the messaging parameter prestored can be directly read from memory, Then user to messaging parameter without re-entering every time, so as to further increase the detection efficiency of frequency conversion integrated board.
4th, in embodiments of the present invention, host computer can be shown to the running parameter that peripheral hardware is loaded, and family thus can be used The current operating parameters of each peripheral hardware load are intuitively got, Consumer's Experience is improved.
5th, in embodiments of the present invention, frequency conversion integrated board parses communication first code from control instruction, at least one is effective Control data and the first data check information, and according to communication first code and at least one effective control data, calculate the second number According to check information, when the first check information and identical the second check information, just according to control instruction, control peripheral hardware load is carried out Work.Avoid and maloperation is carried out to peripheral hardware load and so that feed back to the running parameter of host computer mistake, and then improved pair The accuracy that frequency conversion integrated board is detected.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element limited by sentence " including one ", is not arranged Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of host computer, it is characterised in that including:Messaging parameter acquiring unit, communication detection unit, control process unit and Working state detection units;Wherein,
The messaging parameter acquiring unit, for obtaining messaging parameter;
The communication detection unit, for detecting messaging parameter communication protocols corresponding with outside frequency conversion integrated board to be detected Whether view matches, and joins when the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches there is provided control Number input template, so that user inputs control parameter according to the control parameter input template;
The control process unit, for the control parameter inputted according to the user, generates control instruction, and will be described Control instruction is sent to the frequency conversion integrated board to be detected;
The working state detection units, the change to be detected is determined for receiving running parameter, and according to the running parameter Whether the working condition of frequency integrated board is normal, wherein, the running parameter is according to described by the frequency conversion integrated board to be detected Control instruction control peripheral hardware load is produced when being operated.
2. host computer according to claim 1, it is characterised in that
The communication detection unit, is further used for, when detecting the messaging parameter with communication protocol mismatch, carrying Template is changed for messaging parameter, so that user changes template according to the messaging parameter, the messaging parameter is modified;And Trigger the messaging parameter acquiring unit;
The messaging parameter acquiring unit, for receiving the amended messaging parameter.
3. host computer according to claim 1, it is characterised in that
The messaging parameter includes:The first code that communicates and data bits;
The communication detection unit, for detect it is described communication first code and the data bits whether respectively with the communication protocol The communication first code included is identical with data bits, if it is, determining that the messaging parameter matches with the communication protocol.
4. according to any described host computer of claims 1 to 3, it is characterised in that
The messaging parameter acquiring unit, the messaging parameter prestored for being read from memory;
And/or,
The communication detection unit, is further used for when detecting the messaging parameter and the communication protocol matches, will The messaging parameter is stored to memory;
And/or,
Further comprise:Display unit;Wherein,
The display unit, the running parameter for showing the peripheral hardware load.
5. a kind of detection method of frequency conversion integrated board, it is characterised in that including:
Obtain messaging parameter;
Detect whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches;
When the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches mould is inputted there is provided control parameter Plate, so that user inputs control parameter according to the control parameter input template;
The control parameter inputted according to user, generates control instruction, and the control instruction is sent into the frequency conversion to be detected Integrated board;
Running parameter is received, the running parameter is according to control instruction control peripheral hardware by the frequency conversion integrated board to be detected Load is produced when being operated;
Determine whether the working condition of the frequency conversion integrated board to be detected is normal according to the running parameter.
6. method according to claim 5, it is characterised in that
After whether detection messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches, further Including:
Template is changed there is provided messaging parameter when the messaging parameter and the communication protocol are mismatched, so that user is according to institute Messaging parameter change template is stated, the messaging parameter is modified;
The acquisition messaging parameter, including:Obtain the amended messaging parameter;
And/or,
The messaging parameter includes:The first code that communicates and data bits;
It is described to detect whether messaging parameter communication protocol corresponding with frequency conversion integrated board to be detected matches, including:Detection institute State communication first code and whether the data bits is identical with the communication first code and data bits that the communication protocol includes respectively.
7. the method according to claim 5 or 6, it is characterised in that
The acquisition messaging parameter, including:The messaging parameter prestored is read from memory;
And/or,
When the communication protocol of the messaging parameter and the frequency conversion integrated board to be detected matches, further comprise:Will be described Messaging parameter is stored to memory;
And/or,
The frequency conversion integrated board to be detected is received according to the control instruction described, and control peripheral hardware load is produced when being operated Running parameter after, further comprise:The running parameter is shown.
8. a kind of detecting system, it is characterised in that including:Frequency conversion integrated board and any described host computer of Claims 1-4; Wherein,
The frequency conversion integrated board, for receiving the control instruction that the host computer is sent, according to the control instruction, controls peripheral hardware Load is operated;And the running parameter produced when the peripheral hardware is loaded and is operated according to the control instruction is sent to institute State host computer;
The host computer, for according to the running parameter, determining whether the working condition of the frequency conversion integrated board is normal.
9. detecting system according to claim 8, it is characterised in that
The frequency conversion integrated board, for parsed from the control instruction communication first code, at least one effective control data and First data check information, according to the communication first code and at least one described effective control data, determines the second data check Information;Determine whether first check information and second check information are identical, when first check information and described When second check information is identical, execution is described according to the control instruction, and control peripheral hardware load is operated.
10. detecting system according to claim 9, it is characterised in that
The frequency conversion integrated board, for according to following calculation formula, calculating the second data check information;
Wherein, DnCharacterize the second data check information, D0Characterize the data first code, DiCharacterize and effectively controlled described in i-th Data.
CN201710379216.7A 2017-05-25 2017-05-25 The detection method and detecting system of a kind of host computer, frequency conversion integrated board Pending CN107037294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379216.7A CN107037294A (en) 2017-05-25 2017-05-25 The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379216.7A CN107037294A (en) 2017-05-25 2017-05-25 The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Publications (1)

Publication Number Publication Date
CN107037294A true CN107037294A (en) 2017-08-11

Family

ID=59539862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379216.7A Pending CN107037294A (en) 2017-05-25 2017-05-25 The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Country Status (1)

Country Link
CN (1) CN107037294A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109059414A (en) * 2018-10-25 2018-12-21 长虹美菱股份有限公司 A kind of display board adaptation method for refrigerator after-sales service
CN109298862A (en) * 2018-09-06 2019-02-01 深圳创维-Rgb电子有限公司 Value acquisition method, device and the storage medium of customized data
CN111306884A (en) * 2020-02-19 2020-06-19 长虹美菱股份有限公司 Communication design method for intelligent screen refrigerator
CN116972914A (en) * 2023-09-22 2023-10-31 华夏天信智能物联股份有限公司 Intelligent testing method and system for frequency conversion integrated machine

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496374A (en) * 2006-07-24 2009-07-29 爱克发医疗保健公司 Method for setting up data link between medical appliances and computer system
CN103401728A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method and device used for detecting inter-equipment interface connection
CN103631248A (en) * 2012-08-21 2014-03-12 珠海格力电器股份有限公司 Testing apparatus for air conditioner unit, testing method and testing system
CN103822326A (en) * 2012-11-19 2014-05-28 珠海格力电器股份有限公司 Outdoor unit performance test method, server and system
CN204254968U (en) * 2014-11-26 2015-04-08 四川长虹欣锐科技有限公司 Frequency conversion electrical control integrated board control system
CN106501644A (en) * 2016-10-31 2017-03-15 国网福建省电力有限公司 A kind of transformer station measurement and control device test visualization and test information extracting method
CN206096852U (en) * 2016-10-14 2017-04-12 四川长虹精密电子科技有限公司 System for be used for refrigerator variable frequency electric control intergral template and display panel communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496374A (en) * 2006-07-24 2009-07-29 爱克发医疗保健公司 Method for setting up data link between medical appliances and computer system
CN103631248A (en) * 2012-08-21 2014-03-12 珠海格力电器股份有限公司 Testing apparatus for air conditioner unit, testing method and testing system
CN103822326A (en) * 2012-11-19 2014-05-28 珠海格力电器股份有限公司 Outdoor unit performance test method, server and system
CN103401728A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method and device used for detecting inter-equipment interface connection
CN204254968U (en) * 2014-11-26 2015-04-08 四川长虹欣锐科技有限公司 Frequency conversion electrical control integrated board control system
CN206096852U (en) * 2016-10-14 2017-04-12 四川长虹精密电子科技有限公司 System for be used for refrigerator variable frequency electric control intergral template and display panel communication
CN106501644A (en) * 2016-10-31 2017-03-15 国网福建省电力有限公司 A kind of transformer station measurement and control device test visualization and test information extracting method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298862A (en) * 2018-09-06 2019-02-01 深圳创维-Rgb电子有限公司 Value acquisition method, device and the storage medium of customized data
CN109298862B (en) * 2018-09-06 2021-12-21 深圳创维-Rgb电子有限公司 Customized data value acquisition method and device and storage medium
CN109059414A (en) * 2018-10-25 2018-12-21 长虹美菱股份有限公司 A kind of display board adaptation method for refrigerator after-sales service
CN111306884A (en) * 2020-02-19 2020-06-19 长虹美菱股份有限公司 Communication design method for intelligent screen refrigerator
CN116972914A (en) * 2023-09-22 2023-10-31 华夏天信智能物联股份有限公司 Intelligent testing method and system for frequency conversion integrated machine
CN116972914B (en) * 2023-09-22 2023-12-26 华夏天信智能物联股份有限公司 Intelligent testing method and system for frequency conversion integrated machine

Similar Documents

Publication Publication Date Title
CN107037294A (en) The detection method and detecting system of a kind of host computer, frequency conversion integrated board
CN109660502A (en) Detection method, device, equipment and the storage medium of abnormal behaviour
CN104833944A (en) Large user electric energy meter on-site inspection system and method
CN106844265B (en) A kind of control method and mobile terminal of general-purpose serial bus USB interface
CN106778389B (en) A kind of loss detection method and mobile terminal of mobile terminal
CN109117039A (en) A kind of display methods and terminal device
CN104330990A (en) Parity check cable model identification method and device thereof
CN114328240A (en) Electronic equipment detection method, system, equipment and storage medium
CN110458184A (en) Optical character identification householder method, device, computer equipment and storage medium
CN107450953A (en) A kind of renewal BIOS method and device
CN105093096B (en) A kind of FPGA test device
CN105739884A (en) Gesture event generation method and electronic device
CN107729341A (en) Electronic installation, information inquiry control method and computer-readable recording medium
CN208369547U (en) Digital signal detecting device, MIPI RFFE are from equipment and system
CN106529106A (en) Hole building method and device as well as PCB
CN110298112A (en) A kind of combined synchronization error correction method, storage medium and the terminal of deasserted state machine and waveform diagram
US7975029B2 (en) Terminal equipment
CN104597833A (en) PLC protection system and method
CN114491973A (en) Virtual terminal loop checking method and device and terminal equipment
CN113934626A (en) Model process debugging method, device and storage medium
CN204575840U (en) A kind of large user's electric energy meter field checking system
CN106940582A (en) A kind of control method and electronic equipment
CN207515635U (en) The all-electronin fuse tester that a kind of parameter can be bound
CN110162261A (en) A kind of unlocking method, terminal device and computer readable storage medium
CN110492935A (en) Data processing system, method, apparatus and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 621050 No. 303 Jiuzhou Road, Fucheng District, Mianyang, Sichuan.

Applicant after: SICHUAN HONGMEI INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 621050 No. 303 Jiuzhou Road, Fucheng District, Mianyang, Sichuan.

Applicant before: MIANYANG MEILING SOFTWARE TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20190430

Address after: 230000 First Floor of Nanmeiling R&D and Test Center, Lianhua Road East and Tangkou Road, Hefei Economic and Technological Development Zone, Anhui Province

Applicant after: Hefei Meiling Union Technology Co.,Ltd.

Address before: 621050 No. 303 Jiuzhou Road, Fucheng District, Mianyang, Sichuan.

Applicant before: SICHUAN HONGMEI INTELLIGENT TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170811

RJ01 Rejection of invention patent application after publication