CN110703741A - Multifunctional communication debugging equipment - Google Patents

Multifunctional communication debugging equipment Download PDF

Info

Publication number
CN110703741A
CN110703741A CN201911061123.5A CN201911061123A CN110703741A CN 110703741 A CN110703741 A CN 110703741A CN 201911061123 A CN201911061123 A CN 201911061123A CN 110703741 A CN110703741 A CN 110703741A
Authority
CN
China
Prior art keywords
communication
interface
protocol
tested
debugging
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
CN201911061123.5A
Other languages
Chinese (zh)
Inventor
李晶
庞维容
吴培
段闯
刘红燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911061123.5A priority Critical patent/CN110703741A/en
Publication of CN110703741A publication Critical patent/CN110703741A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a multifunctional communication debugging device, which comprises: the load connection module comprises a plurality of communication interfaces for connecting different devices to be tested; the protocol acquisition module is used for calling a corresponding communication protocol according to the type of an interface accessed by the equipment to be tested; the human-computer interaction module is used for inputting a communication interface connected with the equipment to be tested and corresponding interface parameters; and the debugging module is used for controlling the protocol acquisition module to select a corresponding communication protocol for communication debugging and receive feedback data of the equipment to be tested according to the communication interface connected with the equipment to be tested and corresponding interface parameters. The invention has the advantages of convenient carrying due to few devices, supporting the test of various communication interfaces, loading various communication protocols, reducing the development quantity of test tools and saving production resources.

Description

Multifunctional communication debugging equipment
Technical Field
The invention relates to communication debugging equipment, in particular to portable multifunctional communication debugging equipment.
Background
With the development of communication technology, communication interfaces and protocols are increasingly diversified. For example, communication protocols such as various world standards, national standards, industry standards, and enterprise standards are endlessly developed, which results in too many kinds of communication protocols and communication interfaces, so that manufacturers have to prepare a variety of test tools, which is inefficient in development, time-consuming, and difficult to maintain. In addition, when communication debugging is performed, if an upper computer or a lower computer is not provided, some serial port and network port debugging software is not ideal enough in aspects of message interval, function test and the like, so that the upper computer or the lower computer cannot be simulated to the maximum extent for joint debugging.
Disclosure of Invention
In order to solve the technical problem that in the prior art, various testing tools need to be prepared aiming at various communication protocols and communication interfaces, so that the product research and development efficiency is low, and the like, the multifunctional communication debugging equipment is provided.
The communication debugging device provided by the invention comprises:
the load connection module comprises a plurality of communication interfaces for connecting different devices to be tested;
the protocol acquisition module is used for calling a corresponding communication protocol according to the type of an interface accessed by the equipment to be tested;
the human-computer interaction module is used for inputting a communication interface connected with the equipment to be tested and corresponding interface parameters;
and the debugging module is used for controlling the protocol acquisition module to select a corresponding communication protocol for communication debugging and receive feedback data of the equipment to be tested according to the communication interface connected with the equipment to be tested and corresponding interface parameters.
Preferably, the mobile storage card further comprises a removable mobile storage card for storing a communication protocol, and the protocol acquisition module is used for retrieving the communication protocol from the removable mobile storage card.
Preferably, the human-computer interaction module is further configured to input a communication protocol for the protocol acquisition module to acquire the corresponding communication protocol.
In one embodiment, the content of the communication protocol includes: the communication debugging equipment is used as one or more of an upper computer or a lower computer, corresponding data frame contents, sending time intervals and whether to send circularly.
Specifically, the feedback data is response data that the device to be tested responds according to the content of the data frame sent by the upper computer or the lower computer.
Specifically, the communication interface includes at least 2 of USB, HomeBus, RJ45, CAN, RS485, and RS 232. When the communication interface is HomeBus, CAN, RS485, RS232, the interface parameters include one or more of baud rate, stop bit, check bit, and data length. And when the communication interface is a USB, the interface parameter is null. And when the communication interface is RJ45, the interface parameter is the IP address of the equipment to be tested.
Preferably, the debugging module sends the feedback data to the human-computer interaction module and/or the mobile memory card according to the setting of the user.
Preferably, the device further comprises an interface conversion module, configured to convert a communication interface in the load connection module into a communication interface adapted to the device to be tested.
Specifically, the human-computer interaction module adopts a touch screen.
The portable multifunctional communication debugging equipment provided by the invention is matched with the pluggable SD card, the common communication interface and the touch screen display to carry out application, function test, data exchange and man-machine interaction of the communication protocol, so that the efficiency of the product in the development and test processes is improved, the cost of testing tools of various communication interfaces and communication protocols required to be prepared for product development and maintenance is reduced, and the purposes of reducing cost, increasing benefit and improving enterprise profits are finally achieved.
Drawings
The invention is described in detail below with reference to examples and figures, in which:
FIG. 1 is a block diagram of the modules of the present invention.
FIG. 2 is an operator interface diagram of the present invention.
Detailed Description
The principles and embodiments of the present invention are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, in a preferred embodiment of the present invention, the communication debugging device includes a load connection module, a protocol acquisition module, a human-computer interaction module, an interface conversion module, and a debugging module.
The load connection module is used for connecting corresponding equipment to be tested, and comprises a plurality of common communication interfaces such as USB, HomeBus, RJ45, CAN, RS485, RS232 and the like in order to adapt to different equipment to be tested. The communication interfaces contained in the load connection module can be 2 or more, so that the development quantity of corresponding test tools is reduced. On the basis, when a communication interface which is not contained in the load connection module appears, the interface conversion module which can be connected in a pluggable mode can be used for converting the existing communication interface in the load connection module into a communication interface matched with the equipment to be tested. Therefore, the mainboard of the tested device does not need to prepare a hardware connection interface (communication interface) specially used for testing during design, and can use USB communication through the corresponding interface conversion module without using the communication interface frequently, so that the communication debugging device can be suitable for most communication debugging.
After the communication debugging equipment is connected with the equipment to be tested, a user is required to input a communication interface connected with the equipment to be tested and corresponding interface parameters through the man-machine interaction module. When the communication interface is HomeBus, CAN, RS485, RS232, the corresponding interface parameters include one or more of baud rate, stop bit, check bit, and data length. And when the communication interface is the USB, the corresponding interface parameter is null. And when the communication interface is RJ45, the corresponding interface parameter is the IP address of the equipment to be tested. The man-machine interaction module of the invention preferably adopts a touch screen.
Correspondingly, the protocol acquisition module needs to prepare the communication protocol corresponding to each communication interface for the debugging module to use. In one embodiment, various communication protocols (e.g., IEC101, IEC104, etc.) conforming to multiple industry standards are maximally integrated on the portable communication debugging device of the present invention by means of the pluggable mobile memory card. The removable memory card may be an SD card, a TF card, or the like. Of course, the internal protocol of the enterprise can also lead the protocol acquisition module into the communication debugging device of the invention through a storage mode such as an SD card and the like. In another embodiment, the corresponding communication protocol, such as an enterprise internal protocol, may also be input through the human-machine interaction module. In a preferred embodiment, the technical solutions in the two embodiments may be adopted at the same time, so that a user may provide different communication protocols to the communication debugging device according to the situation, and the protocol acquisition module may select a corresponding communication protocol according to a communication interface to which the device to be tested is accessed.
In one embodiment, the content of the communication protocol of the present invention specifically includes: the communication debugging equipment is used as one or more of an upper computer or a lower computer, corresponding data frame contents, sending time intervals and whether to send circularly. And then the debugging module controls the protocol acquisition module to select a corresponding communication protocol for communication debugging and receive feedback data of the equipment to be tested according to the communication interface connected with the equipment to be tested and corresponding interface parameters.
Fig. 2 shows an interface displayed when the touch screen is used as the human-computer interaction module, a standard protocol button on the interface may select a corresponding protocol, such as IEC101 or IEC104, and the protocol creating button may enable a user to create a protocol, which requires the user to perform a specific input operation using a keyboard operation button. The parameter setting is used for setting the specific content of the communication protocol, including whether the communication debugging equipment is used as an upper computer or a lower computer, the execution times of data frames, time intervals, whether the data frames are circulated or not and the like. The message monitoring button can provide a message receiving and sending monitoring window for a user, and the user can open the message monitoring window or not, and can click in the message monitoring window to store the message. The start/stop button is used for the debugging module to send a start instruction and a stop instruction. The interface selection button is a communication interface (such as USB, RJ45, RS232 or other bus type communication interfaces) for selecting the device under test to access. The load setting button can send instructions to the load connection module to associate loads, name loads, delete loads, add loads, and the like. The keyboard operation may provide a soft keyboard for the user to make corresponding inputs.
Taking the test of the load of the air conditioner as an example, the communication debugging equipment of the invention mainly tests the load (whether the load can work normally or not, and whether the load has damage or not, such as a stepping motor, a relay, a lamp panel display and the like) or partial operation logic of the load. For example, when testing the household air conditioner, the debugging module serves as an upper computer according to a communication protocol, firstly sends a string of data frames, only modifies the wind sweeping action in the content of the data frames, can enable the wind sweeping to continue for a period of time by setting the sending times, the interval time and the like of the string of data frames, achieves the aim of testing whether the stepper motor works normally, enables the communication debugging equipment to simulate the corresponding communication protocol to further serve as the role of the upper computer when testing other loads, and reads or operates the equipment to be debugged through the setting parameters, the fault parameters, the state parameters and the like in the content of the data frames of the communication protocol. The test is finished on the touch screen of the communication debugging equipment from the beginning of sending the first frame data frame to the completion of the test of all the loads to be tested, the whole debugging module does not need human participation in the process of carrying out the load test, and all the loads to be tested can be tested, namely the test of the loads is automatically finished.
In the test process, the feedback data returned by the device to be tested is response data which is sent by the device to be tested according to the role of the upper computer or the lower computer played by the communication debugging device and responds to the content of the data frame. The user may set the display or not of the response data, or may select whether to store the response data. And then the debugging module sends the feedback data to a man-machine interaction module (a touch screen) and/or a mobile memory card according to the setting of the user. When the feedback data is sent to the touch screen, the user can monitor the messages in the test process at any time (all the messages fed back by the device to be tested in the test process form the feedback data).
When the communication debugging equipment is filled in the lower computer, the digital values of some sensors can be set by the communication debugging equipment to replace the measured values of the real sensors for data exchange.
Taking the development of the program of the internal machine mainboard as an example, the RS485 interface needs to be used for communicating with the line controller for testing, but a technician possibly responsible for the development of the line controller cannot provide the line controller and the program temporarily, and at this time, the communication debugging device can be used for testing. Because the communication interface of the internal machine mainboard is RS485, after the communication debugging equipment is connected with the internal machine mainboard, the corresponding communication interface RS485 is selected, and then interface parameters such as serial port numbers and stop positions are set for communication connection. At this time, a corresponding communication protocol can be created through the touch screen, and the data frame to be sent can be knocked out by using the touch screen or an external keyboard. Through the parameter setting of the communication protocol, whether the communication debugging equipment is used as an upper computer or a lower computer is firstly determined, and then parameters such as sending times, circulation and the like are set for a data frame to be sent, so that the debugging purpose is achieved. After the data message corresponding to the data frame is sent, the message monitoring part can see the message (response data of the device to be tested) sent and received by the message monitoring part. For example, in the online test of the air conditioner, aiming at the condition of testing the loads, a plurality of data frames which can enable the loads to be tested to act can be stored in advance, parameters such as time intervals and the like are set, and normal test can be carried out by clicking to debug. The effect and efficiency of the invention are more easily shown in batch test.
The invention can import or create the protocol, if the protocol is created and debugged once, the protocol can be stored, the protocol can be directly opened for operation next time after being stored, the creation of time is not needed again, the follow-up batch test only needs to be called, and the production test efficiency is improved. Specifically, parameters such as the number of sending times of the data frame, the time interval, whether to circulate and the like can be modified, so that the manual operation test can be simulated, and the test can be automatically completed within the specified time. In addition, the debugging can be performed completely through the data frame in operation, and a corresponding graphical interface can be provided to assist an operator in debugging, for example, a corresponding graphical interface is provided for the device to be tested. The invention can simulate the measured value of the sensor to exchange data when no sensor exists, and no matter what kind of interface to be tested faces the equipment to be tested, the hardware communication interface specially used for testing is not needed to be designed for the equipment to be tested, and the communication interface which is not commonly used can use USB communication through the corresponding converter, thereby being applicable to most communication debugging. The communication debugging equipment is connected with a computer through a network cable, and then the display of the touch screen is mapped to a webpage of the computer for operation.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (12)

1. A communication debugging device, comprising:
the load connection module comprises a plurality of communication interfaces for connecting different devices to be tested;
the protocol acquisition module is used for calling a corresponding communication protocol according to the type of an interface accessed by the equipment to be tested;
the human-computer interaction module is used for inputting a communication interface connected with the equipment to be tested and corresponding interface parameters;
and the debugging module is used for controlling the protocol acquisition module to select a corresponding communication protocol for communication debugging and receive feedback data of the equipment to be tested according to the communication interface connected with the equipment to be tested and corresponding interface parameters.
2. The communication debugging device of claim 1, further comprising a removable memory card for storing a communication protocol, wherein the protocol acquisition module retrieves the communication protocol from the removable memory card.
3. The communication debugging device of claim 1, wherein the human-computer interaction module is further configured to input a communication protocol for the protocol acquisition module to acquire the corresponding communication protocol.
4. The communication debugging device of claim 1, wherein the content of the communication protocol comprises: the communication debugging equipment is used as one or more of an upper computer or a lower computer, corresponding data frame contents, sending time intervals and whether to send circularly.
5. The communication debugging device of claim 4, wherein the feedback data is response data that is responded by a device under test according to the content of the data frame sent by the upper computer or the lower computer.
6. The communication debugging device of claim 1, wherein the communication interface comprises at least 2 of USB, HomeBus, RJ45, CAN, RS485, RS 232.
7. The communication debugging device of claim 1, wherein when the communication interface is HomeBus, CAN, RS485, RS232, the interface parameters comprise one or more of baud rate, stop bit, check bit, data length.
8. The communication debugging device of claim 1, wherein the interface parameter is null when the communication interface is USB.
9. The communication debugging device of claim 1, wherein when the communication interface is RJ45, the interface parameter is an IP address of the device under test.
10. The communication debugging device of claim 2, wherein the debugging module sends the feedback data to the human-computer interaction module and/or the removable memory card according to the setting of a user.
11. The communication debugging device of claim 1, wherein the human-computer interaction module is a touch screen.
12. The communication debugging device of claim 1 further comprising an interface conversion module for converting the communication interface in the load connection module into a communication interface adapted to the device under test.
CN201911061123.5A 2019-11-01 2019-11-01 Multifunctional communication debugging equipment Pending CN110703741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911061123.5A CN110703741A (en) 2019-11-01 2019-11-01 Multifunctional communication debugging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911061123.5A CN110703741A (en) 2019-11-01 2019-11-01 Multifunctional communication debugging equipment

Publications (1)

Publication Number Publication Date
CN110703741A true CN110703741A (en) 2020-01-17

Family

ID=69202323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911061123.5A Pending CN110703741A (en) 2019-11-01 2019-11-01 Multifunctional communication debugging equipment

Country Status (1)

Country Link
CN (1) CN110703741A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444052A (en) * 2020-03-26 2020-07-24 杭州涂鸦信息技术有限公司 Production testing method, system and device thereof
CN113765741A (en) * 2021-08-04 2021-12-07 格力电器(合肥)有限公司 Communication protocol switching device and test equipment
WO2022068105A1 (en) * 2020-09-30 2022-04-07 广州明珞装备股份有限公司 Non-standard device testing system and method, and storage medium
CN116489254A (en) * 2023-06-21 2023-07-25 中储粮成都储藏研究院有限公司 Method for debugging lower computer by using upper computer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212357A (en) * 2006-12-31 2008-07-02 亿阳信通股份有限公司 Interface testing method and device
CN102279827A (en) * 2011-06-09 2011-12-14 惠州市德赛西威汽车电子有限公司 Multifunctional communication transit box
CN102694701A (en) * 2012-06-13 2012-09-26 青岛海信传媒网络技术有限公司 Testing method and system based on message
CN103986615A (en) * 2013-02-07 2014-08-13 国家电网公司 Testing method and device
KR20160080831A (en) * 2014-12-29 2016-07-08 주식회사 포스코아이씨티 Communication Device for Supporting Multi Communication Protocol and Control System Having The Same
CN106230665A (en) * 2016-09-09 2016-12-14 深圳市艾特智能科技有限公司 Debugger
CN108802519A (en) * 2017-05-01 2018-11-13 爱德万测试公司 Test system and method
KR20190007656A (en) * 2017-07-13 2019-01-23 사단법인 엑시콘산학공동연구소 Device for converting interface

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212357A (en) * 2006-12-31 2008-07-02 亿阳信通股份有限公司 Interface testing method and device
CN102279827A (en) * 2011-06-09 2011-12-14 惠州市德赛西威汽车电子有限公司 Multifunctional communication transit box
CN102694701A (en) * 2012-06-13 2012-09-26 青岛海信传媒网络技术有限公司 Testing method and system based on message
CN103986615A (en) * 2013-02-07 2014-08-13 国家电网公司 Testing method and device
KR20160080831A (en) * 2014-12-29 2016-07-08 주식회사 포스코아이씨티 Communication Device for Supporting Multi Communication Protocol and Control System Having The Same
CN106230665A (en) * 2016-09-09 2016-12-14 深圳市艾特智能科技有限公司 Debugger
CN108802519A (en) * 2017-05-01 2018-11-13 爱德万测试公司 Test system and method
KR20190007656A (en) * 2017-07-13 2019-01-23 사단법인 엑시콘산학공동연구소 Device for converting interface

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444052A (en) * 2020-03-26 2020-07-24 杭州涂鸦信息技术有限公司 Production testing method, system and device thereof
CN111444052B (en) * 2020-03-26 2024-02-13 杭州涂鸦信息技术有限公司 Yield testing method, system and device thereof
WO2022068105A1 (en) * 2020-09-30 2022-04-07 广州明珞装备股份有限公司 Non-standard device testing system and method, and storage medium
CN113765741A (en) * 2021-08-04 2021-12-07 格力电器(合肥)有限公司 Communication protocol switching device and test equipment
CN116489254A (en) * 2023-06-21 2023-07-25 中储粮成都储藏研究院有限公司 Method for debugging lower computer by using upper computer
CN116489254B (en) * 2023-06-21 2023-09-08 中储粮成都储藏研究院有限公司 Method for debugging lower computer by using upper computer

Similar Documents

Publication Publication Date Title
CN110703741A (en) Multifunctional communication debugging equipment
CN107632219B (en) Automatic startup and shutdown test system and test method thereof
CN104833944A (en) Large user electric energy meter on-site inspection system and method
CN110781089B (en) Method and device for automatically testing UI of equipment, electronic equipment and medium
CN111736064A (en) Multi-type signal online test method and system for PCB
CN111698268A (en) Equipment communication protocol converter
CN112559288A (en) Distributed inertial platform test system based on Ethernet
CN112526966A (en) Automatic testing method and system for controller HIL
CN107170218B (en) Remote assistance method and system for debugging fire alarm system
CN203786242U (en) Portable multifunctional interface cable test device
CN110764036B (en) Intelligent distribution transformer terminal test method and system
CN111337765A (en) Frequency converter parameter testing system and testing method
CN108910642A (en) Elevator debugging information processing method, system, readable storage medium storing program for executing and commissioning device
CN112859637B (en) Wind turbine generator system simulation system
CN112027111A (en) Real-time acquisition and display method and system for aircraft bus data
CN108932125B (en) Control method of programmable logic controller
CN115967660A (en) Method and device for testing CAN protocol conversion, terminal equipment and storage medium
CN111025916A (en) Household appliance detection control method and system
CN206075033U (en) A kind of intelligent substation sequence debugging emulation equipment based on anti-misoperation locking
CN114741293A (en) Modbus communication automatic testing method of industrial control system
CN110580207A (en) Logic test application generation method based on QT framework
CN112131759A (en) Comprehensive environment simulation multi-parameter working condition input system and working condition creation method
CN110688299A (en) Automatic test platform for application software of nuclear power plant
CN204575840U (en) A kind of large user's electric energy meter field checking system
CN209329949U (en) A kind of frequency converter visualization far-end control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117