CN114826992B - Ethernet self-test system and method for vehicle-mounted gateway - Google Patents
Ethernet self-test system and method for vehicle-mounted gateway Download PDFInfo
- Publication number
- CN114826992B CN114826992B CN202210369665.4A CN202210369665A CN114826992B CN 114826992 B CN114826992 B CN 114826992B CN 202210369665 A CN202210369665 A CN 202210369665A CN 114826992 B CN114826992 B CN 114826992B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- port
- mounted gateway
- test
- gateway
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 134
- 238000000034 method Methods 0.000 title claims description 28
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 238000010998 test method Methods 0.000 claims abstract description 5
- 238000013101 initial test Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011423 initialization method Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Abstract
A self-test method of an Ethernet of a vehicle-mounted gateway comprises the following steps: 1) Configuring a network interface type of a control console, and shorting all P ports and N ports of a vehicle-mounted gateway; 2) Setting a control console and a vehicle-mounted gateway to automatically allocate a fixed IP function in the same network segment, and confirming and storing an active port of the vehicle-mounted gateway; 3) The vehicle-mounted gateway receives a primary test command of the console through the active port, configures the port of the primary test command and returns test ready state information to the console; 4) The vehicle-mounted gateway receives a second test command of the console through the active port and performs data transmission with the console; 5) And the control console judges and generates a test result according to the data transmission with the vehicle-mounted gateway. The invention also provides a vehicle gateway Ethernet self-test system, which realizes that the production platform screens out bad products quickly, reduces redundant hardware auxiliary equipment greatly and saves the time for constructing the hardware platform.
Description
Technical Field
The invention relates to the technical field of vehicle-mounted networks, in particular to a vehicle-mounted gateway Ethernet test system and method.
Background
At present, the Ethernet test of the vehicle-mounted gateway mainly takes the manual test of the traditional CAN and LIN modules as the automobile industry develops increasingly, and in order to improve the test efficiency of the vehicle-mounted Ethernet, the Ethernet automatic test is introduced into the gateway product test. The defects of the prior art are that the automatic test technology of part of gateways is not mature enough, the traditional manual test efficiency is low, and in addition, the introduced test scheme is complex. The hardware environment is time-consuming to build and easy to make mistakes, and certain difficulties are brought to subsequent hardware upgrading and maintenance; the software test complexity is higher, and a plurality of ports of the Ethernet switch are mutually influenced and dependent, so that the specified port test in the test process can not be realized.
Disclosure of Invention
In order to overcome the defects of the existing Ethernet test method, the invention aims to provide a vehicle-mounted gateway Ethernet self-test system and method, and the invention adopts a simpler hardware test platform, thereby simplifying the complexity of building the vehicle-mounted gateway Ethernet hardware test platform and the maintenance complexity caused by the fault of the hardware platform; the method realizes that a plurality of ports of the Ethernet are mutually independent, do not influence and depend on each other, and the damage and the missing of any port do not influence the testing of other ports, so that the port testing sequence is not required to be specified.
In order to achieve the above purpose, the present invention provides a vehicle gateway ethernet self-test method, which includes the following steps:
1) Configuring a network interface type of a control console, and shorting all P ports and N ports of a vehicle-mounted gateway;
2) Setting a control console and a vehicle-mounted gateway to automatically allocate a fixed IP function in the same network segment, and confirming and storing an active port of the vehicle-mounted gateway;
3) The vehicle-mounted gateway receives a primary test command of the console through the active port, configures the port of the primary test command and returns test ready state information to the console;
4) The vehicle-mounted gateway receives a second test command of the console through the active port and performs data transmission with the console;
5) And the control console judges and generates a test result according to the data transmission with the vehicle-mounted gateway.
Further, the step 2) of confirming and saving the active port of the vehicle gateway further comprises,
the vehicle-mounted gateway MCU module defaults to configure a P0 port of the vehicle-mounted gateway switch module as an active port, and sends a detection signal to the console;
if the control console feedback signal is not received, the P1 port is switched to be an active port;
repeating the steps until the active port is found out and stored in the console and the vehicle-mounted gateway.
Further, the primary test command includes a port number to be tested by the vehicle-mounted gateway switch module.
Further, the step 3) further includes that the vehicle gateway receives a primary test command of the console through the active port;
the vehicle-mounted gateway MCU unit closes the active port according to the primary test command;
configuring a to-be-tested port and a switch RGMI port of a vehicle-mounted gateway switch module in the same vlan, closing a non-test switch port and entering a high-resistance state;
configuring non-test ports of a vehicle-mounted gateway switch module to enter other vlan;
returning to the console a test ready state.
Further, the step of closing the active port by the vehicle gateway MCU unit according to the initial test command, further comprises,
the vehicle-mounted gateway MCU unit analyzes the port number to be tested of the vehicle-mounted gateway switch module from the primary test command;
and closing the current active port of the vehicle-mounted gateway switch module.
Further, the second test command includes network transmission data.
Further, the step 4) further comprises,
the vehicle-mounted gateway MCU unit receives a second test command of the console through a port to be tested of the vehicle-mounted gateway switch module;
and the vehicle-mounted gateway MCU unit analyzes the network transmission data from the second test command and performs network data transmission with the console.
Still further, after step 6), the method further comprises the steps of:
restoring that the active ports and RGMI ports of the vehicle-mounted gateway switch module are in the same vlan, and completely closing the ports of the rest vehicle-mounted gateway switch modules and entering a high-resistance state;
and configuring the inactive port of the vehicle-mounted gateway switch module to enter other vlan.
In order to achieve the above object, the present invention provides a vehicle gateway ethernet self-test system, which includes a console and a vehicle gateway, wherein,
the control console is connected with the vehicle-mounted gateway through an eth T1 bus, receives a connection request of the vehicle-mounted gateway and performs network connection with the vehicle-mounted gateway; judging and generating a result of the vehicle-mounted gateway test according to the data returned by the vehicle-mounted gateway;
and the vehicle-mounted gateway receives the test command of the console through the active port, configures the port of the vehicle-mounted gateway and transmits data with the console.
Further, the vehicle gateway comprises a switch module and an MCU module, wherein,
the switch module is directly connected with the MCU module through the RGMI bus for communication;
the MCU module receives the test command of the console through the switch module, configures the port of the switch module and transmits data with the console.
Compared with the prior art, the method and the system for the Ethernet self-test of the vehicle-mounted gateway have the following beneficial effects: the method comprises the steps that in the testing process, a plurality of ports of a switch module of a vehicle-mounted gateway are mutually independent and do not influence and depend on each other, any port damage and loss do not influence other port tests, a port testing sequence is not required to be specified, a console displays the state and the result of each tested switch module port in real time, and finally the console can generate a complete data report after the test is finished; the method realizes the rapid screening of bad products by the production platform, greatly reduces redundant hardware auxiliary equipment and saves the construction time of the hardware platform.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, and do not limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for Ethernet self-test of a vehicle gateway according to the invention;
FIG. 2 is a flow chart of a method for initializing a vehicle gateway according to the present invention;
FIG. 3 is a flowchart of the operation of the on-board gateway MCU module configuration on-board gateway switch module according to the present invention;
FIG. 4 is a flowchart of a method for executing console commands by the vehicle gateway MCU module according to the present invention;
fig. 5 is a schematic structural diagram of a vehicular gateway ethernet self-test system according to the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Example 1
Fig. 1 is a flowchart of a method for testing ethernet self-test of a vehicle gateway according to the present invention, and the method for testing ethernet self-test of a vehicle gateway according to the present invention will be described in detail with reference to fig. 1.
First, in step 101, the on-vehicle gateway ethernet self-test system performs system initialization.
In the embodiment of the invention, the initialization of the system is divided into console initialization and vehicle-mounted gateway initialization. The control console and the vehicle-mounted gateway automatically allocate fixed IP in the same network section; the control console is directly communicated with the vehicle-mounted gateway switch module through an eth T1 bus, and the control console configures a port into a 100_baseT1 or 1000_baseT1 type according to the needs; the vehicle gateway initialization process is shown in fig. 2.
In step 102, the vehicle gateway MCU module sends a connection request to the console.
In the embodiment of the invention, after the system initialization is completed, the control console and the vehicle-mounted gateway need to be connected through a network, and the MCU module of the vehicle-mounted gateway is responsible for sending a connection request to the control console.
In step 103, the MCU module detects that the live port of the switch module receives the feedback signal of the console.
In the embodiment of the invention, after the MCU module sends a connection request to the console, the active port of the current switch module is detected, whether the active port receives a signal fed back by the console within a certain time is detected, and if not, step 104 is performed; until the MCU module detects that the switch module active port receives the feedback signal, then step 105 is performed.
In step 104, the mcu module automatically switches the next port of the active ports of the current switch module to be the active port.
In the embodiment of the invention, after the MCU module sends a network connection request to the vehicle-mounted gateway, the MCU module automatically switches the next port to be an active port according to the port serial number of the switch module in a period of time when the MCU module does not detect that the active port of the switch module receives a signal fed back by the console; and then returns to step 102, the mcu module resends the connection request.
In step 105, the mcu module determines an active port, and the vehicle gateway is successfully connected to the console network.
In the embodiment of the invention, the MCU module detects the feedback signal sent by the console, so as to determine the active port of the switch module, which represents that the network connection between the vehicle-mounted gateway and the console is successful. After the active port is determined, the MCU module and the control console will memorize and not change any more; after the network connection is successful, the vehicle-mounted gateway enters a standby test state, and the control console enters a preset test flow.
In step 106, the console sends a command containing the port number of the switch module of the on-board gateway to be tested to the on-board gateway.
In the embodiment of the invention, the test flow of the console comprises the step that the console firstly sends a command to the vehicle-mounted gateway, wherein the command comprises a switch port number to be tested.
In step 107, the mcu module receives the above command and parses the port number of the switch module to be tested.
In the embodiment of the present invention, if the MCU module receives the command sent from the console and analyzes the port number of the switch module to be tested from the command, step 108 is performed; otherwise, returning to step 106, the console resends the command until the MCU module receives the command and parses out the port number of the switch module to be tested.
In step 108, the MCU module configures the operating mode of the switch module.
In the embodiment of the present invention, after the MCU module parses the port number of the switch module to be tested from the command, the configuration of the working mode of the switch module is performed, and the specific process is shown in fig. 3.
At step 109, the MCU module enters a test ready state and returns a test ready state signal to the console.
In the embodiment of the invention, after the MCU module completes the configuration of the working mode of the switch module, the MCU module enters a test ready state and returns a test ready state signal to the console, which indicates that the vehicle-mounted gateway is ready to accept the test.
In step 110, if the test ready state signal is not received, the console returns to the previous step until it is received, and proceeds to the next step.
In step 111, the console sends the set test command to the vehicle gateway.
In the embodiment of the invention, after receiving the test ready state signal, the console sends a test command again to the vehicle-mounted gateway, wherein the test command is a preset real test command containing network transmission data and the like.
In step 112, if the mcu module does not receive the test command within a certain time, the process returns to step 109, and the mcu module sends a test ready signal to the console again until it receives the test command, and proceeds to the next step.
In step 113, the mcu module performs corresponding operations according to the above commands, and the specific operation flow is referred to fig. 4.
In step 114, the MCU module returns network data to the console.
In the embodiment of the invention, after the MCU module executes the test command of the console, the network data related to the test is returned to the console and sent once at intervals.
In step 115, if the console does not receive the network data returned by the vehicle gateway, the console returns to the previous step, and the vehicle gateway MCU module sends the network data to the vehicle gateway again until it receives the network data, and proceeds to the next step.
In step 116, the console generates the result of the present test according to the received network data.
Example 2
Fig. 2 is a flowchart of an on-vehicle gateway initialization method according to the present invention, and the on-vehicle gateway initialization method according to the present invention will be described in detail with reference to fig. 2.
First, in step 201, the in-vehicle gateway automatically configures IP.
In the embodiment of the invention, the vehicle-mounted gateway and the control console realize the function of automatically distributing the fixed IP when the system is initialized.
In step 202, the MCU module defaults to configuring the switch module P0 port as an active port, the P0 port attempting to send a probe signal to the console.
In step 203, the mcu module divides the P0 port and the RGMI port of the switch module into the same vlan.
In step 204, the MCU module configures the switch module inactive ports to be all closed and enter a high impedance state.
In step 205, the MCU module cuts the switch module inactive port into other vlan.
In the embodiment of the invention, after the MCU module configures the working state of the inactive port of the switch module, the MCU module configures the working network segment of the inactive port, and divides the working network segment of the inactive port and the network segment where the active port is located into different vlan.
Example 3
Fig. 3 is a flowchart of the operation of configuring the on-vehicle gateway switch module by the on-vehicle gateway MCU module according to the present invention, and the detailed description will be made below with reference to fig. 3.
First, in step 301, the MCU module immediately closes the active port of the current switch module.
In the embodiment of the invention, the MCU module configures the working mode of the switch module, and firstly, the active port of the current switch module is closed.
In step 302, the mcu module divides the switch module test port and the RGMI port into the same vlan.
In the embodiment of the invention, after the MCU module closes the active port of the switch module, the working section is set for the port to be tested, and the port to be tested and the RGMI port of the switch module are divided into the same vlan.
In step 303, the MCU module configures the switch module to fully close the non-test ports and enter a high impedance state.
In the embodiment of the invention, after the working modes of the active port and the port to be tested of the switch module are configured by the MCU module, the non-port to be tested of the switch module is configured. The MCU module firstly closes all non-test ports of the switch module, then configures the non-test ports to enter a high-resistance state, and then performs the next step, wherein the configuration of the working network section is the step.
In step 304, the MCU module cuts the switch module non-test port into other vlan.
In the embodiment of the invention, the MCU module divides the working network segment of the non-test port and the network segment of the port to be tested into different vlan. And (5) completing configuration.
Example 4
Fig. 4 is a flowchart of a method for executing a console command by the MCU module of the vehicle gateway according to the present invention, and a method for executing a console command by the MCU module of the vehicle gateway according to the present invention will be described in detail with reference to fig. 4.
First, in step 401, the mcu module waits to receive a test command from the console.
In step 402, after receiving the test command, the MCU module determines the test command, if the test command is not "the MCU module switches the active port of the current switch module", returns to the previous step, and reenters the state of receiving the command until receiving the test command "the MCU module switches the active port of the current switch module", and proceeds to the next step.
In step 403, the MCU module performs corresponding switching on the active ports of the switch module according to the received test command.
In step 404, the MCU module continues to receive test commands from the console.
In step 405, after receiving the test command, the MCU module determines the test command, if the test command is not "test vehicle gateway network", returns to the previous step, and enters the state of receiving the command again until receiving the test command of "test vehicle gateway network", and then proceeds to the next step.
In step 406, after the mcu module receives the test command of "test vehicle gateway network", the set test method is started.
Example 5
Fig. 5 is a schematic structural diagram of a vehicle gateway ethernet self-test system according to the present invention, as shown in fig. 5, where the vehicle gateway ethernet self-test system of the present invention includes a console 50 and a vehicle gateway 51, where the console 50 is connected to the vehicle gateway 51 through an eth T1 bus, and tests the vehicle gateway ethernet.
In the embodiment of the present invention, the console 50 configures the port type connected to the vehicle gateway 51 into 100base_t1 or 1000base_t1 type according to the requirement, so as to receive the connection request of the vehicle gateway 51 and send a test command to the vehicle gateway, and finally, according to the data transmission with the vehicle gateway, determine and generate the test result of the port of the switch module of the vehicle gateway.
In the embodiment of the invention, the test result comprises: 1) The vehicle-mounted gateway tests whether the port has communication capability; 2) And if the communication capability is provided, detecting the data throughput capability of the test port of the vehicle-mounted gateway.
In the embodiment of the invention, the vehicle gateway 51 includes a switch module 503 and an MCU module 504, where the switch module 503 and the MCU module 504 are directly connected to each other through an RGMI bus. The MCU module 504 may configure the operation mode of the switch module 503, including the opening and closing of ports, different states, and network segments where different types of ports are located. Before the test starts, the MCU module 504 performs initialization configuration on the switch module 503, the default P0 port is an active port, attempts to send a detection signal to the console, if the MCU module 504 detects that the P0 port is overtime and does not receive a feedback signal of the console 50, the MCU module 504 takes the P1 port of the switch module 503 as an active port until an active port Pn is found, and the network connection between the console 50 and the vehicle-mounted gateway 51 is successful; in the testing stage after the network connection is successful, the MCU module 504 immediately closes the active port of the switch module 503 after resolving the port number of the switch module 503 to be tested from the initial testing command sent from the console 50 via the active port of the switch module 503, configures the to-be-tested port and the RGMI port of the switch module 503 in the same vlan, and is responsible for completely closing the non-test port of the switch module 503 and setting it to enter a high-impedance state, and then divides the working network segment thereof from the working network segment of the to-be-tested port into other vlans.
Those of ordinary skill in the art will appreciate that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. The Ethernet self-test method for the vehicle-mounted gateway is characterized by comprising the following steps of:
1) The control console is directly communicated with the vehicle-mounted gateway switch module through an eth T1 bus, and the network interface type of the control console, all P-port short circuits and all N-port short circuits of the vehicle-mounted gateway are configured;
2) Setting a control console and a vehicle-mounted gateway to automatically allocate a fixed IP function in the same network segment, sending a connection request to the control console by a vehicle-mounted gateway MCU module, detecting the condition that an active port of a vehicle-mounted gateway switch module receives a feedback signal of the control console in a limited time, if the condition is not received, automatically switching the next port into the active port according to the port serial number of the vehicle-mounted gateway switch module by the vehicle-mounted gateway MCU module, and confirming the active port of the vehicle-mounted gateway and storing the active port;
3) The vehicle-mounted gateway MCU module receives a primary test command of the console through the active port, analyzes the port number of the vehicle-mounted gateway switch module to be tested, configures the working mode of the vehicle-mounted gateway switch module, enters a test ready state, and returns test ready state information to the console;
4) The vehicle-mounted gateway receives a second test command of the console through the active port and performs data transmission with the console;
5) And the control console judges and generates a test result according to the data transmission with the vehicle-mounted gateway.
2. The method for Ethernet self-test of an in-vehicle gateway according to claim 1, wherein said step 2) of confirming and saving the active port of the in-vehicle gateway further comprises,
the vehicle-mounted gateway MCU module defaults to configure a P0 port of the vehicle-mounted gateway switch module as an active port, and sends a detection signal to the console;
if the control console feedback signal is not received, the P1 port is switched to be an active port;
repeating the steps until the active port is found out and stored in the console and the vehicle-mounted gateway.
3. The method for testing the ethernet self-test of the on-board gateway according to claim 1, wherein the initial test command includes a port number to be tested of the on-board gateway switch module.
4. The method according to claim 1, wherein the step 3) further comprises the step that the vehicle gateway receives the initial test command of the console through the active port;
the vehicle-mounted gateway MCU unit closes the active port according to the primary test command;
configuring a to-be-tested port and a switch RGMI port of a vehicle-mounted gateway switch module in the same vlan, closing a non-test switch port and entering a high-resistance state;
configuring non-test ports of a vehicle-mounted gateway switch module to enter other vlan;
returning to the console a test ready state.
5. The method for Ethernet self-test of an on-board gateway as claimed in claim 4, wherein said on-board gateway MCU unit closes the active port according to said initial test command, further comprising,
the vehicle-mounted gateway MCU unit analyzes the port number to be tested of the vehicle-mounted gateway switch module from the primary test command;
and closing the current active port of the vehicle-mounted gateway switch module.
6. The method of claim 1, wherein the second test command includes network transmission data.
7. The method for self-test of an on-board gateway Ethernet as claimed in claim 1, wherein said step 4) further comprises,
the vehicle-mounted gateway MCU unit receives a second test command of the console through a port to be tested of the vehicle-mounted gateway switch module;
and the vehicle-mounted gateway MCU unit analyzes the network transmission data from the second test command and performs network data transmission with the console.
8. The method for self-test of an ethernet network of an in-vehicle gateway according to claim 1, further comprising, after step 6), the steps of:
restoring that the active ports and RGMI ports of the vehicle-mounted gateway switch module are in the same vlan, and completely closing the ports of the rest vehicle-mounted gateway switch modules and entering a high-resistance state;
and configuring the inactive port of the vehicle-mounted gateway switch module to enter other vlan.
9. The Ethernet self-test system for the vehicle-mounted gateway comprises a console and the vehicle-mounted gateway, and is characterized in that,
the control console is configured to be connected with the vehicle-mounted gateway switch module through an eth T1 bus, and is used for receiving a connection request of the vehicle-mounted gateway MCU module and carrying out network connection with the vehicle-mounted gateway MCU module; judging and generating a result of the vehicle-mounted gateway test according to the data returned by the vehicle-mounted gateway;
the vehicle-mounted gateway is configured to be short-circuited at all P ports and N ports, the vehicle-mounted gateway comprises a switch module and an MCU module, the MCU module sends a connection request to a control console through the switch module, the condition that an active port of the switch module receives a control console feedback signal is detected in a limited time, if the condition is not received, the MCU module can automatically switch the next port to be the active port according to the port serial number of the switch module, the MCU module confirms the active port of the vehicle-mounted gateway and stores the active port, the MCU module receives a test command of the control console through the active port and analyzes the port number of the switch module to be tested from the test command, the MCU module configures the working mode of the switch module, the MCU module enters a test ready state, returns test ready state information to the control console, receives a second test command of the control console through the active port, and carries out data transmission with the control console.
10. The system of claim 9, wherein the switch module communicates directly with the MCU module via an RGMI bus;
the MCU module receives the test command of the console through the switch module, configures the port of the switch module and transmits data with the console.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210369665.4A CN114826992B (en) | 2022-04-08 | 2022-04-08 | Ethernet self-test system and method for vehicle-mounted gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210369665.4A CN114826992B (en) | 2022-04-08 | 2022-04-08 | Ethernet self-test system and method for vehicle-mounted gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114826992A CN114826992A (en) | 2022-07-29 |
CN114826992B true CN114826992B (en) | 2023-10-31 |
Family
ID=82535534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210369665.4A Active CN114826992B (en) | 2022-04-08 | 2022-04-08 | Ethernet self-test system and method for vehicle-mounted gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114826992B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783745A (en) * | 2009-01-21 | 2010-07-21 | 环旭电子股份有限公司 | System and method for testing a plurality of network ports |
CN110048910A (en) * | 2019-04-24 | 2019-07-23 | 重庆长安汽车股份有限公司 | A kind of vehicle-mounted ethernet gateway test macro and method |
CN111025974A (en) * | 2019-12-13 | 2020-04-17 | 厦门宏发汽车电子有限公司 | Vehicle gateway controller, configuration method thereof and automobile system |
CN111475174A (en) * | 2020-03-31 | 2020-07-31 | 东风汽车集团有限公司 | Device and method for online writing and configuration of vehicle-mounted gateway |
CN112241157A (en) * | 2020-09-04 | 2021-01-19 | 北京新能源汽车技术创新中心有限公司 | Loopback testing device and method for diagnosing communication link fault of vehicle central gateway |
CN213073125U (en) * | 2020-10-20 | 2021-04-27 | 一汽解放汽车有限公司 | Test system of vehicle-mounted networking terminal |
CN113612654A (en) * | 2021-07-12 | 2021-11-05 | 东风汽车集团股份有限公司 | Vehicle-mounted gateway function testing method based on database |
CN114020606A (en) * | 2021-10-22 | 2022-02-08 | 苏州浪潮智能科技有限公司 | Multipath host plug-in automatic test method and device |
CN114137937A (en) * | 2021-11-25 | 2022-03-04 | 北京经纬恒润科技股份有限公司 | Automatic diagnostic function test method and system |
CN114143225A (en) * | 2021-11-03 | 2022-03-04 | 中盈优创资讯科技有限公司 | Method and device for dynamically monitoring abnormal active address based on network detection technology |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070083788A1 (en) * | 2005-10-06 | 2007-04-12 | General Instrument Corporation | Method and apparatus for testing for open ports of an endpoint device in a packet network |
-
2022
- 2022-04-08 CN CN202210369665.4A patent/CN114826992B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783745A (en) * | 2009-01-21 | 2010-07-21 | 环旭电子股份有限公司 | System and method for testing a plurality of network ports |
CN110048910A (en) * | 2019-04-24 | 2019-07-23 | 重庆长安汽车股份有限公司 | A kind of vehicle-mounted ethernet gateway test macro and method |
CN111025974A (en) * | 2019-12-13 | 2020-04-17 | 厦门宏发汽车电子有限公司 | Vehicle gateway controller, configuration method thereof and automobile system |
CN111475174A (en) * | 2020-03-31 | 2020-07-31 | 东风汽车集团有限公司 | Device and method for online writing and configuration of vehicle-mounted gateway |
CN112241157A (en) * | 2020-09-04 | 2021-01-19 | 北京新能源汽车技术创新中心有限公司 | Loopback testing device and method for diagnosing communication link fault of vehicle central gateway |
CN213073125U (en) * | 2020-10-20 | 2021-04-27 | 一汽解放汽车有限公司 | Test system of vehicle-mounted networking terminal |
CN113612654A (en) * | 2021-07-12 | 2021-11-05 | 东风汽车集团股份有限公司 | Vehicle-mounted gateway function testing method based on database |
CN114020606A (en) * | 2021-10-22 | 2022-02-08 | 苏州浪潮智能科技有限公司 | Multipath host plug-in automatic test method and device |
CN114143225A (en) * | 2021-11-03 | 2022-03-04 | 中盈优创资讯科技有限公司 | Method and device for dynamically monitoring abnormal active address based on network detection technology |
CN114137937A (en) * | 2021-11-25 | 2022-03-04 | 北京经纬恒润科技股份有限公司 | Automatic diagnostic function test method and system |
Also Published As
Publication number | Publication date |
---|---|
CN114826992A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107145140B (en) | Automatic test system and test method for CAN interface of vehicle-mounted electronic control unit | |
CN109656172B (en) | Method and device for obtaining baud rate | |
CN106325231A (en) | Method and system for remote fault detection of vehicles on production line | |
JPH11234340A (en) | Method for automatically configuring network link | |
CN109030994A (en) | A kind of test method and system | |
CN112683552A (en) | Automobile test method, system, readable storage medium and automobile test equipment | |
CN108445860B (en) | Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium | |
CN111314180A (en) | Ethernet link test method, terminal and storage medium | |
CN114826992B (en) | Ethernet self-test system and method for vehicle-mounted gateway | |
CN108919788A (en) | A kind of remote monitoring system and method for the automobile bench test based on vehicle-mounted CAN bus | |
US7484123B2 (en) | Micro telecommunications computing architecture, MicroTCA, test system and method | |
CN114745312A (en) | Vehicle-mounted Ethernet test system and method | |
CN108200545B (en) | WLAN signaling test system and test method | |
CN112181846B (en) | Automatic test platform and method for traffic signal control system messages | |
CN111314168B (en) | Flow and port data testing method and system for switch without management function | |
CN114666244A (en) | Vehicle-mounted gateway test system | |
CN113886274A (en) | Stability testing method, device, equipment and storage medium for Internet of vehicles terminal | |
CN115705042A (en) | Test system and method for direct network management of vehicle-mounted controller | |
CN115129021B (en) | Method and device for testing vehicle-mounted Ethernet | |
CN114690741A (en) | Controller test system and method for vehicle, electronic device and readable storage medium | |
CN113341938B (en) | Automobile controller testing system and control method thereof | |
CN110471399A (en) | Vehicular diagnostic method, device, system and vehicle based on ECU | |
CN117110846B (en) | Automatic detection method and related device for chip anti-breaking function | |
CN216848541U (en) | Pin signal processing circuit and vehicle fault detection device | |
CN211856899U (en) | Automatic parking auxiliary positioning equipment |
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 |