Vehicle detection method and device and diagnostic equipment

By obtaining the vehicle identification and generating a unified diagnosis request message, and using the functional addressing method to send the diagnosis request to the vehicle control unit, the problem of excessive computing resources occupied by diagnostic equipment in the existing technology is solved, and the response speed of the vehicle control unit is improved. and diagnostic efficiency.

CN118778587AInactive Publication Date: 2024-10-15BYD CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310413107.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing vehicle diagnostic equipment needs to send diagnostic requests multiple times, takes up a lot of computing resources, and cannot effectively improve the response speed of each vehicle control unit.

Method used

By obtaining the vehicle identification of the vehicle, determining the vehicle model characteristics, generating a unified diagnostic request message, and using the functional addressing method to send the diagnostic request to the control unit, the consumption of computing resources is reduced and the response speed is improved.

Benefits of technology

When each control unit of the vehicle is of a set type, a unified diagnosis request message is sent through functional addressing, which improves diagnosis efficiency and saves computing resources of the diagnosis equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778587A_ABST
    Figure CN118778587A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle detection method and device and diagnostic equipment, and belongs to the technical field of vehicle detection.The method comprises the steps that a vehicle identifier of a vehicle is obtained; determining whether the chip configuration type of the control unit of the vehicle is a set type or not according to the vehicle type characteristics indicated by the vehicle identifier; wherein the vehicle type characteristics represent the vehicle type and configuration of the vehicle; under the condition that the chip configuration type is a set type, sending a unified first diagnosis request message to each control unit of the vehicle; and receiving vehicle state information returned by the control unit according to the received diagnosis request message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of vehicle detection, and more specifically, to a vehicle detection method, device, and diagnostic equipment. Background Art

[0002] Vehicles are equipped with a variety of control units, namely Electronic Control Units (ECUs), which can manage the vehicle based on the driver's intention or the vehicle's status.

[0003] Currently, users can send diagnostic requests to various control units of the vehicle through diagnostic equipment, so that each control unit can feedback vehicle status information to the diagnostic equipment after responding to the diagnostic request. Vehicles are compatible with different versions of control units, and existing diagnostic equipment needs to send diagnostic requests multiple times, which takes up more computing resources. Summary of the invention

[0004] An objective of the embodiments of the present disclosure is to provide a new technical solution for a vehicle detection method, device and diagnostic equipment.

[0005] According to a first aspect of the present disclosure, a vehicle detection method is provided, the method comprising:

[0006] Obtaining a vehicle identification of the vehicle;

[0007] Determining whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle model feature indicated by the vehicle identification; wherein the vehicle model feature indicates the vehicle model and configuration;

[0008] When the chip configuration type is a set type, sending a unified first diagnosis request message to each control unit of the vehicle;

[0009] Receive vehicle status information returned by the control unit according to the received diagnosis request message.

[0010] Optionally, after determining whether the chip configuration type of the control unit of the vehicle is a set type, the method further includes:

[0011] In the case that the chip configuration type of at least some of the control units in the control units of the vehicle is a non-set type, a second diagnosis request message is sent to the corresponding control unit according to the communication information of each control unit.

[0012] Optionally, before obtaining the vehicle identification of the vehicle, the method further includes:

[0013] Sending a communication connection request to each control unit of the vehicle;

[0014] The communication information of the control unit is determined according to a connection response of the control unit in response to the communication connection request.

[0015] Optionally, determining whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle type feature indicated by the vehicle identification includes:

[0016] Extracting a character string of character positions corresponding to vehicle model characteristics in the vehicle identification;

[0017] Convert the string into binary data;

[0018] According to the value of the setting bit of the binary data, it is determined whether the chip of the control unit of the vehicle is of a setting type.

[0019] Optionally, before sending the unified first diagnosis request message to each control unit, the method further includes:

[0020] Obtaining a first chip type corresponding to the vehicle model feature;

[0021] Determine a corresponding message template according to the first chip type;

[0022] The unified first diagnosis request message is generated according to the message template.

[0023] Optionally, the obtaining the first chip type corresponding to the vehicle model feature includes:

[0024] According to the preset first mapping data, a first chip type corresponding to the vehicle model feature is obtained; wherein the first mapping data reflects a mapping relationship between a plurality of vehicle model features and a plurality of chip types, and the plurality of vehicle model features include the vehicle model feature indicated by the vehicle identification;

[0025] The determining, according to the first chip type, a corresponding message template includes:

[0026] According to preset second mapping data, a message template corresponding to the first chip type is determined; wherein the second mapping data reflects a mapping relationship between multiple chip types and multiple message templates, and the multiple chip types include the first chip type.

[0027] Optionally, after determining the message template corresponding to the first chip type according to the preset second mapping data, the method further includes:

[0028] According to the vehicle type characteristics, a diagnostic message item of the message template is determined; wherein the diagnostic message item is at least one message item specified in each message item of the message template.

[0029] The generating the unified first diagnosis request message according to the message template includes:

[0030] The unified first diagnosis request message is generated according to the diagnosis message item of the message template.

[0031] According to a second aspect of the present disclosure, a vehicle detection device is also provided, the device comprising:

[0032] A vehicle identification acquisition module, used to acquire the vehicle identification of the vehicle;

[0033] A chip type determination module, used to determine whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle type feature indicated by the vehicle identification; wherein the vehicle type feature indicates the vehicle type and configuration;

[0034] A request message sending module, used for sending a unified first diagnosis request message to each control unit of the vehicle when the chip configuration type is a set type;

[0035] The status information receiving module is used to receive the vehicle status information returned by the control unit according to the received diagnosis request message.

[0036] According to a third aspect of the present disclosure, a diagnostic device is further provided, comprising a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the computer program to implement the method according to the first aspect of the present disclosure.

[0037] Optionally, the diagnostic device further comprises a communication interface, which is electrically connected to the OBD port of the vehicle and is used for sending different diagnostic request messages and receiving different vehicle status information.

[0038] According to a fourth aspect of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.

[0039] One beneficial effect of the disclosed embodiment is that the diagnostic device determines whether the chip configuration type of each control unit is a set type through the vehicle model characteristics in the vehicle identification. When each control unit is of the set type, the diagnostic device can send a unified first diagnostic request message to the communication network, so that each control unit can feedback the vehicle status information to the diagnostic device after receiving the message for the user to view, which can effectively improve the diagnostic efficiency of the diagnostic instrument and save the computing resources of the diagnostic device.

[0040] Other features and advantages of the embodiments of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the embodiments of the present disclosure.

[0042] FIG1 is a schematic diagram showing the physical addressing and functional addressing processes in the related art;

[0043] Figure 2 is a schematic diagram of the composition structure of a detection system to which a vehicle detection method according to an embodiment can be applied;

[0044] Figure 3 is a flow chart of a vehicle detection method according to an embodiment;

[0045] Figure 4 is a flow chart of a vehicle detection method according to another embodiment;

[0046] Figure 5 is a schematic diagram showing the relationship between vehicle model characteristics, chip configuration types and chip types according to an embodiment;

[0047] Figure 6 is a schematic diagram of a message template according to an embodiment;

[0048] Figure 7 is a block schematic diagram of an electronic device according to an embodiment;

[0049] Figure 8 is a schematic diagram of the hardware structure of an electronic device according to an embodiment. DETAILED DESCRIPTION

[0050] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0051] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0052] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0053] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0054] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0055] The present disclosure relates to a detection method for a diagnostic device to diagnose various control units of a vehicle. The diagnostic device here can simultaneously send a diagnostic request message to each control unit and receive vehicle status information fed back by each control unit.

[0056] In the related art, each control unit of the vehicle must support two addressing modes: physical addressing and functional addressing. The diagnostic equipment exchanges data with each control unit through the vehicle's built-in communication network. Figure 1a As shown, when the diagnostic device physically addresses each control unit of the vehicle, the diagnostic device sends a one-to-one message to each control unit, and each control unit can actively respond when receiving the one-to-one message. Figure 1b As shown, when the diagnostic device performs functional addressing on each control of the vehicle, the diagnostic device sends a unified message, and each control unit can actively respond when receiving the unified message. One-to-one messages are usually multi-frame messages, and unified messages are usually single-frame messages.

[0057] In order to detect each control unit of the vehicle, the related art generally uses physical addressing to send a diagnostic request message to each control unit so that each control unit can feedback vehicle status information. However, sending a diagnostic request message using physical addressing consumes more computing resources.

[0058] In order to reduce the consumption of computing resources, the embodiments of the present disclosure propose a technical solution for sending diagnostic request messages to each control unit of the vehicle based on functional addressing. The technical solution determines the vehicle model through the vehicle identification of each vehicle, selects a pre-set diagnostic request message corresponding to the vehicle model, and can use the functional addressing method to send a unified diagnostic request message to each control unit, so that each control unit can actively respond to the unified diagnostic request message and feedback the vehicle status information. Therefore, the vehicle detection method proposed in each embodiment of the present application can not only improve the response speed of each control unit of the vehicle, but also greatly save computing resources.

[0059] <System Embodiment>

[0060] Figure 2FIG. 1 is a schematic diagram of the structure of a detection system to which a vehicle detection method according to an embodiment can be applied. Figure 2 As shown, the system includes a diagnostic device 1000 and a vehicle 2000 , and the system can be applied to a scenario of detecting the vehicle 2000 .

[0061] The diagnostic device 1000 can be a car computer diagnostic instrument, and the diagnostic device 1000 is configured with a communication interface. The communication interface can be connected to the OBD port of the vehicle 2000. Under the premise of the definition of each pin of the OBD port of the vehicle 2000, the diagnostic device 1000 can send different diagnostic request messages to each control unit and receive different vehicle status information through the communication network of the vehicle 2000. Among them, the control unit can be understood as the control chip of the vehicle, such as the multimedia host, right body controller and motor controller in Figure 1, etc. The number and type of control units are not specifically limited here. The communication network of the vehicle 2000 is, for example, a CAN network. Each control unit of the vehicle 2000 can receive corresponding diagnostic request messages from different CAN channels. Each control unit will feed back its own running data to the diagnostic device 1000 when receiving the diagnostic request message, that is, each control unit feeds back the vehicle status information to the diagnostic device 1000.

[0062] As used in the embodiments of the present disclosure, the memory of the diagnostic device 1000 is used to store a computer program, and the computer program is used to control the processor of the diagnostic device 1000 to operate to implement the vehicle detection method according to any embodiment. A technician can design a computer program according to the scheme of the embodiments of the present disclosure. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.

[0063] <Method Example>

[0064] Figure 3 FIG. 1 is a flow chart of a vehicle detection method according to an embodiment. The implementation subject is, for example, Figure 2 Diagnostic equipment.

[0065] like Figure 3 As shown, the vehicle detection method of this embodiment may include the following steps S310 to S330:

[0066] Step S310, obtaining the vehicle identification of the vehicle.

[0067] In one example, each vehicle will have an independent vehicle identification, namely a VIN code, which will be stored in a specific control unit for diagnostic equipment to retrieve. The VIN code of each vehicle is a unique code that the vehicle manufacturer applies to the National Automobile Announcement Platform before the vehicle is sold. For example, the code of vehicle A is LGXCE4CB1M0188601.

[0068] In one embodiment, before step S310, the method further includes: sending a communication connection request to each control unit of the vehicle; and determining the communication information of the control unit according to a connection response of the control unit in response to the communication connection request.

[0069] In one example, the diagnostic device can send communication connection requests of different baud rates to the vehicle's communication network in a functional addressing manner, and each control unit can respond to the communication connection request with a connection response, and feed back the communication information of each control unit to the diagnostic device through the vehicle's communication network. The communication information of each control unit includes an identifier representing each control unit, so that the diagnostic device can identify the control unit corresponding to each communication information, so that the subsequent diagnostic device can send a diagnostic message according to the communication information of each control unit.

[0070] Step S320, determining whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle model characteristics indicated by the vehicle identification; wherein the vehicle model characteristics represent the vehicle model and configuration.

[0071] Among them, the vehicle manufacturer can add corresponding model features in the vehicle identification in advance. The model features can be multi-digit strings, which are used to represent the model and configuration of the vehicle. For example, the luxury model of car A is coded as LGXCE4CB4M0188601, and the flagship model of car A is coded as LGXCE5CB5M0188601, where CB4 can indicate that the car is the luxury model of car A, and CB5 can indicate that the car is the flagship model of car A. Model features can be set at different positions in the vehicle identification, and are not specifically limited here.

[0072] In one example, the vehicle model feature is a string, and the length of the string is less than or equal to four bytes. In other words, when the vehicle model feature is a string less than or equal to four bytes, the above-mentioned specific control unit sends the vehicle identification to the diagnostic device in a single frame message, so that the transmission rate is faster.

[0073] In one example, the diagnostic device can pre-set multiple setting types, and the multiple setting types are stored in association with the above-mentioned vehicle model characteristics, so that after obtaining the vehicle identification, the vehicle model characteristics in the vehicle identification can be used to determine whether the chip configuration type of the vehicle control unit is the setting type. Further, under the premise that some vehicles are of the same configuration of the same model, the various control units of these vehicles can have the same function. The diagnostic device can set the same template of the diagnostic request message for the control unit with the same function of the same model. For example, the display screen of the luxury configuration of Car A has the function of touch display, and the display screen of the standard configuration of Car A only has the function of display. Then, in the case where both vehicles are luxury models of Car A, the display screens configured therein have the same function of touch display, so that the diagnostic request messages sent by the diagnostic device received by the two vehicles are also the same. While one vehicle is the luxury model of Car A, and the other vehicle is the standard model of Car A, the display screens configured therein have different functions, so that the diagnostic request messages sent by the diagnostic device received by the two vehicles are different.

[0074] In one embodiment, after step S320, the following content is also included: when the chip configuration type of at least some of the control units in the vehicle's control units is a non-set type, a second diagnostic request message is sent to the corresponding control unit according to the communication information of each control unit.

[0075] In one example, when the diagnostic device obtains that the vehicle type identification does not contain the vehicle type feature or the vehicle type feature contained in the vehicle type identification is inconsistent with the set type, the diagnostic device generates a second diagnostic request message corresponding to each control unit according to the communication information of each control unit of the vehicle, and sends the second diagnostic request message to the corresponding control unit respectively by physical addressing, so that the control unit can feed back the vehicle status information to the diagnostic device when the second diagnostic request message is obtained, so that the diagnostic device can obtain the vehicle status information. For example, the diagnostic device can send a diagnostic request message of 7E3,8,03 22 1F FC 55 55 55 55 to the motor controller in the control unit of the vehicle, and the vehicle status information fed back to the diagnostic device after the motor controller actively responds is 7EB,8,04 62 1F FC 01AA AAAA, where 7E3 represents the identifier of the diagnostic device, 7EB represents the identifier of the motor controller, and 01 represents that the motor of the vehicle is in the on state.

[0076] In one embodiment, step S320 specifically includes the following contents: extracting a character string of character bits corresponding to vehicle model characteristics in the vehicle identification; converting the character string into binary data; and determining whether the chip of the vehicle control unit is of a set type according to the value of the set bit of the binary data.

[0077] In one example, the diagnostic device can use the first bit in the character string representing the vehicle model characteristics as a setting bit. When the setting bit is "1", it indicates that the chip of the vehicle control unit is of the setting type. When the setting bit is "0", it indicates that the chip of the vehicle control unit is not of the setting type.

[0078] For example, taking the flagship model code of vehicle A as LGXCE4CB5M0188601, CB5 can be converted into binary as 110010110101, then the first digit is "1", indicating that the chips of the flagship model of vehicle A are all of the set type. In other words, reusing the vehicle identification as a method to determine whether the chip of the vehicle is of the set type effectively shortens the length of the vehicle identification string.

[0079] Step S330: When the chip configuration type is a set type, a unified first diagnosis request message is sent to each control unit of the vehicle.

[0080] In one embodiment, when the diagnostic device obtains that the chip configuration type of the vehicle model characteristic in the vehicle model identification is a set type, the diagnostic device sends a set first diagnostic request message corresponding to the set type to the vehicle communication network, so that each control unit of the vehicle can obtain a unified first diagnostic request message. In other words, when each control unit configured in the vehicle is of the set type, the diagnostic device can directly diagnose the vehicle through functional addressing, which can not only improve the response speed of each control unit of the vehicle, but also greatly save computing resources.

[0081] In one embodiment, before step S330, the following steps S3301 to S3303 are also included:

[0082] Step S3301, obtaining a first chip type corresponding to the vehicle model feature.

[0083] For example, Figure 5 As shown, the vehicle model feature is A01, so the vehicle configuration is vehicle model 1 low configuration, the chip configuration type is configuration type 1, and the first chip type is type 1.

[0084] Step S3302: Determine a corresponding message template according to the first chip type.

[0085] In one example, each first chip type is configured with a corresponding message template, and the message template is pre-set. Figure 4 and Figure 5As shown, the vehicle feature is A01, and the chip type of the vehicle is type 1. In type 1, the battery in each control unit is executed corresponding to the sampling unit "battery 300", and the template corresponding to "battery 300" is the content in the general item of the message template.

[0086] Step S3303: Generate a unified first diagnosis request message according to the message template.

[0087] After obtaining the message templates corresponding to each control unit, the diagnostic device may package these message templates into a single-frame first diagnostic request message.

[0088] In one embodiment, step S3301 specifically includes the following contents: according to a preset first mapping data, obtaining a first chip type corresponding to a vehicle model feature; wherein the first mapping data reflects a mapping relationship between multiple vehicle model features and multiple chip types, and the multiple vehicle model features include vehicle model features indicated by a vehicle identification; correspondingly, step S3302 includes the following contents: according to a preset second mapping data, determining a message template corresponding to the first chip type; wherein the second mapping data reflects a mapping relationship between multiple chip types and multiple message templates, and the multiple chip types include the first chip type.

[0089] In one example, the diagnostic device is pre-set with first mapping data and second mapping data. Each vehicle type feature of the first mapping data corresponds to a first chip type, as shown in FIG. Figure 5 As shown, vehicle model feature A01 corresponds to configuration type 1, and configuration type 1 corresponds to chip type 1. For the second mapping data, that is, the diagnostic device can diagnose different first chip types and set corresponding different message templates. For example, type 1 is a chip type with characteristics such as low cost, fewer functions and slow communication rate, and a general message template can be used, while type 2 is a chip type with characteristics such as high cost, many extended functions and fast communication rate, and an independent message template can be set. In other words, for more conventional or general chips, the content of the vehicle status information to be obtained by the diagnostic device will also be relatively simple, that is, a unified message template can be used, which effectively reduces the diagnostic device from storing a large amount of redundant data.

[0090] In one embodiment, after determining the message template of the first chip type, the following contents are further included: determining the diagnostic message item of the message template according to the vehicle model characteristics; wherein the diagnostic message item is at least one message item specified in each message item of the message template. Accordingly, step S3303 specifically includes the following contents: generating a unified first diagnostic request message according to the diagnostic message item of the message template.

[0091] In one example, the diagnostic device can pre-specify different diagnostic message items for message templates corresponding to different vehicle model features of the same first chip type. For the same first chip type, low-configuration vehicle models can correspond to the common items in each message item in the message template, and high-configuration vehicle models can correspond to the common items and extended items in each message item in the message template. Figure 5 As shown, the vehicle model feature is determined to be A01, the chip type of the vehicle is type 1, and the message template corresponding to "battery 300" is executed for the battery in each control unit and the sampling unit, and the vehicle model feature A01 corresponds to the general item of the message template. The vehicle model feature is determined to be A02, the chip type of the vehicle is type 1, and the message template corresponding to "battery 300" is executed for the battery in each control unit and the sampling unit, and the vehicle model feature A02 corresponds to the general item of the message template and the message template extension item, so that for the vehicle with the vehicle model feature A02, the first diagnostic request message received contains all the contents of the general item of the message template and the message template extension item of the battery execution and the sampling unit. In other words, by setting a mapping relationship between the vehicle model feature and each message item of the message template, vehicles with the same chip but different vehicle model features can correspond to different message items, thereby improving the comprehensiveness and accuracy of the diagnosis of the diagnostic equipment.

[0092] Step S340: receiving vehicle status information returned by the control unit according to the received diagnosis request message.

[0093] In one example, when all chips in the vehicle correspond to a set type, the diagnostic device can use functional addressing to send a unified diagnostic request message to obtain vehicle status information returned by each chip. When at least part of the chips in the vehicle correspond to a set type, a one-to-one diagnostic request message is sent using physical addressing to obtain vehicle status information returned by each chip. When any type of vehicle can be diagnosed, the vehicle type features in the vehicle identification can be used to detect vehicles whose chips are all of the set type using functional addressing, which can effectively improve the diagnostic efficiency of the diagnostic instrument and save the computing resources of the diagnostic equipment.

[0094] <Equipment Example 1>

[0095] Figure 7 FIG. 1 is a schematic block diagram of a vehicle detection device according to an embodiment. Figure 7 As shown, the detection device 700 may include:

[0096] The vehicle identification acquisition module 710 is used to acquire the vehicle identification of the vehicle;

[0097] The chip type determination module 720 is used to determine whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle type characteristics indicated by the vehicle identification; wherein the vehicle type characteristics indicate the vehicle type and configuration;

[0098] The request message sending module 730 is used to send a unified first diagnosis request message to each control unit of the vehicle when the chip configuration type is a set type;

[0099] The status information receiving module 740 is used to receive the vehicle status information returned by the control unit according to the received diagnosis request message.

[0100] Optionally, the request message sending module 730 is also used to send a second diagnostic request message to the corresponding control unit according to the communication information of each control unit when the chip configuration type of at least some of the control units in the vehicle is a non-set type.

[0101] Optionally, the detection device 700 further includes: a communication information determination module, configured to send a communication connection request to each control unit of the vehicle; and determine the communication information of the control unit according to a connection response of the control unit in response to the communication connection request.

[0102] Optionally, the chip type determination module 720 is also used to extract the character string of the corresponding vehicle model characteristics in the vehicle identification; convert the character string into binary data; and determine whether the chip of the vehicle control unit is of the set type based on the value of the set bit of the binary data.

[0103] Optionally, the detection device 700 also includes: a request message generation module, used to obtain a first chip type corresponding to the vehicle model characteristics; determine a corresponding message template according to the first chip type; and generate a unified first diagnostic request message according to the message template.

[0104] Optionally, the request message generation module is further used to obtain the first chip type corresponding to the vehicle model feature according to the preset first mapping data; wherein the first mapping data reflects the mapping relationship between multiple vehicle model features and multiple chip types, and the multiple vehicle model features include the vehicle model features indicated by the vehicle identification. According to the preset second mapping data, determine the message template corresponding to the first chip type; wherein the second mapping data reflects the mapping relationship between multiple chip types and multiple message templates, and the multiple chip types include the first chip type.

[0105] Optionally, the request message generation module is further used to determine the diagnostic message item of the message template according to the vehicle model characteristics, wherein the diagnostic message item is at least one message item specified in each message item of the message template, and to generate a unified first diagnostic request message according to the diagnostic message item of the message template.

[0106] The detection device 700 may be the diagnostic apparatus 1000 in FIG. 1 .

[0107] <Equipment Example 2>

[0108] Figure 8 is a schematic diagram of the hardware structure of a diagnostic device according to another embodiment.

[0109] like Figure 8 As shown, the diagnostic device 1000 includes a processor 810 and a memory 820, wherein the memory 820 is used to store an executable computer program, and the processor 810 is used to execute a method as any of the above method embodiments under the control of the computer program.

[0110] Each module of the above detection device 700 can be implemented by the processor 810 in this embodiment executing a computer program stored in the memory 820, or can be implemented by other structures, which is not limited here.

[0111] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0112] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0113] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0114] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0115] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0116] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0117] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0118] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. 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 consecutive boxes 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 and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0119] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A vehicle detection method, characterized in that: The method comprises: Obtaining a vehicle identification of the vehicle; Determining whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle model feature indicated by the vehicle identification; wherein the vehicle model feature indicates the vehicle model and configuration; When the chip configuration type is a set type, sending a unified first diagnosis request message to each control unit of the vehicle; Receive vehicle status information returned by the control unit according to the received diagnosis request message.

2. The method according to claim 1, characterized in that After determining whether the chip configuration type of the control unit of the vehicle is a set type, the method further includes: In the case that the chip configuration type of at least some of the control units in the control units of the vehicle is a non-set type, a second diagnosis request message is sent to the corresponding control unit according to the communication information of each control unit.

3. The method according to claim 1, characterized in that Before obtaining the vehicle identification of the vehicle, the method further includes: Sending a communication connection request to each control unit of the vehicle; The communication information of the control unit is determined according to a connection response of the control unit in response to the communication connection request.

4. The method according to claim 1, characterized in that: The step of determining whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle type feature indicated by the vehicle identification includes: Extracting a character string of character positions corresponding to vehicle model characteristics in the vehicle identification; Convert the string into binary data; According to the value of the setting bit of the binary data, it is determined whether the chip of the control unit of the vehicle is of a setting type.

5. The method according to claim 1, characterized in that Before sending a unified first diagnosis request message to each control unit, the method further includes: Obtaining a first chip type corresponding to the vehicle model feature; Determine a corresponding message template according to the first chip type; The unified first diagnosis request message is generated according to the message template.

6. The method according to claim 5, characterized in that The obtaining the first chip type corresponding to the vehicle model feature includes: According to the preset first mapping data, a first chip type corresponding to the vehicle model feature is obtained; wherein the first mapping data reflects a mapping relationship between a plurality of vehicle model features and a plurality of chip types, and the plurality of vehicle model features include the vehicle model feature indicated by the vehicle identification; The determining, according to the first chip type, a corresponding message template includes: According to preset second mapping data, a message template corresponding to the first chip type is determined; wherein the second mapping data reflects a mapping relationship between multiple chip types and multiple message templates, and the multiple chip types include the first chip type.

7. The method according to claim 6, characterized in that After determining the message template corresponding to the first chip type according to the preset second mapping data, the method further includes: According to the vehicle type characteristics, a diagnostic message item of the message template is determined; wherein the diagnostic message item is at least one message item specified in each message item of the message template. The generating the unified first diagnosis request message according to the message template includes: The unified first diagnosis request message is generated according to the diagnosis message item of the message template.

8. A vehicle detection device, characterized in that: The device comprises: A vehicle identification acquisition module, used to acquire the vehicle identification of the vehicle; A chip type determination module, used to determine whether the chip configuration type of the control unit of the vehicle is a set type according to the vehicle type feature indicated by the vehicle identification; wherein the vehicle type feature indicates the vehicle type and configuration; A request message sending module, used for sending a unified first diagnosis request message to each control unit of the vehicle when the chip configuration type is a set type; The status information receiving module is used to receive the vehicle status information returned by the control unit according to the received diagnosis request message.

9. A diagnostic device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the vehicle detection method according to any one of claims 1 to 7 are implemented. 10 . The diagnostic instrument according to claim 9 , further comprising a communication interface, wherein the communication interface is electrically connected to an OBD port of a vehicle and is used to send different diagnostic request messages and receive different vehicle status information.

Citation Information

Patent Citations

  • Method for optimizing user operating interface of automobile diagnosis instrument and reducing upgrade frequency of diagnosis instrument

    CN102053832A

  • Vehicle diagnosis method, vehicle diagnosis device, vehicle diagnosis equipment, and medium

    CN109164783A

  • Diagnosis method and device, computer equipment and storage medium

    CN112241156A

  • Vehicle diagnosis method, vehicle diagnosis device, computer equipment and storage medium

    CN112519704A

  • Vehicle diagnosis method and related device

    CN115685971A