CN113285973A - Data forwarding method, device, system, vehicle and storage medium - Google Patents

Data forwarding method, device, system, vehicle and storage medium Download PDF

Info

Publication number
CN113285973A
CN113285973A CN202110292871.5A CN202110292871A CN113285973A CN 113285973 A CN113285973 A CN 113285973A CN 202110292871 A CN202110292871 A CN 202110292871A CN 113285973 A CN113285973 A CN 113285973A
Authority
CN
China
Prior art keywords
communication data
ethernet
data
obd
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110292871.5A
Other languages
Chinese (zh)
Inventor
刘超
李长龙
南洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202110292871.5A priority Critical patent/CN113285973A/en
Publication of CN113285973A publication Critical patent/CN113285973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

The invention discloses a data forwarding method, a data forwarding device, a data forwarding system, a vehicle and a storage medium. The method comprises the following steps: when a diagnosis instruction is received, communication data in the target Ethernet electronic control unit ECU are obtained; and forwarding the communication data to a corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the externally-connected terminal equipment receives the communication data. According to the embodiment of the invention, the communication data on the corresponding Ethernet ECU is sent to the OBD Ethernet channel in a mirror image mode through the gateway controller, so that the reading of the communication data in the vehicle is realized, and the safety in the process of reading the communication data in the vehicle is ensured on the premise of not increasing the hardware cost.

Description

Data forwarding method, device, system, vehicle and storage medium
Technical Field
The embodiment of the invention relates to a data processing technology, in particular to a data forwarding method, a data forwarding device, a data forwarding system, a vehicle and a storage medium.
Background
In the prior art, a Controller Area Network (CAN) channel that needs to observe data CAN be connected out in an On Board Diagnostics (OBD) manner. But has the following disadvantages: firstly, because the CAN network is in a bus form, any device CAN read and even write in communication data in the vehicle through a private OBD interface, so that the safety is caused; secondly, because ethernet is point-to-point transmission, ethernet channels cannot be connected out.
Disclosure of Invention
In view of this, the present invention provides a data forwarding method, device, system, vehicle and storage medium, which ensure the security during reading the in-vehicle communication data without increasing the hardware cost.
In a first aspect, an embodiment of the present invention provides a data forwarding method, including:
when a diagnosis instruction is received, communication data in the target Ethernet electronic control unit ECU are obtained;
and forwarding the communication data to a corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the externally-connected terminal equipment receives the communication data.
In a second aspect, an embodiment of the present invention further provides a data forwarding apparatus, including:
the acquisition module is used for acquiring communication data in the target Ethernet ECU when a diagnosis instruction is received;
and the forwarding module is used for forwarding the communication data to a corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the external terminal equipment can receive the communication data.
In a third aspect, an embodiment of the present invention further provides a data forwarding system, including: the system comprises a gateway controller, an OBD Ethernet channel and at least two Ethernet ECUs; the gateway controller includes: a switch chip and a gateway master chip;
the OBD Ethernet channel and each Ethernet ECU are connected with the gateway controller;
the gateway controller acquires communication data in at least one Ethernet ECU after receiving a diagnosis instruction sent by a CAN channel or an OBD Ethernet channel on the OBD; and the gateway controller forwards the communication data to the OBD Ethernet channel through the switch chip so that the external terminal equipment receives the communication data.
In a fourth aspect, an embodiment of the present invention further provides a vehicle, including: a memory, and a data forwarding system as described in the above embodiments;
the memory for storing one or more programs;
when the one or more programs are executed by the data forwarding system, the data forwarding system implements the data forwarding method according to any one of the embodiments of the present invention.
In a fifth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data forwarding method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, when the diagnosis instruction is received, the communication data in the target Ethernet ECU is obtained; and forwarding the communication data to the corresponding OBD Ethernet channel in a mirror image mode so that the externally connected terminal equipment receives the communication data. According to the embodiment of the invention, the communication data on the corresponding Ethernet ECU is sent to the OBD Ethernet channel in a mirror image mode through the gateway controller, so that the reading of the communication data in the vehicle is realized, and the safety in the process of reading the communication data in the vehicle is ensured on the premise of not increasing the hardware cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a vehicle control method according to an embodiment of the present invention;
fig. 2 is a flowchart of another data forwarding method provided in an embodiment of the present invention;
fig. 3 is a flowchart of another data forwarding method provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data forwarding apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data forwarding system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of a data forwarding method provided in an embodiment of the present invention, where the present embodiment is applicable to a case of acquiring in-vehicle communication data, and the method may be executed by a data forwarding apparatus in an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. Wherein the data forwarding device is integrated in the gateway controller. The gateway controller is used in the vehicle as a router, and the basic function is to realize the routing forwarding of communication data between different channels in the vehicle. Thus, all ethernet ECUs or OBD ethernet channels may be connected to a gateway controller, including CAN or ethernet.
As shown in fig. 1, the method specifically includes the following steps:
s110, when receiving the diagnosis instruction, acquires communication data in a target Electronic Control Unit (ECU).
In an embodiment, the diagnostic instrument is connected with a standard OBD interface in the vehicle, and then the diagnostic instrument sends a diagnostic instruction to a gateway controller in the vehicle through the OBD interface so as to trigger the gateway controller to acquire communication data in the target Ethernet ECU. It should be noted that, in the actual operation process, the gateway controller is connected to a plurality of ethernet ECUs, but it is not necessary to acquire communication data on all ethernet ECUs, that is, determine a target ethernet ECU and acquire communication data on the target ethernet ECU. During actual operation, the target ethernet ECU may be determined in two ways: a function button; the configuration data is mirrored. The function buttons refer to function buttons installed on the diagnostic apparatus, that is, one corresponding function button is configured for each ethernet ECU, for example, three function buttons are configured on the diagnostic apparatus, which are the ethernet ECU1 function button, the ethernet ECU2 function button and the ethernet ECU3 function button, and a user can obtain communication data on a corresponding channel by opening the corresponding ethernet ECU function buttons; and under the condition that the target Ethernet ECU is determined through the mirror image configuration data, analyzing the mirror image configuration data to identify and extract the Ethernet ECU number in the mirror image configuration data, and acquiring the communication data on the corresponding channel according to the Ethernet ECU number.
And S120, forwarding the communication data to the corresponding OBD Ethernet channel in a mirror image mode so that the externally connected terminal equipment receives the communication data.
In the embodiment, after the gateway controller acquires the communication data on the target ethernet ECU, all the communication data on the corresponding ethernet port are mirrored onto the OBD ethernet channel, so that the terminal device externally connected to the OBD interface receives the communication data. In an embodiment, the terminal device may be any terminal that can be connected to an OBD interface, that is, a device having an interface connected to the OBD interface. Illustratively, the terminal device may include one of: personal Computers (PCs); a notebook computer; a diagnostic instrument for a vehicle. The communication data refers to all the transceiving messages on the ethernet port.
According to the technical scheme of the embodiment, when the diagnosis instruction is received, communication data in the target Ethernet ECU are obtained; and forwarding the communication data to the corresponding OBD Ethernet channel in a mirror image mode so that the externally connected terminal equipment receives the communication data. According to the embodiment of the invention, the corresponding communication data on the Ethernet ECU is sent to the OBD Ethernet channel in a mirror image mode through the gateway controller, so that the reading of the communication data in the vehicle is realized, and the safety in the process of reading the communication data in the vehicle is ensured on the premise of not increasing the hardware cost.
Fig. 2 is a flowchart of another data forwarding method according to an embodiment of the present invention. This embodiment is further described with respect to a data forwarding method based on the above embodiment. As shown in fig. 2, the data forwarding method in this embodiment includes:
and S210, receiving a diagnosis instruction.
And S220, switching the current working mode to an expansion mode according to the diagnosis instruction.
Wherein, the operation mode of the gateway controller comprises one of the following modes: a default mode; a programming mode; the extended mode. In an embodiment, when a diagnosis instruction sent by a diagnosis instrument is received, the current operation mode of the gateway controller is automatically switched to an extension mode (also called diagnosis extension mode).
And S230, carrying out safety verification on the diagnosis instruction.
In an embodiment, the security check service performs security check on the diagnostic command to ensure access security of the gateway controller.
S240, after the verification is passed, determining the writing condition of the mirror configuration data.
The mirror image configuration data comprises a number corresponding to the target Ethernet ECU. In an embodiment, the mirror configuration data is written into the EEROM by a data write service after the check is passed, so that the mirror configuration can also be validated after the gateway controller is reset.
And S250, under the condition that the mirror image configuration data is successfully written, determining a target Ethernet ECU according to the mirror image configuration data.
In the embodiment, after the mirror image configuration data is successfully written, the corresponding Ethernet ECU is determined as the target Ethernet ECU according to the Ethernet ECU number in the mirror image configuration data.
And S260, configuring the mirror image function of the internal switch chip through configuration driving software.
In an embodiment, after the mirror configuration data is successfully written, the mirror function of the switch chip in the gateway controller is set through the configuration driver software.
And S270, acquiring communication data in the target Ethernet ECU.
And S280, forwarding the communication data to a corresponding OBD Ethernet channel in a mirror image mode so that the externally connected terminal equipment receives the communication data.
In an embodiment, forwarding the communication data to the corresponding on-board automatic diagnostic system OBD ethernet channel in a mirror image manner includes: and forwarding the communication data to the corresponding OBD Ethernet interface in a mirror image mode so that the externally connected terminal equipment receives the communication data. In the embodiment, all the transceiving messages on the target ethernet ECU are mirrored on the OBD ethernet interface, so that the terminal device can receive the transceiving messages on the corresponding target ethernet ECU after being connected to the OBD ethernet interface through the network cable.
According to the technical scheme of the embodiment, before the communication data on the target Ethernet ECU is acquired, the safety check and data writing service is carried out on the communication data, so that the safety access is ensured, and the mirror image configuration can also take effect after the gateway controller is reset.
Fig. 3 is a flowchart of another data forwarding method according to an embodiment of the present invention. In this embodiment, on the basis of the above embodiments, the data forwarding process is described by taking a terminal device as an example. As shown in fig. 3, the data forwarding method in this embodiment includes the following steps:
and S310, connecting the diagnostic instrument through an OBD interface.
And S320, entering a diagnosis expansion mode.
S330, judging whether the security access passes, if so, executing S340; if not, S370 is executed.
S340, judging whether the mirror image configuration data is written successfully or not, if so, executing S350; if not, S370 is executed.
S350, judging whether the mirror image configuration data contains the Ethernet mirror image, if so, executing S360; if not, S370 is executed.
And S360, carrying out channel mirror image configuration on the switch chip in the gateway controller.
And S370, ending.
In an embodiment, the diagnostic device is first connected to the gateway controller via a standard OBD interface in the vehicle, and the gateway controller enters the extended mode by sending a diagnostic command (e.g., the diagnostic command may be 1003). Since the mirror configuration data needs to be written into the EEPROM through the data writing service (e.g., 2E service), so that the mirror configuration can also be valid after the gateway controller is reset, the security access needs to be performed through the security verification service (e.g., 27 service) in the foregoing to ensure the security. After the Mirror image configuration data is successfully written, the gateway controller judges the ethernet channel (i.e. the target ethernet ECU in the above embodiment) that needs to be mirrored, and sets the Mirror image (Mirror) function of the switch chip (e.g. Marvell 88Q5050 and 88Q5072) in the gateway controller through configuration driver software, and mirrors all the transmit-receive messages on the corresponding ethernet port to the 100Base-TX interface (i.e. the OBD ethernet channel in the above embodiment) of the OBD. Therefore, after the computer is connected to the OBD Ethernet interface through the network cable, the receiving and sending messages of the corresponding Ethernet channel can be received.
According to the technical scheme of the embodiment, the in-vehicle communication data is forwarded to the standard OBD interface by means of the route forwarding characteristic of the gateway controller, so that the purpose of reading and viewing the in-vehicle communication data is achieved on the premise of not increasing hardware cost.
Certainly, in the actual operation process, due to the characteristic of the ethernet point-to-point communication, in order to read the in-vehicle communication data, the in-vehicle communication line can be disconnected, and the in-vehicle communication data can be accessed to a professional ethernet data analysis recording device in a bridging manner, and then the in-vehicle communication data can be collected.
Fig. 4 is a schematic structural diagram of a data forwarding apparatus according to an embodiment of the present invention. The present embodiment is applied to the case of acquiring in-vehicle communication data, and as shown in fig. 4, the data forwarding apparatus specifically includes: an acquisition module 410 and a forwarding module 420.
The obtaining module 410 is configured to obtain communication data in the target ethernet ECU when the diagnosis instruction is received;
and the forwarding module 420 is configured to forward the communication data to the corresponding on-board diagnostic device OBD ethernet channel in a mirror image manner, so that the external terminal device receives the communication data.
According to the technical scheme of the embodiment, when the diagnosis instruction is received, communication data in the target Ethernet ECU are obtained; and forwarding the communication data to the corresponding OBD Ethernet channel in a mirror image mode so that the externally connected terminal equipment receives the communication data. According to the embodiment of the invention, the communication data on the corresponding MuboA Ethernet ECU is sent to the OBD Ethernet channel in a mirror image mode through the gateway controller, so that the reading of the communication data in the vehicle is realized, and the safety in the process of reading the communication data in the vehicle is ensured on the premise of not increasing the hardware cost.
On the basis of the above embodiment, the data forwarding apparatus further includes:
and the switching module is used for switching the current working mode to the expansion mode according to the diagnosis instruction after receiving the diagnosis instruction and before acquiring the communication data in the target Ethernet channel.
On the basis of the above embodiment, the data forwarding apparatus further includes:
the checking module is used for carrying out safety check on the diagnosis instruction after receiving the diagnosis instruction and before acquiring the communication data in the target Ethernet channel;
the first determining module is used for determining the writing condition of the mirror image configuration data after the verification is passed;
and the second determining module is used for determining the target Ethernet ECU according to the mirror image configuration data under the condition that the mirror image configuration data is successfully written.
On the basis of the above embodiment, the data forwarding apparatus further includes:
and the configuration module is used for configuring the mirror image function of the internal switch chip through configuration driving software before the communication data in the target Ethernet channel is acquired.
On the basis of the foregoing embodiment, the forwarding module is specifically configured to: and forwarding the communication data to the corresponding OBD Ethernet interface in a mirror image mode so that the externally connected terminal equipment receives the communication data.
On the basis of the above embodiment, the terminal device includes one of: a personal computer PC; a notebook computer; a diagnostic instrument for a vehicle.
The data forwarding device provided by the embodiment can execute the data forwarding method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data forwarding method.
Fig. 5 is a schematic structural diagram of a data forwarding system according to an embodiment of the present invention. The data forwarding system in this embodiment includes: a gateway controller 510, an OBD ethernet channel 520 and at least two ethernet ECUs 530; the gateway controller 510 includes: a switch chip and a gateway master chip. As shown in fig. 5, in the present embodiment, the configuration of the data transfer system will be described by taking an example in which the data transfer system includes three ethernet ECUs 530 (ethernet ECU1, ethernet ECU2, and ethernet ECU3, respectively). The OBD ethernet channel 520 is connected to the gateway controller 510 via a TX bus, and the ethernet ECU530 is connected to the gateway controller 510 via a T1 bus.
Wherein, the OBD ethernet channel 520 and each ethernet ECU530 are connected to the gateway controller 510;
the gateway controller 510 acquires communication data in at least one ethernet ECU530 after receiving a diagnosis instruction transmitted through a CAN channel (not shown) on the OBD or the OBD ethernet channel 520; the gateway controller 510 forwards the communication data to the OBD ethernet channel 520 through the switch chip, so that the external terminal device receives the communication data. Wherein, the OBD ethernet channel 520 refers to an ethernet channel on the OBD. It should be noted that the OBD ethernet channel 520 is connected to the gateway controller 510 via a 100Base-Tx standard interface, and the ethernet ECU530 is connected to the gateway controller 510 via an 100/1000Base-T1 standard interface.
In an embodiment, after the gateway master chip in the gateway controller 510 receives the diagnostic instruction, the data of the mirror register in the switch chip may be modified through the RGMII or PCIE interface.
In the embodiment, by using the characteristic that the gateway controller 510 is communicated with the ethernet ECU, the gateway controller 510 is configured by the diagnostic instruction, and the gateway controller 510 sends the communication data on the corresponding ethernet ECU530 to the OBD ethernet channel 520 in a mirror image manner, so as to realize reading of the in-vehicle communication data. Meanwhile, data transmission is carried out by means of an OBD Ethernet channel, namely the data transmission is completely realized by software, and the hardware cost is not increased.
Fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present invention. As shown in fig. 6, the vehicle includes a data forwarding system 610, a memory 620, an input device 630, an output device 640; the number of data forwarding systems 610 in the vehicle may be one or more, and one data forwarding system 610 is taken as an example in fig. 6; the data forwarding system 610, memory 620, input devices, and 630, output devices 640 in the vehicle may be connected by a bus or other means, such as by a bus in fig. 6.
The memory 620, as a computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program modules corresponding to the data forwarding method in the embodiment of the present invention (for example, the obtaining module 410 and the forwarding module 420 in the data forwarding apparatus). The data forwarding system 610 executes various functional applications and data processing of the vehicle by running software programs, instructions, and modules stored in the memory 620, that is, implements the data forwarding method described above.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 620 may further include memory located remotely from data forwarding system 610, which may be connected to the vehicle over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the vehicle. The output device 640 may include a display device such as a display screen.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a data forwarding method, the method including:
when a diagnosis instruction is received, communication data in a target Ethernet control unit ECU are obtained;
and forwarding the communication data to the corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the externally connected terminal equipment receives the communication data.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the data forwarding method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the data forwarding apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A data forwarding method is applied to a gateway controller, and comprises the following steps:
when a diagnosis instruction is received, communication data in the target Ethernet electronic control unit ECU are obtained;
and forwarding the communication data to a corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the externally-connected terminal equipment receives the communication data.
2. The method of claim 1, wherein after receiving the diagnostic instruction and before obtaining the communication data in the target ethernet channel, further comprising:
and switching the current working mode to an expansion mode according to the diagnosis instruction.
3. The method according to claim 1 or 2, wherein after the receiving the diagnosis instruction, before the obtaining the communication data in the target ethernet channel, further comprising:
carrying out safety verification on the diagnosis instruction;
after the verification is passed, determining the writing condition of the mirror configuration data;
and under the condition that the mirror image configuration data is successfully written, determining a target Ethernet ECU according to the mirror image configuration data.
4. The method of claim 3, further comprising, prior to said obtaining communication data in the target Ethernet channel:
and configuring the mirror image function of the internal switch chip by configuring the driving software.
5. The method according to claim 3 or 4, wherein the forwarding the communication data to the corresponding on-board automatic diagnostic system (OBD) Ethernet channel in a mirroring manner comprises:
and forwarding the communication data to a corresponding OBD Ethernet interface in a mirror image mode so that the externally connected terminal equipment receives the communication data.
6. The method of claim 1, wherein the terminal device comprises one of: a personal computer PC; a notebook computer; a diagnostic instrument for a vehicle.
7. A data forwarding apparatus, comprising:
the acquisition module is used for acquiring communication data in the target Ethernet ECU when a diagnosis instruction is received;
and the forwarding module is used for forwarding the communication data to a corresponding OBD Ethernet channel of the vehicle-mounted automatic diagnosis system in a mirror image mode so that the external terminal equipment can receive the communication data.
8. A data forwarding system, comprising: the system comprises a gateway controller, an OBD Ethernet channel and at least two Ethernet ECUs; the gateway controller includes: a switch chip and a gateway master chip;
the OBD Ethernet channel and each Ethernet ECU are connected with the gateway controller;
the gateway controller acquires communication data in at least one Ethernet ECU after receiving a diagnosis instruction sent by a CAN channel or an OBD Ethernet channel on the OBD; and the gateway controller forwards the communication data to the OBD Ethernet channel through the switch chip so that the external terminal equipment receives the communication data.
9. A vehicle, characterized by comprising: a memory, and the data forwarding system of claim 8;
the memory for storing one or more programs;
when executed by the data forwarding system, cause the data forwarding system to implement the data forwarding method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the data forwarding method according to any one of claims 1-6.
CN202110292871.5A 2021-03-18 2021-03-18 Data forwarding method, device, system, vehicle and storage medium Pending CN113285973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110292871.5A CN113285973A (en) 2021-03-18 2021-03-18 Data forwarding method, device, system, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110292871.5A CN113285973A (en) 2021-03-18 2021-03-18 Data forwarding method, device, system, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN113285973A true CN113285973A (en) 2021-08-20

Family

ID=77275962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110292871.5A Pending CN113285973A (en) 2021-03-18 2021-03-18 Data forwarding method, device, system, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN113285973A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827267A (en) * 2022-04-25 2022-07-29 深圳市元征科技股份有限公司 Data reading method and device, terminal equipment and storage medium
CN115597630A (en) * 2022-12-13 2023-01-13 深圳市徐港电子有限公司(Cn) Detection method and system of vehicle navigation device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254177A (en) * 2016-07-29 2016-12-21 浙江吉利控股集团有限公司 A kind of diagnosis method for routing based on standalone gateway and system
US20170324817A1 (en) * 2016-05-05 2017-11-09 Veniam, Inc. Systems and Methods for Managing Vehicle OBD Data in a Network of Moving Things, for Example Including Autonomous Vehicle Data
CN110011809A (en) * 2019-03-29 2019-07-12 深圳市元征科技股份有限公司 A kind of communication means and vehicle diagnostic equipment of vehicle diagnostic equipment
CN111025974A (en) * 2019-12-13 2020-04-17 厦门宏发汽车电子有限公司 Vehicle gateway controller, configuration method thereof and automobile system
CN111294768A (en) * 2020-04-07 2020-06-16 大连毅无链信息技术有限公司 Remote vehicle-mounted system and fault diagnosis, information acquisition and remote upgrading method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170324817A1 (en) * 2016-05-05 2017-11-09 Veniam, Inc. Systems and Methods for Managing Vehicle OBD Data in a Network of Moving Things, for Example Including Autonomous Vehicle Data
CN106254177A (en) * 2016-07-29 2016-12-21 浙江吉利控股集团有限公司 A kind of diagnosis method for routing based on standalone gateway and system
CN110011809A (en) * 2019-03-29 2019-07-12 深圳市元征科技股份有限公司 A kind of communication means and vehicle diagnostic equipment of vehicle diagnostic equipment
CN111025974A (en) * 2019-12-13 2020-04-17 厦门宏发汽车电子有限公司 Vehicle gateway controller, configuration method thereof and automobile system
CN111294768A (en) * 2020-04-07 2020-06-16 大连毅无链信息技术有限公司 Remote vehicle-mounted system and fault diagnosis, information acquisition and remote upgrading method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827267A (en) * 2022-04-25 2022-07-29 深圳市元征科技股份有限公司 Data reading method and device, terminal equipment and storage medium
CN115597630A (en) * 2022-12-13 2023-01-13 深圳市徐港电子有限公司(Cn) Detection method and system of vehicle navigation device and electronic equipment

Similar Documents

Publication Publication Date Title
US7024508B2 (en) Bus station with integrated bus monitor function
CN113285973A (en) Data forwarding method, device, system, vehicle and storage medium
CN114137937B (en) Automatic diagnosis function test method and system
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
US8904235B2 (en) Online debug system and online debug method for information processing device
CN112202884A (en) Data transmission method for vehicle connection interface device and related equipment
US8417840B2 (en) Methods for analyzing USB data traffic using a single USB host controller
WO2001042933A2 (en) Method and apparatus of remote computer management
CN113347273B (en) Vehicle-mounted Ethernet data conversion method, device, equipment and medium
US20170187567A1 (en) Electronic control apparatus
JP3801088B2 (en) Vehicle communication device
CN111596638A (en) Vehicle troubleshooting method, device, equipment and computer readable storage medium
US10095643B2 (en) Direct memory access control device for at least one computing unit having a working memory
CN113626350A (en) System component and use of a system component
CN110659043B (en) Firmware upgrading method, device, equipment and storage medium
CN111865839B (en) Communication method, device and equipment of electronic control unit and computer storage medium
US8468394B2 (en) Method of tracing selected activities within a data processing system by tagging selected items and tracing the tagged items
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
KR101712370B1 (en) Ethernet device and system for supporting error packet analysis
CN212749579U (en) Vehicle interface data recognition device, equipment and chip
CN117908509A (en) State management method and device of calibration mode and electronic equipment
CN116599917B (en) Network port determining method, device, equipment and storage medium
CN116483771A (en) Communication method, device and system among multiple computing expansion modules
US20210281440A1 (en) System-in-loop testing for adas socs
CN116233277A (en) Data transmission method, device, system and medium based on USB shared 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210820