CN116880874A - Vehicle remote diagnosis and writing method, vehicle and system - Google Patents

Vehicle remote diagnosis and writing method, vehicle and system Download PDF

Info

Publication number
CN116880874A
CN116880874A CN202310854674.7A CN202310854674A CN116880874A CN 116880874 A CN116880874 A CN 116880874A CN 202310854674 A CN202310854674 A CN 202310854674A CN 116880874 A CN116880874 A CN 116880874A
Authority
CN
China
Prior art keywords
diagnosis
diagnostic
flashing
vehicle
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310854674.7A
Other languages
Chinese (zh)
Inventor
洪宇
李长龙
金钊
孙宗姚
周幸达
张赫
张文杰
郭宗宾
陈威名
刘鑫博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202310854674.7A priority Critical patent/CN116880874A/en
Publication of CN116880874A publication Critical patent/CN116880874A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention discloses a vehicle remote diagnosis and writing method, a vehicle and a system. The method is applied to a vehicle and comprises the following steps: responding to a diagnosis and writing instruction of a target controller in a vehicle sent by after-sales diagnosis equipment, and acquiring diagnosis and writing script information of the target controller from a cloud server according to the diagnosis and writing instruction; analyzing the script information of the diagnosis brush to obtain an analysis result, and searching for a target controller according to the analysis result; and sending the diagnosis flashing information and the diagnosis flashing sequence information in the diagnosis flashing script information to the target controller so that the target controller automatically executes after-sales flashing operation and feeds back the result of the flashing operation to the after-sales diagnosis equipment and the cloud server. According to the embodiment of the invention, through the technical scheme, the remote writing link can be shared, the script transmission time is shortened, the after-sale writing efficiency is improved, the after-sale diagnosis equipment is not required to store diagnosis writing script information, the information security risk brought by writing script storage is avoided, and the security is enhanced.

Description

Vehicle remote diagnosis and writing method, vehicle and system
Technical Field
The invention relates to the technical field of vehicle controller diagnosis and writing, in particular to a vehicle remote diagnosis and writing method, a vehicle and a system.
Background
With the development of diagnostic technology, the original local diagnosis is developed and upgraded from the remote diagnosis trend, and the use scene comprises a plurality of diagnosis forms such as remote diagnosis, near-field diagnosis, vehicle-mounted diagnosis and the like.
In the prior art, when a vehicle controller is subjected to diagnostic writing, a near-field diagnostic device is generally required to download and store a diagnostic writing flow in a cloud end, and then the writing flow is issued to a vehicle through the near-field diagnostic device.
Disclosure of Invention
In view of the above, the invention provides a vehicle remote diagnosis and writing method, a vehicle and a system, which can achieve the effect of sharing a remote writing and writing link, shorten the file transmission time, reduce writing and writing development work of after-sales equipment, improve the after-sales writing and writing efficiency, and avoid the information security risk brought by local storage of writing and writing scripts by the after-sales diagnosis equipment.
According to an aspect of the present invention, an embodiment of the present invention provides a vehicle remote diagnosis and handwriting method, applied to a vehicle, the method including:
responding to a diagnosis flashing instruction of a target controller in the vehicle sent by after-sales diagnosis equipment, and acquiring diagnosis flashing script information of the target controller from the cloud server according to the diagnosis flashing instruction;
analyzing the diagnosis brushing script information to obtain an analysis result, and searching the target controller according to the analysis result;
and sending the diagnosis flashing information and the diagnosis flashing sequence information in the diagnosis flashing script information to the target controller so that the target controller automatically executes after-sales flashing operation and feeds back the flashing operation result to the after-sales diagnosis equipment and the cloud server.
According to another aspect of the present invention, there is also provided a vehicle, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the vehicle remote diagnostic flushing method described in any one of the embodiments of the present invention.
According to another aspect of the present invention, an embodiment of the present invention further provides
A vehicle remote diagnostic flashing system, the system comprising: the system comprises a diagnosis and writing development platform, after-sale diagnosis equipment, a vehicle and a cloud server;
the diagnosis flashing development platform is used for sending preset diagnosis flashing script information and diagnosis flashing instructions to the after-sales diagnosis equipment and the cloud server;
the after-sales diagnostic equipment is used for receiving a diagnostic flashing instruction of a target controller in the vehicle, which is sent by the diagnostic development platform, and sending the diagnostic flashing instruction to the vehicle;
the vehicle is used for executing the vehicle remote diagnosis and writing method according to any one of the embodiments of the invention;
the cloud server is used for receiving the diagnosis writing script information and the diagnosis writing instruction, storing and managing the diagnosis writing script information and the diagnosis writing instruction, and monitoring the whole remote diagnosis operation process;
the after-sales diagnosis equipment is connected with the diagnosis brushing development platform through wires or wirelessly; the after-sales diagnosis equipment is connected with the vehicle through WIFI, bluetooth or a wired mode; the vehicle is connected with the cloud server through a hypertext transfer security protocol HTTPS and message queue telemetry transmission MQTT.
According to the technical scheme, diagnostic flashing script information of a target controller is obtained from a cloud server through a diagnostic flashing instruction of the target controller in a vehicle, which is sent by after-sales diagnostic equipment; analyzing the script information of the diagnosis brush to obtain an analysis result, and searching for a target controller according to the analysis result; the diagnostic flashing information and the diagnostic flashing sequence information in the diagnostic flashing script information are issued to the target controller, so that the target controller automatically executes after-sales flashing operation, the effect of sharing a remote flashing link is achieved, the file transmission time is shortened, the flashing development work of after-sales equipment is reduced, the after-sales flashing efficiency is improved, the after-sales diagnostic equipment is not required to store the diagnostic flashing script information, the information security risk brought by local storage of the flashing script is avoided, and the security of the file is enhanced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for remote diagnostic flushing of a vehicle according to one embodiment of the present invention;
FIG. 2 is a flow chart of another method for remote diagnostic flushing of a vehicle according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of a remote diagnostic brush system for a vehicle according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a remote diagnosis and brush system for a vehicle according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In an embodiment, fig. 1 is a flowchart of a method for remote diagnosis and writing of a vehicle according to an embodiment of the present invention, where the method may be applied to a case when remote diagnosis and writing is performed on a controller in a vehicle.
As shown in fig. 1, the remote diagnosis and handwriting method for a vehicle in the embodiment is applied to a vehicle, and specifically includes the following steps:
s110, responding to a diagnosis and writing instruction of a target controller in the vehicle sent by the after-sales diagnosis equipment, and acquiring diagnosis and writing script information of the target controller from a cloud server according to the diagnosis and writing instruction.
The after-sales diagnostic device may also be referred to as a near-field diagnostic or local diagnostic device, and the device may be an electronic device such as a computer or a mobile phone. In this embodiment, the after-sales diagnostic device may obtain the diagnostic brush script information and the diagnostic brush instruction of the target controller from the cloud diagnostic development platform in a wired/wireless manner. The target controller refers to a controller in the vehicle that needs to be refreshed, and the controller may be one or more, and the embodiment is not limited herein.
In some embodiments, the diagnostic flush instructions are obtained from a diagnostic flush development platform by wired or wireless means for an after-market diagnostic device; the diagnosis and writing script information is the diagnosis and writing script information corresponding to each controller in the vehicle which is written in advance; and writing the diagnosis flashing script information of the target controller in the diagnosis flashing development platform, and sending the diagnosis flashing script information and the diagnosis flashing instruction to the cloud server for storage through a hypertext transfer security protocol HTTPS.
In some embodiments, the diagnostic brush script information includes at least: diagnostic flashing instructions, diagnostic flashing information corresponding to the target controller, diagnostic flashing sequence information, model, function and version information of the target controller; the result of the swiping operation includes at least: issuing record time, finishing time of writing, existing writing record and writing times, version information after writing and state information.
In this embodiment, when a diagnostic flashing instruction of a target controller in a vehicle is sent by an after-sales diagnostic device, the diagnostic flashing instruction may be parsed by a cloud diagnostic client in the vehicle to obtain instruction content corresponding to the diagnostic flashing instruction, the target controller requiring diagnostic flashing is determined according to the instruction content, and diagnostic flashing script information of the matched target controller is actively obtained from a cloud server; of course, in some embodiments, the diagnostic flashing instruction may also be sent to the cloud server through the diagnostic development platform, where the cloud server responds to the diagnostic instruction to initiate a diagnostic connection to the controller in the vehicle end through a preset communication message format, and actively issues diagnostic flashing script information corresponding to the diagnostic flashing instruction, where the embodiment is not limited herein.
S120, analyzing the script information of the diagnosis brush to obtain an analysis result, and searching the target controller according to the analysis result.
The analysis result may include, but is not limited to, diagnostic flashing sequence information, diagnostic flashing information, and address information of a target controller that needs to perform diagnostic flashing.
In this embodiment, after connection is established with the target controller, diagnostic flashing sequence information in the diagnostic flashing script information may be parsed by the OTX service in the open test sequence interaction format, and whether the target controller meets the diagnostic flashing condition may be determined according to the diagnostic flashing sequence information; under the condition that the target controller meets the diagnosis and writing conditions, analyzing diagnosis and writing information in diagnosis and writing script information through an open diagnosis interactive data ODX service to obtain a first analysis result, and searching the target controller according to the first analysis result; under the condition that the target controller does not meet the diagnostic flushing condition, diagnostic flushing operation of target control is not performed; in other embodiments, the diagnostic flashing script information may be parsed to obtain at least one target controller information and corresponding controller flashing data, the controller flashing data corresponding to each target controller information may be converted into a controller flashing message according to a communication protocol of the target controller, and at least one flashing task may be obtained based on the at least one target controller information and the corresponding controller flashing message.
And S130, sending the diagnosis flashing information and the diagnosis flashing sequence information in the diagnosis flashing script information to a target controller so that the target controller automatically executes after-sales flashing operation, and feeding back the flashing operation result to the after-sales diagnosis equipment and the cloud server.
In this embodiment, the diagnostic flashing information and the diagnostic flashing sequence information in the diagnostic flashing script information may be issued to the target controller, so that the target controller automatically executes the after-sales flashing operation, and the result of the flashing operation is fed back to the after-sales diagnostic device and the cloud server. Specifically, the diagnosis and writing information CAN be issued to the corresponding target controller by calling the communication service in the vehicle and by one of the CAN bus, the CAN bus upgrade or the ethernet bus connected by the communication service, and of course, in addition, the corresponding diagnosis and writing information CAN be actively pulled to the high-performance computer in the vehicle by the target controller, so that related writing operation is performed according to the diagnosis and writing information, and the result of the writing operation is fed back to the after-sales diagnosis device and the cloud server.
According to the technical scheme, diagnostic flashing script information of a target controller is obtained from a cloud server through a diagnostic flashing instruction of the target controller in a vehicle, which is sent by after-sales diagnostic equipment; analyzing the script information of the diagnosis brush to obtain an analysis result, and searching for a target controller according to the analysis result; the diagnostic flashing information and the diagnostic flashing sequence information in the diagnostic flashing script information are issued to the target controller, so that the target controller automatically executes after-sales flashing operation, the effect of sharing a remote flashing link is achieved, the file transmission time is shortened, the flashing development work of after-sales equipment is reduced, the after-sales flashing efficiency is improved, the after-sales diagnostic equipment is not required to store the diagnostic flashing script information, the information security risk brought by local storage of the flashing script is avoided, and the security of the file is enhanced.
In an embodiment, fig. 2 is a flowchart of another vehicle remote diagnosis and writing method according to an embodiment of the present invention, where on the basis of the foregoing embodiments, the method further includes obtaining diagnosis and writing script information of a target controller from the cloud server according to a diagnosis and writing instruction, analyzing the diagnosis and writing script information to obtain an analysis result, searching the target controller according to the analysis result, and issuing the diagnosis and writing script information in the diagnosis and writing script information to the target controller.
As shown in fig. 2, the method for remote diagnosis and handwriting of a vehicle in this embodiment is applied to a vehicle, and specifically may include the following steps:
and S210, responding to a diagnosis and writing instruction of a target controller in the vehicle sent by the after-sales diagnosis equipment, and analyzing the diagnosis and writing instruction through a cloud diagnosis client in the vehicle to obtain instruction content corresponding to the diagnosis and writing instruction.
The diagnostic flashing instructions and the diagnostic flashing script information are in one-to-one correspondence, and it can be understood that the diagnostic flashing instructions and the diagnostic flashing script information corresponding to the diagnostic flashing instructions are pre-agreed by after-sales diagnostic equipment and the cloud.
In one embodiment, the vehicle and the after-market diagnostic device transmit diagnostic swipe instructions of the target controller over a swipe link; after the after-sales refreshing operation is automatically executed by a target controller in the vehicle, a refreshing link multiplexing the result of the refreshing operation is fed back to the after-sales diagnosis equipment, and a refreshing link of a near-field local after-sales diagnosis multiplexing remote diagnosis system is used for reducing the development period of local after-sales diagnosis, so that the effect of sharing the remote refreshing link can be achieved, the file transmission time is shortened, the refreshing development work of the after-sales equipment is reduced, and the after-sales refreshing efficiency is improved.
In one embodiment, after sending the diagnostic flush command of the target controller, the after-market diagnostic device may read the flush status of the target controller in real-time through the identifier reading service. It will be appreciated that, given the excessive time of the swipe, the after-market diagnostic device can read the status of the swipe in real time after the swipe trigger, using the Read Data By Identifier ($22) service for status information reading and display. The $22 service (Read Data By Identifier) reads the data service via an identifier to allow the diagnostic instrument to request the value of the data record from the controller of one or more Data Identifiers (DID). The controller identifies the recorded data by this identifier.
In this embodiment, the after-sales diagnostic device obtains a diagnostic flashing instruction from the cloud diagnostic development platform in a wired/wireless manner, so as to start a trigger instruction through a corresponding service function, send the diagnostic flashing instruction corresponding to the target controller to the vehicle, and the vehicle, in response to the diagnostic flashing instruction of the target controller in the vehicle sent by the after-sales diagnostic device, analyzes the diagnostic flashing instruction through a cloud diagnostic client in the vehicle to obtain instruction content corresponding to the diagnostic flashing instruction, where the instruction content may include, but is not limited to, a flashing content of the target controller, a flashing flow, a judgment of a flashing condition, and so on. Taking a route Control ($31) service in an automobile diagnosis standard protocol (Unified Diagnostic Services, UDS) as an example, a sub-function 01 (start a route) may be used to start a trigger instruction, a central computing platform in a vehicle gives positive response information ($71) after receiving the trigger instruction, and performs corresponding operations to actively obtain ODX and OTX brush script files corresponding to a target controller from a cloud diagnosis development platform and issue the ODX and OTX brush script files to the central computing platform in the vehicle.
It should be noted that, the storage of the flashing script in the embodiment in the central computing platform in the vehicle may be understood as that the central computing platform at the vehicle end in the vehicle receives the diagnostic flashing instruction sent by the after-sales diagnostic device, and directly and actively pulls the diagnostic flashing script information corresponding to the target controller into the cloud server, so that the diagnostic flashing script information does not need to be stored in the after-sales diagnostic device, thereby avoiding local storage and improving data security.
S220, determining a target controller for performing diagnosis and writing according to the instruction content, and actively acquiring diagnosis and writing script information of the matched target controller from the cloud server.
In this embodiment, the target controller for performing diagnostic flashing may be determined according to the instruction content, and the diagnostic flashing script information of the matched target controller may be actively obtained from the cloud server.
S230, establishing connection with the target controller according to a preset physical addressing mode.
In this embodiment, the connection is established with the target controller according to a preset physical addressing mode, where the preset physical addressing mode in this embodiment is a physical addressing mode in the prior art, and this embodiment is not limited herein. For example, the command may be sent by physical addressing to establish a connection with the controller.
S240, calling an OTX service in an open test sequence interactive format in the vehicle, analyzing the diagnosis flashing sequence information in the diagnosis flashing script information through the OTX service in the open test sequence interactive format, and determining whether the target controller meets diagnosis flashing conditions according to the diagnosis flashing sequence information.
Wherein the diagnostic flush conditions include at least: the vehicle key state, gear information, vehicle speed information, and controller voltage information. It is understood that detecting whether the current vehicle program update condition meets the swipe requirements includes vehicle key status, gear information, current vehicle speed, controller voltage. For example, whether the read voltage is greater than 12 v, whether the gear is P gear or neutral gear, whether the vehicle speed is 0, etc. are required before performing the quasi-segment writing of the target controller, and the diagnostic writing script information is issued to the target controller under the satisfied conditions.
In this embodiment, the diagnostic flashing sequence information in the diagnostic flashing script information is parsed by calling the open test sequence interactive format OTX service in the vehicle and by the open test sequence interactive format OTX service, and whether the target controller satisfies the diagnostic flashing condition is determined according to the diagnostic flashing sequence information. It will be appreciated that the open diagnostic interactive data (Open Diagnostic Exchange Data, ODX) is a database, the open diagnostic interactive data (Open Diagnostic Exchange Data, OTX) is a sequence through which inspection of the sequence of operations is required, and that serializing services corresponding to each instruction is invoked by the ODX. Such as: before the controller in the vehicle starts diagnostic flashing, it is necessary to read the current speed and rotation speed of the vehicle, the voltage of the vehicle, etc., and after the reading, there may be a corresponding trigger command, such as performing an in-vehicle flashing.
The after-sales diagnostic device sends a diagnostic flashing instruction to a certain controller in a high-performance computer (High Performance Computing, HPC) in the vehicle to perform a flashing task, when the HPC receives the diagnostic flashing instruction, the HPC actively sends the diagnostic flashing script information corresponding to the diagnostic flashing instruction to the cloud server, after the HPC pulls the diagnostic flashing script information, the diagnostic flashing sequence information is obtained by calling OTX (time-to-time) in the vehicle according to the diagnostic flashing script information, when the after-sales diagnostic device first swipes the vehicle according to the OTX to a communication module, the condition (such as whether the vehicle voltage, the vehicle state and the like meet the condition) of the before-sale condition is started to be refreshed, when the condition is met, the diagnostic flashing script information is sent to the controller which needs to be refreshed, such as a CAN controller, after the flashing is completed, a reset is performed, or the controller gives a response, and the status information of the flashing is simultaneously fed back to the cloud and the after-sale diagnostic platform.
S250, under the condition that the target controller meets the diagnosis and writing conditions, calling an open diagnosis interactive data ODX service in the vehicle, analyzing diagnosis and writing information in diagnosis and writing script information through the open diagnosis interactive data ODX service to obtain a first analysis result, and searching the target controller according to the first analysis result.
The first analysis result comprises address information of the target controller.
In this embodiment, under the condition that the target controller meets the diagnostic writing conditions, an open diagnostic interactive data ODX service in the vehicle is invoked, diagnostic writing information in the diagnostic writing script information is analyzed through the open diagnostic interactive data ODX service to obtain a first analysis result, and the target controller is searched according to the first analysis result; the first analysis result comprises address information of the target controller.
In this embodiment, the HPC is used as a vehicle-mounted execution end of the vehicle end of the remote diagnosis system, that is, a vehicle-end central computing platform, and executes according to the diagnosis flashing information, the diagnosis flashing sequence information and the cloud configuration diagnosis policy sent by the cloud server, and feeds back the result to the cloud server for processing. The concrete description is as follows: the OTX module runs an OTX operation sequence sent by the cloud and executes an operation flow class instruction; the D-Server executes an ODX analysis function, analyzes an ODX file sent by the cloud, sends the ODX file to each controller in the vehicle, and simultaneously receives a response message of the slave controller; the communication module completes the diagnosis communication function with other controllers in the vehicle; the communication modes include CAN, CANFD, ethernet and other bus modes. The near-field diagnosis device obtains diagnosis writing information and diagnosis writing sequence information of the diagnosis development platform under the condition of no network for the after-sale diagnosis device, and is connected with the vehicle in a wireless/Bluetooth/wired mode and the like, and the diagnosis writing information and the diagnosis writing sequence information are sent to the HPC vehicle-mounted execution end, namely the vehicle-mounted central computing platform, so that the diagnosis function is realized.
And S260, if the target controller does not meet the diagnostic flushing condition, the diagnostic flushing operation of the target control is not performed.
In the present embodiment, in the case where the target controller does not satisfy the diagnostic flushing condition, the diagnostic flushing operation of the target control is not performed.
S270, calling communication service in the vehicle, and sending the diagnosis and writing information to a corresponding target controller through one of a CAN bus, a CAN bus upgrade or an Ethernet bus connected with the communication service, so that the target controller automatically executes after-sales and writing operation, and feeding back the result of the writing operation to the after-sales diagnosis equipment and the cloud server.
Wherein, the diagnosis and the writing information at least comprise: program data is written, updated version information, model and functions are written.
In this embodiment, a communication service in the vehicle is invoked, and diagnostic brushing information is issued to a corresponding target controller through one of a CAN bus, a CAN bus upgrade, or an ethernet bus, which is connected to the communication service, so that the target controller automatically executes an after-sales brushing operation, and a result of the brushing operation is fed back to the after-sales diagnostic device and the cloud server.
Specifically, the flow of diagnostic brush writing to the target controller can be described as: the HPC sends the instruction to the cloud server to obtain scripts, then judges the scripts by the HPC, namely the ODX and the OTX, analyzes the OTX file by using the OTX run time, analyzes the ODX by using the D-SERIVE, and sends the ODX to the communication module after the analysis.
In this embodiment, the brushing flow may be divided into three processes, a brushing process before brushing and a brushing end; the after-sales diagnosis device obtains ODX and OTX script information (including a flashing trigger instruction) from the cloud diagnosis development platform in a wired/wireless mode, locally runs the flashing trigger instruction in the script information, takes a route Control ($31) service in a UDS protocol as an example, can use a start a trigger instruction of a sub-function 01 (start a route), gives positive response information ($71) after receiving the trigger instruction, executes corresponding operation, actively obtains ODX and OTX flashing script files of corresponding controllers from the cloud diagnosis development platform and transmits the ODX and OTX flashing script files to the central computing platform, the central computing platform receives the ODX and OTX script files used for analysis and execution at a cloud diagnosis client, transmits the execution result to the corresponding controllers through a communication module and feeds back the execution result to the central computing platform, and the central computing platform feeds back the execution result to the after-sales diagnosis device and the cloud diagnosis development platform. The after-sales diagnostic device displays the swipe result and notifies the operator, and the result is uploaded to the cloud diagnostic development platform.
In this embodiment, particularly considering that the refresh time is too long, the after-sales diagnostic device may read the refresh status in real time after the refresh trigger command, and use Read Data By Identifier ($22) service to read and display status information. The present embodiment is described with reference to the above-described activation method, and is equally applicable to other diagnostic operations requiring local storage of the after-market diagnostic device, such as writing of large amounts of data.
For the central computing platform to receive the writing flow executed by the ODX and OTX script files, reference may be made to three writing stage steps Programming phase #1-Pre-Programming step provided in server Programming process in ISO 14229-1; programming phase # 1-Programming step; programming phase # 1-Post-Programming step; exemplary application example steps are described and flow: step 1: the physical addressing mode sends an instruction and establishes connection with the controller. Step 2: and detecting whether the current vehicle program updating condition meets the refreshing requirement or not, wherein the current vehicle program updating condition comprises a vehicle key state, gear information, a current vehicle speed and a controller voltage. Step 3: the function addressing mode sends a mode switch command (with a positive response suppression bit) to let all the vehicle controllers enter the extended mode. Step 4: the function addressing mode sends a stop fault code setting instruction (with a positive response suppression bit) to stop all controllers from recording fault information. Step 5: the function addressing mode sends a stop bus communication command (with a positive response suppression bit) to cause all controllers to stop bus communication. Step 6: and the physical addressing mode sends a mode switching instruction to switch the controller needing program updating into a programming mode. Step 7: and the physical addressing mode sends an unlocking instruction to unlock the controller. Step 8: a step 9 of transmitting a fingerprint information writing instruction in a physical addressing mode: a step 10 of sending a write-refreshing date instruction in a physical addressing mode: the physical addressing mode sends a brushing driving program and a checking instruction. Step 11: the physical addressing mode sends an erase procedure data instruction. Step 12: the physical addressing mode sends the refreshed program data and checks. Step 13: the physical addressing mode sends a consistency check instruction. Step 14: physical addressing mode controller hard reset instruction step 15: the function addressing mode sends a mode switch command (with a positive response suppression bit) to let all the vehicle controllers enter the extended mode. Step 16: the function addressing mode sends a command (with a positive response suppression bit) to initiate bus communication for all controllers. Step 17: the function addressing mode sends an open fault code setting instruction (with a positive response suppression bit) to enable all controllers to open and record fault information. Step 18: the function addressing mode sends a mode switch command (with a positive response suppression bit) to switch all the vehicle controllers to the default mode. Step 19: the function addressing mode sends a controller fault clearing instruction.
In the embodiment, a refreshing script is compiled at a cloud end, a refreshing task is issued remotely, the refreshing script is issued from the cloud end to a vehicle-end central computing platform, refreshing operation is executed, and finally a refreshing result of an in-vehicle controller is fed back to the cloud end; the after-sales diagnostic equipment refreshing flow of the near-field diagnosis is that a refreshing script is downloaded from a cloud to local diagnostic equipment, the refreshing script is transmitted to a vehicle-end central computing platform from the local diagnostic equipment, and after the central computing platform executes refreshing operation, a result is fed back to the after-sales diagnostic equipment to display the refreshing result, and meanwhile, the refreshing synchronous result is refreshed to the cloud. By adding a trigger instruction to the vehicle-end central computing platform in the after-sales diagnostic equipment, the central computing platform actively pulls the corresponding script from the cloud to the cloud after receiving the instruction and operates the script, and simultaneously sends the operated brushing result to the cloud and the after-sales diagnostic equipment to be displayed, the strategy of sharing the remote brushing link shortens the file transmission time, reduces the development period of the after-sales diagnostic equipment, avoids the local storage of the brushing script, enhances the safety of the file and improves the after-sales brushing efficiency.
According to the technical scheme, the cloud diagnosis client in the vehicle analyzes the diagnosis and writing instruction to obtain the instruction content corresponding to the diagnosis and writing instruction by responding to the diagnosis and writing instruction of the target controller in the vehicle sent by the after-sale diagnosis equipment; determining a target controller for performing diagnosis and writing according to the instruction content, and actively acquiring diagnosis and writing script information of the matched target controller from a cloud server; the cloud of the remote diagnosis system is triggered by the diagnosis instruction to actively acquire the refreshing file and execute the refreshing flow, so that the refreshing time is shortened, and the after-sales maintenance man-hour is reduced; establishing connection with the target controller according to a preset physical addressing mode; and calling an open test sequence interaction format (OTX) service in the vehicle, analyzing the diagnostic flashing sequence information in the diagnostic flashing script information through the open test sequence interaction format (OTX) service, determining whether the target controller meets the diagnostic flashing conditions according to the diagnostic flashing sequence information, calling the open diagnostic interaction data (ODX) service in the vehicle under the condition that the target controller meets the diagnostic flashing conditions, analyzing the diagnostic flashing information in the diagnostic flashing script information through the open diagnostic interaction data (ODX) service to obtain a first analysis result, and searching the target controller according to the first analysis result, so that a strategy of further sharing a remote flashing link can be shortened, the development period of after-sale diagnostic equipment is shortened, the local storage of the flashing script is avoided, the safety of the file is enhanced, and the after-sale flashing efficiency is improved.
In one embodiment, fig. 3 is a schematic diagram of a remote diagnosis and brush system for a vehicle according to an embodiment of the present invention, as shown in fig. 3, including: a diagnostic brush development platform 310, an after-market diagnostic device 320, a vehicle 330, and a cloud server 340;
the diagnostic flashing development platform 310 is configured to send pre-formulated diagnostic flashing script information and a diagnostic flashing instruction to the after-sales diagnostic device 320 and the cloud server 340;
the after-sales diagnostic device 320 is configured to receive a diagnostic flashing instruction of a target controller in the vehicle sent by the diagnostic development platform 310, and send the diagnostic flashing instruction to the vehicle 330;
the vehicle 330 is used for the vehicle remote diagnosis and writing method according to any one of the embodiments of the present invention;
the cloud server 340 is configured to receive the diagnostic flashing script information and the diagnostic flashing instruction, store and manage the diagnostic flashing script information and the diagnostic flashing instruction, and monitor an entire remote diagnostic operation process;
wherein, the after-sales diagnostic device 320 is connected with the diagnostic brush development platform 310 through a wire or a wireless; the after-market diagnosis device 320 and the vehicle 330 are connected through WIFI, bluetooth or a wired manner; the vehicle 330 is connected to the cloud server 340 via hypertext transfer security protocol HTTPS, message queue telemetry transport MQTT.
In this embodiment, the after-sales diagnostic device 320 is connected to the diagnostic brush development platform 310 through a wired or wireless connection; the after-market diagnosis device 320 and the vehicle 330 are connected through WIFI, bluetooth or a wired manner; the vehicle 330 is connected with the cloud server 340 through a hypertext transfer security protocol HTTPS and message queue telemetry transmission MQTT, and the diagnostic flashing development platform 310 is configured to send pre-formulated diagnostic flashing script information and a diagnostic flashing instruction to the after-sales diagnostic device 320 and the cloud server 340; the after-sales diagnostic device 320 is configured to receive a diagnostic flashing instruction of a target controller in the vehicle sent by the diagnostic development platform 310, and send the diagnostic flashing instruction to the vehicle 330; the vehicle 330 is used for the vehicle remote diagnosis and writing method according to any one of the embodiments of the present invention; the cloud server 340 is configured to receive the diagnostic flashing script information and the diagnostic flashing instruction, store and manage the diagnostic flashing script information and the diagnostic flashing instruction, and monitor the entire remote diagnostic operation process.
In an embodiment, in order to better understand the vehicle remote diagnosis and writing system, fig. 4 is a schematic structural diagram of another vehicle remote diagnosis and writing system according to an embodiment of the present invention, where ODX and OTX files are diagnosis and writing information and diagnosis and writing sequence information in the above embodiment; as shown in fig. 4, the diagnosis development platform mainly realizes the formulation of ODX and OTX files. The cloud server stores and manages ODX and OTX files, issues and manages diagnostic tasks, formulates diagnostic strategies and monitors the whole remote diagnostic operation process. The HPC is used as a vehicle-mounted execution end of the remote diagnosis system, namely a vehicle-mounted central computing platform, is executed according to the ODX and OTX files and cloud configuration diagnosis strategies sent by the cloud server, and feeds results back to the cloud server for processing. The concrete description is as follows: the OTX module runs an OTX operation sequence sent by the cloud and executes an operation flow class instruction; the D-Server executes an ODX analysis function, analyzes an ODX file sent by the cloud, sends the ODX file to each controller in the vehicle, and simultaneously receives a response message of the slave controller; the communication module completes the diagnosis communication function with other controllers in the vehicle; the communication modes include CAN, CANFD, ethernet and other bus modes. The near field diagnosis device obtains ODX and OTX files of the diagnosis development platform under the condition of no network for the after-sale diagnosis device, and is connected with the vehicle in a wireless/Bluetooth/wired mode and the like, and sends the ODX files and OTX sequences to the HPC vehicle-mounted execution end, namely the vehicle-mounted central computing platform, so that the diagnosis function is realized.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of remote diagnostic flashing of a vehicle, applied to a vehicle, the method comprising:
responding to a diagnosis flashing instruction of a target controller in the vehicle sent by after-sales diagnosis equipment, and acquiring diagnosis flashing script information of the target controller from the cloud server according to the diagnosis flashing instruction;
analyzing the diagnosis brushing script information to obtain an analysis result, and searching the target controller according to the analysis result;
and sending the diagnosis flashing information and the diagnosis flashing sequence information in the diagnosis flashing script information to the target controller so that the target controller automatically executes after-sales flashing operation and feeds back the flashing operation result to the after-sales diagnosis equipment and the cloud server.
2. The method according to claim 1, wherein the diagnostic brush script information includes at least: diagnostic flashing instructions, diagnostic flashing information corresponding to the target controller, diagnostic flashing sequence information, and model, function and version information of the target controller; the result of the swiping operation at least comprises: issuing record time, finishing time of writing, existing writing record and writing times, version information after writing and state information.
3. The method of claim 1, wherein the diagnostic swipe instruction is obtained by the after-market diagnostic device from a diagnostic swipe development platform by wire or wirelessly; the diagnosis and writing script information is the diagnosis and writing script information which is written in advance and corresponds to each controller in the vehicle respectively; and writing the diagnosis flashing script information of the target controller in the diagnosis flashing development platform, and sending the diagnosis flashing script information and the diagnosis flashing instruction to the cloud server for storage through a hypertext transfer security protocol (HTTPS).
4. The method of claim 1, wherein the diagnostic flush instructions are in one-to-one correspondence with the diagnostic flush script information; the obtaining, from the cloud server, diagnostic brush script information of the target controller according to the diagnostic brush instruction includes:
analyzing the diagnostic flashing instruction through a cloud diagnostic client in the vehicle to obtain instruction content corresponding to the diagnostic flashing instruction;
and determining a target controller for performing diagnosis and writing according to the instruction content, and actively acquiring diagnosis and writing script information of the matched target controller from the cloud server.
5. The method of claim 1, wherein parsing the diagnostic brush script information to obtain a parsed result, and searching the target controller according to the parsed result, comprises:
establishing connection with the target controller according to a preset physical addressing mode;
invoking an open test sequence interactive format OTX service in the vehicle, analyzing the diagnostic flashing sequence information in the diagnostic flashing script information through the open test sequence interactive format OTX service, and determining whether the target controller meets diagnostic flashing conditions according to the diagnostic flashing sequence information; wherein the diagnostic flushing conditions include at least: the vehicle key state, gear information, vehicle speed information and controller voltage information;
under the condition that the target controller meets the diagnosis and writing conditions, calling an open diagnosis interactive data ODX service in the vehicle, analyzing diagnosis and writing information in the diagnosis and writing script information through the open diagnosis interactive data ODX service to obtain a first analysis result, and searching the target controller according to the first analysis result; the first analysis result comprises address information of the target controller;
in the case where the target controller does not satisfy the diagnostic flush condition, the diagnostic flush operation of the target control is not performed.
6. The method of claim 1, wherein the issuing the diagnostic brush information in the diagnostic brush script information to the target controller comprises:
calling communication service in the vehicle, and issuing the diagnosis and writing information to a corresponding target controller in one of a CAN bus, a CAN bus upgrade or an Ethernet bus connected with the communication service;
wherein, the diagnosis and writing information at least comprises: program data is written, updated version information, model and functions are written.
7. The method of claim 1, wherein the after-market diagnostic device reads the target controller's status of the swipe through an identifier reading service after sending the target controller's diagnostic swipe command.
8. The method of claim 1, wherein the vehicle and the after-market diagnostic device communicate diagnostic swipe instructions of the target controller over a swipe link; after the after-sales refreshing operation is automatically executed, the target controller in the vehicle multiplexes the refreshing operation result to the after-sales diagnosis device by the refreshing link.
9. A vehicle, characterized in that the vehicle comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the vehicle remote diagnostic flushing method of any one of claims 1-8.
10. A vehicle remote diagnostic flashing system, the system comprising: the system comprises a diagnosis and writing development platform, after-sale diagnosis equipment, a vehicle and a cloud server;
the diagnosis flashing development platform is used for sending preset diagnosis flashing script information and diagnosis flashing instructions to the after-sales diagnosis equipment and the cloud server;
the after-sales diagnostic equipment is used for receiving a diagnostic flashing instruction of a target controller in the vehicle, which is sent by the diagnostic development platform, and sending the diagnostic flashing instruction to the vehicle;
the vehicle for performing the vehicle remote diagnosis and painting method according to any one of claims 1 to 8;
the cloud server is used for receiving the diagnosis writing script information and the diagnosis writing instruction, storing and managing the diagnosis writing script information and the diagnosis writing instruction, and monitoring the whole remote diagnosis operation process;
the after-sales diagnosis equipment is connected with the diagnosis brushing development platform through wires or wirelessly; the after-sales diagnosis equipment is connected with the vehicle through WIFI, bluetooth or a wired mode;
the vehicle is connected with the cloud server through a hypertext transfer security protocol HTTPS and message queue telemetry transmission MQTT.
CN202310854674.7A 2023-07-12 2023-07-12 Vehicle remote diagnosis and writing method, vehicle and system Pending CN116880874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310854674.7A CN116880874A (en) 2023-07-12 2023-07-12 Vehicle remote diagnosis and writing method, vehicle and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310854674.7A CN116880874A (en) 2023-07-12 2023-07-12 Vehicle remote diagnosis and writing method, vehicle and system

Publications (1)

Publication Number Publication Date
CN116880874A true CN116880874A (en) 2023-10-13

Family

ID=88267503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310854674.7A Pending CN116880874A (en) 2023-07-12 2023-07-12 Vehicle remote diagnosis and writing method, vehicle and system

Country Status (1)

Country Link
CN (1) CN116880874A (en)

Similar Documents

Publication Publication Date Title
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN110912998B (en) Vehicle problem troubleshooting system and method based on remote equipment terminal
CN113687853B (en) Vehicle upgrade control method and computer storage medium
KR20180132612A (en) Communication method, apparatus and system for automobile remote diagnosis
CN109895712B (en) Method for reading and displaying automobile information of OBD (on-Board diagnostics) equipment through serial port
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN115437338A (en) Remote diagnosis method and device, electronic equipment and storage medium
WO2018043107A1 (en) On-board update device and on-board update system
CN115437339A (en) Remote diagnosis method and device, electronic equipment and storage medium
US20230305835A1 (en) Program update system and vehicle management server
CN115469629A (en) Remote diagnosis method, device, system, electronic equipment and storage medium
CN115857985A (en) Cabin upgrading system, operation method and storage medium
CN114879640A (en) Automobile remote diagnosis system, method and computer readable storage medium
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
CN113467409A (en) Fault diagnosis method and device for electronic control unit of vehicle
CN114691407A (en) Method and device for acquiring vehicle log, electronic equipment and storage medium
CN113311816A (en) Vehicle remote diagnosis system and method
CN102158462B (en) A kind of method that 2G or 3G module remote diagnosis is repaired
CN116880874A (en) Vehicle remote diagnosis and writing method, vehicle and system
CN114363385B (en) Method, system, equipment and storage medium for updating automobile end software by cloud
JP2014017588A (en) Information processing device
CN106882162B (en) Vehicle maintenance device and system
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN105035123A (en) Train display method and system based on cloud platform
JP2019031191A (en) Vehicle maintenance tool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination