CN116266116A - Version detection method, device and system for vehicle controller and version detector - Google Patents
Version detection method, device and system for vehicle controller and version detector Download PDFInfo
- Publication number
- CN116266116A CN116266116A CN202111550451.9A CN202111550451A CN116266116A CN 116266116 A CN116266116 A CN 116266116A CN 202111550451 A CN202111550451 A CN 202111550451A CN 116266116 A CN116266116 A CN 116266116A
- Authority
- CN
- China
- Prior art keywords
- version
- detector
- controller
- server
- client
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a vehicle controller version detection method, device and system and a version detector. The method comprises the following steps: the client sends a version detection instruction to the server; the server sends a connection request to the version detector; the version detector sends a version detection request to the to-be-detected controller through the controller interface; the version detector receives a response to the version detection request from the to-be-detected controller, namely the current version information of the to-be-detected controller; the version detector sends the current version information to the server; the server compares the current version information with pre-stored reference version information to determine whether the current version information is accurate; sending a message indicating whether the current version information is accurate or not to the client; the client receives and displays the message. The invention can realize real-time monitoring and management of the controller version through the internet of things technology without depending on the whole vehicle environment, and greatly reduces the problem of trial development progress delay caused by version problems.
Description
Technical Field
Embodiments of the present invention generally relate to the field of vehicle manufacturing technology, and more particularly, to a vehicle controller version detection method, device, system, and version detector.
Background
With the rapid development of electronic technology, the degree of electronization of automobiles is increasing, and is gradually becoming the next mobile terminal. The user has increasingly enriched the functional requirements of the next generation mobile terminals, which will lead to a rapid increase in the number of controllers on the car and gradually form the appliance network architecture of the domain controllers and the cloud servers.
The enrichment of functions also brings development difficulty improvement, such as more and more version collaboration and version iteration of the controllers, and in order to ensure normal implementation of all functions, it is necessary to ensure that all controller versions on the vehicle are in the same development stage. At present, in a trial production development stage, parts are ordered by different manufacturers, if the arrival controllers do not belong to the same development stage, a large amount of software upgrading work can be caused after loading is completed, if the loading is completed, the software upgrading failure can further cause repeated disassembly and assembly of the parts, and the overall development progress of a project is affected.
In order to solve the problem of inconsistent versions caused by rapid software iteration in the product development process, version detection and real-time monitoring are required, a worker is required to read the version detection and the version detection in an off-line manner in the field by the traditional detection means, the read data is required to be manually returned to a version manager, and the data management efficiency is low. At present, a diagnosis tool is directly used for diagnosis, but the diagnosis is also required to be based on the whole vehicle environment. All the current technical schemes are based on the whole car environment for information reading, and the use scene is limited. Information reading using a dedicated diagnostic tool is subject to licensing costs.
Disclosure of Invention
In order to solve the above-mentioned problems in the prior art, in a first aspect, an embodiment of the present invention provides a vehicle controller version detection method, which is applied to a server, the method including: receiving a connection request from a client, the connection request including an identifier of a version detector to be connected; sending the connection request to a version detector corresponding to an identifier of the version detector to be connected so that the client and the version detector establish communication connection; generating a version detection request in response to receiving a version detection instruction from the client; the version detection request is sent to the version detector, so that the version detector sends the version detection request to a to-be-detected controller; receiving current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller through the version detector to the version detection request; comparing the current version information with pre-stored reference version information to determine whether the current version information is accurate; and sending a message indicating whether the current version information is accurate or not to the client.
In some embodiments, the method further comprises: after receiving the current version information of the to-be-detected controller from the version detector, storing the current version information.
In some embodiments, the version detection instructions further include type information of the controller under inspection, and generating the version detection request includes: and generating a version detection request corresponding to the type information of the to-be-detected controller.
In some embodiments, the method further comprises: receiving a version update instruction and a version update execution program from the client; and transmitting the version updating instruction and the version updating execution program to the version detector according to the version updating instruction so that the version detector can update the software version of the to-be-detected controller by utilizing the version updating execution program.
In some embodiments, the method further comprises: and storing updated version information corresponding to the version update execution program.
In some embodiments, the method further comprises: receiving a version update instruction from the client; version update data is sent to the client so that the client generates a version update execution program according to the version update data; receiving the version update execution program from the client; and transmitting the version updating instruction and the version updating execution program to the version detector so that the version detector can update the software version of the to-be-detected controller by utilizing the version updating execution program.
In some embodiments, the method further comprises: receiving a version update instruction from a client, wherein the version update instruction is used for indicating a diagnostic instrument externally connected with the version detector to execute version update; and sending the version updating instruction to the version detector.
In some embodiments, the method further comprises: receiving reference update data of the pre-stored reference version information; and updating the pre-stored reference version information according to the reference updating data.
In a second aspect, an embodiment of the present invention proposes a vehicle controller version detection method, the method being applied to a version detector, the method comprising: receiving a connection request from a server, the connection request being received by the server from a client; establishing connection with the client according to the connection request; receiving a version detection request from the server; the version detection request is sent to a to-be-detected controller through a controller interface of the version detector; receiving current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request; and sending the current version information to the server so that the server can determine whether the current version information is accurate or not.
In some embodiments, the method further comprises: receiving a version update instruction and a version update execution program from the server; and updating the software version of the to-be-detected controller by using the version updating executive program through the controller interface according to the version updating instruction.
In some embodiments, the method further comprises: receiving a version update instruction from the server, wherein the version update instruction is used for instructing a diagnostic instrument externally connected with the version detector to execute version update; receiving a version update execution program from the diagnostic apparatus; and updating the software version of the to-be-detected controller by using the version update execution program through the controller interface.
In a third aspect, an embodiment of the present invention proposes a vehicle controller version detection method, which is applied to a client, the method including: responding to the selection of a version detector to be connected by a user on a man-machine interface of the client, and sending a connection request to a server, wherein the connection request comprises an identifier of the version detector to be connected; establishing communication connection with the version detector; responding to the selection of a version detection function on a man-machine interface of the client by a user, and sending a version detection instruction to the server; receiving a message indicating whether the current version information is accurate or not from the server, wherein the message indicating whether the current version information is accurate or not is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information through the server; and displaying the message indicating whether the current version information is accurate.
In some embodiments, the method further comprises: responding to the selection of the type of the controller to be detected by a user, and generating corresponding type information of the controller to be detected; and incorporating the type information of the to-be-detected controller into the version detection instruction.
In some embodiments, the method further comprises: generating a version update execution program from locally stored version update data in response to receiving a user selection of a version update function; and sending a version update instruction and the version update execution program to the server.
In some embodiments, the method further comprises: responsive to receiving a user selection of a version update function, sending a version update instruction to the server; receiving version update data from the server, and generating a version update execution program according to the version update data; and sending the version update execution program to the server.
In some embodiments, the method further comprises: generating a version update instruction in response to receiving a selection of a version update function by a user, wherein the version update instruction is used for instructing a diagnostic instrument externally connected with the version detector to execute version update; and sending the version updating instruction to the server.
In a fourth aspect, an embodiment of the present invention proposes a vehicle controller version detection apparatus, the apparatus being applied to a server, the apparatus comprising: a server-side connection request receiving module configured to receive a connection request from a client, the connection request including an identifier of a version detector to be connected; a server-side connection request sending module configured to send the connection request to a version detector corresponding to an identifier of the version detector to be connected, so that the client and the version detector establish communication connection; the server-side version detection request generation module is configured to generate a version detection request in response to receiving a version detection instruction from the client; the server-side version detection request sending module is configured to send the version detection request to the version detector so that the version detector sends the version detection request to a to-be-detected controller; the server-side current version information receiving module is configured to receive current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller to the version detection request, which is received from the to-be-detected controller through the version detector; the server-side comparison module is configured to compare the current version information with pre-stored reference version information and determine whether the current version information is accurate or not; and the server-side message sending module is configured to send a message indicating whether the current version information is accurate or not to the client side.
In a fifth aspect, an embodiment of the present invention proposes a vehicle controller version detection apparatus, the apparatus being applied to a version detector, the apparatus comprising: a detector-side connection request receiving module configured to receive a connection request from a server, the connection request being received by the server from a client; the detector end connection establishment module is configured to establish connection with the client according to the connection request; the detector end detection request receiving module is configured to receive a version detection request from the server; the detector end version detection request sending module is configured to send the version detection request to a to-be-detected controller through a controller interface of the version detector; the detector end current version information receiving module is configured to receive current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request; and the detector end current version information sending module is configured to send the current version information to the server so that the server can determine whether the current version information is accurate or not.
In a sixth aspect, an embodiment of the present invention proposes a vehicle controller version detection apparatus, the apparatus being applied to a client, the apparatus comprising: a client connection request sending module configured to send a connection request to a server in response to a user selection of a version detector to be connected on a man-machine interface of the client, the connection request including an identifier of the version detector to be connected; the client connection establishment module is configured to establish communication connection with the version detector; a client version detection instruction sending module configured to send a version detection instruction to the server in response to a user selection of a version detection function on a man-machine interface of the client; a client message receiving module configured to receive, from the server, a message indicating whether the current version information is accurate, the message indicating whether the current version information is accurate being obtained by comparing, by the server, the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information; and the client message display module is configured to display the message indicating whether the current version information is accurate.
In a seventh aspect, embodiments of the present invention provide a vehicle controller version detection system, the system comprising a server, a version detector and a client, the server in wireless communication with the version detector and the client, respectively, the version detector having a controller interface adapted to interface with a controller under inspection.
The server is used for: receiving a connection request from the client, the connection request including an identifier of a version detector to be connected; sending the connection request to a version detector corresponding to an identifier of the version detector to be connected so that the client and the version detector establish communication connection; generating a version detection request in response to receiving a version detection instruction from the client; the version detection request is sent to the version detector, so that the version detector sends the version detection request to a to-be-detected controller; receiving current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller through the version detector to the version detection request; comparing the current version information with pre-stored reference version information to determine whether the current version information is accurate; and sending a message indicating whether the current version information is accurate or not to the client.
The version detector is used for: receiving a connection request from the server, the connection request being received by the server from the client; establishing connection with the client according to the connection request; receiving a version detection request from the server; the version detection request is sent to a to-be-detected controller through a controller interface of the version detector; receiving current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request; and sending the current version information to the server so that the server can determine whether the current version information is accurate or not.
The client is used for: responding to the selection of a version detector to be connected by a user on a man-machine interface of the client, and sending a connection request to the server, wherein the connection request comprises an identifier of the version detector to be connected; establishing communication connection with the version detector; responding to the selection of a version detection function on a man-machine interface of the client by a user, and sending a version detection instruction to the server; receiving a message indicating whether the current version information is accurate or not from the server, wherein the message indicating whether the current version information is accurate or not is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information through the server; and displaying the message indicating whether the current version information is accurate.
In an eighth aspect, an embodiment of the present invention proposes a version detector, where the version detector includes a wireless communication module, a controller area network communication module, a controller interface, and a processor, where the processor is connected to the wireless communication module and the controller area network communication module, and the controller area network communication module is connected to the controller interface. The processor is configured to: receiving a connection request from a server via the wireless communication module, the connection request being received by the server from a client; establishing connection between the wireless communication module and the client according to the connection request; receiving a version detection request from the server via the wireless communication module; transmitting the version detection request to a to-be-detected controller through the controller local area network communication module and the controller interface; receiving current version information of the controller to be detected from the controller to be detected via the controller area network communication module and the controller interface, wherein the current version information is a response of the controller to be detected to the version detection request; the current version information is sent to the server via the wireless communication module for the server to determine whether the current version information is accurate.
In some embodiments, the version detector further comprises an onboard diagnostic interface connected to the processor and adapted to interface with an external diagnostic instrument. The processor is further configured to: receiving a version update instruction from the server via the wireless communication module, the version update instruction being for instructing a diagnostic instrument externally connected to the version detector to perform version update; receiving a version update execution program from the diagnostic apparatus via the on-board diagnostic interface; and updating the software version of the to-be-detected controller by using the version update execution program through the controller interface.
In some embodiments, the version detector further comprises a display module, the display module being connected to the processor, the display module being configured to display the current version information.
The vehicle controller version detection method, device, system and version detector provided by the embodiment of the invention realize a controller version detection scheme based on the internet of things technology, eliminate progress risks caused by inconsistent versions and can efficiently finish the operations of controller version detection, management and update. A inspector acquires controller version information in real time through an internet of things technical system of the system version, detects consistency of part versions according to version specifications, and updates unmatched controllers; the consistency of the controller version is ensured, and the development progress risk is eliminated.
The controller function is more complex, so that higher network bandwidth is required for software updating, and the version detector provided by the embodiment of the invention integrates a CANFD+vehicle-mounted Ethernet flashing environment, so that the problem of software flashing efficiency is solved.
In the prior art, the internet of things technology is applied to cloud diagnosis technology of vehicles, but is not applied to vehicle controller version detection and management, the cloud diagnosis technology is required to be based on the whole vehicle environment, and the controller version detection scheme provided by the embodiment of the invention focuses on the part environment, so that the initiative of combining the internet of things technology with controller part management is realized.
The embodiment of the invention provides a real-time controller version detection process scheme, and the monitoring and the management of the controller version can be carried out without depending on the whole vehicle environment through front and rear end development of a cloud server and development of a hardware circuit; the controller version real-time monitoring and management are realized through the Internet of things technology, and the problem of trial development progress delay caused by version problems is greatly reduced. Specifically, the technical scheme provided by the embodiment of the invention has the following advantages:
1. the hardware of the version detection system is portable and does not depend on the whole vehicle environment, and the system supports the vehicle-mounted Ethernet, the Doip, the CAN and the CANFD communication protocols, so that all the vehicle types of the current masses CAN be covered comprehensively;
2. The controller version can be read, compared, recorded and updated in real time through the internet of things technology; and performing systematic management on version data of the controller;
3. the system architecture of the client and the server can synchronously read version information of a plurality of controllers;
4. an extended refresh interface (in-vehicle ethernet + CAN/CANFD) is provided to support dedicated diagnostic tool access.
Drawings
The above, as well as additional purposes, features, and advantages of embodiments of the present invention will become apparent in the following detailed written description and claims upon reference to the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 shows a schematic block diagram of a vehicle controller version detection system according to an embodiment of the present invention;
FIG. 2 shows a message timing diagram of a vehicle controller version detection method according to an embodiment of the present invention;
FIG. 3 shows a flow chart of a vehicle controller version detection method applied to a server according to an embodiment of the present invention;
FIG. 4 shows a flow chart of a vehicle controller version detection method applied to a version detector according to an embodiment of the present invention;
FIG. 5 shows a flow chart of a vehicle controller version detection method applied to a client according to an embodiment of the present invention;
FIG. 6 shows a message timing diagram of one example of a version update process according to an embodiment of the present invention;
FIG. 7 shows a message timing diagram of another example of a version update process according to an embodiment of the present invention;
FIG. 8 shows a message timing diagram of yet another example of a version update process according to an embodiment of the present invention;
FIG. 9 shows a schematic block diagram of one example of a version detector according to an embodiment of the present invention;
fig. 10 is an external view schematically showing an example of a version detector according to an embodiment of the present invention;
fig. 11 shows a schematic block diagram of a vehicle controller version detection apparatus according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and practice the invention and are not intended to limit the scope of the invention in any way.
In one aspect, embodiments of the present invention provide a vehicle controller version detection method, apparatus and system. Referring to fig. 1, a schematic block diagram of a vehicle controller version detection system according to an embodiment of the present invention is shown. The system comprises a client, a server and a version detector. The server communicates with the version detector and the client in a wireless manner, respectively. The version detector has a controller interface adapted to interface with a controller under inspection.
The server provides a background communication function, for example, the server can be a cloud server, and the server can be also called a cloud diagnosis server in combination with the application of the server in the controller version detection method.
The version detector may also be referred to as a hardware connection box, which can be connected to the controller by standard adapter wires to provide a working environment for the controller.
The system can implement remote communication sending instruction through the Internet of things communication technology, acquire the actual version state of the controller to be detected, manage and monitor, and update when the versions of the controllers are inconsistent. The hardware connection box can also extend a software update interface to support canfd+ ethernet power refresh functions.
The vehicle controller version detection system and method according to the embodiments of the present invention are described below with reference to fig. 2 to 5. In which fig. 2 shows a message timing diagram of a vehicle controller version detection method according to an embodiment of the present invention.
Referring to fig. 3, a flow chart of a vehicle controller version detection method 300 applied to a server according to an embodiment of the present invention is shown. As shown in fig. 3, the method 300 includes:
s301: receiving a connection request from a client, the connection request including an identifier of a version detector to be connected;
s302: transmitting a connection request to a version detector corresponding to an identifier of the version detector to be connected so that the client establishes communication connection with the version detector;
s303: generating a version detection request in response to receiving a version detection instruction from a client;
s304: transmitting a version detection request to the version detector so that the version detector transmits the version detection request to the to-be-detected controller;
s305: receiving current version information of the to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller through the version detector to a version detection request;
s306: comparing the current version information with pre-stored reference version information to determine whether the current version information is accurate;
s307: and sending a message indicating whether the current version information is accurate or not to the client.
As an embodiment of the present invention, the method may further include: after receiving the current version information of the controller to be checked from the version detector, the current version information is stored.
As an embodiment of the present invention, the version detection instruction further includes type information of the controller to be detected. In this case, generating the version detection request may include: a version detection request corresponding to the type information of the controller to be detected is generated.
As an embodiment of the present invention, the method may further include: receiving reference update data of pre-stored reference version information; and updating the pre-stored reference version information according to the reference update data.
Referring to fig. 4, a flow chart of a vehicle controller version detection method 400 applied to a version detector is shown, according to an embodiment of the present invention. As shown in fig. 4, the method 400 may include steps S401-S406.
S401: receiving a connection request from a server, the connection request being received by the server from a client;
s402: establishing connection with a client according to the connection request;
s403: receiving a version detection request from a server;
s404: transmitting a version detection request to a to-be-detected controller through a controller interface of the version detector;
s405: receiving current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to a version detection request;
S406: and sending the current version information to a server for the server to determine whether the current version information is accurate.
Referring to fig. 5, a flow chart of a vehicle controller version detection method 500 applied to a client according to an embodiment of the present invention is shown. As shown in fig. 5, the method 500 may include steps S501-S505.
S501: responding to the selection of the version detector to be connected on the man-machine interface of the client by a user, and sending a connection request to a server, wherein the connection request comprises an identifier of the version detector to be connected;
s502: establishing communication connection with a version detector;
s503: responding to the selection of a version detection function on a man-machine interface of a client by a user, and sending a version detection instruction to a server;
s504: receiving a message indicating whether the current version information is accurate from a server, wherein the message indicating whether the current version information is accurate is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information by the server;
s505: a message indicating whether the current version information is accurate is displayed.
As an embodiment of the present invention, the method may further include: responding to the selection of the type of the controller to be detected by a user, and generating corresponding type information of the controller to be detected; the type information of the controller to be detected is incorporated into the version detection instruction.
Referring to fig. 6-8, message timing diagrams of three different examples of version update procedures according to embodiments of the present invention are shown.
As shown in fig. 6, a first example of a version update process according to an embodiment of the present invention may include the steps of:
the client side responds to the received selection of the version updating function by the user, and generates a version updating executing program according to the version updating data stored locally; transmitting a version update instruction and a version update execution program to a server;
the server receives the version update instruction and the version update execution program from the client; transmitting a version update instruction and a version update execution program to the version detector according to the version update instruction;
the version detector receives a version update instruction and a version update execution program from the server; and updating the software version of the controller to be checked through the controller interface by using the version update execution program according to the version update instruction.
In this example, the server may also store updated version information corresponding to the version update execution program.
As shown in fig. 7, a second example of the version update process according to an embodiment of the present invention may include the steps of:
The client side responds to receiving the selection of the version updating function by the user and sends a version updating instruction to the server;
the server receives a version update instruction from the client and sends version update data to the client;
the client receives version update data from the server, generates a version update execution program according to the version update data, and sends the version update execution program to the server;
the server receives the version update execution program from the client; transmitting the version update instruction and the version update execution program to a version detector;
the version detector receives a version update instruction and a version update execution program from the server; and updating the software version of the controller to be checked through the controller interface by using the version update execution program according to the version update instruction.
As shown in fig. 8, a third example of the version update process according to an embodiment of the present invention may include the steps of:
the client side responds to the received selection of the version updating function by the user, and generates a version updating instruction which is used for indicating a diagnostic instrument externally connected with the version detector to execute version updating;
the client sends a version updating instruction to the server;
The server receives the version updating instruction from the client and sends the version updating instruction to the version detector;
the version detector receives a version update instruction from the server, for example by sending a version update start message to the diagnostic instrument, so that the diagnostic instrument transmits a version update execution program to the version detector;
the version detector receives a version update execution program from the diagnostic instrument;
the version detector updates the software version of the controller to be detected via the controller interface by using the version update execution program.
In another aspect, the embodiment of the invention further provides a version detector. The version detector comprises a wireless communication module, a controller area network communication module, a controller interface and a processor, wherein the processor is respectively connected with the wireless communication module, the controller area network communication module and the controller interface. The processor may be configured to: receiving a connection request from a server via a wireless communication module, the connection request being received by the server from a client; establishing connection between the wireless communication module and the client according to the connection request; receiving a version detection request from a server via a wireless communication module; transmitting a version detection request to a to-be-detected controller through a controller local area network communication module and a controller interface; receiving current version information of the to-be-detected controller from the to-be-detected controller through the controller local area network communication module and the controller interface, wherein the current version information is a response of the to-be-detected controller to a version detection request; the current version information is sent to the server via the wireless communication module for the server to determine whether the current version information is accurate.
As an embodiment of the present invention, the version detector may further comprise an On-board diagnostic (On-Board Diagnostics, OBD) interface, which is connected to the processor and adapted to interface with an external diagnostic device. The processor may also be configured to: receiving a version update instruction from a server via a wireless communication module, the version update instruction being used to instruct a diagnostic instrument externally connected to the version detector to perform version update; receiving a version update execution program from a diagnostic instrument via an onboard diagnostic interface; and updating the software version of the controller to be checked by using the version update execution program through the controller interface.
As an embodiment of the present invention, the version detector may further include a display module, and the display module is connected to the processor. The display module may be used to display the current version information.
Referring to fig. 9, a schematic block diagram of one example of a version detector according to an embodiment of the present invention is shown. In this example, the version detector includes a cloud diagnostic interface card, a CAN (Controller Area Network ) transceiver, a bus impedance matching module, a power adaptation module, a controller interface, and an OBD (On-Board Diagnostics ) interface.
For example, the cloud diagnostic interface card may include a WIFI module, a socket module in communication therewith, a diagnostic data application interface, and a CAN/DOIP protocol stack. The cloud diagnosis interface card is the name of the diagnosis head and is used for diagnosis communication. A Socket (Socket) module is used to complete ethernet communications. The diagnostic data application interface (D PDU API) is used to complete the diagnostic data exchange between the server and the controller. The CAN/DOIP protocol Stack (CAN/DOIP Stack) is used to complete the communication between the diagnostic instrument and the controller.
The controller interface is used for being in butt joint with a controller to be detected, and the OBD interface is used for being in butt joint with an external diagnostic instrument.
Referring to fig. 10, there is shown an external schematic view of one example of a version detector according to an embodiment of the present invention. As shown in fig. 10, the version detector may include: a meter tag (e.g., logo) 1001, an ethernet interface 1002, a DB9 CAN bus interface 1003, a DB25 CAN bus interface 1004, an OBD interface 1005, a mode switch 1006, a lighted button (2 lighted buttons: KL30, KL 15) 1007, and a meter handle 1008.
Referring to fig. 11, a schematic block diagram of a vehicle controller version detection apparatus according to an embodiment of the present invention is shown. The vehicle controller version detection device according to the embodiment of the invention comprises a device applied to a client, a device applied to a server and a device applied to a version detector.
As shown in fig. 11, the vehicle controller version detection device applied to the server may include the following modules:
a server-side connection request receiving module configured to receive a connection request from a client, the connection request including an identifier of a version detector to be connected;
a server-side connection request sending module configured to send a connection request to a version detector corresponding to an identifier of the version detector to be connected, so that the client side establishes communication connection with the version detector;
the server-side version detection request generation module is configured to generate a version detection request in response to receiving a version detection instruction from a client;
the server-side version detection request sending module is configured to send a version detection request to the version detector so that the version detector sends the version detection request to the to-be-detected controller;
the server-side current version information receiving module is configured to receive current version information of the to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller to a version detection request through the version detector;
the server side comparison module is configured to compare the current version information with pre-stored reference version information and determine whether the current version information is accurate;
And the server-side message sending module is configured to send a message indicating whether the current version information is accurate or not to the client side.
The vehicle controller version detection device applied to the version detector may include the following modules:
the detector-side connection request receiving module is configured to receive a connection request from a server, wherein the connection request is received by the server from a client;
the detector end connection establishment module is configured to establish connection with the client according to the connection request;
the detector end detection request receiving module is configured to receive a version detection request from the server;
the detector end version detection request sending module is configured to send a version detection request to a to-be-detected controller through a controller interface of the version detector;
the detector end current version information receiving module is configured to receive current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to a version detection request;
the detector end current version information sending module is configured to send the current version information to the server so that the server can determine whether the current version information is accurate or not.
The vehicle controller version detection device applied to the client may include the following modules:
A client connection request sending module configured to send a connection request to a server in response to a user selection of a version detector to be connected on a man-machine interface of a client, the connection request including an identifier of the version detector to be connected;
the client connection establishment module is configured to establish communication connection with the version detector;
a client version detection instruction sending module configured to send a version detection instruction to a server in response to a user selection of a version detection function on a man-machine interface of a client;
the client message receiving module is configured to receive a message indicating whether the current version information is accurate from the server, wherein the message indicating whether the current version information is accurate is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information by the server;
and the client message display module is configured to display a message indicating whether the current version information is accurate.
It should be noted that, the functions implemented by each module in the vehicle controller version detection device are in one-to-one correspondence with each step in the vehicle controller version detection method described in the foregoing embodiments, and specific embodiments, examples and technical effects thereof are referred to the description of the method embodiments and are not repeated herein.
For ease of understanding, one specific example of an operational procedure for performing controller version detection is described below.
1. The user is connected with the controlled controller through the controller version detector, the power supply is connected, and the system starts to work;
2. logging in a user account at a client, opening a controller version detection software interface, selecting a communication interface card for connection, and selecting a tested controller for sending a communication instruction;
3. the client software sends a connection instruction to a background server, the background server sends the instruction to an internal communication chip of the version detection box, and finally the instruction is sent to a to-be-detected controller through a CAN bus;
4. the measured controller responds to the communication instruction, returns version information of the controller to the communication chip, and returns the version information to the background server through the communication chip;
5. the background server judges and compares the returned version information, if the versions are not matched, the error version information is returned to the client, if the versions are consistent, the correct version information is returned to the client, and meanwhile, the detection information of the controller version is recorded;
6. the user receives the judgment result of the version information to determine the next working content; if the controller version information is inconsistent with the target, updating the controller software is needed, and if the controller version information is consistent with the target, no further processing is needed;
7. The software update has two schemes, wherein the first scheme loads the correct version software through a client (locally stored or from a cloud server), the software is converted into an execution instruction by the server or the client according to the instruction of the client, the execution instruction is communicated with a tested controller through a version detector by a background server, remote refreshing of the controller is carried out, namely, the client transmits the correct version to the server, and the server transmits the correct version to the version detector; the second scheme is that a special diagnosis tool is externally connected with an extended OBD interface of the detection box, and the controller version is quickly updated through the Doip or CANFD protocol; the second scheme is suitable for the condition that the software version update data volume is large, and quick data transmission can be realized through wired connection of the diagnostic instrument and the version detector;
8. the read controller version and the refreshed controller version information are stored in a background server, so that the information can be acquired and tracked by a user in real time.
The vehicle controller version detection method, device, system and version detector provided by the embodiment of the invention realize a controller version detection scheme based on the internet of things technology, eliminate progress risks caused by inconsistent versions and can efficiently finish the operations of controller version detection, management and update. A inspector acquires controller version information in real time through an internet of things technical system of the system version, detects consistency of part versions according to version specifications, and updates unmatched controllers; the consistency of the controller version is ensured, and the development progress risk is eliminated.
The controller function is more complex, so that higher network bandwidth is required for software updating, and the version detector provided by the embodiment of the invention integrates a CANFD+vehicle-mounted Ethernet flashing environment, so that the problem of software flashing efficiency is solved.
In the prior art, the internet of things technology is applied to cloud diagnosis technology of vehicles, but is not applied to vehicle controller version detection and management, the cloud diagnosis technology is required to be based on the whole vehicle environment, and the controller version detection scheme provided by the embodiment of the invention focuses on the part environment, so that the initiative of combining the internet of things technology with controller part management is realized.
The embodiment of the invention provides a real-time controller version detection process scheme, and the monitoring and the management of the controller version can be carried out without depending on the whole vehicle environment through front and rear end development of a cloud server and development of a hardware circuit; the controller version real-time monitoring and management are realized through the Internet of things technology, and the problem of trial development progress delay caused by version problems is greatly reduced. Specifically, the technical scheme provided by the embodiment of the invention has the following advantages:
1. the hardware of the version detection system is portable and does not depend on the whole vehicle environment, and the system supports the vehicle-mounted Ethernet, the Doip, the CAN and the CANFD communication protocols, so that all the vehicle types of the current masses CAN be covered comprehensively;
2. The controller version can be read, compared, recorded and updated in real time through the internet of things technology; and performing systematic management on version data of the controller;
3. the system architecture of the client and the server can synchronously read version information of a plurality of controllers;
4. an extended refresh interface (in-vehicle ethernet + CAN/CANFD) is provided to support dedicated diagnostic tool access.
The foregoing description of embodiments of the invention have been presented for the purpose of illustration and is not intended to be exhaustive or to limit the invention to the precise form disclosed. It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.
Claims (23)
1. A vehicle controller version detection method, the method being applied to a server, the method comprising:
Receiving a connection request from a client, the connection request including an identifier of a version detector to be connected;
sending the connection request to a version detector corresponding to an identifier of the version detector to be connected so that the client and the version detector establish communication connection;
generating a version detection request in response to receiving a version detection instruction from the client;
the version detection request is sent to the version detector, so that the version detector sends the version detection request to a to-be-detected controller;
receiving current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller through the version detector to the version detection request;
comparing the current version information with pre-stored reference version information to determine whether the current version information is accurate;
and sending a message indicating whether the current version information is accurate or not to the client.
2. The method according to claim 1, wherein the method further comprises: after receiving the current version information of the to-be-detected controller from the version detector, storing the current version information.
3. The method of claim 1, wherein the version detection instruction further includes type information of a controller to be detected, and wherein,
generating the version detection request includes: and generating a version detection request corresponding to the type information of the to-be-detected controller.
4. The method according to claim 1, wherein the method further comprises:
receiving a version update instruction and a version update execution program from the client;
and transmitting the version updating instruction and the version updating execution program to the version detector according to the version updating instruction so that the version detector can update the software version of the to-be-detected controller by utilizing the version updating execution program.
5. The method according to claim 4, wherein the method further comprises:
and storing updated version information corresponding to the version update execution program.
6. The method according to claim 1, wherein the method further comprises:
receiving a version update instruction from the client;
version update data is sent to the client so that the client generates a version update execution program according to the version update data;
Receiving the version update execution program from the client;
and transmitting the version updating instruction and the version updating execution program to the version detector so that the version detector can update the software version of the to-be-detected controller by utilizing the version updating execution program.
7. The method according to claim 1, wherein the method further comprises:
receiving a version update instruction from a client, wherein the version update instruction is used for indicating a diagnostic instrument externally connected with the version detector to execute version update;
and sending the version updating instruction to the version detector.
8. The method according to claim 1, wherein the method further comprises:
receiving reference update data of the pre-stored reference version information;
and updating the pre-stored reference version information according to the reference updating data.
9. A vehicle controller version detection method, the method being applied to a version detector, the method comprising:
receiving a connection request from a server, the connection request being received by the server from a client;
establishing connection with the client according to the connection request;
Receiving a version detection request from the server;
the version detection request is sent to a to-be-detected controller through a controller interface of the version detector;
receiving current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request;
and sending the current version information to the server so that the server can determine whether the current version information is accurate or not.
10. The method according to claim 9, wherein the method further comprises:
receiving a version update instruction and a version update execution program from the server;
and updating the software version of the to-be-detected controller by using the version updating executive program through the controller interface according to the version updating instruction.
11. The method according to claim 9, wherein the method further comprises:
receiving a version update instruction from the server, wherein the version update instruction is used for instructing a diagnostic instrument externally connected with the version detector to execute version update;
receiving a version update execution program from the diagnostic apparatus;
And updating the software version of the to-be-detected controller by using the version update execution program through the controller interface.
12. A vehicle controller version detection method, the method being applied to a client, the method comprising:
responding to the selection of a version detector to be connected by a user on a man-machine interface of the client, and sending a connection request to a server, wherein the connection request comprises an identifier of the version detector to be connected;
establishing communication connection with the version detector;
responding to the selection of a version detection function on a man-machine interface of the client by a user, and sending a version detection instruction to the server;
receiving a message indicating whether the current version information is accurate or not from the server, wherein the message indicating whether the current version information is accurate or not is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information through the server;
and displaying the message indicating whether the current version information is accurate.
13. The method according to claim 12, wherein the method further comprises:
Responding to the selection of the type of the controller to be detected by a user, and generating corresponding type information of the controller to be detected;
and incorporating the type information of the to-be-detected controller into the version detection instruction.
14. The method according to claim 12, wherein the method further comprises:
generating a version update execution program from locally stored version update data in response to receiving a user selection of a version update function;
and sending a version update instruction and the version update execution program to the server.
15. The method according to claim 12, wherein the method further comprises:
responsive to receiving a user selection of a version update function, sending a version update instruction to the server;
receiving version update data from the server, and generating a version update execution program according to the version update data;
and sending the version update execution program to the server.
16. The method according to claim 12, wherein the method further comprises:
generating a version update instruction in response to receiving a selection of a version update function by a user, wherein the version update instruction is used for instructing a diagnostic instrument externally connected with the version detector to execute version update;
And sending the version updating instruction to the server.
17. A vehicle controller version detection apparatus, the apparatus being applied to a server, the apparatus comprising:
a server-side connection request receiving module configured to receive a connection request from a client, the connection request including an identifier of a version detector to be connected;
a server-side connection request sending module configured to send the connection request to a version detector corresponding to an identifier of the version detector to be connected, so that the client and the version detector establish communication connection;
the server-side version detection request generation module is configured to generate a version detection request in response to receiving a version detection instruction from the client;
the server-side version detection request sending module is configured to send the version detection request to the version detector so that the version detector sends the version detection request to a to-be-detected controller;
the server-side current version information receiving module is configured to receive current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller to the version detection request, which is received from the to-be-detected controller through the version detector;
The server-side comparison module is configured to compare the current version information with pre-stored reference version information and determine whether the current version information is accurate or not;
and the server-side message sending module is configured to send a message indicating whether the current version information is accurate or not to the client side.
18. A version detection apparatus of a vehicle controller, the apparatus being applied to a version detector, the apparatus comprising:
a detector-side connection request receiving module configured to receive a connection request from a server, the connection request being received by the server from a client;
the detector end connection establishment module is configured to establish connection with the client according to the connection request;
the detector end detection request receiving module is configured to receive a version detection request from the server;
the detector end version detection request sending module is configured to send the version detection request to a to-be-detected controller through a controller interface of the version detector;
the detector end current version information receiving module is configured to receive current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request;
And the detector end current version information sending module is configured to send the current version information to the server so that the server can determine whether the current version information is accurate or not.
19. A vehicle controller version detection apparatus, the apparatus being applied to a client, the apparatus comprising:
a client connection request sending module configured to send a connection request to a server in response to a user selection of a version detector to be connected on a man-machine interface of the client, the connection request including an identifier of the version detector to be connected;
the client connection establishment module is configured to establish communication connection with the version detector;
a client version detection instruction sending module configured to send a version detection instruction to the server in response to a user selection of a version detection function on a man-machine interface of the client;
a client message receiving module configured to receive, from the server, a message indicating whether the current version information is accurate, the message indicating whether the current version information is accurate being obtained by comparing, by the server, the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information;
And the client message display module is configured to display the message indicating whether the current version information is accurate.
20. A vehicle controller version detection system, characterized in that the system comprises a server, a version detector and a client, the server communicates with the version detector and the client respectively in a wireless manner, the version detector is provided with a controller interface suitable for being in butt joint with a controller to be detected, wherein,
the server is used for:
receiving a connection request from the client, the connection request including an identifier of a version detector to be connected;
sending the connection request to a version detector corresponding to an identifier of the version detector to be connected so that the client and the version detector establish communication connection;
generating a version detection request in response to receiving a version detection instruction from the client;
the version detection request is sent to the version detector, so that the version detector sends the version detection request to a to-be-detected controller;
receiving current version information of a to-be-detected controller from the version detector, wherein the current version information is a response of the to-be-detected controller received from the to-be-detected controller through the version detector to the version detection request;
Comparing the current version information with pre-stored reference version information to determine whether the current version information is accurate;
a message indicating whether the current version information is accurate is sent to the client,
the version detector is used for:
receiving a connection request from the server, the connection request being received by the server from the client;
establishing connection with the client according to the connection request;
receiving a version detection request from the server;
the version detection request is sent to a to-be-detected controller through a controller interface of the version detector;
receiving current version information of the to-be-detected controller from the to-be-detected controller, wherein the current version information is a response of the to-be-detected controller to the version detection request;
sending the current version information to the server for the server to determine whether the current version information is accurate,
the client is used for:
responding to the selection of a version detector to be connected by a user on a man-machine interface of the client, and sending a connection request to the server, wherein the connection request comprises an identifier of the version detector to be connected;
Establishing communication connection with the version detector;
responding to the selection of a version detection function on a man-machine interface of the client by a user, and sending a version detection instruction to the server;
receiving a message indicating whether the current version information is accurate or not from the server, wherein the message indicating whether the current version information is accurate or not is obtained by comparing the current version information of the to-be-detected controller received from the version detector with pre-stored reference version information through the server;
and displaying the message indicating whether the current version information is accurate.
21. A version detector is characterized by comprising a wireless communication module, a controller area network communication module, a controller interface and a processor, wherein the processor is respectively connected with the wireless communication module and the controller area network communication module, the controller area network communication module is connected with the controller interface,
the processor is configured to:
receiving a connection request from a server via the wireless communication module, the connection request being received by the server from a client;
establishing connection between the wireless communication module and the client according to the connection request;
Receiving a version detection request from the server via the wireless communication module;
transmitting the version detection request to a to-be-detected controller through the controller local area network communication module and the controller interface;
receiving current version information of the controller to be detected from the controller to be detected via the controller area network communication module and the controller interface, wherein the current version information is a response of the controller to be detected to the version detection request;
the current version information is sent to the server via the wireless communication module for the server to determine whether the current version information is accurate.
22. The version detector of claim 21 further comprising an on-board diagnostic interface coupled to the processor and adapted to interface with an external diagnostic device,
the processor is further configured to:
receiving a version update instruction from the server via the wireless communication module, the version update instruction being for instructing a diagnostic instrument externally connected to the version detector to perform version update;
receiving a version update execution program from the diagnostic apparatus via the on-board diagnostic interface;
And updating the software version of the to-be-detected controller by using the version update execution program through the controller interface.
23. The version detector of claim 21, further comprising a display module coupled to the processor,
the display module is used for displaying the current version information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111550451.9A CN116266116A (en) | 2021-12-17 | 2021-12-17 | Version detection method, device and system for vehicle controller and version detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111550451.9A CN116266116A (en) | 2021-12-17 | 2021-12-17 | Version detection method, device and system for vehicle controller and version detector |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116266116A true CN116266116A (en) | 2023-06-20 |
Family
ID=86743583
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111550451.9A Pending CN116266116A (en) | 2021-12-17 | 2021-12-17 | Version detection method, device and system for vehicle controller and version detector |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116266116A (en) |
-
2021
- 2021-12-17 CN CN202111550451.9A patent/CN116266116A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11721140B2 (en) | System and method for presentation of remote vehicle diagnostics and service guidance through a local vehicle service system | |
| US7257472B2 (en) | Method and apparatus for fault diagnosis | |
| US11787371B2 (en) | Systems and methods of configuring vehicle service tools associated with display device based on operating condition of vehicle | |
| US20120047289A1 (en) | System and Method for Wireless Pairing via Wired Connection | |
| US20120044527A1 (en) | Apparatus and Method for Controlled Ethernet Switching | |
| CN111506047B (en) | Vehicle diagnosis method, device and storage medium | |
| US20150025733A1 (en) | Vehicle control device and method | |
| CN113467409A (en) | Fault diagnosis method and device for electronic control unit of vehicle | |
| CN112860559A (en) | Upgrade test system and method | |
| CN111769995B (en) | Meter terminal management method, system, mobile terminal and readable storage medium | |
| US11508191B1 (en) | Vehicle diagnostic interface device | |
| CN107065832B (en) | automobile data stream acquisition method and system and computer readable storage medium | |
| CN115238114A (en) | Vehicle production line test method, equipment and storage medium | |
| CN115220945A (en) | Raspberry pie-based vehicle detection device and method, vehicle and storage medium | |
| CN116266116A (en) | Version detection method, device and system for vehicle controller and version detector | |
| CN117519105A (en) | Vehicle diagnostic instrument, vehicle diagnostic method and system | |
| CN115230470B (en) | A split full liquid crystal combination instrument, information display method and vehicle | |
| CN111845345A (en) | Automobile full liquid crystal instrument display state screenshot transmission method | |
| CN213457763U (en) | Vehicle controller information detection apparatus | |
| CN214851308U (en) | Vehicle-mounted equipment test system | |
| CN213517997U (en) | Automotive Electronic Control Unit Debug Analyzer | |
| CN111143262A (en) | Switching device and instrument control system and instrument control method | |
| CN114442595A (en) | A remote vehicle control test device and remote vehicle control test method | |
| CN107037804A (en) | Method, system and the computer-readable recording medium of simulated automotive communication | |
| CN119758950B (en) | Automobile diagnosis method and device, electronic equipment and storage medium |
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 |