WO2023174217A1 - 车辆以太网诊断方法、装置、设备和介质 - Google Patents

车辆以太网诊断方法、装置、设备和介质 Download PDF

Info

Publication number
WO2023174217A1
WO2023174217A1 PCT/CN2023/081145 CN2023081145W WO2023174217A1 WO 2023174217 A1 WO2023174217 A1 WO 2023174217A1 CN 2023081145 W CN2023081145 W CN 2023081145W WO 2023174217 A1 WO2023174217 A1 WO 2023174217A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
target controller
vehicle
request
access
Prior art date
Application number
PCT/CN2023/081145
Other languages
English (en)
French (fr)
Inventor
谭龙远
Original Assignee
北京罗克维尔斯科技有限公司
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 北京罗克维尔斯科技有限公司 filed Critical 北京罗克维尔斯科技有限公司
Publication of WO2023174217A1 publication Critical patent/WO2023174217A1/zh

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Definitions

  • the present disclosure relates to the field of vehicle communication technology, and in particular, to a vehicle Ethernet diagnostic method, device, equipment and medium.
  • the vehicle Ethernet node is functionally debugged or fault diagnosed based on the open OBD (On Board Diagnostics) network interface.
  • OBD On Board Diagnostics
  • the after-sales diagnostic instrument PC, client program
  • DoIP DoIP The protocol performs specified business operations (such as reading version information, fault codes, etc.).
  • a program is preset in the after-sales diagnostic instrument, and the after-sales diagnostic instrument (PC, client program) is connected to the OBD interface. Based on the pre-set program of the after-sales diagnostic instrument, fault detection is performed on the vehicle Ethernet control point node, and based on the returned error The code determines the faulty controller node of the vehicle's Ethernet.
  • the diagnosis method of the after-sales diagnostic tool is based on preset programs, the diagnosis flexibility is low.
  • the present disclosure provides a vehicle Ethernet diagnosis method, device, equipment and medium.
  • an embodiment of the present disclosure provides a vehicle Ethernet diagnosis method, including:
  • the identity authentication request passes, in response to the access request sent by the terminal device, perform an authorization operation on the operation authority of the target controller that the terminal device requests access to, wherein the target controller is determined based on the access request;
  • operation diagnosis is performed on the target controller requested to be accessed by the terminal device.
  • the access request includes identification information of the target controller requesting access
  • performing an operation permission authorization operation on the target controller that the terminal device requests access to includes:
  • authorizing the operation permissions of the target controller requested by the terminal device includes performing an access authorization operation on the domain control unit in the vehicle Ethernet.
  • Different domain control units correspond to one identification information, and each domain control unit The units are communicated with the authorization module respectively.
  • the operation request includes an operation mode
  • performing operation diagnosis on the target controller requested to be accessed by the terminal device includes:
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode.
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode, including:
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode.
  • the obtained operation permission allows a read operation on the target controller, and the operation mode included in the operation request is for The target controller performs a write operation.
  • the vehicle Ethernet diagnostic method further includes:
  • the operation authority of the target controller is shut down.
  • the vehicle Ethernet diagnostic method further includes:
  • the operation authority of the target controller is turned off.
  • an embodiment of the present disclosure provides another vehicle Ethernet diagnostic method, including:
  • an operation request is sent to the vehicle, so that the vehicle performs operation diagnosis on the target controller based on the operation request.
  • the vehicle Ethernet diagnostic method further includes:
  • a shutdown request is sent to the vehicle, so that the vehicle shuts down the operation authority of the target controller based on the shutdown request.
  • an embodiment of the present disclosure provides a vehicle Ethernet diagnostic device, including:
  • An authorization operation module configured to respond to an access request sent by a terminal device when the identity authentication request passes, and perform an authorization operation on the target controller that the terminal device requests access to for operation permissions, wherein the target controller is based on The access request is determined;
  • An operation diagnosis module configured to respond to an operation request sent by a terminal device and perform operation diagnosis on the target controller that the terminal device requests access to.
  • an embodiment of the present disclosure provides another vehicle Ethernet diagnostic device, including:
  • An access request sending module configured to send an access request to the vehicle when the identity authentication request passes, so that the vehicle performs an authorization operation on the target controller based on the access request, wherein the target controller is based on the access request. request confirmation;
  • An operation request sending module is configured to send an operation request to the vehicle after receiving an authorized operation completion instruction of the operation authority sent by the vehicle, so that the vehicle performs operation diagnosis on the target controller based on the operation request.
  • an electronic device including:
  • processors one or more processors
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the first aspects or implement any one of the second aspects. method described.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method as described in any one of the first aspects is implemented or the method as described in the first aspect is implemented. The method described in any one of the two aspects.
  • embodiments of the present disclosure provide a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute any of the methods described in the first aspect or to implement any of the methods described in the second aspect. method described in one item.
  • the vehicle Ethernet diagnostic method, device, equipment and medium provided by the embodiments of the present disclosure, when the identity authentication request passes, responds to the access request sent by the terminal device, and performs operation permissions on the target controller that the terminal device requests access to.
  • Authorization operation in which the target controller is determined based on the access request and, in response to the operation request sent by the terminal device, performs operation diagnosis on the target controller that the terminal device requests access to, that is, the vehicle performs operation diagnosis on the target controller based on the access request sent by the terminal device.
  • the diagnostic operation is performed on the target controller according to the operation request. Since the target controller is determined based on the access request, the access request is triggered by the user on the terminal device. Therefore, the operation sent by the terminal device can be changed by changing the operation request.
  • Request to flexibly change the target controller for diagnostic operations thereby allowing the target controller for diagnostic operations to be flexibly changed, improving the flexibility of vehicle Ethernet diagnostic operations.
  • Figure 1 is a schematic flow chart of a vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure
  • Figure 2 is an interactive schematic diagram of vehicle Ethernet diagnosis provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flow chart of another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • Figure 4 is an interactive schematic diagram of another vehicle Ethernet diagnosis provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a vehicle Ethernet diagnostic system provided by an embodiment of the present disclosure.
  • Figure 6 is an interactive schematic diagram of yet another vehicle Ethernet diagnosis provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic flow chart of yet another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of yet another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • Figure 9 is a schematic structural diagram of a vehicle Ethernet diagnostic device provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another vehicle Ethernet diagnostic device provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the vehicle Ethernet diagnosis method provided by the embodiment of the present disclosure is applied to smart vehicles, and the method provided by the embodiment of the present disclosure can be executed by a server of the smart vehicle.
  • Figure 1 is a schematic flow chart of a vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • Figure 2 is an interactive schematic diagram of a vehicle Ethernet diagnosis provided by an embodiment of the present disclosure. Combining Figures 1 and 2, the vehicle Ethernet diagnosis method The method specifically includes the following steps S10 and S20.
  • the target controller is determined based on the access request.
  • the identity authentication request refers to the identity authentication between the terminal device and the vehicle's authentication module before the terminal device sends an access request to the vehicle.
  • the terminal device sends an identity authentication request to the vehicle's authentication module.
  • the vehicle's authentication module After receiving the identity authentication request sent by the terminal device, the vehicle's authentication module generates a first authentication message based on the identity authentication request and sends it. to the terminal device, so that the terminal device authenticates the first authentication message, and after the authentication module of the vehicle sends the first authentication message to the terminal device, the terminal device authenticates the first authentication message sent by the authentication module of the vehicle, After the terminal device passes the authentication of the first authentication message, the terminal device sends a second authentication message to the authentication module of the vehicle, so that the authentication module of the vehicle verifies the identity of the terminal device based on the second authentication message sent by the terminal device.
  • the vehicle's authentication module After the vehicle's authentication module authenticates the second authentication message, it can be determined that the authentication requests from both the terminal device and the vehicle have passed, that is, the identity authentication request has passed. At this time, the vehicle receives the access request sent by the terminal device. Finally, the vehicle authorizes the operation permissions of the target controller that the terminal device requests access to, thereby enabling The terminal device can diagnose the target controller.
  • the target controller may be determined based on identification information included in the access request.
  • the authorization operations of operation permissions include authorization operations of read permissions, authorization operations of write permissions, authorization operations of read and write permissions, etc.
  • the vehicle when the vehicle receives the access request sent by the terminal device, the vehicle determines the target controller based on the access request, and authorizes the operation permissions of the target controller requested by the terminal device to access, thereby ensuring that the terminal device operates
  • the diagnostic controller is the target controller expected by the tester, improving the flexibility of diagnosis.
  • the vehicle can receive the operation request sent by the terminal device, and perform operation diagnosis on the target controller based on the received operation request sent by the terminal device.
  • the operation requests include: request for read operation, request for write operation, request for read and write operation, etc.
  • the vehicle After receiving the access request sent by the terminal device, the vehicle authorizes the operation permissions of the target controller requested by the terminal device, and the target controller requested by the terminal device predicts fault issues based on the vehicle Ethernet for the tester. It is determined that the target controller may be faulty. Therefore, the embodiment of the present disclosure has a high flexibility in performing operational diagnosis on the target controller. That is, when the tester detects a fault in the vehicle Ethernet, he or she inputs the desired access address into the terminal device. The target controller sends the access request to the vehicle at this time. After receiving the access request, the vehicle authorizes the operation permissions of the controller that the terminal device requests access to, so that after the vehicle receives the operation request sent by the terminal device, Perform operational diagnosis on the target controller to achieve flexibility in vehicle diagnosis of the controller.
  • the vehicle Ethernet diagnostic method when the identity authentication request passes, responds to the access request sent by the terminal device, and performs an authorization operation for the operation permission of the target controller that the terminal device requests access to, wherein the target control
  • the controller determines based on the access request, responds to the operation request sent by the terminal device, and performs operation diagnosis on the target controller that the terminal device requests access to, that is, after the vehicle performs the authorized operation on the target controller based on the access request sent by the terminal device, According to the operation request, perform diagnostic operations on the target controller. Since the target controller is determined based on the access request, the access request is triggered by the user on the terminal device. Therefore, the diagnosis can be flexibly changed by changing the operation request sent by the terminal device. The target controller of the operation can be flexibly changed, thereby improving the flexibility of vehicle Ethernet diagnostic operations.
  • FIG. 3 is a schematic flowchart of another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • Figure 4 is an interactive schematic diagram of another vehicle Ethernet diagnosis provided by an embodiment of the present disclosure. The embodiment of the present disclosure is based on the above embodiment.
  • step S10 includes step S11 and step S12.
  • the access request includes identification information of the target controller requesting access.
  • the vehicle Ethernet controller includes multiple controllers, and different controllers correspond to different identification information.
  • the vehicle parses the access request sent by the terminal device to obtain the accessed information.
  • the identification information included in the access request is then determined based on the relationship between the identification information included in the access request and the identification information of each controller in the vehicle Ethernet, that is, the identification information corresponding to the controller in the vehicle Ethernet and the resolution of the access request are determined.
  • the controller is used as the target controller.
  • the vehicle After the vehicle determines the target controller, the vehicle issues an authorization request to the authorization module in the vehicle, so as to authorize the operation permissions of the target controller through the authorization module.
  • the vehicle Ethernet controller includes a domain control unit and an electronic control unit, as shown in Figure 5.
  • a domain control unit is communicatively connected to one or more electronic controller units, and the domain control unit can The message information corresponding to one or more electronic control units that are communicatively connected to the domain control unit is obtained. Therefore, in the embodiment of the present disclosure, the authorization operation for the operation permission of the target controller that the terminal device requests access to is mainly for the vehicle.
  • the domain control unit in the Ethernet performs access authorization operations. Different domain control units correspond to one identification information, and each domain control unit communicates with the authorization module respectively.
  • the vehicle Ethernet diagnosis method provided by the embodiment of the present disclosure, after the vehicle obtains the access request sent by the terminal device, it determines the controller corresponding to the identification information included in the access request as the target controller, and then the vehicle sends an authorization request to the authorization module.
  • the authorization module In order to enable the authorization module to authorize the operation permission of the target controller, since the target controller is determined based on the identification information included in the access request, it can be flexibly changed by changing the identification information included in the operation request sent by the terminal device.
  • Target controller for diagnostic operations increasing the flexibility of vehicle Ethernet diagnostic methods.
  • FIG. 6 is a schematic flowchart of yet another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 7 is an interactive schematic diagram of yet another vehicle Ethernet diagnosis provided by an embodiment of the present disclosure. The embodiment of the present disclosure is based on the above-mentioned embodiment. On the basis of FIG. 6 and FIG. 7 , step S20 includes step S21.
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode.
  • the operation request includes the operation mode.
  • Operation requests include read requests, write requests, read and write requests, etc.
  • the vehicle After the vehicle performs an operation permission authorization operation on the target controller that the terminal device requests access to, the vehicle receives the request operation sent by the terminal device, and performs operation diagnosis on the target controller that the terminal device requests access to based on the operation mode.
  • the identification information of the target controller included in the access request sent by the terminal device is ID1
  • the vehicle Ethernet includes controller 1, controller 2,..., controller n
  • the identification information of controller 1 is ID1
  • the identification information of controller 2 is ID2
  • the identification information of controller n is IDn.
  • the specific process of performing diagnostic operations based on the operation mode by the target controller requesting access to the terminal device includes:
  • the vehicle After receiving the operation request sent by the terminal device, the vehicle first accesses the target controller and obtains the operation permissions of the target controller, that is, obtains the operation permissions opened when the terminal device performs authorized operations on the target controller.
  • the operation permissions include permission To perform read operations and write operations, the operation permissions of the target controller obtained at this time are allowed to perform read operations and write operations on the target controller.
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode.
  • the operation permission includes the operation mode. Therefore, the vehicle diagnoses the target controller based on the operation mode.
  • the operation permission does not include an operation mode
  • the obtained operation permission is to allow a read operation on the target controller
  • the operation mode included in the operation request is to perform a write operation on the target controller.
  • the operation permission does not include the operation mode. Therefore, the vehicle cannot diagnose the target controller based on the operation mode.
  • you can return prompt information such as the diagnosis method is incorrect or the diagnosis method does not match, or it is recommended to change the diagnosis method. , to return to the terminal device, so that the tester can obtain the prompt message in time and improve the tester's diagnostic efficiency.
  • the vehicle Ethernet diagnostic method provided by the embodiment of the present disclosure further includes: in response to a shutdown request sent by the terminal device, shutting down the operation authority of the target controller.
  • the vehicle when the vehicle receives the shutdown request sent by the terminal device, the vehicle turns off the operating authority of the target controller, so that the operating authority of the terminal device on the vehicle is turned off.
  • the operation permission of the target controller is turned off.
  • the terminal device does not send a shutdown request after completing the diagnosis of the controller, but directly shuts down the terminal device, the corresponding terminal device is offline at this time.
  • the vehicle detects that the terminal device is offline, the vehicle shuts down Operation permissions issued to the target controller.
  • the vehicle side is used as the execution subject for illustration.
  • the following will use specific embodiments to introduce the terminal device side as the execution subject for detailed explanation.
  • FIG. 8 is a schematic flowchart of yet another vehicle Ethernet diagnosis method provided by an embodiment of the present disclosure.
  • the vehicle Ethernet diagnosis method includes step S100 and step S200.
  • the target controller is determined based on the access request.
  • the vehicle Ethernet diagnosis method sents an access request to the vehicle when the identity authentication request passes, so that the vehicle performs an authorization operation on the target controller based on the access request. After receiving After the authorized operation completion instruction of the operation permission is sent to the vehicle, an operation request is sent to the vehicle so that the vehicle can perform operation diagnosis on the target controller based on the operation request. Since the target controller is determined based on the access request, the access request is for the user at the terminal. Device-triggered, therefore, the target controller for diagnostic operations can be flexibly changed by changing the identification information included in the operation request sent by the terminal device, thereby allowing the target controller for diagnostic operations to be flexibly changed, improving vehicle Ethernet diagnostic operations. flexibility.
  • the method further includes: sending a shutdown request to the vehicle, so that the vehicle turns off the operation authority of the target controller based on the shutdown request.
  • the terminal device when the terminal device finishes diagnosing the target controller, the terminal device sends a shutdown request to the vehicle. At this time, after the vehicle receives the shutdown request sent by the terminal device, the vehicle shuts down the operation authority of the target controller, so that the terminal device can be shut down. Access to the target controller in the vehicle.
  • FIG 9 is a schematic structural diagram of a vehicle Ethernet diagnostic device provided by an embodiment of the present disclosure. As shown in Figure 9, the vehicle Ethernet diagnostic device includes an authorization operation module 910 and an operation diagnosis module 920.
  • the authorization operation module 910 is configured to, in response to the access request sent by the terminal device when the identity authentication request passes, perform an authorization operation on the operation permissions of the target controller that the terminal device requests access to, wherein the target controller determines based on the access request. .
  • the operation diagnosis module 920 is configured to perform operation diagnosis on the target controller that the terminal device requests to access in response to the operation request sent by the terminal device.
  • the authorization operation module when the identity authentication request passes, responds to the access request sent by the terminal device and performs the authorization operation on the target controller that the terminal device requests access to for operation permissions.
  • the target controller is determined based on the access request
  • the operation diagnosis module responds to the operation request sent by the terminal device and performs operation diagnosis on the target controller requested by the terminal device to access, that is, the vehicle performs operation diagnosis on the target controller according to the access request sent by the terminal device.
  • the diagnostic operation is performed on the target controller according to the operation request. Since the target controller is determined based on the access request, the access request is triggered by the user on the terminal device. Therefore, the operation sent by the terminal device can be changed by changing the operation request.
  • the identification information included in the request can flexibly change the target controller for diagnostic operations, thereby allowing the target controller for diagnostic operations to be flexibly changed, improving the flexibility of vehicle Ethernet diagnostic operations.
  • the authorization operation module includes:
  • the operational diagnostic module includes:
  • the target controller requesting access to the terminal device performs operation diagnosis based on the operation mode.
  • the operational diagnostic module includes:
  • the target controller requesting access to the terminal device performs the operation based on the operation mode. Operational diagnostics.
  • it also includes:
  • the first deletion module is configured to close the operation permission of the target controller in response to a shutdown request sent by the terminal device.
  • it also includes:
  • the second deletion module is used to close the operation authority of the target controller when detecting that the status of the terminal device is offline.
  • FIG 10 is a schematic structural diagram of another vehicle Ethernet diagnostic device provided by an embodiment of the present disclosure. As shown in Figure 10, the vehicle Ethernet diagnostic device includes an access request sending module 1010 and an operation request sending module 1011.
  • the access request sending module 1010 is used to send an access request to the vehicle when the identity authentication request passes, so that the vehicle performs an authorization operation on the target controller based on the access request, wherein the target controller is determined based on the access request;
  • the operation request sending module 1011 is configured to send an operation request to the vehicle after receiving an authorized operation completion instruction of the operation permission sent by the vehicle, so that the vehicle performs operation diagnosis on the target controller based on the operation request.
  • it also includes:
  • a shutdown module is used to send a shutdown request to the vehicle, so that the vehicle shuts down the operation authority of the target controller based on the shutdown request.
  • the device provided by the embodiments of the present disclosure can execute the method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
  • the present disclosure also provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the above method embodiments are implemented.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by the present disclosure.
  • FIG. 11 shows a block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure.
  • the electronic device shown in FIG. 11 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 600 is embodied in the form of a general computing device.
  • the components of electronic device 600 may include, but are not limited to: one or more processors 610, system memory 620, and a bus 630 connecting different system components (including system memory 620 and processors).
  • Bus 630 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerated port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnect
  • Electronic device 600 typically includes a variety of computer system readable media. These media can be any media that can be accessed by electronic device 600, including volatile and nonvolatile media, removable and non-removable media.
  • System memory 620 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 640 and/or cache memory 650. Electronic device 600 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 660 may be used to read and write to non-removable, non-volatile magnetic media (commonly referred to as "hard drives").
  • Disk drives may be provided for reading and writing from removable non-volatile disks (e.g., "floppy disks"), and for reading and writing from removable non-volatile optical disks (e.g., CD-ROMs, DVD-ROMs, or other optical media).
  • CD-ROM drive may be connected to bus 630 through one or more data media interfaces.
  • System memory 620 may include at least one program product having a set (eg, at least one) program module configured to perform the functions of various embodiments of the present disclosure.
  • a program/utility 680 having a set of (at least one) program modules 670 may be stored, for example, in system memory 620. Data, each of these examples or some combination may include an implementation of a network environment.
  • Program modules 670 generally perform functions and/or methods in the described embodiments of the present disclosure.
  • the processor 610 executes at least one program among a plurality of programs stored in the system memory 620 to perform various functional applications and information processing, such as implementing the method embodiments provided by the embodiments of the present disclosure.
  • the present disclosure also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • the steps of the above method embodiments are implemented.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections having one or more conductors, portable computer disks, hard drives, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
  • code It may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN) domain, or may be connected to an external computer (e.g., using an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., using an Internet service provider
  • the present disclosure also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute steps for implementing the above method embodiments.

Abstract

一种车辆以太网诊断方法、装置、设备和介质,包括:在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的目标控制器进行操作权限的授权操作(S10),其中,目标控制器基于访问请求确定;响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断(S20)。

Description

车辆以太网诊断方法、装置、设备和介质
相关申请的交叉引用
本申请基于申请号为202210271275.3、申请日为2022年03月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及车辆通信技术领域,尤其涉及一种车辆以太网诊断方法、装置、设备和介质。
背景技术
随着车辆的电子化、智能化以及网络化的快速发展,车内电子系统的规模和复杂性日益增强。其中,车辆以太网技术有望成为未来智能车辆的主干网络。
现有技术中,基于开放的OBD(On Board Diagnostics,车载自动诊断系统)网络接口对车辆以太网节点进行功能调试或故障诊断,售后诊断仪(PC、客户端程序)通过连接OBD接口,使用DoIP协议进行指定业务操作(如读取版本信息,故障码等)。
现有技术中,售后诊断仪中预置程序,售后诊断仪(PC、客户端程序)连接OBD接口,基于售后诊断仪预置程序对车辆以太网控制点节点进行故障检测,并根据返回的错误码确定车辆以太网发生故障的控制器节点,但由于售后诊断仪诊断的方式是基于预置程序进行诊断,因此,诊断灵活性较低。
因此,如何在车辆以太网技术中提高诊断的灵活性成为需要解决的问题。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种车辆以太网诊断方法、装置、设备和介质。
在第一方面中,本公开实施例提供一种车辆以太网诊断方法,包括:
在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断。
在一些实施例中,所述访问请求包括请求访问的目标控制器的标识信息;
所述响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,包括:
响应于所述终端设备发送的访问请求,确定与所述标识信息对应的控制器作为目标控制器;
发送授权请求至授权模块,以使授权模块对所述目标控制器进行操作权限的授权操作。
在一些实施例中,对所述终端设备请求访问的目标控制器进行操作权限的授权操作包括对车辆以太网中的域控制单元进行访问授权操作,不同域控制单元对应一个标识信息,各域控制单元分别与授权模块通信连接。
在一些实施例中,所述操作请求包括操作方式;
所述响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断,包括:
响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断。
在一些实施例中,所述响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断,包括:
响应于终端设备发送的操作请求,访问所述目标控制器,获取所述目标控制器的操作权限,其中,所述操作权限基于所述授权操作确定;
在所述操作权限包括所述操作方式时,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断。
在一些实施例中,在所述操作权限中不包括所述操作方式时,获取的所述操作权限允许对所述目标控制器进行读操作,所述操作请求中包括的所述操作方式为对所述目标控制器进行写操作。
在一些实施例中,所述车辆以太网诊断方法还包括:
响应于终端设备发送的关闭请求,关闭所述目标控制器的操作权限。
在一些实施例中,所述车辆以太网诊断方法还包括:
在检测所述终端设备的状态为离线状态时,关闭所述目标控制器的操作权限。
在第二方面中,本公开实施例提供另一种车辆以太网诊断方法,包括:
在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至所述车辆,以使所述车辆基于操作请求对所述目标控制器进行操作诊断。
在一些实施例中,所述车辆以太网诊断方法还包括:
发送关闭请求至所述车辆,以使所述车辆基于关闭请求关闭目标控制器的操作权限。
在第三方面中,本公开实施例提供一种车辆以太网诊断装置,包括:
授权操作模块,用于在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
操作诊断模块,用于响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断。
在第四方面中,本公开实施例提供另一种车辆以太网诊断装置,包括:
访问请求发送模块,用于在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
操作请求发送模块,用于在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至所述车辆,以使所述车辆基于操作请求对所述目标控制器进行操作诊断。
在第五方面中,本公开实施例提供一种电子设备,包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面中任一项所述的方法或实现第二方面任一项所述的方法。
在第六方面中,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面中任一项所述的方法或实现如第二方面任一项所述的方法。
在第七方面中,本公开实施例提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行实现如第一方面中任一项所述的方法或实现如第二方面任一项所述的方法。
本公开实施例提供的车辆以太网诊断方法、装置、设备和介质,在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的的目标控制器进行操作权限的授权操作,其中,目标控制器基于访问请求确定,响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断,即车辆在根据终端设备发送的访问请求对目标控制器进行操作权限的授权操作后,根据操作请求,对目标控制器进行诊断操作,由于目标控制器是基于访问请求确定的,访问请求为用户在终端设备触发的,因此,可通过改变终端设备发送的操作请求,灵活的改变进行诊断操作的目标控制器,进而使得进行诊断操作的目标控制器灵活变更,提高车辆以太网诊断操作的灵活性。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的一种车辆以太网诊断方法的流程示意图;
图2是本公开实施例提供的一种车辆以太网诊断的交互示意图;
图3是本公开实施例提供的另一种车辆以太网诊断方法的流程示意图;
图4是本公开实施例提供的另一种车辆以太网诊断的交互示意图;
图5是本公开实施例提供的一种车辆以太网诊断系统的结构示意图;
图6是本公开实施例提供的又一种车辆以太网诊断的交互示意图;
图7是本公开实施例提供的又一种车辆以太网诊断方法的流程示意图;
图8是本公开实施例提供的又一种车辆以太网诊断方法的流程示意图;
图9是本公开实施例提供的一种车辆以太网诊断装置的结构示意图;
图10是本公开实施例提供的另一种车辆以太网诊断装置的结构示意图;
图11是本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
本公开实施例提供的车辆以太网诊断方法应用于智能车辆,本公开实施例提供的方法可由智能车辆的服务器来执行。
图1是本公开实施例提供的一种车辆以太网诊断方法的流程示意图,图2是本公开实施例提供的一种车辆以太网诊断的交互示意图,结合图1和图2,车辆以太网诊断方法具体包括以下步骤S10和S20。
S10、在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的目标控制器进行操作权限的授权操作。
其中,目标控制器基于访问请求确定。
具体的,身份认证请求指的是终端设备向车辆发送访问请求之前,终端设备与车辆的认证模块之间的身份认证,通过进行身份认证,可以保证对控制器进行操作诊断的安全性。
身份认证的具体过程参见图2:首先终端设备发送身份认证请求至车辆的认证模块,车辆的认证模块在接收到终端设备发送的身份认证请求后,基于身份认证请求生成第一认证报文并发送至终端设备,以使得终端设备对第一认证报文进行认证,在车辆的认证模块发送第一认证报文至终端设备后,终端设备对车辆的认证模块发送的第一认证报文进行认证,当终端设备对第一认证报文认证通过后,终端设备发送第二认证报文至车辆的认证模块,使得车辆的认证模块基于终端设备发送的第二认证报文对终端设备的身份进行验证,当车辆的认证模块对第二认证报文认证通过后,此时可以确定,终端设备和车辆两端认证请求均通过,即身份认证请求通过,此时,车辆在接收到终端设备发送的访问请求后,车辆对终端设备请求访问的目标控制器进行操作权限的授权操作,进而使 得终端设备能够对目标控制器进行诊断。
在一些实施例中,可基于访问请求包括的标识信息确定目标控制器。
其中操作权限的授权操作包括读权限的授权操作、写权限的授权操作、读写权限的授权操作等。
本公开实施例中,当车辆接收到终端设备发送的访问请求后,车辆基于访问请求确定目标控制器,并对终端设备请求访问的目标控制器进行操作权限的授权操作,进而保证终端设备进行操作诊断的控制器为测试人员预期的目标控制器,提高诊断的灵活性。
S20、响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断。
当对终端设备请求访问的目标控制器进行操作权限的授权操作后,此时,车辆可以接收终端设备发送的操作请求,并基于接收到的终端设备发送的操作请求对目标控制器进行操作诊断。
具体的,操作请求包括:请求读操作请求、请求写操作请求、请求读写操作请求等。
车辆在接收到终端设备发送的访问请求后,对终端设备请求访问的目标控制器进行操作权限的授权操作,而终端设备请求访问的目标控制器为测试者基于车辆以太网的故障问题进行预判确定的可能发生故障的目标控制器,因此,本公开实施例对目标控制器进行操作诊断的灵活性较高,即测试者在检测到车辆以太网发生故障时,通过在终端设备输入期望访问的目标控制器,此时将访问请求发送至车辆,车辆在接收到访问请求后,对终端设备请求访问的控制器进行操作权限的授权操作,进而使得车辆在接收到终端设备发送的操作请求后,对目标控制器进行操作诊断,实现车辆对控制器诊断的灵活性。
本公开实施例提供的车辆以太网诊断方法,在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的目标控制器进行操作权限的授权操作,其中,目标控制器基于访问请求确定,响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断,即车辆在根据终端设备发送的访问请求对目标控制器进行操作权限的授权操作后,根据操作请求,对目标控制器进行诊断操作,由于目标控制器是基于访问请求确定的,访问请求为用户在终端设备触发的,因此,可通过改变终端设备发送的操作请求,灵活的改变进行诊断操作的目标控制器,进而使得进行诊断操作的目标控制器灵活变更,提高车辆以太网诊断操作的灵活性。
图3是本公开实施例提供的另一种车辆以太网诊断方法的流程示意图,图4是本公开实施例提供的另一种车辆以太网诊断的交互示意图,本公开实施例是在上述实施例的基础上,结合图3和图4,步骤S10包括步骤S11和步骤S12。
S11、响应于终端设备发送的访问请求,确定与标识信息对应的控制器作为目标控制器。
其中,访问请求包括请求访问的目标控制器的标识信息。
具体的,车辆以太网的控制器包括多个控制器,不同控制器对应不同的标识信息,当终端设备发送访问请求至车辆后,车辆对终端设备发送的访问请求进行解析获取到访 问请求中包括的标识信息,然后基于访问请求包括的标识信息与车辆以太网各控制器的标识信息的关系,确定目标控制器,即车辆以太网中控制器对应的标识信息与访问请求解析的标识信息相同时,则该控制器作为目标控制器。
S12、发送授权请求至授权模块,以使授权模块对目标控制器进行操作权限的授权操作。
车辆在确定目标控制器后,车辆下发授权请求至车辆中的授权模块,以通过授权模块对目标控制器进行操作权限的授权操作。
需要说明的是,车辆以太网的控制器包括域控制单元和电子控制单元,如图5所示,参见图5,一个域控制单元与一个或多个电子控制器单元通信连接,域控制单元可以获取到与该域控制单元通信连接的一个或多个电子控制单元对应的报文信息,因此,本公开实施例中,对终端设备请求访问的目标控制器进行操作权限的授权操作主要是对车辆以太网中的域控制单元进行访问授权操作,不同域控制单元对应一个标识信息,各域控制单元分别与授权模块通信连接。
本公开实施例提供的车辆以太网诊断方法,车辆在获取到终端设备发送的访问请求后,确定与访问请求包括的标识信息对应的控制器作为目标控制器,然后车辆发送授权请求至授权模块,以使授权模块对目标控制器进行操作权限的授权操作,由于目标控制器是基于访问请求包括的标识信息确定的,因此,可通过改变终端设备发送的操作请求中包括的标识信息,灵活的改变进行诊断操作的目标控制器,提高车辆以太网诊断方法的灵活性。
图6是本公开实施例提供的又一种车辆以太网诊断方法的流程示意图,图7是本公开实施例提供的又一种车辆以太网诊断的交互示意图,本公开实施例是在上述实施例的基础上,结合图6和图7,步骤S20包括步骤S21。
S21、响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器基于操作方式进行操作诊断。
其中,操作请求包括操作方式。
操作请求包括读请求、写请求和读写请求等。
当车辆对终端设备请求访问的目标控制器进行操作权限的授权操作后,车辆接收终端设备发送的请求操作,对终端设备请求访问的目标控制器基于操作方式进行操作诊断。
示例性的,终端设备发送的访问请求包括的目标控制器的标识信息为ID1,车辆以太网包括控制器1、控制器2、...、控制器n,控制器1的标识信息为ID1,控制器2的标识信息为ID2,控制器n的标识信息为IDn,车辆在接收到终端设备发送的访问请求后,对控制器1进行操作权限的授权操作,此时,对控制器1进行操作权限的授权操作后,车辆可以对控制器1进行诊断操作,具体诊断操作方式与操作请求中包括的操作方式有关。
在一些实施例中,对终端设备请求访问的目标控制器基于操作方式进行诊断操作的具体过程,包括:
响应于终端设备发送的操作请求,访问目标控制器,获取目标控制器的操作权限,其中,操作权限基于授权操作确定。
当车辆接收到终端设备发送的操作请求后,首先访问目标控制器,获取目标控制器的操作权限,即获取终端设备对目标控制器进行授权操作时所开通的操作权限,例如,操作权限包括允许进行读操作和写操作,则此时获取的目标控制器的操作权限为允许对目标控制器进行读操作和写操作。
在操作权限包括操作方式时,对终端设备请求访问的目标控制器基于操作方式进行操作诊断。
当终端设备发送至车辆的操作请求中包括的操作方式为对目标控制器进行写操作,此时,操作权限中包括操作方式,因此,车辆基于操作方式对目标控制器进行诊断。
在其它可实施方式中,当操作权限中不包括操作方式时,示例性的,获取的操作权限为允许对目标控制器进行读操作,操作请求中包括的操作方式为对目标控制器进行写操作,此时,操作权限中不包括操作方式,因此,车辆无法实现基于操作方式对目标控制器进行诊断,此时,可通过返回诊断方式有误或诊断方式不匹配或建议更改诊断方式等提示信息,以返回至终端设备,进而使得测试人员能够及时获取到提示消息,提高测试人员的诊断效率。
在一些实施例中,本公开实施例提供的车辆以太网诊断方法还包括:响应于终端设备发送的关闭请求,关闭目标控制器的操作权限。
结合图7,当车辆接收到终端设备发送的关闭请求后,车辆关闭目标控制器的操作权限,使得实现关闭终端设备对车辆的操作权限。
在一些实施例中,继续参见图7,在检测到终端设备的状态为离线状态时,关闭目标控制器的操作权限。
此外,若终端设备在完成对控制器的诊断后,终端设备未发送关闭请求,而是直接关闭终端设备,此时对应终端设备为离线状态,当车辆检测到终端设备为离线状态时,车辆关闭下发至目标控制器的操作权限。
上述实施例中,示例性以车辆端为执行主体进行举例说明,以下将通过具体的实施例介绍以终端设备侧为执行主体进行具体说明。
图8是本公开实施例提供的又一种车辆以太网诊断方法的流程示意图,结合图2和图8,车辆以太网诊断方法包括步骤S100和步骤S200。
S100、在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作。
其中,目标控制器基于访问请求确定。
S200、在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至车辆,以使车辆基于操作请求对目标控制器进行操作诊断。
本公开实施例提供的车辆以太网诊断方法,在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,在接收 到车辆发送的操作权限的授权操作完成指示后,发送操作请求至车辆,以使车辆基于操作请求对目标控制器进行操作诊断,由于目标控制器是基于访问请求确定的,访问请求为用户在终端设备触发的,因此,可通过改变终端设备发送的操作请求中包括的标识信息,灵活的改变进行诊断操作的目标控制器,进而使得进行诊断操作的目标控制器灵活变更,提高车辆以太网诊断操作的灵活性。
在一些实施例中,还包括:发送关闭请求至车辆,以使得车辆基于关闭请求关闭目标控制器的操作权限。
结合图7,当终端设备结束对目标控制器的诊断,终端设备发送关闭请求至车辆,此时车辆接收到终端设备发送的关闭请求后,车辆关闭目标控制器的操作权限,使得实现关闭终端设备对车辆中目标控制器的访问权限。
图9是本公开实施例提供的一种车辆以太网诊断装置的结构示意图,如图9所示,车辆以太网诊断装置包括授权操作模块910和操作诊断模块920。
授权操作模块910,用于在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的目标控制器进行操作权限的授权操作,其中,目标控制器基于访问请求确定。
操作诊断模块920,用于响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断。
本公开实施例提供的车辆以太网诊断方法,授权操作模块在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对终端设备请求访问的的目标控制器进行操作权限的授权操作,其中,目标控制器基于访问请求确定,操作诊断模块响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器进行操作诊断,即车辆在根据终端设备发送的访问请求对目标控制器进行操作权限的授权操作后,根据操作请求,对目标控制器进行诊断操作,由于目标控制器是基于访问请求确定的,访问请求为用户在终端设备触发的,因此,可通过改变终端设备发送的操作请求中包括的标识信息,灵活的改变进行诊断操作的目标控制器,进而使得进行诊断操作的目标控制器灵活变更,提高车辆以太网诊断操作的灵活性。
在一些实施例中,授权操作模块包括:
响应于终端设备发送的访问请求,确定与标识信息对应的控制器作为目标控制器;
发送授权请求至授权模块,以使授权模块对目标控制器进行操作权限的授权操作。
在一些实施例中,操作诊断模块包括:
响应于终端设备发送的操作请求,对终端设备请求访问的目标控制器基于操作方式进行操作诊断。
在一些实施例中,操作诊断模块包括:
响应于终端设备发送的操作请求,访问目标控制器,获取目标控制器的操作权限,其中,操作权限基于授权操作确定;
在操作权限包括操作方式时,对终端设备请求访问的目标控制器基于操作方式进行 操作诊断。
在一些实施例中,还包括:
第一删除模块,用于响应于终端设备发送的关闭请求,关闭目标控制器的操作权限。
在一些实施例中,还包括:
第二删除模块,用于在检测终端设备的状态为离线状态时,关闭目标控制器的操作权限。
图10是本公开实施例提供的另一种车辆以太网诊断装置的结构示意图,如图10所示,车辆以太网诊断装置包括访问请求发送模块1010和操作请求发送模块1011。
访问请求发送模块1010,用于在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,其中,目标控制器基于访问请求确定;
操作请求发送模块1011,用于在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至车辆,以使车辆基于操作请求对目标控制器进行操作诊断。
在一些实施例中,还包括:
关闭模块,用于发送关闭请求至车辆,以使车辆基于关闭请求关闭目标控制器的操作权限。
本公开实施例所提供的装置可执行本公开任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。
值得注意的是,上述装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开的保护范围。
本公开还提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。
图11为本公开提供的一种电子设备的结构示意图,图11示出了适于用来实现本公开实施例的示例性电子设备的框图。图11显示的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图11所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:一个或者多个处理器610,系统存储器620,连接不同系统组件(包括系统存储器620和处理器)的总线630。
总线630表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。
电子设备600典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备600访问的介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
系统存储器620可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)640和/或高速缓存存储器650。电子设备600可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统660可以用于读写不可移动的、非易失性磁介质(通常称为“硬盘驱动器”)。可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM、DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线630相连。系统存储器620可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开实施例各实施例的功能。
具有一组(至少一个)程序模块670的程序/实用工具680,可以存储在例如系统存储器620中,这样的程序模块670包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块670通常执行本公开实施例所描述的实施例中的功能和/或方法。
处理器610通过运行存储在系统存储器620中的多个程序中的至少一个程序,从而执行各种功能应用以及信息处理,例如实现本公开实施例所提供的方法实施例。
本公开还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的步骤。
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码 可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)域连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
本公开还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行实现上述方法实施例的步骤。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (15)

  1. 一种车辆以太网诊断方法,包括:
    在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
    响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断。
  2. 根据权利要求1所述的方法,其中,所述访问请求包括请求访问的目标控制器的标识信息;
    所述响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,包括:
    响应于所述终端设备发送的访问请求,确定与所述标识信息对应的控制器作为目标控制器;
    发送授权请求至授权模块,以使授权模块对所述目标控制器进行操作权限的授权操作。
  3. 根据权利要求2所述的方法,其中,对所述终端设备请求访问的目标控制器进行操作权限的授权操作包括对车辆以太网中的域控制单元进行访问授权操作,不同域控制单元对应一个标识信息,各域控制单元分别与授权模块通信连接。
  4. 根据权利要求1所述的方法,其中,所述操作请求包括操作方式;
    所述响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断,包括:
    响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断。
  5. 根据权利要求4所述的方法,其中,所述响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断,包括:
    响应于终端设备发送的操作请求,访问所述目标控制器,获取所述目标控制器的操作权限,其中,所述操作权限基于所述授权操作确定;
    在所述操作权限包括所述操作方式时,对所述终端设备请求访问的所述目标控制器基于所述操作方式进行操作诊断。
  6. 根据权利要求5所述的方法,其中,在所述操作权限中不包括所述操作方式时,获取的所述操作权限允许对所述目标控制器进行读操作,所述操作请求中包括的所述操作方式为对所述目标控制器进行写操作。
  7. 根据权利要求1所述的方法,还包括:
    响应于终端设备发送的关闭请求,关闭所述目标控制器的操作权限。
  8. 根据权利要求1所述的方法,还包括:
    在检测所述终端设备的状态为离线状态时,关闭所述目标控制器的操作权限。
  9. 一种车辆以太网诊断方法,其中,包括:
    在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
    在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至所述车辆,以使所述车辆基于操作请求对所述目标控制器进行操作诊断。
  10. 根据权利要求9所述的方法,还包括:
    发送关闭请求至所述车辆,以使所述车辆基于关闭请求关闭目标控制器的操作权限。
  11. 一种车辆以太网诊断装置,包括:
    授权操作模块,用于在身份认证请求通过的情况下,响应于终端设备发送的访问请求,对所述终端设备请求访问的目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
    操作诊断模块,用于响应于终端设备发送的操作请求,对所述终端设备请求访问的所述目标控制器进行操作诊断。
  12. 一种车辆以太网诊断装置,包括:
    访问请求发送模块,用于在身份认证请求通过的情况下,发送访问请求至车辆,以使车辆基于访问请求对目标控制器进行操作权限的授权操作,其中,所述目标控制器基于所述访问请求确定;
    操作请求发送模块,用于在接收到车辆发送的操作权限的授权操作完成指示后,发送操作请求至所述车辆,以使所述车辆基于操作请求对所述目标控制器进行操作诊断。
  13. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一项所述的方法或实现权利要求9-10中任一项所述的方法。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-8中任一项所述的方法或实现权利要求9-10中任一项所述的方法。
  15. 一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行实现如权利要求1-8中任一项所述的方法或实现权利要求9-10中任一项所述的方法。
PCT/CN2023/081145 2022-03-18 2023-03-13 车辆以太网诊断方法、装置、设备和介质 WO2023174217A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210271275.3A CN115437341A (zh) 2022-03-18 2022-03-18 一种车辆以太网诊断方法、装置、设备和介质
CN202210271275.3 2022-03-18

Publications (1)

Publication Number Publication Date
WO2023174217A1 true WO2023174217A1 (zh) 2023-09-21

Family

ID=84241618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/081145 WO2023174217A1 (zh) 2022-03-18 2023-03-13 车辆以太网诊断方法、装置、设备和介质

Country Status (2)

Country Link
CN (1) CN115437341A (zh)
WO (1) WO2023174217A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115437341A (zh) * 2022-03-18 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆以太网诊断方法、装置、设备和介质
CN115442064A (zh) * 2022-03-31 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆控制器诊断方法、装置、设备和介质

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6321148B1 (en) * 1997-03-31 2001-11-20 Toyota Jidosha Kabushiki Kaisha Vehicle communication control apparatus and method
US20030009271A1 (en) * 2001-07-06 2003-01-09 Susumu Akiyama Vehicular relay device, in-vehicle communication system, failure diagnostic system, vehicle management device, server device and detection and diagnostic program
US10489132B1 (en) * 2013-09-23 2019-11-26 Sprint Communications Company L.P. Authenticating mobile device for on board diagnostic system access
CN111026096A (zh) * 2019-12-30 2020-04-17 华人运通(江苏)技术有限公司 车辆诊断方法、装置、系统、设备及计算机可读存储介质
CN112562116A (zh) * 2019-09-10 2021-03-26 福特全球技术公司 车载数据请求批准管理
CN113497704A (zh) * 2020-04-01 2021-10-12 罗伯特·博世有限公司 车载密钥生成方法、车辆及计算机可读存储介质
CN113554782A (zh) * 2021-07-16 2021-10-26 樱榕有限公司 一种车辆监控系统、车辆监控方法及计算机可读存储介质
WO2021237648A1 (zh) * 2020-05-29 2021-12-02 深圳市元征科技股份有限公司 一种车辆诊断方法、系统、设备及服务器
CN113867324A (zh) * 2021-10-27 2021-12-31 深圳市元征科技股份有限公司 车辆诊断方法、车载装置、终端及存储介质
CN115442064A (zh) * 2022-03-31 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆控制器诊断方法、装置、设备和介质
CN115437341A (zh) * 2022-03-18 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆以太网诊断方法、装置、设备和介质

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6321148B1 (en) * 1997-03-31 2001-11-20 Toyota Jidosha Kabushiki Kaisha Vehicle communication control apparatus and method
US20030009271A1 (en) * 2001-07-06 2003-01-09 Susumu Akiyama Vehicular relay device, in-vehicle communication system, failure diagnostic system, vehicle management device, server device and detection and diagnostic program
US10489132B1 (en) * 2013-09-23 2019-11-26 Sprint Communications Company L.P. Authenticating mobile device for on board diagnostic system access
CN112562116A (zh) * 2019-09-10 2021-03-26 福特全球技术公司 车载数据请求批准管理
CN111026096A (zh) * 2019-12-30 2020-04-17 华人运通(江苏)技术有限公司 车辆诊断方法、装置、系统、设备及计算机可读存储介质
CN113497704A (zh) * 2020-04-01 2021-10-12 罗伯特·博世有限公司 车载密钥生成方法、车辆及计算机可读存储介质
WO2021237648A1 (zh) * 2020-05-29 2021-12-02 深圳市元征科技股份有限公司 一种车辆诊断方法、系统、设备及服务器
CN113554782A (zh) * 2021-07-16 2021-10-26 樱榕有限公司 一种车辆监控系统、车辆监控方法及计算机可读存储介质
CN113867324A (zh) * 2021-10-27 2021-12-31 深圳市元征科技股份有限公司 车辆诊断方法、车载装置、终端及存储介质
CN115437341A (zh) * 2022-03-18 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆以太网诊断方法、装置、设备和介质
CN115442064A (zh) * 2022-03-31 2022-12-06 北京罗克维尔斯科技有限公司 一种车辆控制器诊断方法、装置、设备和介质

Also Published As

Publication number Publication date
CN115437341A (zh) 2022-12-06

Similar Documents

Publication Publication Date Title
WO2023174217A1 (zh) 车辆以太网诊断方法、装置、设备和介质
CN110515366B (zh) 一种故障诊断方法及装置
KR102158754B1 (ko) 스마트 네트워크 인터페이스 카드의 조작 방법 및 조작 장치
US10964134B2 (en) Cloud-based on-demand vehicle diagnostic systems
US8683108B2 (en) Connected input/output hub management
US20120117380A1 (en) Method for Granting Authorization to Access a Computer-Based Object in an Automation System, Computer Program, and Automation System
CN107256188B (zh) 安卓设备的控制方法、装置、终端及存储介质
US20140325602A1 (en) Accessing system for vehicle network and method of controlling the same
CN105740718B (zh) 电子系统、电子装置及电子装置的存取认证方法
WO2023185492A1 (zh) 车辆控制器诊断方法、装置、设备和介质
US9888084B2 (en) Automatic network domain diagnostic repair and mapping
WO2022213641A1 (zh) 进程接替的方法、装置、电子设备及存储介质
WO2022041720A1 (zh) 一种基于uds的通信方法、ecu及上位机
CN111191214B (zh) 一种嵌入式处理器及数据保护方法
WO2013171603A1 (en) Mobile device validation
WO2023193572A1 (zh) 一种数据管理方法、装置、服务器和存储介质
US20220171855A1 (en) Electronic control device and security verification method for electronic control device
CN108874441A (zh) 一种板卡配置方法、装置、服务器和存储介质
CN113032805B (zh) 一种数据访问方法、装置、电子设备及存储介质
CN109033804A (zh) 一种虚拟机软件授权方法和装置
CN112068528A (zh) 诊断设备验证方法、车辆、设备及服务器
CN112990495A (zh) 一种车辆售后诊断的方法、装置、系统及存储介质
TWM592629U (zh) 身份確認時取得附加資料以執行對應作業之系統
TWI724638B (zh) 在自動櫃員機中使用載具驗證身分以開戶之系統及方法
CN113656301A (zh) 一种接口测试方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23769719

Country of ref document: EP

Kind code of ref document: A1