CN114089086B - Communication manager testing equipment and testing method thereof - Google Patents

Communication manager testing equipment and testing method thereof Download PDF

Info

Publication number
CN114089086B
CN114089086B CN202111274170.5A CN202111274170A CN114089086B CN 114089086 B CN114089086 B CN 114089086B CN 202111274170 A CN202111274170 A CN 202111274170A CN 114089086 B CN114089086 B CN 114089086B
Authority
CN
China
Prior art keywords
interface
communication
test
control terminal
command
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.)
Active
Application number
CN202111274170.5A
Other languages
Chinese (zh)
Other versions
CN114089086A (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
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

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a communication manager test device and a test method thereof. The test equipment is used for testing at least one communication manager with multiple first communication interfaces, and comprises a control terminal, an exchanger and a test device with multiple second communication interfaces, wherein the multiple second communication interfaces correspond to the multiple 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, and the test device is used for carrying out pairwise measurement on the second communication interface and the corresponding first communication interface according to the test command; or the control terminal is used for transmitting the test command to the communication manager through the switch, and the communication manager is used for carrying out pairwise measurement on the first communication interface and the corresponding second communication interface according to the test command. The application can effectively improve the testing efficiency when testing the communication manager.

Description

Communication manager testing equipment and testing method thereof
[ Field of technology ]
The application relates to the technical field of communication equipment, in particular to communication manager test equipment and a test method thereof.
[ Background Art ]
The communication management machine is used as a core product of a communication layer and is generally used for collecting, processing and communicating industrial data, and the working process of the communication management machine is as follows: firstly, collecting data of a lower terminal; processing the collected data, such as summarizing, protocol conversion, logic processing and the like; and finally, transmitting the processed data to a superior server. The communication manager typically has various communication interfaces, such as RS485 serial port, RS422 serial port, RS232 serial port, ethernet interface, RTC (Real Time Clock) interface, CAN (Controller Area Network ) interface, WIFI (wireless communication technology) interface, USB (Universal Serial Bus ) interface, SDRAM (Synchronous Dynamic Random-Access Memory), DI (DIGITAL IN, digital Out) interface, DO (Digital Out) interface, and the like.
In the related art, in order to ensure the normal use of the communication management machines, each communication management machine needs to be tested before leaving the factory, specifically, the corresponding functions of each communication interface of the communication management machine are tested in a manual mode, and a tester can only test one communication management machine at a time. The test method can not automatically realize simultaneous test of a plurality of communication managers, and a tester can not leave a test site during test, so that the test efficiency of the communication manager is lower and the labor cost is higher.
Therefore, it is necessary to design the test equipment of the communication manager.
[ Invention ]
The application provides a communication manager test device and a test method thereof, which aim to solve the problems of lower test efficiency and higher labor cost when a communication manager is tested in the related technology.
In order to solve the above technical problems, a first aspect of the embodiments of the present application provides a communication manager testing device, configured to test at least one communication manager, where the communication manager has 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 testing device and the communication manager, the testing 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 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; the testing device is used for carrying out pairwise measurement on the second communication interface and the corresponding first communication interface according to the testing command to obtain a testing result, and transmitting the testing result to the control terminal;
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 pairwise measurement on the first communication interface and the corresponding second communication interface according to the test command to obtain a test result, and transmitting the test result to the control terminal.
The second aspect of the embodiment of the application provides a testing method of a communication manager testing device, which is applied to the communication manager testing device of the first aspect of the embodiment of the application; 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 performs pairwise measurement 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 pairwise pair measurement 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.
As can be seen from the above description, the present application has the following advantageous effects compared with the related art:
The communication manager test equipment is formed by a control terminal, an exchanger and a test device with a plurality of 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 management machine, a plurality of second communication interfaces of the testing device correspond to a plurality of first communication interfaces of the communication management machine, and each communication management machine is in communication connection with the testing device through at least one first communication interface and a corresponding second communication interface. Based on the above, when at least one communication manager needs to be tested, the control terminal transmits a test command to the test device through the switch, the test device performs two-by-two pair testing on the second communication interface and the corresponding first communication interface according to the test command, and transmits the obtained test result to the control terminal; or the control terminal transmits a test command to the communication management machine through the switch, the communication management machine carries out two-by-two pair measurement on the first communication interface and the corresponding second communication interface according to the test command, and the obtained test result is transmitted to the control terminal; it can be understood that the first communication interfaces for performing the two-by-two pair measurement are respectively located in each communication manager, and the second communication interfaces for performing the two-by-two pair measurement are both located in the testing device. Therefore, the application realizes simultaneous and automatic test of a plurality of communication managers through the communication manager test equipment consisting of the control terminal, the switch and the test device, and does not need a tester to reside in a test site, thereby effectively improving the test efficiency when testing the communication manager and greatly reducing the labor cost.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the related art or embodiments of the present application, the drawings that are needed in the description of the related art or embodiments of the present application will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, but not all embodiments, and that other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a block diagram of a first module of a test device of a communication manager according to an embodiment of the present application;
FIG. 2 is a block diagram of a second module of a test device of a communication manager according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a first test method of a communication manager test device according to an embodiment of the present application;
Fig. 4 is a schematic flow chart of a second test method of a communication manager test device according to an embodiment of the present application.
[ Detailed description ] of the invention
In order to make the objects, technical solutions and advantages of the present application more obvious and understandable, the present application will be clearly and completely described below with reference to 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 following embodiments of the present application are only for explaining the present application and are not intended to limit the present application, that is, all other embodiments obtained by persons skilled in the art without making any inventive effort based on the embodiments of the present application are within the scope of protection of the present application. Furthermore, the technical features referred to in the embodiments of the present application described below may be combined with each other as long as they do not make a conflict with each other.
In the related art, in order to ensure the normal use of the communication management machines, each communication management machine needs to be tested before leaving the factory, specifically, the corresponding functions of each communication interface of the communication management machine are tested in a manual mode, and a tester can only test one communication management machine at a time. The test method can not automatically realize simultaneous test of a plurality of communication managers, and a tester can not leave a test site during test, so that the test efficiency of the communication manager is lower and the labor cost is higher. Therefore, the embodiment of the application provides the communication manager test equipment.
Referring to fig. 1, fig. 1 is a block diagram of a first module of a test device of a communication manager according to an embodiment of the application. As can be seen from fig. 1, the communication manager test device provided in the embodiment of the present application is used for testing the communication manager 400, and the communication manager 400 has a plurality of first communication interfaces 410; the communication manager test equipment 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 among the control terminal 100, the switch 200, and the test device 300 may be in the form of ethernet.
Specifically, the control terminal 100 is configured to transmit a test command to the test device 300 through the switch 200; the testing device 300 is configured to perform two-by-two pair testing on the second communication interface 310 and the corresponding first communication interface 410 according to the testing command, obtain a testing result, and transmit the testing result to the control terminal 100. Or the control terminal 100 is used for transmitting a test command to the communication manager 400 through the switch 200; the communication manager 400 is configured to perform two-by-two pair measurement on the first communication interface 410 and the corresponding second communication interface 310 according to the test command, obtain a test result, and transmit the test result to the control terminal 100. In addition, the test program and the related program inside the communication manager 400 may be downloaded, updated and updated through the control terminal 100.
In the embodiment of the present application, the switch 200 plays a role in data interaction, and is mainly used for implementing data interaction between different IP (Internet Protocol ) network segments. The control terminal 100, the testing device 300 and the communication manager 400 are connected with the switch 200 through ethernet interfaces, respectively, so as to realize data interaction between the control terminal 100 and the testing 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 device 300, and the communication manager 400 all need to have at least one ethernet interface.
In the embodiment of the present application, the communication manager 400 may include one or a plurality of communication managers; each communication manager 400 may include one or more first communication interfaces 410; in the test apparatus 300, the same type of second communication interface 310 may include one or a plurality of second communication interfaces; when any one of the communication managers 400 is communicatively connected to the test device 300, the first communication interface 410 of the communication manager 400 and the corresponding second communication interface 310 of the test device 300 need to have a corresponding relationship in kind. In addition, the aforementioned "the plurality of second communication interfaces 310 correspond to the plurality of first communication interfaces 410" can be understood as follows: assuming that the first communication interface 410 includes 3 types, namely, 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, namely, 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 device 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.
Here, it is necessary to describe that when a certain communication manager 400 is communicatively connected to the test device 300, not all the first communication interfaces 410 are correspondingly connected to all the second communication interfaces 310; in the example given in the previous paragraph, when a certain communication manager 400 is communicatively connected to the test 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 interface of the type a and the first interface of the type b are correspondingly connected with the second interface of the type a and the second interface of the type b, or the first interface of the type b and the first interface of the type c are correspondingly connected with the second interface of the type b and the second interface of the type c, or the first interface of the type a and the first interface of the type c are correspondingly connected with the second interface of the type a and the second interface of the type c.
As can be seen from the above, the communication manager test device provided in the embodiments 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 device 300 through at least one first communication interface 410 and a corresponding second communication interface 310. Still taking the example given above, and assuming that the communication manager 400 includes two interfaces, in practical applications, the a-type first interface and the b-type first interface of one communication manager 400 may be correspondingly connected to the a-type second interface and the b-type second interface of the test device 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 test device 300, so as to implement communication connection between the two communication managers 400 and the test device 300; since the two communication managers 400 need to use the a-type first interfaces when in communication connection with the testing device 300, the testing device 300 needs to set two a-type second interfaces to form connection relation with the a-type first interfaces of the two communication managers 400, which means that the number of identical second communication interfaces 310 in the testing device 300 is actually directly related to the number of communication managers 400 and the number of 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, the number of each second communication interface 310, and the type and number of the first communication interface 410 and the second communication interface 310 used when the communication manager 400 is communicatively connected to the testing device 300 are not limited; in this regard, those skilled in the art may flexibly set according to the actual application scenario on the basis of the embodiment of the present application.
The embodiment of the application forms a communication manager test device through the control terminal 100, the switch 200 and the test device 300 with a plurality of second communication interfaces 310; 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 plurality of second communication interfaces 310 of the testing device 300 correspond to the plurality of first communication interfaces 410 of the communication manager 400, and each communication manager 400 is communicatively connected to the testing device 300 through at least one first communication interface 410 and a corresponding second communication interface 310. Based on this, when at least one communication manager 400 needs to be tested, the control terminal 100 will transmit a test command to the test device 300 through the switch 200, the test device 300 will perform two-by-two pair testing on the second communication interface 310 and the corresponding first communication interface 410 according to the test command, so as to obtain a test result, and transmit the test result to the control terminal 100; or the control terminal 100 transmits a test command to the communication manager 400 through the switch 200, and the communication manager 400 performs two-by-two pair measurement 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 can be understood that the first communication interfaces 410 for performing the two-by-two pair measurement are respectively located in each communication manager 400, and the second communication interfaces 310 for performing the two-by-two pair measurement are both located in the testing device 300. Therefore, the embodiment of the application realizes simultaneous and automatic testing of a plurality of communication managers 400 through the communication manager testing equipment consisting of the control terminal 100, the switch 200 and the testing device 300, and does not need a tester to reside in a testing site, thereby effectively improving the testing efficiency when testing the communication manager 400 and greatly reducing the labor cost.
As an embodiment, the first communication interface 410 may include a first combined interface, and the second communication interface 310 may correspondingly include a second combined interface; wherein the first combined interface and the second combined interface each have a plurality of interface modes, which may 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 communication manager 400 is communicatively connected to the test device 300 through at least one first combined interface and a corresponding second combined interface. Here, it is necessary to explain that, when in the RS485 interface mode, the first combined interface and the second combined interface communicate through the RS485 serial port; when in the RS422 interface mode, the first combined interface and the second combined interface are communicated through an RS422 serial port; when in the RS232 interface mode, the first combined interface and the second combined interface are communicated through an RS232 serial port.
For this embodiment, the control terminal 100 may be configured to transmit a switching command to the test device 300 through the switch 200; the test device 300 may be configured to switch the 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 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 combined interface to the corresponding second combined interface is the same as the feedback data returned by the second combined interface, the communication function between the first combined interface and the corresponding second combined interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data, which is that the communication function between the first combined interface and the corresponding second combined interface is normal.
As an 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 test device 300 through at least one first WiFi interface and a corresponding second WiFi interface.
For this embodiment, when the control terminal 100 transmits a 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 test data to the corresponding second WiFi interface according to the test command, receive feedback data returned by the second WiFi 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 first WiFi interface to the corresponding second WiFi interface is the same as the feedback data returned by the second WiFi interface, the communication function between the first WiFi interface and the corresponding second WiFi interface is represented to be normal, that is, the communication manager 400 obtains the test result according to the feedback data, that is, the communication function between the first WiFi interface and the corresponding second WiFi interface is normal.
As an 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 communication manager 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 device 300 through the switch 200, the test device 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, 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 foregoing implementation is merely a preferred implementation of the embodiment of the present application, and is not the only limitation of the specific implementation of the embodiment of the present application to the first communication interface 410 and the second communication interface 310, and the specific manner of pairwise measurement between the first communication interface 410 and the corresponding second communication interface 310; in this regard, those skilled in the art may flexibly set 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, fig. 2 is a block diagram of a second module of the communication manager testing device according to an embodiment of the present application. As can be seen from fig. 2, the communications supervisor testing apparatus provided in the embodiment of the present application may further include a switching device 500; the switching device 500 has at least one relay 510, and the switching device 500 is communicatively connected to the switch 200 and the communication manager 400 through 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 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 a plurality of relays. Specifically, the number of relays 510 depends on the number of communication managers 400, that is, the number of relays 510 is the same as the number of communication managers 400, or that is, 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 switching 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 switching device 500 may 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 the communication manager 400 is tested, the power supply of the communication manager 400 needs to be powered on by the switching device 500, so that the smooth performance of the test can be ensured; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be powered off by the switching device 500, so that unnecessary power consumption can be avoided.
Here, it is necessary to explain that, when the communication manager 400 and the relay 510 correspondingly include a plurality of relays, the switching device 500 triggers one relay 510 to power up/power down the power source of the corresponding communication manager 400 according to the power-up command/power-down command, and the switching device 500 triggers the next relay 510 to power up/power down the power source of the corresponding communication manager 400 according to the power-up command/power-down command, a predetermined time period, for example, 5s, may be spaced, so as to avoid a disorder of the test process caused when the switching device 500 simultaneously triggers the plurality of relays 510 to power up/power down the power sources of the corresponding plurality of communication managers 400 according to the power-up command/power-down command, thereby enabling to ensure the accuracy of the test result.
Referring to fig. 3, fig. 3 is a schematic flow chart of a testing method of a communication manager testing device according to an embodiment of the application.
As shown in fig. 3, the embodiment of the application also provides a testing method of the communication manager testing device, which is applied to the communication manager testing device provided by the embodiment of the 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 transmits a test command to the test device 300 through the switch 200.
And 302, the testing device performs pairwise pair measurement 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.
In the embodiment of the present application, after the testing device 300 receives the testing command, the second communication interface 310 and the corresponding first communication interface 410 are tested in pairs according to the testing command, so as to obtain a testing result, and the testing result is transmitted to the control terminal 100. Optionally, after receiving the test result, the control terminal 100 stores the received test result for the tester to check and analyze at any time.
As an embodiment, when the first communication interface 410 includes a first CAN interface and the second communication interface 310 includes a second CAN interface, the step 302 may include: the test device 300 triggers the second CAN interface to transmit test data to the corresponding first CAN interface according to the test command, receives feedback data returned by the first CAN interface, obtains a 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 is indicated 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 foregoing implementation is merely a preferred implementation of the embodiment of the present application, and is not the only limitation of the specific implementation of the first communication interface 410 and the second communication interface 310 and the specific flow of step 302 by the embodiment of the present application; in this regard, those skilled in the art may flexibly set according to the actual application scenario on the basis of the embodiment of the present application.
In some embodiments, when the communications manager test device provided in the embodiments of the present application includes the switching 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 supply of the corresponding communication manager 400 according to the power-up command. Step 302 may further include: 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 power off the power supply of the corresponding communication manager 400 according to the power-off command.
For this embodiment, when the communication manager 400 is tested, the power of the communication manager 400 needs to be powered on by the switching device 500, so that the smooth performance of the test can be ensured; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be powered off by the switching device 500, so that unnecessary power consumption can be avoided.
Referring to fig. 4, fig. 4 is a schematic flow chart of a second method for testing a communication manager testing device according to an embodiment of the application.
As shown in fig. 4, the embodiment of the present application further provides another test method for a test device of a communication manager, which is also applied to the test device of the communication manager provided by 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 transmits a test command to the communication manager 400 through the switch 200.
And step 402, the communication manager performs pairwise measurement 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 the communication manager 400 receives the test command, the first communication interface 410 and the corresponding second communication interface 310 are tested in pairs according to the test command, so as 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 for the tester to check and analyze at any time.
As an embodiment, when the first communication interface 410 includes a first combined interface and the second communication interface 310 includes a second combined interface, the step 301 may include: the control terminal 100 transmits a switching command to the test device 300 through the switch 200; the test 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, so as to obtain a switching result, and transmits the switching result to the control terminal 100; when the switching result is that the switching 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 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 100.
For this embodiment, when the test data transmitted by the first combined interface to the corresponding second combined interface is the same as the feedback data returned by the second combined interface, it is indicated that the communication function between the first combined interface and the corresponding second combined interface is normal, that is, the communication manager 400 obtains the test result according to the feedback data, which is that the communication function between the first combined interface and the corresponding second combined interface is normal.
For one embodiment, when the first communication interface 410 includes a first WiFi interface and the second communication interface 310 includes a second WiFi interface, the step 402 may include: the communication manager 400 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 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, the communication function between the first WiFi interface and the corresponding second WiFi interface is represented to be normal, that is, the communication manager 400 obtains the test result according to the feedback data, which is that the communication function between the first WiFi interface and the corresponding second WiFi interface is normal.
It should be understood that the foregoing implementation is merely a preferred implementation of the embodiment of the present application, and is not the only limitation of the specific implementation of the first communication interface 410 and the second communication interface 310 and the specific flow of the steps 401 and 402 by the embodiment of the present application; in this regard, those skilled in the art may flexibly set according to the actual application scenario on the basis of the embodiment of the present application.
In some embodiments, when the communications manager test device provided in the embodiments of the present application includes the switching device 500, the 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 supply of the corresponding communication manager 400 according to the power-up command. Step 402 may further include: 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 power off the power supply of the corresponding communication manager 400 according to the power-off command.
For this embodiment, when the communication manager 400 is tested, the power of the communication manager 400 needs to be powered on by the switching device 500, so that the smooth performance of the test can be ensured; when the test of the communication manager 400 is completed, the power of the communication manager 400 needs to be powered off by 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. The software modules may be disposed 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, it may be implemented in whole or in part 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 processes or functions in accordance with the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, 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 a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state disk Solid STATE DISK), etc.
It should be noted that, in the present disclosure, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the method class embodiment, since it is similar to the product class embodiment, the description is relatively simple, and the relevant points are referred to in the description of the product class embodiment.
It should also be noted that in the present disclosure, relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like 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 application. 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 (8)

1. The communication manager testing device is characterized by being used for testing a plurality of communication managers, wherein the communication manager is provided with a plurality of first communication interfaces;
The communication manager test equipment comprises a control terminal, an exchanger, a test device and a switch device with a plurality of relays, wherein the control terminal is in communication connection with the exchanger, the exchanger is in communication connection with the test device, the communication manager and the switch device, 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, each communication manager is in communication connection with the test device through at least one first communication interface and the corresponding second communication interface, and each communication manager is in communication connection with the switch device through one relay;
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 pairwise pair measurement 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, and the communication manager is used for carrying out pairwise measurement on the first communication interface and the corresponding second communication interface according to the test command to obtain a test result and transmitting the test result to the control terminal;
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, and the switch device is used for triggering the relay to power on a power supply of the corresponding communication manager according to the power-on command; the control terminal is further used for transmitting a power-off command to the switch device through the switch after receiving the test result, and the switch device is further used for triggering the relay to power off the power supply of the corresponding communication manager according to the power-off command; when the communication manager and the relay correspondingly comprise a plurality of communication controllers, the control terminal transmits the power-on command or the power-off command to the switch device through the switch twice in a preset time interval.
2. The communications manager test device of claim 1, wherein the first communications interface comprises a first combined interface, the second communications interface comprises a second combined interface, the first combined interface and the second combined interface each have a plurality of interface modes, the 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 testing device through at least one first combined interface and a corresponding second combined interface;
The control terminal is specifically configured to transmit a switching command to the test device through the switch; the testing device is specifically configured to switch the interface mode of the second combined interface to be adaptive 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 configured to transmit the test command to the communication manager through the switch when the switching result is that the switching is successful;
The communication manager is specifically 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 the test result according to the feedback data, and transmit the test result to the control terminal.
3. The communications manager test device of claim 1, wherein the first communications interface comprises a first WiFi interface and the second communications interface comprises a second WiFi interface; each communication manager is in communication connection with the testing device through at least one first WiFi interface and a corresponding second WiFi interface;
When the control terminal transmits the test command to the communication manager through the switch, the communication manager is specifically configured to trigger the first WiFi interface to transmit test data to the corresponding second WiFi interface according to the test command, receive 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.
4. The communications supervisor testing device of claim 1, wherein the first communications interface comprises a first CAN interface and the second communications interface comprises a second CAN interface; each communication manager is in communication connection with the testing 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 test method is characterized by being applied to the communication manager test equipment, wherein the communication manager test equipment is used for testing a plurality of communication managers, and the communication manager is provided with a plurality of first communication interfaces;
The communication manager test equipment comprises a control terminal, an exchanger, a test device and a switch device with a plurality of relays, wherein the control terminal is in communication connection with the exchanger, the exchanger is in communication connection with the test device, the communication manager and the switch device, 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, each communication manager is in communication connection with the test device through at least one first communication interface and the corresponding second communication interface, and each communication manager is in communication connection with the switch device through one relay; 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 performs pairwise pair measurement 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;
The communication manager carries out pairwise pair measurement 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;
The control terminal transmits a test command to the test device through the switch, or before the control terminal transmits the test command to the communication manager through the switch, the control terminal further comprises:
The control terminal transmits a power-on command to the switching 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;
Wherein after the test result is transmitted to the control terminal, the method further comprises:
The control terminal transmits a power-off command to the switching device through the switch;
The switching device triggers the relay to power off the power supply of the corresponding communication manager according to the power-off command;
When the communication manager and the relay correspondingly comprise a plurality of communication controllers, the control terminal transmits the power-on command or the power-off command to the switch device through the switch twice in a preset time interval.
6. The method for testing a communication manager test device of claim 5, wherein the first communication interface comprises a first combined interface, the second communication interface comprises a second combined interface, the first combined interface and the second combined interface each have a plurality of interface modes, and 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 testing device through at least one first combined interface and a corresponding second combined interface;
the control terminal transmitting a test command to the communication manager through the switch 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;
the control terminal transmits a test command to the communication manager through the switch when the switching result is that the switching is successful;
the communication manager performs pairwise measurement 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 communication manager comprises:
And the communication manager triggers the first combination interface to transmit test data to the corresponding second combination interface according to the test command, receives feedback data returned by the second combination interface, obtains a test result according to the feedback data, and transmits the test result to the control terminal.
7. The method of testing a communications manager test device of claim 5, wherein the first communications interface comprises a first WiFi interface and the second communications interface comprises a second WiFi interface; each communication manager is in communication connection with the testing device through at least one first WiFi interface and a corresponding second WiFi interface;
the communication manager performs pairwise measurement 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 communication manager comprises:
And the communication manager 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.
8. The method of testing a communications supervisor testing device of claim 5, wherein the first communications interface comprises a first CAN interface and the second communications interface comprises a second CAN interface; each communication manager is in communication connection with the testing device through at least one first CAN interface and the corresponding second CAN interface;
the testing device carries out pairwise pair measurement 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, and the testing device comprises:
the testing device triggers the second CAN interface to transmit test data to the corresponding first CAN interface according to the test command, receives feedback data returned by the first CAN interface, obtains a test result according to the feedback data, and transmits the test result to the control terminal.
CN202111274170.5A 2021-10-29 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 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 2021-10-29 Communication manager testing equipment and testing method thereof

Publications (2)

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

Family

ID=80298359

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114089086B (en)

Citations (6)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10520529B2 (en) * 2016-03-23 2019-12-31 Cooper Technologies Company Adapters for testing electrical equipment
CN111679241B (en) * 2020-05-31 2022-05-03 宁夏隆基宁光仪表股份有限公司 Multi-information-channel automatic switching system and method for electric energy meter verification assembly line

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN114089086A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN108737590B (en) Automatic address allocation method and system, Modbus master station and Modbus slave station
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN110429708B (en) Method and system for realizing plug and play of power distribution equipment
CN104865835A (en) Intelligent household system based on ZigBee
CN103297985B (en) Base station collocation method and system
CN104811339A (en) Intelligent networking method based on arbitration-free bus
CN106403188A (en) Air conditioner maintenance method and maintenance device thereof
CN109361585A (en) A kind of method that child node baud rate and address is arranged in host node automatically
CN102970699B (en) A kind of fault handling method and distributed base station
CN110839089A (en) Server positioning method, system, electronic equipment and storage medium
CN103383559A (en) Flow computers having wireless communication protocol interfaces and related methods
CN110913362B (en) Method and device for realizing wireless signal test through client and test equipment
CN114285695A (en) Communication method, device, equipment, system and storage medium
CN114089086B (en) Communication manager testing equipment and testing method thereof
CN105792025A (en) Device information obtaining method and terminal
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
CN104883701A (en) Communication method between frame and discs in mobile forward network
CN116955232A (en) Hardware identification method and device based on control system
CN104660664A (en) Method and apparatus for managing storage system
CN203261357U (en) Novel universal Internet-of-things gateway
CN111817820B (en) Equipment coding method and device and coding system based on two buses
CN106686697B (en) The method of zigbee terminal device node administration
CN112925212B (en) Equipment control method and device
CN113556255A (en) Method and device for configuring smart home
CN104181868A (en) Control method and apparatus of intelligent switch and intelligent control network

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
GR01 Patent grant