Movatterモバイル変換


[0]ホーム

URL:


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
CN107037294ACN201710379216.7ACN201710379216ACN107037294ACN 107037294 ACN107037294 ACN 107037294ACN 201710379216 ACN201710379216 ACN 201710379216ACN 107037294 ACN107037294 ACN 107037294A
Authority
CN
China
Prior art keywords
communication
frequency conversion
integrated board
parameters
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 LtdfiledCriticalMianyang Meiling Software Technology Co Ltd
Priority to CN201710379216.7ApriorityCriticalpatent/CN107037294A/en
Publication of CN107037294ApublicationCriticalpatent/CN107037294A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

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

Detection method and detection system for upper computer and frequency conversion integrated board
Technical Field
The invention relates to the technical field of household appliances, in particular to a detection method and a detection system for an upper computer and a frequency conversion integrated board.
Background
In the household appliance, the frequency conversion integrated plate is used as a main control device and can control the external loads (temperature detection modules and the like) of the household appliance to execute corresponding actions according to a control instruction sent by an upper computer. In order to ensure the use performance of the household appliance, before leaving the factory, a worker can test the functions of the frequency conversion integrated board.
Because the functions of the upper computer are generally fixedly set before leaving the factory, namely, the upper computer can only send control instructions with a fixed format, and one control instruction corresponds to one communication protocol. When the frequency conversion integrated board is tested, the corresponding upper computer is selected according to the communication protocol of the frequency conversion integrated board. For example, when the communication header code of the frequency conversion integrated board is 0 and the communication bit number is 10 bits, an upper computer conforming to the communication protocol needs to be selected, and the upper computer with the communication header code not being 0 or the communication bit number not being 10 bits does not conform to the test requirement.
Therefore, the testing of the frequency conversion integrated board of the household appliance can be carried out only after the corresponding upper computer is developed, and the frequency conversion integrated board with different communication protocols can be tested only by matching the corresponding upper computer one by one, so that the testing efficiency of the frequency conversion integrated board is low.
Disclosure of Invention
The embodiment of the invention provides a detection method and a detection system for an upper computer and a frequency conversion integrated board, which can improve the test efficiency of the frequency conversion integrated board.
In a first aspect, an embodiment of the present invention provides an upper computer, including: the system comprises a communication parameter acquisition unit, a communication detection unit, a control processing unit and a working state detection unit; wherein,
the communication parameter acquiring unit is used for acquiring communication parameters;
the communication detection unit is used for detecting whether the communication parameters are matched with a communication protocol corresponding to an external frequency conversion integrated board to be detected, and when the communication parameters are matched with the communication protocol of the frequency conversion integrated board to be detected, a control parameter input template is provided so that a user can input control parameters according to the control parameter input template;
the control processing unit is used for generating a control instruction according to the control parameter input by the user and sending the control instruction to the frequency conversion integrated board to be detected;
the working state detection unit is used for receiving working parameters and determining whether the working state of the to-be-detected frequency conversion integrated board is normal or not according to the working parameters, wherein the working parameters are generated when the to-be-detected frequency conversion integrated board controls an external load to work according to the control instruction.
Preferably, the first and second electrodes are formed of a metal,
the communication detection unit is further configured to provide a communication parameter modification template when the communication parameter is detected to be mismatched with the communication protocol, so that a user can modify the communication parameter according to the communication parameter modification template; triggering the communication parameter acquisition unit;
the communication parameter obtaining unit is configured to receive the modified communication parameter.
Preferably, the first and second electrodes are formed of a metal,
the communication parameters include: a communication header and a number of data bits;
the communication detection unit is configured to detect whether the communication header code and the data bit number are respectively the same as the communication header code and the data bit number included in the communication protocol, and if so, determine that the communication parameter matches the communication protocol.
Preferably, the first and second electrodes are formed of a metal,
the communication parameter acquisition unit is used for reading prestored communication parameters from a memory;
preferably, the first and second electrodes are formed of a metal,
the communication detection unit is further used for storing the communication parameters to a memory when the communication parameters are matched with the communication protocol;
preferably, the first and second electrodes are formed of a metal,
further comprising: a display unit; wherein,
and the display unit is used for displaying the working parameters of the peripheral load.
In a second aspect, an embodiment of the present invention provides a method for detecting a frequency conversion integrated board, including:
acquiring communication parameters;
detecting whether the communication parameters are matched with a communication protocol corresponding to the frequency conversion integrated board to be detected;
when the communication parameters are matched with the communication protocol of the frequency conversion integrated board to be detected, providing a control parameter input template so that a user can input control parameters according to the control parameter input template;
generating a control instruction according to a control parameter input by a user, and sending the control instruction to the to-be-detected frequency conversion integrated board;
receiving working parameters, wherein the working parameters are generated when the to-be-detected frequency conversion integrated board controls an external load to work according to the control instruction;
and determining whether the working state of the to-be-detected frequency conversion integrated plate is normal or not according to the working parameters.
Preferably, the first and second electrodes are formed of a metal,
after detecting whether the communication parameters are matched with the communication protocol corresponding to the frequency conversion integrated board to be detected, the method further includes:
when the communication parameters are not matched with the communication protocol, providing a communication parameter change template so that a user can change the communication parameters according to the communication parameter change template;
the acquiring of the communication parameters comprises: acquiring the modified communication parameters;
preferably, the first and second electrodes are formed of a metal,
the communication parameters include: a communication header and a number of data bits;
the detecting whether the communication parameters are matched with the communication protocol corresponding to the frequency conversion integrated board to be detected comprises the following steps: detecting whether the communication head code and the data bit number are respectively the same as the communication head code and the data bit number included in the communication protocol.
Preferably, the first and second electrodes are formed of a metal,
the acquiring of the communication parameters comprises: reading prestored communication parameters from a memory;
preferably, the first and second electrodes are formed of a metal,
when the communication parameter is matched with the communication protocol of the frequency conversion integrated board to be detected, the method further comprises the following steps: storing the communication parameters to a memory;
preferably, the first and second electrodes are formed of a metal,
after the receiving the working parameters generated when the to-be-detected frequency conversion integrated board controls the peripheral load to work according to the control command, the method further comprises the following steps: and displaying the working parameters.
In a third aspect, an embodiment of the present invention provides a detection system, including: a frequency conversion integrated board and the upper computer according to any one of the above embodiments of the present invention; wherein,
the frequency conversion integrated board is used for receiving a control instruction sent by the upper computer and controlling an external load to work according to the control instruction; sending working parameters generated when the peripheral load works according to the control instruction to the upper computer;
and the upper computer is used for determining whether the working state of the frequency conversion integrated plate is normal or not according to the working parameters.
Preferably, the first and second electrodes are formed of a metal,
the frequency conversion integrated board is used for analyzing a communication head code, at least one effective control data and first data verification information from the control instruction, and determining second data verification information according to the communication head code and the at least one effective control data; and determining whether the first check information and the second check information are the same, and executing the control command to control the peripheral load to work when the first check information and the second check information are the same.
Preferably, the first and second electrodes are formed of a metal,
the frequency conversion integrated board is used for calculating the second data verification information according to the following calculation formula;
wherein D isnCharacterizing said second data check information, D0Characterizing the header code, DiCharacterizing an ith one of the valid control data.
The embodiment of the invention provides an upper computer, a detection method of a frequency conversion integrated board and a detection system, wherein after a communication parameter matched with a communication protocol of the frequency conversion integrated board to be detected is received, a control parameter input template is provided, so that a user inputs a control parameter according to the control parameter input template, then a control instruction is generated according to the input control parameter, and the generated control instruction is sent to the frequency conversion integrated board to be detected, so that the frequency conversion integrated board to be detected controls a peripheral load to work according to the received control instruction, and the working parameter of the peripheral load is returned to the upper computer, so that the upper computer determines whether the working state of the frequency conversion integrated board is normal or not according to the received working parameter. From this, the host computer can communicate with the frequency conversion all-in-one board of different communication agreement according to the different communication parameters of receiving, and an host computer can communicate with a plurality of frequency conversion all-in-one boards promptly to avoided must at first develop with wait to detect after the host computer that frequency conversion all-in-one board corresponds, just can test frequency conversion all-in-one board, and then improved the efficiency of software testing of frequency conversion all-in-one board.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an upper computer according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an upper computer according to another embodiment of the present invention;
FIG. 3 is a flow chart of a method for detecting a frequency conversion integrated board according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a detection system according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for using a detection system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an upper computer, including: a communication parameter acquisition unit 101, a communication detection unit 102, a control processing unit 103 and a working state detection unit 104; wherein,
the communication parameter acquiring unit 101 is configured to acquire a communication parameter;
the communication detection unit 102 is configured to detect whether the communication parameter matches a communication protocol corresponding to an external frequency conversion integrated board to be detected, and when the communication parameter matches the communication protocol of the frequency conversion integrated board to be detected, provide a control parameter input template so that a user inputs a control parameter according to the control parameter input template;
the control processing unit 103 is configured to generate a control instruction according to the control parameter input by the user, and send the control instruction to the frequency conversion integrated board to be detected;
the working state detection unit 104 is configured to receive a working parameter, and determine whether the working state of the to-be-detected frequency conversion integrated board is normal according to the working parameter, where the working parameter is generated when the to-be-detected frequency conversion integrated board controls an external load to work according to the control instruction.
In the above embodiment, after receiving the communication parameter matched with the communication protocol of the frequency conversion integrated board to be detected, a control parameter input template is provided, so that a user inputs the control parameter according to the control parameter input template, then a control instruction is generated according to the input control parameter, and the generated control instruction is sent to the frequency conversion integrated board to be detected, so that the frequency conversion integrated board to be detected controls the peripheral load to work according to the received control instruction, and the working parameter of the peripheral load is returned to the upper computer, so that the upper computer determines whether the working state of the frequency conversion integrated board is normal or not according to the received working parameter. From this, the host computer can communicate with the frequency conversion all-in-one board of different communication agreement according to the different communication parameters of receiving, and an host computer can communicate with a plurality of frequency conversion all-in-one boards promptly to avoided must at first develop with wait to detect after the host computer that frequency conversion all-in-one board corresponds, just can test frequency conversion all-in-one board, and then improved the efficiency of software testing of frequency conversion all-in-one board.
Specifically, in an embodiment of the present invention, the communication parameters include: a communication header and a number of data bits; the communication detecting unit 102 is configured to detect whether the number of the communication header and the number of the data bits are respectively the same as the number of the communication header and the number of the data bits included in the communication protocol, and if so, determine that the communication parameter matches the communication protocol.
For example, if the communication header code included in the communication parameter is 0 and the number of data bits is 10 bits, the communication parameter can be matched with the communication protocol only if the communication header code included in the communication protocol is also 0 and the number of data bits is also 10 bits, otherwise, the communication parameter is considered to be not matched with the number of data bits.
In order to further improve the testing efficiency of the frequency conversion integrated board, in an embodiment of the present invention, the communication detecting unit 102 is further configured to provide a communication parameter modification template when detecting that the communication parameter does not match the communication protocol, so that a user modifies the communication parameter according to the communication parameter modification template; triggering the communication parameter acquisition unit;
the communication parameter obtaining unit 101 is configured to receive the modified communication parameters.
For example, the upper computer is a display panel with a human-computer interaction interface, when the display panel is powered on, the upper computer enters a communication parameter setting interface and automatically reads the communication parameters stored in the last working, and if the communication parameters stored in the last working are not matched with the communication protocol of the frequency conversion integrated plate to be detected, a user can change the communication parameters through a communication parameter changing template (here, the communication parameter setting interface). Specifically, when the communication parameter has a plurality of data bits, such as communication header bits and valid data bits, the user can move the cursor on the communication parameter setting interface through the up, down, left, right keys of the display panel, so as to change the value of each data bit of the communication parameter. And after the whole communication parameter is changed, the confirming key is clicked again, so that the display panel can receive the changed communication parameter, and then whether the changed communication parameter is matched with the communication protocol of the frequency conversion integrated board to be detected or not is detected. From this, the user can change communication parameter according to the communication protocol of different frequency conversion intergral template to make the host computer communicate with the frequency conversion intergral template that has different communication protocol. When detecting the frequency conversion integrated board, the upper computer can be selected randomly without matching the frequency conversion integrated board and the upper computer one by one, so that the test efficiency of the frequency conversion integrated board is further improved.
In an embodiment of the present invention, the communication detecting unit 102 is further configured to store the communication parameter to a memory when detecting that the communication parameter matches the communication protocol;
the communication parameter acquiring unit 101 is configured to read a pre-stored communication parameter from a memory;
here, when it is detected that the communication parameter matches the communication protocol of the frequency conversion integrated board to be detected, the communication parameter is stored in the Memory, for example, in an Electrically Erasable Programmable Read Only Memory (EEPROM), when the upper computer operates next time, the last stored communication parameter may be directly Read from the EEPROM, and when the communication parameter matches the communication protocol of the frequency conversion integrated board to be detected, for example, when the upper computer communicates with a plurality of frequency conversion integrated boards having the same communication protocol, the user does not need to re-input the communication parameter, thereby further improving the detection efficiency of the frequency conversion integrated board.
As shown in fig. 2, in an embodiment of the present invention, the upper computer may further include: a display unit 201; the display unit 201 is configured to display the working parameters of the peripheral load.
Here, when the upper computer is a display panel with a human-computer interaction interface, the display unit is an inquiry interface, and the interface can display working parameters of each peripheral load (a temperature detection module, a door switch detection module and the like), so that a user can intuitively obtain the current working parameters of each peripheral load, and user experience is improved.
As shown in fig. 3, an embodiment of the present invention provides a method for detecting a frequency conversion integrated board, which may include the following steps:
step 301: acquiring communication parameters;
step 302: detecting whether the communication parameters are matched with a communication protocol corresponding to the frequency conversion integrated board to be detected;
step 303: when the communication parameters are matched with the communication protocol of the frequency conversion integrated board to be detected, providing a control parameter input template so that a user can input control parameters according to the control parameter input template;
step 304: generating a control instruction according to a control parameter input by a user, and sending the control instruction to the to-be-detected frequency conversion integrated board;
step 305: receiving working parameters, wherein the working parameters are generated when the to-be-detected frequency conversion integrated board controls an external load to work according to the control instruction;
step 306: and determining whether the working state of the to-be-detected frequency conversion integrated plate is normal or not according to the working parameters.
In the above embodiment, after receiving the communication parameter matched with the communication protocol of the frequency conversion integrated board to be detected, a control parameter input template is provided, so that a user inputs the control parameter according to the control parameter input template, then a control instruction is generated according to the input control parameter, and the generated control instruction is sent to the frequency conversion integrated board to be detected, so that the frequency conversion integrated board to be detected controls the peripheral load to work according to the received control instruction, and the working parameter of the peripheral load is returned to the upper computer, so that the upper computer determines whether the working state of the frequency conversion integrated board is normal or not according to the received working parameter. From this, the host computer can communicate with the frequency conversion all-in-one board of different communication agreement according to the different communication parameters of receiving, and an host computer can communicate with a plurality of frequency conversion all-in-one boards promptly to avoided must at first develop with wait to detect after the host computer that frequency conversion all-in-one board corresponds, just can test frequency conversion all-in-one board, and then improved the efficiency of software testing of frequency conversion all-in-one board.
Specifically, in an embodiment of the present invention, the communication parameters include: a communication header and a number of data bits; specific embodiments of step 302 may include: detecting whether the communication head code and the data bit number are respectively the same as the communication head code and the data bit number included in the communication protocol.
For example, if the communication header code included in the communication parameter is 0 and the number of data bits is 10 bits, the communication parameter can be matched with the communication protocol only if the communication header code included in the communication protocol is also 0 and the number of data bits is also 10 bits, otherwise, the communication parameter is considered to be not matched with the number of data bits.
In order to further improve the testing efficiency of the frequency conversion integrated board, in an embodiment of the present invention, after step 302, the method may further include: when the communication parameters are not matched with the communication protocol, providing a communication parameter change template so that a user can change the communication parameters according to the communication parameter change template;
the specific implementation of step 301 may include: and acquiring the modified communication parameters.
For example, the upper computer is a display panel with a human-computer interaction interface, when the display panel is powered on, the upper computer enters a communication parameter setting interface and automatically reads the communication parameters stored in the last working, and if the communication parameters stored in the last working are not matched with the communication protocol of the frequency conversion integrated plate to be detected, a user can change the communication parameters through a communication parameter changing template (here, the communication parameter setting interface). Specifically, when the communication parameter has a plurality of data bits, such as communication header bits and valid data bits, the user can move the cursor on the communication parameter setting interface through the up, down, left, right keys of the display panel, so as to change the value of each data bit of the communication parameter. And after the whole communication parameter is changed, the confirming key is clicked again, so that the display panel can receive the changed communication parameter, and then whether the changed communication parameter is matched with the communication protocol of the frequency conversion integrated board to be detected or not is detected. From this, the user can change communication parameter according to the communication protocol of different frequency conversion intergral template to make the host computer communicate with the frequency conversion intergral template that has different communication protocol. When detecting the frequency conversion integrated board, the upper computer can be selected randomly without matching the frequency conversion integrated board and the upper computer one by one, so that the test efficiency of the frequency conversion integrated board is further improved.
In an embodiment of the present invention, after step 303, the method may further include: storing the communication parameters to a memory; the specific implementation of step 101 may include: reading prestored communication parameters from a memory;
here, when detecting that the communication parameter matches with the communication protocol of the frequency conversion integrated board to be detected, store the communication parameter to the memory, for example, store to EEPROM, then when the host computer is run next time, can directly read the communication parameter that was stored last time from EEPROM, when this communication parameter matches with the communication protocol of the frequency conversion integrated board to be detected, for example, when the host computer communicates with a plurality of frequency conversion integrated boards that have the same communication protocol, the user then need not to carry out re-input to the communication parameter again to the detection efficiency of frequency conversion integrated board has further been improved.
In an embodiment of the present invention, after step 305, the method further includes: and displaying the working parameters.
Here, when the upper computer is a display panel with a human-computer interaction interface, the display unit is an inquiry interface, and the interface can display working parameters of each peripheral load (a temperature detection module, a door switch detection module and the like), so that a user can intuitively obtain the current working parameters of each peripheral load, and user experience is improved.
As shown in fig. 4, an embodiment of the present invention provides a detection system, including: a frequency conversion integrated board 401 and an upper computer 402 according to any of the above embodiments of the present invention; wherein,
the frequency conversion integrated board 401 is configured to receive a control instruction sent by the upper computer 402, and control an external load to work according to the control instruction; and sending working parameters generated when the peripheral load works according to the control instruction to the upper computer 402;
the upper computer 402 is configured to determine whether the working state of the frequency conversion integrated board 401 is normal according to the working parameters.
In the above embodiment, the frequency conversion integrated board controls the peripheral load to work according to the control instruction sent by the upper computer, and returns the working parameters of the peripheral load to the upper computer, so that the upper computer determines whether the working state of the frequency conversion integrated board is normal or not according to the received working parameters. From this, the host computer can communicate with the frequency conversion intergral template of different communication agreement, and a host computer can communicate with a plurality of frequency conversion intergral templates promptly to avoided at first developing and wait to detect after the host computer that frequency conversion intergral template corresponds, just can test frequency conversion intergral template, and then improved the efficiency of software testing of frequency conversion intergral template.
In an embodiment of the present invention, the frequency conversion integrated board 401 is configured to parse a communication header code, at least one valid control data, and first data check information from the control command, and determine second data check information according to the communication header code and the at least one valid control data; and determining whether the first check information and the second check information are the same, and executing the control command to control the peripheral load to work when the first check information and the second check information are the same.
For example, user inputThe control parameter of (1) has 5 data bits, wherein, the first bit is the communication header code bit, the last bit is the data check bit, middle three-digit is effective control data bit, then after the host computer generated control instruction according to the control parameter of user input, the concrete numerical value on every data bit can be analyzed out from control instruction to the frequency conversion intergral template that receives control instruction, is the communication header code that is located communication header code bit, the effective control data that is located three effective control data bit respectively to and be located the first data check information of data check bit. Then, the frequency conversion integrated board utilizes a formula according to the analyzed communication head code and effective control dataAnd calculating second data verification information, wherein the second data verification information is characterized, the data head code is characterized, the ith effective control data is characterized, and the data verification information is the sum of the data head code and the three effective control data.
And comparing the first data verification information carried in the control instruction of the upper computer with the second data verification information calculated by the frequency conversion all-in-one machine to obtain whether the control instruction is tampered in the process of being transmitted to the frequency conversion all-in-one machine by the upper computer. When the first data verification information and the second data verification information are the same, the data transmission process is safe and accurate, and the frequency conversion all-in-one machine controls the peripheral load to work according to the received control instruction. When the first data verification information and the second data verification information are different, the fact that a fault occurs in the data transmission process is shown, the data are tampered or attacked, the frequency conversion integrated board does not control the peripheral load according to the received control instruction, misoperation of the peripheral load is avoided, the peripheral load is prevented from being fed back to the wrong working parameters of the upper computer, and therefore the accuracy of detection of the frequency conversion integrated board is improved.
The following describes a method for using the detection system provided by the embodiment of the present invention in detail by taking the detection of the frequency conversion integrated board in the refrigerator as an example, as shown in fig. 5, the method may include the following steps:
step 501: and after the upper computer is electrified, reading the prestored communication parameters from the memory.
Here, the communication parameters include a communication header code and a data bit number, for example, the communication header code read from the EEPROM by the upper computer is 0, and the data bit number is 10 bits.
Step 502: and judging whether the communication parameters are matched with the communication protocol of the frequency conversion integrated board of the refrigerator, if so, executing step 505, otherwise, executing step 503.
The communication protocol of the frequency conversion integrated board of the refrigerator also carries a communication head code and a data bit number, and whether the communication head code and the data bit number read from the memory are respectively the same as the communication head code and the data bit number in the communication protocol or not is judged by comparing the communication head code and the data bit number, so that whether the communication head code and the data bit number are matched with the communication protocol or not is judged.
Step 503: and providing a communication parameter change template so that a user can change the communication parameters according to the communication parameter change template.
Step 504: the modified communication parameters are received and step 502 is performed.
For example, the upper computer is a display panel with a human-computer interaction interface, the communication parameter modification template is a parameter setting interface of the display panel, and a user can move a cursor on the communication parameter setting interface through upper, lower, left and right keys of the display panel on the parameter setting interface so as to modify the numerical value of each data bit of the communication parameter. When each data bit is in eight-bit binary data format, if the user inputs illegal parameters, for example, non-binary data, during the modification process, the system gives an error prompt.
Step 505: and storing the communication parameters into a memory, and providing a control parameter input template so that a user can input control parameters according to the control parameter input template.
The control parameter input template is a control interface of a display panel, the format of the control parameter is not eight-digit binary data, and a user can input the control parameter on the control interface sequentially through upper, lower, left and right keys of the display panel. For example, the control parameter has 10 data bits, the control interface performs page display on the 10 data bits, each page displays 4-bit data, and the cyclic display of each interface of the control interface can be realized by moving the cursor up and down, so as to perform complete input on the control parameter.
The communication parameters are stored in the storage, for example, the communication parameters are stored in the EEPROM, when the upper computer runs next time, the communication parameters stored last time can be directly read from the EEPROM, and when the communication parameters are matched with the communication protocol of the frequency conversion integrated board to be detected, for example, when the upper computer communicates with a plurality of frequency conversion integrated boards with the same communication protocol, a user does not need to input the communication parameters again.
Step 506: and generating a control instruction according to the control parameters input by the user, and sending the control instruction to a frequency conversion integrated board of the refrigerator.
In the 10 input data bits, the first bit is a communication head code, the last bit is first data check information, the other middle 8 data bits are effective control data, the upper computer calculates the first data check information according to the communication head code and the effective control data, and generates a control instruction according to the calculated first data check information, the communication head code and the effective control data.
Step 507: and the frequency conversion integrated board of the refrigerator analyzes the communication head code, at least one effective control data and first data verification information from the control command.
Step 508: second data check information is calculated based on the communication header and the at least one valid control data.
The frequency conversion integrated plate of the refrigerator can be according to the formulaWherein the second data check information is characterized, the data header code is characterized, and the ith data check information is characterizedAnd (4) the effective control data, and calculating second data verification information, namely the data verification information is the sum of the data head code and the 8 effective control data.
Step 509: and judging whether the first check information and the second check information are the same, if so, executing the step 510, otherwise, ending the current process.
Step 510: and controlling a peripheral load to work according to the control instruction, and sending working parameters generated when the peripheral load works according to the control instruction to the upper computer.
For example, the frequency conversion integrated board of the refrigerator controls the temperature detection module to detect the temperature of the refrigerating chamber of the refrigerator according to a control instruction of the upper computer, and sends the detected temperature to the upper computer.
Step 511: and the upper computer displays the working parameters and determines whether the working state of the frequency conversion integrated plate of the refrigerator is normal or not according to the working parameters.
The working parameters are displayed through the query interface of the display panel, and the query interface and the control interface can realize circular display through switching the operation keys, so that different control parameters can be received conveniently, different peripheral loads can be controlled, the working parameters of the peripheral loads can be displayed in real time, and a user can check the working parameters conveniently.
The invention also provides a readable medium comprising executable instructions which, when executed by a processor of a storage controller, cause the storage controller to perform a method as provided by any of the above-described embodiments of the invention.
In addition, the present invention also provides a memory controller comprising: a processor, a memory, and a bus; the memory is used for storing execution instructions, the processor is connected with the memory through the bus, and when the storage controller runs, the processor executes the execution instructions stored in the memory, so that the storage controller executes the method provided by any one of the above embodiments of the invention.
In summary, the embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, after receiving the communication parameters matched with the communication protocol of the frequency conversion integrated board to be detected, a control parameter input template is provided, so that a user inputs the control parameters according to the control parameter input template, then a control instruction is generated according to the input control parameters, the generated control instruction is sent to the frequency conversion integrated board to be detected, the frequency conversion integrated board to be detected controls the peripheral load to work according to the received control instruction, and the working parameters of the peripheral load are returned to the upper computer, so that the upper computer determines whether the working state of the frequency conversion integrated board is normal or not according to the received working parameters. From this, the host computer can communicate with the frequency conversion all-in-one board of different communication agreement according to the different communication parameters of receiving, and an host computer can communicate with a plurality of frequency conversion all-in-one boards promptly to avoided must at first develop with wait to detect after the host computer that frequency conversion all-in-one board corresponds, just can test frequency conversion all-in-one board, and then improved the efficiency of software testing of frequency conversion all-in-one board.
2. In the embodiment of the invention, when the communication parameters are not matched with the communication protocol of the frequency conversion all-in-one machine, the communication parameter changing template is provided, so that a user can change the communication parameters according to the communication parameter template and verify the changed communication parameters again. From this, the user can change communication parameter according to the communication protocol of different frequency conversion intergral template to make the host computer communicate with the frequency conversion intergral template that has different communication protocol. When detecting the frequency conversion integrated board, the upper computer can be selected randomly without matching the frequency conversion integrated board and the upper computer one by one, so that the test efficiency of the frequency conversion integrated board is further improved.
3. In the embodiment of the invention, when the communication parameters are matched with the communication protocol of the frequency conversion integrated board to be detected, the communication parameters are stored in the memory, and when the upper computer runs, the pre-stored communication parameters can be directly read from the memory, so that a user does not need to input the communication parameters again every time, and the detection efficiency of the frequency conversion integrated board is further improved.
4. In the embodiment of the invention, the upper computer can display the working parameters of the external loads, so that a user can visually acquire the current working parameters of each external load, and the user experience is improved.
5. In the embodiment of the invention, the frequency conversion integrated board analyzes the communication head code, the at least one effective control data and the first data check information from the control instruction, calculates the second data check information according to the communication head code and the at least one effective control data, and controls the peripheral load to work according to the control instruction when the first check information is the same as the second check information. The misoperation of the external load is avoided, so that the wrong working parameters are fed back to the upper computer, and the accuracy of detecting the frequency conversion integrated board is improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

CN201710379216.7A2017-05-252017-05-25The detection method and detecting system of a kind of host computer, frequency conversion integrated boardPendingCN107037294A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710379216.7ACN107037294A (en)2017-05-252017-05-25The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710379216.7ACN107037294A (en)2017-05-252017-05-25The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Publications (1)

Publication NumberPublication Date
CN107037294Atrue CN107037294A (en)2017-08-11

Family

ID=59539862

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710379216.7APendingCN107037294A (en)2017-05-252017-05-25The detection method and detecting system of a kind of host computer, frequency conversion integrated board

Country Status (1)

CountryLink
CN (1)CN107037294A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109059414A (en)*2018-10-252018-12-21长虹美菱股份有限公司A kind of display board adaptation method for refrigerator after-sales service
CN109298862A (en)*2018-09-062019-02-01深圳创维-Rgb电子有限公司 Numerical acquisition method, device and storage medium for customized data
CN111306884A (en)*2020-02-192020-06-19长虹美菱股份有限公司Communication design method for intelligent screen refrigerator
CN115167339A (en)*2022-06-162022-10-11中车工业研究院有限公司 Test method, test platform, test system, and computer-readable storage medium
CN115167338A (en)*2022-06-162022-10-11中车工业研究院有限公司Control method, test platform, test system and computer readable storage medium
CN116972914A (en)*2023-09-222023-10-31华夏天信智能物联股份有限公司Intelligent testing method and system for frequency conversion integrated machine

Citations (7)

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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109298862A (en)*2018-09-062019-02-01深圳创维-Rgb电子有限公司 Numerical acquisition method, device and storage medium for customized data
CN109298862B (en)*2018-09-062021-12-21深圳创维-Rgb电子有限公司Customized data value acquisition method and device and storage medium
CN109059414A (en)*2018-10-252018-12-21长虹美菱股份有限公司A kind of display board adaptation method for refrigerator after-sales service
CN111306884A (en)*2020-02-192020-06-19长虹美菱股份有限公司Communication design method for intelligent screen refrigerator
CN115167339A (en)*2022-06-162022-10-11中车工业研究院有限公司 Test method, test platform, test system, and computer-readable storage medium
CN115167338A (en)*2022-06-162022-10-11中车工业研究院有限公司Control method, test platform, test system and computer readable storage medium
CN116972914A (en)*2023-09-222023-10-31华夏天信智能物联股份有限公司Intelligent testing method and system for frequency conversion integrated machine
CN116972914B (en)*2023-09-222023-12-26华夏天信智能物联股份有限公司Intelligent testing method and system for frequency conversion integrated machine

Similar Documents

PublicationPublication DateTitle
CN107037294A (en)The detection method and detecting system of a kind of host computer, frequency conversion integrated board
WO2007144936A1 (en)Peripheral device of programmable logic controller and automatic program verification method
GB2544568A (en)System, method and non-transitory computer readable medium for software testing
CN107844374A (en)The task executing method of terminal device, device, electronic equipment, storage medium
KR100517595B1 (en)A Advice Washing Machine and the Method
WO2020255272A1 (en)Electronic apparatus and method
CN111859359A (en)Intelligent equipment authorization system, method, device, equipment and medium
CN112540924A (en)Interface automation test method, device, equipment and storage medium
CN107450953B (en)Method and device for updating BIOS
US11797420B2 (en)Debug support program storage medium, debug support apparatus, and debug support method
JP2019066944A (en)Operation management device
CN113934626B (en) Model process debugging method, device and storage medium
CN111475526A (en)Sequential data conversion method based on oracle data and related equipment thereof
CN110717315A (en)System data batch modification method and device, storage medium and electronic equipment
JP6198529B2 (en) Test execution system, test execution device, test execution method, and test execution program
CN110297455B (en)Programmable logic controller and self-checking and recovery method thereof
CN111159048A (en) Application testing method, device and computer-readable storage medium
CN111078026A (en)Input prompting method and device, electronic equipment and readable storage medium
CN115296776A (en)Communication data checking processing method, system, equipment and medium
JP2018018126A (en) Test device and test program for monitoring device
CN102929739B (en)terminal and terminal control method
US20060129894A1 (en)Verifying system and verifying method
CN112527668A (en)Applet safety debugging method and device, mobile terminal and storage medium
CN113312267A (en)Test method, device, equipment and storage medium for development code
KR100885724B1 (en) Program key device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change 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.

CB02Change of applicant information
TA01Transfer 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.

TA01Transfer of patent application right
RJ01Rejection of invention patent application after publication

Application publication date:20170811

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp