CN114089086A - Communication manager test equipment and test method thereof - Google Patents

Communication manager test equipment and test method thereof Download PDF

Info

Publication number
CN114089086A
CN114089086A CN202111274170.5A CN202111274170A CN114089086A CN 114089086 A CN114089086 A CN 114089086A CN 202111274170 A CN202111274170 A CN 202111274170A CN 114089086 A CN114089086 A CN 114089086A
Authority
CN
China
Prior art keywords
interface
communication
test
control terminal
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111274170.5A
Other languages
Chinese (zh)
Other versions
CN114089086B (en
Inventor
文志雄
林峰平
曹华平
伦炜炀
刘健
晏文龙
赵颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kangbida Control Technology Co ltd
Original Assignee
Shenzhen Kangbida Control 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 Shenzhen Kangbida Control Technology Co ltd filed Critical Shenzhen Kangbida Control Technology Co ltd
Priority to CN202111274170.5A priority Critical patent/CN114089086B/en
Priority claimed from CN202111274170.5A external-priority patent/CN114089086B/en
Publication of CN114089086A publication Critical patent/CN114089086A/en
Application granted granted Critical
Publication of CN114089086B publication Critical patent/CN114089086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G01R31/01Subjecting similar articles in turn to test, e.g. "go/no-go" tests in mass production; Testing objects at points as they pass through a testing station

Abstract

The application provides a communication manager test device and a test method thereof. The testing equipment is used for testing at least one communication management machine with various first communication interfaces and comprises a control terminal, a switch and a testing device with various second communication interfaces, wherein the various second communication interfaces correspond to the various first communication interfaces, and each communication management machine is in communication connection with the testing device through at least one first communication interface and the corresponding second communication interface; the control terminal is used for transmitting a test command to the test device through the switch, and the test device is used for carrying out two-pair test on the second communication interface and the corresponding first communication interface according to the test command; or the control terminal is used for transmitting a test command to the communication manager through the switch, and the communication manager is used for carrying out two pairs of tests on the first communication interface and the corresponding second communication interface according to the test command. The application can effectively improve the test efficiency when testing the communication management machine.

Description

Communication manager test equipment and test method thereof
[ technical field ] A method for producing a semiconductor device
The application relates to the technical field of communication equipment, in particular to communication manager test equipment and a test method thereof.
[ background of the invention ]
The communication manager is used as a core product of a communication layer, is generally used for acquisition, processing and communication of industrial data, and has the working process that: firstly, collecting data of a lower terminal; then, the collected data are processed, such as summary, protocol conversion, logic processing and the like; and finally, transmitting the processed data to an upper-level server. The communication manager generally has a plurality of communication interfaces, such as an RS485 Serial interface, an RS422 Serial interface, an RS232 Serial interface, an ethernet interface, an RTC (Real Time Clock) interface, a CAN (Controller Area Network) interface, a WIFI (wireless communication technology) interface, a USB (Universal Serial Bus) interface, an SDRAM (Synchronous Dynamic Random-Access Memory), a DI (Digital In, Digital input) interface, a DO (Digital Out) interface, and the like.
In the related art, in order to ensure the normal use of the communication managers, each communication manager needs to be tested before leaving the factory, specifically, the corresponding functions of each communication interface of the communication managers are tested in a manual mode, and only one communication manager can be tested by one tester at a time. The testing method cannot automatically realize simultaneous testing of a plurality of communication managers, and testers cannot leave a testing field during testing, so that the testing efficiency of the communication managers is low, and the labor cost is high.
Therefore, it is necessary to design a test apparatus of the communication manager.
[ summary of the invention ]
The application provides a communication manager test device and a test method thereof, and aims to solve the problems that in the related art, the test efficiency is low and the labor cost is high when a communication manager is tested.
In order to solve the above technical problem, a first aspect of the embodiments of the present application provides a communication manager test device, configured to test at least one communication manager, where the communication manager includes multiple first communication interfaces;
the communication manager test equipment comprises a control terminal, a switch and a test device; the control terminal is in communication connection with the switch, the switch is in communication connection with the test device and the communication managers, the test device is provided with a plurality of second communication interfaces, the plurality of second communication interfaces correspond to the plurality of first communication interfaces, and each communication manager is in communication connection with the test device through at least one first communication interface and the corresponding second communication interface;
the control terminal is used for transmitting a test command to the test device through the switch; the test device is used for carrying out two-pair test on the second communication interface and the corresponding first communication interface according to the test command to obtain a test result, and transmitting the test result to the control terminal;
or, the control terminal is used for transmitting a test command to the communication manager through the switch; the communication manager is used for carrying out two-pair testing on the first communication interface and the corresponding second communication interface according to the testing command to obtain a testing result, and transmitting the testing result to the control terminal.
A second aspect of the present embodiment provides a method for testing a communication manager test device, which is applied to the communication manager test device according to the first aspect of the present embodiment; the test method of the communication manager test equipment comprises the following steps:
the control terminal transmits a test command to the test device through the switch;
the testing device carries out two-pair testing on the second communication interface and the corresponding first communication interface according to the testing command to obtain a testing result, and transmits the testing result to the control terminal;
or, the control terminal transmits a test command to the communication manager through the switch;
and the communication manager carries out two-pair testing on the first communication interface and the corresponding second communication interface according to the testing command to obtain a testing result, and transmits the testing result to the control terminal.
As can be seen from the above description, the present application has the following advantages compared with the related art:
the communication manager test equipment is formed by a control terminal, a switch and a test device with various second communication interfaces; the control terminal is in communication connection with the switch, the switch is in communication connection with the testing device and the communication managers, the various second communication interfaces of the testing device correspond to the various first communication interfaces of the communication managers, and each communication manager is in communication connection with the testing device through at least one first communication interface and the corresponding second communication interface. Based on this, when at least one communication manager needs to be tested, the control terminal can transmit a test command to the test device through the switch, the test device can carry out two-pair testing on the second communication interface and the corresponding first communication interface according to the test command, and transmit an obtained test result to the control terminal; or the control terminal transmits a test command to the communication manager through the switch, and the communication manager performs two pairs of tests on the first communication interface and the corresponding second communication interface according to the test command and transmits the obtained test result to the control terminal; it can be understood that the first communication interface for performing two pairs of tests is located in each communication manager, and the second communication interface for performing two pairs of tests is located in the testing device. Therefore, the communication management machine testing equipment formed by the control terminal, the switch and the testing device realizes the simultaneous and automatic testing of a plurality of communication management machines, and a tester does not need to stay in a testing field, so that the testing efficiency of the communication management machines in testing is effectively improved, and the labor cost is greatly reduced.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the related art or the embodiments of the present application, the drawings needed to be used in the description of the related art or the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, not all embodiments, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a first block diagram of a testing device of a communication manager according to an embodiment of the present disclosure;
fig. 2 is a second block diagram of a testing device of a communication manager according to an embodiment of the present disclosure;
fig. 3 is a first flowchart illustrating a testing method of a testing device of a communication manager according to an embodiment of the present disclosure;
fig. 4 is a second flowchart illustrating a testing method of a testing device of a communication manager according to an embodiment of the present disclosure.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present application more apparent and understandable, the present application will be clearly and completely described below in conjunction with the embodiments of the present application and the corresponding drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. It should be understood that the embodiments of the present application described below are only for explaining the present application and are not intended to limit the present application, that is, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts based on the embodiments of the present application belong to the protection scope of the present application. In addition, the technical features involved in the embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
In the related art, in order to ensure the normal use of the communication managers, each communication manager needs to be tested before leaving the factory, specifically, the corresponding functions of each communication interface of the communication manager are tested in a manual mode, and only one communication manager can be tested by one tester at a time. The testing method cannot automatically realize simultaneous testing of a plurality of communication managers, and testers cannot leave a testing field during testing, so that the testing efficiency of the communication managers is low, and the labor cost is high. Therefore, the embodiment of the application provides a communication manager test device.
Referring to fig. 1, fig. 1 is a first block diagram of a testing apparatus of a communication manager according to an embodiment of the present disclosure. As can be seen from fig. 1, the communication manager test apparatus provided in the embodiment of the present application is used for testing a communication manager 400, where the communication manager 400 has a plurality of first communication interfaces 410; the communication manager test device comprises a control terminal 100, a switch 200 and a test device 300; the control terminal 100 is communicatively connected to the switch 200, the switch 200 is communicatively connected to the testing device 300 and the communication manager 400, the testing device 300 has a plurality of second communication interfaces 310, the plurality of second communication interfaces 310 correspond to the plurality of first communication interfaces 410, and the testing device 300 is communicatively connected to the communication manager 400 through the second communication interfaces 310 and the corresponding first communication interfaces 410. Here, it is necessary to explain that the communication connection between the control terminal 100, the switch 200, and the test apparatus 300 may be in the form of ethernet.
Specifically, the control terminal 100 is configured to transmit a test command to the test apparatus 300 through the switch 200; the testing apparatus 300 is configured to perform two-pair testing on the second communication interface 310 and the corresponding first communication interface 410 according to the testing command to obtain a testing result, and transmit the testing result to the control terminal 100. Or, the control terminal 100 is configured to transmit the test command to the communication manager 400 through the switch 200; the communication manager 400 is configured to perform two pairs of tests on the first communication interface 410 and the corresponding second communication interface 310 according to the test command to obtain a test result, and transmit the test result to the control terminal 100. In addition, the test program and related programs inside the communication manager 400 may also be downloaded, upgraded, and updated through the control terminal 100.
In the embodiment of the present application, the switch 200 plays a role of data interaction, and is mainly used for implementing data interaction between different IP (Internet Protocol) network segments. The control terminal 100, the test device 300 and the communication manager 400 are respectively connected with the switch 200 through ethernet interfaces, so as to realize data interaction between the control terminal 100 and the test device 300 and data interaction between the control terminal 100 and the communication manager 400, thereby reducing the number of interfaces of the control terminal 100. Based on this, the control terminal 100, the switch 200, the test apparatus 300, and the communication manager 400 need to have at least one ethernet interface.
In the embodiment of the present application, the communication manager 400 may include one or more than one; in each communication manager 400, the same type of first communication interface 410 may include one or more; in the testing apparatus 300, the same type of second communication interface 310 may include one or more; when any one of the communication managers 400 is communicatively connected to the testing device 300, the first communication interface 410 of the communication manager 400 and the corresponding second communication interface 310 of the testing device 300 need to have a correspondence relationship in terms of type. In addition, the aforementioned descriptions of the "plurality of second communication interfaces 310 corresponding to the plurality of first communication interfaces 410" can be understood as follows: assuming that the first communication interface 410 includes 3 types, i.e., an a-type first interface, a b-type first interface, and a c-type first interface, the second communication interface 310 also includes 3 types, i.e., an a-type second interface, a b-type second interface, and a c-type second interface. For this example, when a certain communication manager 400 is communicatively connected to the test apparatus 300, the interface connected to the a-type first interface is the a-type second interface, the interface connected to the b-type first interface is the b-type second interface, and the interface connected to the c-type first interface is the c-type second interface.
It should be noted that, when a communication manager 400 is communicatively connected to the testing apparatus 300, not all of the first communication interfaces 410 are correspondingly connected to all of the second communication interfaces 310; following the example given in the previous paragraph, when a communication manager 400 is communicatively connected to the testing device 300, only the a-type first interface may be correspondingly connected to the a-type second interface, only the b-type first interface may be correspondingly connected to the b-type second interface, or only the c-type first interface may be correspondingly connected to the c-type second interface; the first type a interface and the first type b interface can be correspondingly connected with the second type a interface and the second type b interface, or the first type b interface and the first type c interface can be correspondingly connected with the second type b interface and the second type c interface, or the first type a interface and the first type c interface can be correspondingly connected with the second type a interface and the second type c interface.
As can be seen from the above, the communication manager test equipment provided in the embodiment of the present application is actually used for testing at least one communication manager 400, and each communication manager 400 is communicatively connected to the test apparatus 300 through at least one first communication interface 410 and a corresponding second communication interface 310. Still following the example given above, assuming that the communication managers 400 include two communication managers 400, in practical applications, the a-type first interface and the b-type first interface of one of the communication managers 400 may be correspondingly connected to the a-type second interface and the b-type second interface of the testing apparatus 300, and the a-type first interface and the c-type first interface of the other communication manager 400 may be correspondingly connected to the a-type second interface and the c-type second interface of the testing apparatus 300, so as to implement the communication connection between the two communication managers 400 and the testing apparatus 300; since the a-type first interface is needed to be used when the two communication managers 400 are in communication connection with the testing apparatus 300, the testing apparatus 300 needs to provide two a-type second interfaces to form a connection relationship with the a-type first interfaces of the two communication managers 400, which means that the number of the same second communication interfaces 310 in the testing apparatus 300 is actually positively correlated with the number of the communication managers 400 and the number of the corresponding first communication interfaces 410 in each communication manager 400.
It should be understood that, in the embodiment of the present application, the type of the first communication interface 410, the type of the second communication interface 310, the number of each first communication interface 410 and the number of each second communication interface 310, and the type and the number of the first communication interface 410 and the second communication interface 310 used when the communication manager 400 is in communication connection with the testing device 300 are not limited uniquely; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application.
In the embodiment of the present application, the control terminal 100, the switch 200, and the testing apparatus 300 having the plurality of second communication interfaces 310 form a testing device of the communication manager; the control terminal 100 is communicatively connected to the switch 200, the switch 200 is communicatively connected to the testing device 300 and the communication managers 400, the plurality of second communication interfaces 310 of the testing device 300 correspond to the plurality of first communication interfaces 410 of the communication managers 400, and each communication manager 400 is communicatively connected to the testing device 300 through at least one first communication interface 410 and the corresponding second communication interface 310. Based on this, when at least one communication manager 400 needs to be tested, the control terminal 100 transmits a test command to the test apparatus 300 through the switch 200, and the test apparatus 300 performs two pairs of tests on the second communication interface 310 and the corresponding first communication interface 410 according to the test command to obtain a test result, and transmits the test result to the control terminal 100; or, the control terminal 100 transmits the test command to the communication manager 400 through the switch 200, and the communication manager 400 performs two pairs of tests on the first communication interface 410 and the corresponding second communication interface 310 according to the test command to obtain a test result, and transmits the test result to the control terminal 100; it is understood that the first communication interface 410 for performing two pairs of tests is located at each communication manager 400, and the second communication interface 310 for performing two pairs of tests is located at the testing apparatus 300. Therefore, in the embodiment of the present application, through the test equipment of the communication managers, which is composed of the control terminal 100, the switch 200 and the test device 300, simultaneous and automatic testing of a plurality of communication managers 400 is realized, and a tester does not need to stay in a test site, so that the test efficiency of the communication managers 400 during testing is effectively improved, and the labor cost is greatly reduced.
For one embodiment, the first communication interface 410 may include a first combination interface, and the second communication interface 310 may include a second combination interface; the first combined interface and the second combined interface both have a plurality of interface modes, and the plurality of interface modes can include but are not limited to at least two of an RS485 interface mode, an RS422 interface mode and an RS232 interface mode; at this time, each of the communication managers 400 is communicatively connected to the testing device 300 through at least one first combined interface and a corresponding second combined interface. Here, it should be noted that, when in the RS485 interface mode, the first combined interface and the second combined interface both communicate through the RS485 serial port; when the first combined interface and the second combined interface are in the RS422 interface mode, the first combined interface and the second combined interface are communicated through the RS422 serial port; when the device is in the RS232 interface mode, the first combined interface and the second combined interface are communicated through the RS232 serial port.
For this embodiment, the control terminal 100 may be configured to transmit a switch command to the test apparatus 300 through the switch 200; the testing apparatus 300 may be configured to switch the interface mode of the second combined interface to be suitable for the corresponding first combined interface according to the switching command, obtain a switching result, and transmit the switching result to the control terminal 100; the control terminal 100 may be further configured to transmit a test command to the communication manager 400 through the switch 200 when the switching result is that the switching is successful; the communication manager 400 may be configured to trigger the first combination interface to transmit test data to the corresponding second combination interface according to the test command, receive feedback data returned by the second combination interface, obtain a test result according to the feedback data, and transmit the test result to the control terminal 100. When the test data transmitted by the first combination interface to the corresponding second combination interface is the same as the feedback data returned by the second combination interface, it is characterized that the communication function between the first combination interface and the corresponding second combination interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data that the communication function between the first combination interface and the corresponding second combination interface is normal.
For one embodiment, the first communication interface 410 may include a first WiFi interface and the second communication interface 310 may correspondingly include a second WiFi interface. At this time, each communication manager 400 is wirelessly connected to the testing device 300 through at least one first WiFi interface and a corresponding second WiFi interface.
For this embodiment, when the control terminal 100 transmits the test command to the communication manager 400 through the switch 200, the communication manager 400 may be configured to trigger the first WiFi interface to transmit the test data to the corresponding second WiFi interface according to the test command, receive the feedback data returned by the second WiFi interface, obtain the test result according to the feedback data, and transmit the test result to the control terminal 100. Similarly, when the test data transmitted by the first WiFi interface to the corresponding second WiFi interface is the same as the feedback data returned by the second WiFi interface, it represents that the communication function between the first WiFi interface and the corresponding second WiFi interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data that the communication function between the first WiFi interface and the corresponding second WiFi interface is normal.
For one embodiment, the first communication interface 410 may include a first CAN interface and the second communication interface 310 may correspondingly include a second CAN interface. At this time, each of the communication managers 400 is communicatively connected to the test device 300 through at least one first CAN interface and a corresponding second CAN interface.
For this embodiment, when the control terminal 100 transmits a test command to the test apparatus 300 through the switch 200, the test apparatus 300 may be configured to trigger the second CAN interface to transmit test data to the corresponding first CAN interface according to the test command, receive feedback data returned by the first CAN interface, obtain a test result according to the feedback data, and transmit the test result to the control terminal 100. Similarly, when the test data transmitted by the second CAN interface to the corresponding first CAN interface is the same as the feedback data returned by the first CAN interface, it represents that the communication function between the second CAN interface and the corresponding first CAN interface is normal, that is, the test result obtained by the test device 300 according to the feedback data is that the communication function between the second CAN interface and the corresponding first CAN interface is normal.
It should be understood that the above-mentioned embodiments are only preferred implementations of the present application, and are not the only limitations of the present application on the specific applications of the first communication interface 410 and the second communication interface 310, and the specific ways of two pairs of measurements between the first communication interface 410 and the corresponding second communication interface 310; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application. In addition, after receiving the test result, the control terminal 100 may store the received test result for the tester to check and analyze at any time.
In some embodiments, please further refer to fig. 2, wherein fig. 2 is a second block diagram of a testing apparatus of a communication manager according to an embodiment of the present disclosure. As can be seen from fig. 2, the testing apparatus for a communication manager provided in the embodiment of the present application may further include a switch device 500; wherein the switch gear 500 has at least one relay 510, the switch gear 500 is communicatively coupled to the switch 200 and to the communication manager 400 via the relay 510. At this time, the switch 200 is used not only to implement data interaction between the control terminal 100 and the test device 300, and data interaction between the control terminal 100 and the communication manager 400, but also to implement data interaction between the control terminal 100 and the switching device 500.
For this embodiment, the relay 510 may include one or more. Specifically, the number of relays 510 depends on the number of communication managers 400, i.e., the number of relays 510 is the same as the number of communication managers 400, or each communication manager 400 is communicatively connected to the switching device 500 through one relay 510.
For this embodiment, the control terminal 100 may be configured to transmit a power-on command to the switching device 500 through the switch 200 before transmitting a test command to the test device 300 or the communication manager 400 through the switch 200; the switch device 500 may be used to trigger the relay 510 to power up the power source of the corresponding communication manager 400 according to the power-up command. And, the control terminal 100 may be further configured to transmit a power-off command to the switching device 500 through the switch 200 after receiving the test result; the switch device 500 can also be used to trigger the relay 510 to power down the power supply of the corresponding communication manager 400 according to the power-down command. It can be understood that, when testing the communication manager 400, the power supply of the communication manager 400 needs to be powered on through the switch device 500, so as to ensure the smooth performance of the test; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be cut off through the switching device 500, so that unnecessary power consumption can be avoided.
Here, it should be noted that, when the communication managers 400 and the relays 510 include a plurality of relays, the switch device 500 may trigger one relay 510 to power on/off the power supply of the corresponding communication manager 400 according to the power-on/power-off command, and a preset time period, for example, 5s, may be set between when the switch device 500 triggers the next relay 510 to power on/off the power supply of the corresponding communication manager 400 according to the power-on/power-off command, so as to avoid a test process disorder caused when the switch device 500 simultaneously triggers the plurality of relays 510 to power on/off the power supplies of the corresponding communication managers 400 according to the power-on/power-off command, thereby ensuring the accuracy of the test result.
Referring to fig. 3, fig. 3 is a first flowchart illustrating a testing method of a testing apparatus of a communication manager according to an embodiment of the present disclosure.
As shown in fig. 3, an embodiment of the present application further provides a testing method for a testing device of a communication manager, which is applied to the testing device of the communication manager provided in the embodiment of the present application; the test method of the communication manager test equipment comprises the following steps 301 to 302.
Step 301, the control terminal transmits a test command to the test device through the switch.
In the embodiment of the present application, when the communication manager 400 needs to be tested, the control terminal 100 first transmits a test command to the testing apparatus 300 through the switch 200.
And step 302, the testing device performs two pairs of tests on the second communication interface and the corresponding first communication interface according to the test command to obtain a test result, and transmits the test result to the control terminal.
In the embodiment of the present invention, after the test device 300 receives the test command, two pairs of tests are performed on the second communication interface 310 and the corresponding first communication interface 410 according to the test command to obtain a test result, and the test result is transmitted to the control terminal 100. Optionally, after receiving the test result, the control terminal 100 stores the received test result, so that the tester can check and analyze the test result at any time.
For one embodiment, when the first communication interface 410 includes a first CAN interface and the second communication interface 310 includes a second CAN interface, step 302 may include: the testing device 300 triggers the second CAN interface to transmit the test data to the corresponding first CAN interface according to the test command, receives the feedback data returned by the first CAN interface, obtains the test result according to the feedback data, and transmits the test result to the control terminal 100.
For this embodiment, when the test data transmitted by the second CAN interface to the corresponding first CAN interface is the same as the feedback data returned by the first CAN interface, it represents that the communication function between the second CAN interface and the corresponding first CAN interface is normal, that is, the test result obtained by the test apparatus 300 according to the feedback data is that the communication function between the second CAN interface and the corresponding first CAN interface is normal.
It should be understood that the foregoing embodiment is only a preferred implementation of the present application, and is not the only limitation of the present application to the specific implementation of the first communication interface 410 and the second communication interface 310 and the specific flow of step 302; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application.
In some embodiments, when the testing apparatus for a communications manager provided by the embodiment of the present application includes the switch device 500, step 301 may further include: the control terminal 100 transmits a power-on command to the switching device 500 through the switch 200; the switching device 500 triggers the relay 510 to power up the power source of the corresponding communication manager 400 according to the power-up command. Step 302 may also be followed by: the control terminal 100 transmits a power-off command to the switching device 500 through the switch 200; the switching device 500 triggers the relay 510 to cut off the power of the corresponding communication manager 400 according to the power-off command.
For this embodiment, when testing the communication manager 400, the power supply of the communication manager 400 needs to be powered up through the switch device 500, so as to ensure the smooth performance of the test; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be cut off through the switching device 500, so that unnecessary power consumption can be avoided.
Referring to fig. 4, fig. 4 is a second flowchart illustrating a testing method of a testing apparatus of a communication manager according to an embodiment of the present disclosure.
As shown in fig. 4, an embodiment of the present application further provides another testing method for a testing device of a communication manager, which is also applied to the testing device of the communication manager provided in the embodiment of the present application; the test method of the communication manager test equipment comprises the following steps 401 to 402.
Step 401, the control terminal transmits a test command to the communication manager through the switch.
In the embodiment of the present application, when the communication manager 400 needs to be tested, the control terminal 100 first transmits a test command to the communication manager 400 through the switch 200.
And step 402, the communication manager performs two pairs of tests on the first communication interface and the corresponding second communication interface according to the test command to obtain a test result, and transmits the test result to the control terminal.
In the embodiment of the present application, after receiving the test command, the communication manager 400 performs two pairs of tests on the first communication interface 410 and the corresponding second communication interface 310 according to the test command to obtain a test result, and transmits the test result to the control terminal 100. Optionally, after receiving the test result, the control terminal 100 stores the received test result, so that the tester can check and analyze the test result at any time.
As an embodiment, when the first communication interface 410 includes a first combination interface and the second communication interface 310 includes a second combination interface, step 301 may include: the control terminal 100 transmits a switching command to the test apparatus 300 through the switch 200; the testing device 300 switches the interface mode of the second combined interface to be suitable for the corresponding first combined interface according to the switching command to obtain a switching result, and transmits the switching result to the control terminal 100; when the switching result is successful, the control terminal 100 transmits a test command to the communication manager 400 through the switch 200. Step 302 may include: the communication manager 400 triggers the first combination interface to transmit the test data to the corresponding second combination interface according to the test command, receives the feedback data returned by the second combination interface, obtains the test result according to the feedback data, and transmits the test result to the control terminal 100.
For this embodiment, when the test data transmitted by the first combination interface to the corresponding second combination interface is the same as the feedback data returned by the second combination interface, it is characterized that the communication function between the first combination interface and the corresponding second combination interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data that the communication function between the first combination interface and the corresponding second combination interface is normal.
As an embodiment, when the first communication interface 410 includes a first WiFi interface and the second communication interface 310 includes a second WiFi interface, step 402 may include: the communication manager 400 triggers the first WiFi interface to transmit the test data to the corresponding second WiFi interface according to the test command, receives the feedback data returned by the second WiFi interface, obtains the test result according to the feedback data, and transmits the test result to the control terminal 100.
For this embodiment, when the test data transmitted by the first WiFi interface to the corresponding second WiFi interface is the same as the feedback data returned by the second WiFi interface, it represents that the communication function between the first WiFi interface and the corresponding second WiFi interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data as that the communication function between the first WiFi interface and the corresponding second WiFi interface is normal.
It should be understood that the foregoing embodiment is only a preferred implementation of the present application, and is not the only limitation of the specific application of the first communication interface 410 and the second communication interface 310 and the specific flow of steps 401 and 402 in the present application; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application.
In some embodiments, when the testing apparatus for a communications manager provided in this embodiment of the present application includes the switch device 500, step 401 may further include: the control terminal 100 transmits a power-on command to the switching device 500 through the switch 200; the switching device 500 triggers the relay 510 to power up the power source of the corresponding communication manager 400 according to the power-up command. Step 402 may be followed by: the control terminal 100 transmits a power-off command to the switching device 500 through the switch 200; the switching device 500 triggers the relay 510 to cut off the power of the corresponding communication manager 400 according to the power-off command.
For this embodiment, when testing the communication manager 400, the power supply of the communication manager 400 needs to be powered up through the switch device 500, so as to ensure the smooth performance of the test; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be cut off through the switching device 500, so that unnecessary power consumption can be avoided.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
It should be noted that, the embodiments in the present disclosure are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the method class embodiment, since it is similar to the product class embodiment, the description is simple, and the relevant points can be referred to the partial description of the product class embodiment.
It is further noted that, within the context of this application, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The communication manager test equipment is used for testing at least one communication manager, and the communication manager is provided with a plurality of first communication interfaces;
the communication manager test equipment comprises a control terminal, a switch and a test device; the control terminal is in communication connection with the switch, the switch is in communication connection with the test device and the communication managers, the test device is provided with a plurality of second communication interfaces, the plurality of second communication interfaces correspond to the plurality of first communication interfaces, and each communication manager is in communication connection with the test device through at least one first communication interface and the corresponding second communication interface;
the control terminal is used for transmitting a test command to the test device through the switch; the test device is used for carrying out two-pair test on the second communication interface and the corresponding first communication interface according to the test command to obtain a test result, and transmitting the test result to the control terminal;
or, the control terminal is used for transmitting a test command to the communication manager through the switch; the communication manager is used for carrying out two-pair testing on the first communication interface and the corresponding second communication interface according to the testing command to obtain a testing result, and transmitting the testing result to the control terminal.
2. The commumcation supervisor test device as in claim 1 wherein the first communication interface comprises a first combination interface and the second communication interface comprises a second combination interface, the first combination interface and the second combination interface each having a plurality of interface modes including at least two of an RS485 interface mode, an RS422 interface mode and an RS232 interface mode; each communication manager is in communication connection with the test device through at least one first combined interface and the corresponding second combined interface;
the control terminal is specifically configured to transmit a switching command to the test apparatus through the switch; the testing device is specifically configured to switch an interface mode of the second combined interface to be adapted to the corresponding first combined interface according to the switching command, obtain a switching result, and transmit the switching result to the control terminal; the control terminal is specifically used for transmitting the test command to the communication manager through the switch when the switching result is that the switching is successful;
the communication manager is used for triggering the first combined interface to transmit test data to the corresponding second combined interface according to the test command, receiving feedback data returned by the second combined interface, obtaining the test result according to the feedback data, and transmitting the test result to the control terminal.
3. The communications manager test device of claim 1, wherein said first communications interface comprises a first WiFi interface and said second communications interface comprises a second WiFi interface; each communication management machine is in communication connection with the test device through at least one first WiFi interface and the corresponding second WiFi interface;
when the control terminal transmits the test command to the communication manager through the switch, the communication manager is used for triggering the first WiFi interface to transmit test data to the corresponding second WiFi interface according to the test command, receiving feedback data returned by the second WiFi interface, obtaining the test result according to the feedback data, and transmitting the test result to the control terminal.
4. The communications manager test device of claim 1, wherein said first communications interface comprises a first CAN interface and said second communications interface comprises a second CAN interface; each communication manager is in communication connection with the test device through at least one first CAN interface and the corresponding second CAN interface;
when the control terminal transmits the test command to the test device through the switch, the test device is specifically configured to trigger the second CAN interface to transmit test data to the corresponding first CAN interface according to the test command, receive feedback data returned by the first CAN interface, obtain the test result according to the feedback data, and transmit the test result to the control terminal.
5. The communications manager test device of claim 1, further comprising a switching device having at least one relay, the switching device communicatively coupled to the switch and to the communications manager via the relay; each communication manager is in communication connection with the switch device through one relay;
the control terminal is further used for transmitting a power-on command to the switch device through the switch before transmitting the test command to the test device or the communication manager through the switch; the switch device is used for triggering the relay to electrify the power supply of the corresponding communication manager according to the electrifying command;
the control terminal is also used for transmitting a power-off command to the switch device through the switch after receiving the test result; the switching device is also used for triggering the relay to cut off the power supply of the corresponding communication management machine according to the power-off command.
6. The test method of the communication manager test equipment is characterized by being applied to the communication manager test equipment, wherein the communication manager test equipment is used for testing at least one communication manager, and the communication manager is provided with a plurality of first communication interfaces;
the communication manager test equipment comprises a control terminal, a switch and a test device; the control terminal is in communication connection with the switch, the switch is in communication connection with the test device and the communication managers, the test device is provided with a plurality of second communication interfaces, the plurality of second communication interfaces correspond to the plurality of first communication interfaces, and each communication manager is in communication connection with the test device through at least one first communication interface and the corresponding second communication interface;
the test method of the communication manager test equipment comprises the following steps:
the control terminal transmits a test command to the test device through the switch;
the testing device carries out two-pair testing on the second communication interface and the corresponding first communication interface according to the testing command to obtain a testing result, and transmits the testing result to the control terminal;
or, the control terminal transmits a test command to the communication manager through the switch;
and the communication manager carries out two-pair testing on the first communication interface and the corresponding second communication interface according to the testing command to obtain a testing result, and transmits the testing result to the control terminal.
7. The method of claim 6, wherein the first communication interface comprises a first combination interface, the second communication interface comprises a second combination interface, and the first combination interface and the second combination interface each have a plurality of interface modes, wherein the plurality of interface modes comprise at least two of an RS485 interface mode, an RS422 interface mode, and an RS232 interface mode; each communication manager is in communication connection with the test device through at least one first combined interface and the corresponding second combined interface;
the control terminal transmits a test command to the communication manager through the switch, and the test command comprises:
the control terminal transmits a switching command to the testing device through the switch;
the testing device switches the interface mode of the second combined interface to be suitable for the corresponding first combined interface according to the switching command to obtain a switching result, and transmits the switching result to the control terminal;
when the switching result is successful, the control terminal transmits a test command to the communication manager through the switch;
the communication manager carries out two pairs of tests on the first communication interface and the corresponding second communication interface according to the test command to obtain a test result, and transmits the test result to the control terminal, and the method comprises the following steps:
and the communication manager triggers the first combined interface to transmit test data to the corresponding second combined interface according to the test command, receives feedback data returned by the second combined interface, obtains a test result according to the feedback data, and transmits the test result to the control terminal.
8. The method of claim 6, wherein the first communication interface comprises a first WiFi interface and the second communication interface comprises a second WiFi interface; each communication management machine is in communication connection with the test device through at least one first WiFi interface and the corresponding second WiFi interface;
the communication manager carries out two pairs of tests on the first communication interface and the corresponding second communication interface according to the test command to obtain a test result, and transmits the test result to the control terminal, and the method comprises the following steps:
the communication management machine triggers the first WiFi interface to transmit test data to the corresponding second WiFi interface according to the test command, receives feedback data returned by the second WiFi interface, obtains a test result according to the feedback data, and transmits the test result to the control terminal.
9. The method of claim 6, wherein the first communication interface comprises a first CAN interface and the second communication interface comprises a second CAN interface; each communication manager is in communication connection with the test device through at least one first CAN interface and the corresponding second CAN interface;
the testing device performs two pairs of tests on the second communication interface and the corresponding first communication interface according to the test command to obtain a test result, and transmits the test result to the control terminal, and the testing device comprises:
the testing device triggers the second CAN interface to transmit testing data to the corresponding first CAN interface according to the testing command, receives feedback data returned by the first CAN interface, obtains a testing result according to the feedback data, and transmits the testing result to the control terminal.
10. The method of claim 6, wherein the communication manager test equipment further comprises a switching device having at least one relay, the switching device communicatively coupled to the switch and to the communication manager via the relay; each communication manager is in communication connection with the switch device through one relay;
before the control terminal transmits the test command to the testing device through the switch, or before the control terminal transmits the test command to the communication manager through the switch, the method further comprises:
the control terminal transmits a power-on command to the switch device through the switch;
the switch device triggers the relay to electrify the power supply of the corresponding communication manager according to the electrifying command;
after the transmitting the test result to the control terminal, the method further includes:
the control terminal transmits a power-off command to the switching device through the switch;
and the switching device triggers the relay to cut off the power supply of the corresponding communication management machine according to the power-off command.
CN202111274170.5A 2021-10-29 Communication manager testing equipment and testing method thereof Active CN114089086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274170.5A CN114089086B (en) 2021-10-29 Communication manager testing equipment and testing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274170.5A CN114089086B (en) 2021-10-29 Communication manager testing equipment and testing method thereof

Publications (2)

Publication Number Publication Date
CN114089086A true CN114089086A (en) 2022-02-25
CN114089086B CN114089086B (en) 2024-05-14

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110051A (en) * 2006-07-17 2008-01-23 中兴通讯股份有限公司 Test approach for debugging serial port function with single board and system thereof
CN203984445U (en) * 2014-07-02 2014-12-03 北京东润环能科技股份有限公司 A kind of debug system that is applied to communication manager
CN107204893A (en) * 2017-05-11 2017-09-26 南京南瑞继保电气有限公司 A kind of Ethernet switch high-volume whole-machine test method and system
US20170276702A1 (en) * 2016-03-23 2017-09-28 Cooper Technologies Company Adapters For Testing Electrical Equipment
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN111045967A (en) * 2019-10-12 2020-04-21 深圳市康必达控制技术有限公司 Automatic test switching circuit for serial port of communication manager
CN111224835A (en) * 2019-11-20 2020-06-02 深圳市康必达中创科技有限公司 Automatic switching method, device and system for serial port communication modes
CN111679241A (en) * 2020-05-31 2020-09-18 宁夏隆基宁光仪表股份有限公司 Multi-information-channel automatic switching system and method for electric energy meter verification assembly line

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110051A (en) * 2006-07-17 2008-01-23 中兴通讯股份有限公司 Test approach for debugging serial port function with single board and system thereof
CN203984445U (en) * 2014-07-02 2014-12-03 北京东润环能科技股份有限公司 A kind of debug system that is applied to communication manager
US20170276702A1 (en) * 2016-03-23 2017-09-28 Cooper Technologies Company Adapters For Testing Electrical Equipment
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN107204893A (en) * 2017-05-11 2017-09-26 南京南瑞继保电气有限公司 A kind of Ethernet switch high-volume whole-machine test method and system
CN111045967A (en) * 2019-10-12 2020-04-21 深圳市康必达控制技术有限公司 Automatic test switching circuit for serial port of communication manager
CN111224835A (en) * 2019-11-20 2020-06-02 深圳市康必达中创科技有限公司 Automatic switching method, device and system for serial port communication modes
CN111679241A (en) * 2020-05-31 2020-09-18 宁夏隆基宁光仪表股份有限公司 Multi-information-channel automatic switching system and method for electric energy meter verification assembly line

Similar Documents

Publication Publication Date Title
CN110429708B (en) Method and system for realizing plug and play of power distribution equipment
EP1233538A2 (en) Power line communications system
US20160299482A1 (en) Automatic inspection and monitoring method based on time domain slotting control
CN105306318A (en) Intelligent scene configuration method and device and server
CN104834602A (en) Program issuing method, device and system
CN110867956A (en) Topology automatic identification system and method based on intelligent platform area
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN113407469B (en) Parameter configuration method and device, storage medium and electronic device
CN110839089A (en) Server positioning method, system, electronic equipment and storage medium
CN109274561B (en) Method and device for determining gateway role
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
CN109388552B (en) Method and device for determining duration of starting application program and storage medium
CN114089086A (en) Communication manager test equipment and test method thereof
CN114089086B (en) Communication manager testing equipment and testing method thereof
CN115437865A (en) Method, device, equipment and medium for testing abnormal power failure of hard disk
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN112992142B (en) Voice message reply method, device, equipment and medium
CN111817820B (en) Equipment coding method and device and coding system based on two buses
CN109391328B (en) Switching method and system
CN109446027A (en) Scene triggering method and device based on bus system
CN114900429B (en) Equipment communication parameter configuration method and system
CN111130657B (en) Standing-wave ratio detection method, device, electronic equipment and storage medium
CN102025557A (en) Method and device for judging idle equipment port
CN117331762A (en) Test method, device, equipment and medium for link training of PCIe equipment
CN114924944A (en) Method, device and system for testing resource occupation boundary

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant