Diagnostic interface data transmission control method, device, equipment, medium and vehicle

By obtaining the remote upgrade status of the vehicle and the receiving status of the diagnostic request, controlling the data transmission status of the diagnostic interface, the problem of OTA upgrade and data transmission conflict between diagnostic equipment is solved, and the accuracy of data transmission and operation success rate is improved.

CN115793611BActive Publication Date: 2025-03-04DEEPAL AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211522258.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-03-04
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

In cars, when OTA upgrades and data transmission of diagnostic equipment exist at the same time, conflicts are easily caused, resulting in problems such as error frames, diagnostic instrument errors and failure of electrical inspection operations.

Method used

By obtaining the remote upgrade status of the vehicle and the receiving status of the diagnostic request, the data transmission status of the diagnostic interface is controlled. When the remote upgrade state is in progress, data transmission is stopped; when the remote upgrade state is not upgraded, the data transmission state is determined based on the diagnostic request reception state.

Benefits of technology

It realizes physical isolation of the two data transmissions involved in remote upgrade tasks and diagnostic equipment flash writing tasks, avoids CAN bus errors, and improves the accuracy of diagnostic conclusions of the diagnostic instrument and the success rate of electrical inspection, information acquisition and other operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115793611B_ABST
    Figure CN115793611B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a diagnostic interface data transmission control method, device, equipment, medium and vehicle. By obtaining the remote upgrade status and diagnostic request reception status of the vehicle, it is determined whether to send data to the diagnostic interface based on the remote upgrade status; when the remote upgrade status is upgrading, the diagnostic interface of the vehicle is controlled to stop data transmission; when the remote upgrade status is not upgraded, the data transmission status of the diagnostic interface is determined according to the diagnostic request reception status; the present invention isolates the two types of data transmission involved in the remote upgrade task and the diagnostic device flashing task by preferentially judging the remote upgrade status and transmitting data to the diagnostic interface only in the not upgraded state, thereby avoiding conflicts caused by the simultaneous existence of the two types of information transmission, thereby reducing error frames in the data transmission process and improving the accuracy of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a diagnostic interface data transmission control method, device, equipment, medium and vehicle. Background Art

[0002] In the traditional automotive field, the vehicle is usually inspected by connecting an external diagnostic instrument through a reserved vehicle diagnostic interface, so that developers can obtain vehicle configuration information, fault information, etc., and can also enable developers and after-sales personnel to upgrade vehicle software. Therefore, the reserved diagnostic interface has always been a design solution that many automobile manufacturers have consistently retained.

[0003] With the rapid development of automobile software technology in recent years, a new automobile software upgrade technology (i.e. OTA (Over-the-Air Download Technology)) has emerged. OTA upgrade not only brings a more convenient way to update automobile software, but also allows consumers to experience a more intelligent and convenient car experience. Therefore, OTA technology has become a better choice for more automobile manufacturers. However, as shown in the upgrade method of patent CN113325831A-A platform-based gateway routing method for automobile flashing diagnosis and patent CN113325831A-A platform-based gateway routing method for automobile flashing diagnosis, the final implementation method of OTA is still CAN (control area network) flashing, and the data transmission of the diagnostic equipment is also realized through CAN. Therefore, when OTA activities and diagnostic equipment exist on the bus at the same time, conflicts will inevitably occur, resulting in a large number of error frames, causing the diagnostic instrument to report errors, and the failure of operations such as electrical inspection and information acquisition performed at the same time, and other serious consequences. Summary of the invention

[0004] In view of the shortcomings of the prior art mentioned above, the present invention provides a diagnostic interface data transmission control method, device, equipment, medium and vehicle to solve the technical problem that conflicts arise due to the simultaneous existence of two data transmission tasks, resulting in diagnostic errors, electrical inspection operations, and information acquisition operations failing.

[0005] The present invention provides a diagnostic interface data transmission control method, which includes: obtaining a remote upgrade status and a diagnostic request reception status of a vehicle; if the remote upgrade status is upgrading, controlling the vehicle's diagnostic interface to stop data transmission; if the remote upgrade status is not upgrading, determining the data transmission status of the diagnostic interface according to the diagnostic request reception status.

[0006] In one embodiment of the present invention, obtaining the remote upgrade status of a vehicle includes: obtaining task data of a vehicle remote upgrade task, the task data including a task type and task parameters; if the task type includes a remote upgrade type, determining the current upgrade status based on the task parameters, the current upgrade status including upgrading and not upgraded.

[0007] In one embodiment of the present invention, before determining the data transmission status of the diagnostic interface according to the diagnostic request reception status, the method also includes: determining the diagnostic request status as a request or no request based on the diagnostic request reception status; when the reception status of the diagnostic request message is received, determining the diagnostic instrument request status as a request; when the reception status of the diagnostic request message is not received, determining the diagnostic instrument request status as no request.

[0008] In one embodiment of the present invention, determining the data transmission status of the diagnostic interface according to the diagnostic request reception status includes: when the diagnostic instrument request status is a no-request status, controlling the vehicle's diagnostic interface to stop data transmission; when the diagnostic instrument request status is a requested status, controlling the vehicle's diagnostic interface to perform data transmission based on a diagnostic request message, and the diagnostic request message is issued based on the vehicle's diagnostic interface.

[0009] In one embodiment of the present invention, controlling the vehicle diagnostic interface to perform data transmission based on a diagnostic request message includes: determining a data type of the diagnostic request message, the data type including a control domain network type and a control domain network flexible data rate type; when the communication type is a control domain network type, controlling the vehicle's diagnostic interface to transmit data of the control domain network type; when the communication type is a control domain network flexible data rate type, controlling the vehicle's diagnostic interface to transmit data of the control domain network flexible data rate type.

[0010] In one embodiment of the present invention, if the remote upgrade status is upgrading, controlling the diagnostic interface of the vehicle to stop data transmission includes: issuing a prompt message that the remote upgrade status is upgrading, and controlling the diagnostic interface to disconnect from the diagnostic instrument.

[0011] The present invention provides a diagnostic interface data transmission control device, the device comprising: an information acquisition module, used for acquiring a remote upgrade status and a diagnostic request reception status of a vehicle; a first execution module, used for controlling the diagnostic interface of the vehicle to stop data transmission if the remote upgrade status is upgrading; and a second execution module, used for determining the data transmission status of the diagnostic interface according to the diagnostic request reception status if the remote upgrade status is not upgrading.

[0012] The present invention provides an intelligent vehicle, wherein the intelligent vehicle is equipped with the diagnostic interface data transmission control device as described above.

[0013] The present invention provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the diagnostic interface data transmission control method as described above.

[0014] The present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is enabled to execute the diagnostic interface data transmission control method as described above.

[0015] Beneficial effects of the present invention: The present invention provides a diagnostic interface data transmission control method, device, equipment, medium and vehicle, which obtains the remote upgrade status and diagnostic request reception status of the vehicle, and determines whether to send data to the diagnostic interface based on the remote upgrade status; when the remote upgrade status is upgrading, the diagnostic interface of the vehicle is controlled to stop data transmission; when the remote upgrade status is not upgraded, the data transmission status of the diagnostic interface is determined according to the diagnostic request reception status; the present invention achieves physical isolation of the two types of data transmission involved in remote upgrade tasks and diagnostic device flashing tasks by preferentially judging the remote upgrade status and transmitting data to the diagnostic interface only in the not-upgraded state, thereby effectively avoiding the problem that the CAN bus error ultimately invalidates the diagnostic device request due to the mutual influence between the diagnostic device and the vehicle CAN communication during OTA CAN communication, thereby improving the accuracy of data transmission, and thereby improving the accuracy of the diagnostic conclusion of the diagnostic instrument and the success rate of operations such as electrical inspection and information acquisition.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 is a schematic diagram of an implementation environment of an exemplary embodiment of the present application showing the control of data transmission of a diagnostic interface;

[0019] Figure 2is a schematic diagram of a diagnostic interface data transmission control method shown in an exemplary embodiment of the present application;

[0020] Figure 3 is a flow chart of a diagnostic interface data transmission control method shown in an exemplary embodiment of the present application;

[0021] Figure 4 is a flow chart of a diagnostic interface data transmission control method shown in another exemplary embodiment of the present application;

[0022] Figure 5 is a block diagram of a diagnostic interface data transmission control device shown in an exemplary embodiment of the present application;

[0023] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0026] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0027] First of all, it should be noted that there are many ways to implement the upgrade of OTA (Over-the-Air Download Technology). In this invention, the implementation method of CAN (Control Area Network) is mainly discussed. Therefore, the implementation process of OTA can be simply divided into three steps: first, the automobile manufacturer pushes the software to be updated; second, the car is connected to the Internet for downloading; third, the corresponding ECU is upgraded via the CAN bus inside the car. Since the final implementation method of OTA is still CAN flashing, and it is generally in CANFD format, but in actual situations, diagnostic equipment often only supports CAN format. Therefore, when OTA activities and diagnostic equipment exist on the bus at the same time, conflicts will inevitably occur, and a large number of error frames will be generated, causing the diagnostic instrument to report errors, and the electrical inspection, information acquisition and other operations performed at the same time will fail.

[0028] Figure 1 FIG. 1 is a schematic diagram showing an implementation environment of a diagnostic interface data transmission control according to an exemplary embodiment of the present application. Figure 1 As shown, the system architecture may include a current vehicle 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. Relevant technicians may use the computer device 102 to obtain the current upgrade task status and diagnostic request status of the vehicle, thereby determining whether to respond to the diagnostic request based on the upgrade task status, and when responding to the diagnostic request, transmitting data to the diagnostic interface based on the message format of the diagnostic request.

[0029] Figure 2 is a schematic diagram of a diagnostic interface data transmission control method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown is specifically executed by the smart terminal 102 in the implementation environment. It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.

[0030] like Figure 2 As shown, in an exemplary embodiment, the diagnostic interface data transmission control method includes at least steps S210 to S230, which are described in detail as follows:

[0031] Step S210, obtaining the remote upgrade status and diagnosis request reception status of the vehicle.

[0032] It should be understood that the vehicle obtains task data through OTA download to determine its remote upgrade status, so obtaining the remote upgrade status of the vehicle includes: obtaining the task data of the vehicle remote upgrade task, the task data includes the task type and task parameters; if the task type includes the remote upgrade type, the current upgrade status is determined based on the task parameters, and the current upgrade status includes upgrading and not upgraded.

[0033] In one embodiment of the present invention, the current task data of the vehicle is obtained through OTA download. After detection, if the task data does not include the remote upgrade type, it is determined that the current remote upgrade status of the vehicle is not upgraded.

[0034] Figure 3 is a flowchart of a diagnostic interface data transmission control method shown in an exemplary embodiment of the present application, such as Figure 3 As shown, firstly, the OTA upgrade task is artificially determined as the first priority task, and the diagnostic instrument request task is determined as the second priority task, so as to achieve CAN isolation. During the data transmission process, when the vehicle is in the OTA upgrade state, it is forbidden to send messages to the diagnostic interface; when the vehicle is in the OTA non-upgrade state, a message is sent to the diagnostic interface based on the diagnostic request (i.e., the diagnostic instrument request) issued by the diagnostic instrument; if the message type of the diagnostic request is CANFD, a CANFD message is sent to the diagnostic interface, if the message type of the diagnostic request is CAN, a CAN message is sent to the diagnostic interface, and if the diagnostic request is empty, it is forbidden to send messages to the diagnostic interface.

[0035] Step S220: If the remote upgrade status is in progress, control the vehicle's diagnostic interface to stop data transmission.

[0036] It should be understood that when the remote upgrade status of the vehicle is upgrading, controlling the diagnostic interface of the vehicle to stop data transmission includes: sending a prompt message that the remote upgrade status is upgrading, and controlling the diagnostic interface to disconnect from the diagnostic instrument.

[0037] In one embodiment of the present invention, if it is determined based on the task data of the remote upgrade of the vehicle that the current remote upgrade status of the vehicle is upgrading, sending messages to the diagnostic interface is prohibited, and at the same time, the user is informed that "the current vehicle is in remote upgrade status" through methods including but not limited to text reminders on the display screen or broadcast voice reminders, and the diagnostic interface is controlled to disconnect from the diagnostic device, thereby stopping the transmission of data to the diagnostic interface.

[0038] Step S230 : if the remote upgrade status is not upgraded, determine the data transmission status of the diagnostic interface according to the diagnosis request reception status.

[0039] It should be understood that when the diagnostic request status is different, the status of data transmission to the diagnostic interface is also different. Therefore, before determining the data transmission status of the diagnostic interface according to the diagnostic request reception status, it also includes: determining the diagnostic request status as requested or not requested based on the diagnostic request reception status; when the reception status of the diagnostic request message is received, determining the diagnostic instrument request status as requested; when the reception status of the diagnostic request message is not received, determining the diagnostic instrument request status as not requested.

[0040] Determining the data transmission status of the diagnostic interface according to the diagnostic request reception status includes: when the diagnostic instrument request status is a no-request status, controlling the vehicle's diagnostic interface to stop data transmission; when the diagnostic instrument request status is a requested status, controlling the vehicle's diagnostic interface to perform data transmission based on the diagnostic request message, and the diagnostic request message is issued based on the vehicle's diagnostic interface.

[0041] In one embodiment of the present invention, if the OTA upgrade status is determined to be not upgraded through detection, the diagnostic request status, that is, the receiving status of the diagnostic request message, is further determined. If the receiving status of the hydrogen message is detected to be not received, it is determined that the diagnostic interface has no diagnostic request, so the message is stopped from being sent to the diagnostic interface.

[0042] In another embodiment of the present invention, if the OTA upgrade status is determined to be not upgraded through detection, the diagnostic request status, that is, the receiving status of the diagnostic request message, is further determined. If the receiving status of the hydrogen message is detected to be received, it is determined that the diagnostic interface has a diagnostic request, and a message needs to be sent to the diagnostic interface according to the content of the diagnostic request to complete the data transmission.

[0043] It should be understood that since the diagnostic messages sent by the diagnostic interface include multiple data types, controlling the vehicle diagnostic interface to perform data transmission based on the diagnostic request message includes: determining the data type of the diagnostic request message, the data type includes the control domain network type and the control domain network flexible data rate type; when the communication type is the control domain network type, then controlling the vehicle diagnostic interface to transmit data of the control domain network type; when the communication type is the control domain network flexible data rate type, then controlling the vehicle diagnostic interface to transmit data of the control domain network flexible data rate type.

[0044] In one embodiment of the present invention, if the OTA upgrade status is determined to be not upgraded through detection, the diagnostic request status, that is, the receiving status of the diagnostic request message, is further determined. If the receiving status of the diagnostic request message is detected to be received, it is determined that the diagnostic interface has a request, so based on the diagnostic request, the diagnostic request message is obtained, and the data type of the diagnostic request message is determined. If the data type of the diagnostic request message is CAN, CAN data is transmitted to the diagnostic interface to realize data transmission of the diagnostic interface.

[0045] In one embodiment of the present invention, when the vehicle OTA upgrade status is not upgraded and the diagnostic request status is requested, it is determined through detection that the data type of the diagnostic request message is CANFD, then data of the CANFDA data type is transmitted to the diagnostic interface to realize diagnostic interface data transmission.

[0046] Figure 4 It is a flowchart of a diagnostic interface data transmission control method shown in another exemplary embodiment of the present application; as shown in Figure 4, in the process of transmitting data to the diagnostic interface, the first thing that needs to be judged is the OTA upgrade status. When the OTA upgrade status is upgrading, the vehicle's diagnostic interface is controlled to stop data transmission (i.e., routing messages to the diagnostic interface is prohibited). When the OTA upgrade status is not upgrading (i.e., the OTA status is not upgraded), the status of the diagnostic request is further determined by determining the receiving status of the diagnostic request to determine whether it is requested or not. If the receiving status of the diagnostic request is not received, the status of the diagnostic request is determined to be no request, and routing messages to the diagnostic interface is prohibited; if the receiving status of the diagnostic request is received, the status of the diagnostic request is determined to be requested, and the diagnostic request data type is determined based on the received diagnostic request message. If the diagnostic request data type is CAN, CAM type data is sent to the diagnostic interface. If the diagnostic request data type is CANFD, CANFD type data is sent to the diagnostic interface.

[0047] like Figure 5 As shown, the exemplary diagnostic interface data transmission control device includes: an information acquisition module 510 , a first execution module 520 , and a second execution module 530 .

[0048] Among them, the information acquisition module 510 is used to obtain the remote upgrade status and diagnostic request reception status of the vehicle; the first execution module 520 is used to control the vehicle's diagnostic interface to stop data transmission if the remote upgrade status is upgrading; the second execution module 530 is used to determine the data transmission status of the diagnostic interface according to the diagnostic request reception status if the remote upgrade status is not upgraded.

[0049] It should be noted that the diagnostic interface data transmission control device provided in the above embodiment and the diagnostic interface data transmission control method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the diagnostic interface data transmission control device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0050] An embodiment of the present application also provides an intelligent vehicle, which is equipped with the above diagnostic interface data transmission control device.

[0051] In one embodiment of the present invention, before transmitting data to the diagnostic interface, the intelligent vehicle first determines its OTA upgrade status, and then determines the diagnostic request status of the diagnostic interface. When the OTA upgrade status is not upgraded and the diagnostic request status of the diagnostic interface is requested, based on the data type of the diagnostic request message sent by the diagnostic interface, a message of the corresponding data type is synchronized to the diagnostic interface to complete the data transmission. When the data type of the diagnostic request message sent by the diagnostic interface is CAN, the CAN message is synchronized to the diagnostic interface to complete the data transmission to the diagnostic interface; when the data type of the diagnostic request sent by the diagnostic interface is CANFD, the CANFD message is synchronized to the diagnostic interface to complete the data transmission to the diagnostic interface.

[0052] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the diagnostic interface data transmission control method provided in the above-mentioned embodiments.

[0053] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and application scope of the embodiments of the present application.

[0054] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method described in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602 and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0055] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0056] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.

[0057] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, 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, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0058] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0059] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not constitute limitations on the units themselves in some cases.

[0060] Another aspect of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor of a computer, the computer executes the diagnostic interface data transmission control method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0061] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the diagnostic interface data transmission control method provided in each of the above embodiments.

[0062] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A diagnostic interface data transmission control method, characterized in that: The diagnostic interface data transmission control method comprises: Obtain the vehicle's remote upgrade status and diagnostic request reception status; If the remote upgrade status is in the process of upgrading, controlling the diagnostic interface of the vehicle to stop data transmission; If the remote upgrade status is not upgraded, the data transmission status of the diagnostic interface is determined according to the diagnostic request reception status, including: determining the diagnostic request status as requested or not requested based on the diagnostic request reception status; when the reception status of the diagnostic request message is received, determining the diagnostic request status as requested; when the reception status of the diagnostic request message is not received, determining the diagnostic instrument request status as not requested; when the diagnostic instrument request status is not requested, controlling the vehicle's diagnostic interface to stop data transmission; when the diagnostic instrument request status is requested, controlling the vehicle's diagnostic interface to perform data transmission based on the diagnostic request message, and the diagnostic request message is sent through the vehicle's diagnostic interface; Among them, controlling the vehicle diagnostic interface to transmit data based on the diagnostic request message includes: determining the data type of the diagnostic request message, the data type including the control domain network type and the control domain network flexible data rate type; when the communication type is the control domain network type, controlling the vehicle's diagnostic interface to transmit data of the control domain network type; when the communication type is the control domain network flexible data rate type, controlling the vehicle's diagnostic interface to transmit data of the control domain network flexible data rate type.

2. The diagnostic interface data transmission control method according to claim 1, characterized in that: Obtaining the remote upgrade status of the vehicle includes: Acquire task data of a vehicle remote upgrade task, wherein the task data includes a task type and task parameters; If the task type includes a remote upgrade type, a current upgrade state is determined based on the task parameters, and the current upgrade state includes upgrading and not upgrading.

3. The diagnostic interface data transmission control method according to claim 1, characterized in that: If the remote upgrade state is in the process of upgrading, controlling the diagnostic interface of the vehicle to stop data transmission includes: Send a prompt message that the remote upgrade status is upgrading. The diagnostic interface is controlled to disconnect from the diagnostic instrument.

4. A diagnostic interface data transmission control device, characterized in that: The device is used to implement the method according to any one of claims 1 to 3, and the device comprises: An information acquisition module, used to obtain the remote upgrade status and diagnostic request reception status of the vehicle; A first execution module, configured to control the diagnostic interface of the vehicle to stop data transmission if the remote upgrade status is in the upgrade process; The second execution module is configured to determine the data transmission state of the diagnostic interface according to the diagnosis request reception state if the remote upgrade state is not upgraded.

5. An intelligent vehicle, characterized in that: The intelligent vehicle is equipped with the diagnostic interface data transmission control device as claimed in claim 4.

6. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the diagnostic interface data transmission control method as described in any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the diagnostic interface data transmission control method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Platform-based gateway routing method for automobile flash diagnosis

    CN113325831A

  • Complete vehicle diagnosis system and method

    CN113204226A

  • Vehicle diagnosis response method and device, readable storage medium and vehicle gateway

    CN114815773A