CN106998281A - A kind of data update processing method, device, gateway controller and automobile - Google Patents
A kind of data update processing method, device, gateway controller and automobile Download PDFInfo
- Publication number
- CN106998281A CN106998281A CN201710217046.2A CN201710217046A CN106998281A CN 106998281 A CN106998281 A CN 106998281A CN 201710217046 A CN201710217046 A CN 201710217046A CN 106998281 A CN106998281 A CN 106998281A
- Authority
- CN
- China
- Prior art keywords
- data
- chinese ink
- brush dipped
- write
- terminal device
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- General Factory Administration (AREA)
- Automobile Manufacture Line, Endless Track Vehicle, Trailer (AREA)
Abstract
The invention discloses a kind of data update processing method, device, gateway controller and automobile, its method includes:Obtain legal terminal device transmission writes with a brush dipped in Chinese ink data;When the instrument of automobile, engine and car body controller satisfaction are preset and writes with a brush dipped in Chinese ink condition, data renewal processing is carried out to gateway controller according to data are write with a brush dipped in Chinese ink.Legitimacy of the invention by verifying terminal device, it is determined that can will write with a brush dipped in Chinese ink data by terminal device after terminal device is legal is sent to gateway controller, so as to realize that carrying out data to gateway controller writes with a brush dipped in Chinese ink renewal, simplify data and write with a brush dipped in Chinese ink more new technological process, and write with a brush dipped in Chinese ink without the data that the specific diagnostic device of tester and after sale librarian use carries out gateway controller, reduce time cost and cost of labor that data write with a brush dipped in Chinese ink renewal.
Description
Technical field
The present invention relates to automotive development testing field, more particularly to a kind of data update processing method, device, gateway control
Device and automobile.
Background technology
It is various for vehicle safety, comfortableness, convenience, low nuisanceless, inexpensive consideration in automobile industry
The electronic control system of various kinds is developed.Because the communication between these electronic control systems is to data type used
And the requirement to reliability is not quite similar, automobile research test phase and after sale stage can carry out in-car electronic control system number
According to writing with a brush dipped in Chinese ink, gateway controller connects multichannel CAN network, and it is controller data to realize that in-car controller is write with a brush dipped in Chinese ink by gateway controller
The effective way of renewal.
At present, there was only OBD (On-Board Diagnostic, onboard diagnostic system) interface on automobile, the interface can be examined
Disconnected automobile information simultaneously monitors CAN network, but the interface can not enter the brush of line program while CAN monitoring is carried out
Write, tester and after sale personnel must use specific diagnostic device to realize that controller data is write with a brush dipped in Chinese ink, when spending a large amount of
Between, manpower and money.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of data update processing method, device, gateway controller
And automobile, solve gateway controller progress data in the prior art and write with a brush dipped in Chinese ink the method complexity of renewal, it is necessary to take a significant amount of time
And the problem of cost of labor.
According to one aspect of the present invention there is provided a kind of data update processing method, including:
Obtain legal terminal device transmission writes with a brush dipped in Chinese ink data;
The instrument of automobile, engine and car body controller meet it is default write with a brush dipped in Chinese ink condition when, according to writing with a brush dipped in Chinese ink data to gateway
Controller carries out data renewal processing.
Wherein, legal the step of writing with a brush dipped in Chinese ink data of terminal device transmission is obtained, including:
The data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request;Wherein, data write with a brush dipped in Chinese ink the body that terminal device is carried in request
Part information;
After verifying that terminal device is legal according to identity information, what receiving terminal apparatus was sent writes with a brush dipped in Chinese ink data.
Wherein, the step of data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request, including:
The bluetooth data communication link set up between terminal device;
By bluetooth data communication link, the data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request.
Wherein, after the step of data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request, in addition to:
Data according to receiving write with a brush dipped in Chinese ink request setting and write with a brush dipped in Chinese ink request flag position;
After detecting and writing with a brush dipped in Chinese ink request flag, the identity information of terminal device carried in request is write with a brush dipped in Chinese ink according to data,
Verify the legitimacy of terminal device;
If identity information is with the legal identity information match prestored, determine that terminal device is legal.
Wherein, the step of writing with a brush dipped in Chinese ink data of receiving terminal apparatus transmission, including:
Multigroup grouped data that receiving terminal apparatus is sent;Wherein, data sequence number, data are carried in grouped data long
Spend, write with a brush dipped in Chinese ink data and check code;
According to data sequence number, the data of writing with a brush dipped in Chinese ink in multigroup grouped data are recombinated, number is write with a brush dipped in Chinese ink after being recombinated
According to.
Wherein, after being recombinated the step of writing with a brush dipped in Chinese ink data after, in addition to:
According to data length and check code, the integrality and correctness of writing with a brush dipped in Chinese ink data after checking restructuring;
If writing with a brush dipped in Chinese ink the requirement that data meet integrality and correctness after restructuring, the data of writing with a brush dipped in Chinese ink after restructuring are preserved.
Wherein, data are write with a brush dipped in Chinese ink in request and also carry target and write with a brush dipped in Chinese ink address;The step of data are preserved will be write with a brush dipped in Chinese ink after restructuring,
Including:
Data of writing with a brush dipped in Chinese ink after restructuring are preserved to target and write with a brush dipped in Chinese ink in the corresponding memory space in address.
Wherein, the instrument of automobile, engine and car body controller meet it is default write with a brush dipped in Chinese ink condition when, according to writing with a brush dipped in Chinese ink data pair
Gateway controller carries out the step of data update processing, including:
According to vehicle power supply status, current vehicle speed, engine speed and gear information, instrument, engine and vehicle body are determined
Whether controller, which meets to preset, is write with a brush dipped in Chinese ink condition;
When satisfaction is default writes with a brush dipped in Chinese ink condition, data renewal processing is carried out to gateway controller according to data are write with a brush dipped in Chinese ink.
Wherein, according to write with a brush dipped in Chinese ink data to gateway controller carry out data update handle the step of, including:
Data will be write with a brush dipped in Chinese ink and be converted to the recognizable data of controller, and can recognize that data carry out gateway controller according to controller
Data renewal processing.
According to another aspect of the present invention, a kind of data renewal processing device is additionally provided, including:
First acquisition module, what the terminal device legal for obtaining was sent writes with a brush dipped in Chinese ink data;
Update module, for when the instrument of automobile, engine and car body controller satisfaction are preset and writes with a brush dipped in Chinese ink condition, according to brush
Write data and data renewal processing is carried out to gateway controller.
According to another aspect of the invention, a kind of gateway controller is additionally provided, including data as described above update
Processing unit.
According to another aspect of the invention, a kind of automobile, including instrument, engine and car body controller are additionally provided,
And gateway controller as described above, the gateway controller is connected with instrument, engine and car body controller respectively.
The beneficial effect of embodiments of the invention is:A kind of data update processing method, device, gateway controller and vapour
Car, by verifying the legitimacy of terminal device, sends it is determined that can will write with a brush dipped in Chinese ink data after terminal device is legal by terminal device
To gateway controller, renewal is write with a brush dipped in Chinese ink so as to realize and carry out data to gateway controller, data is simplified and writes with a brush dipped in Chinese ink more new technological process, and nothing
Need tester and the data of the specific diagnostic device progress gateway controller of librarian use after sale to write with a brush dipped in Chinese ink, reduce data and write with a brush dipped in Chinese ink
The time cost and cost of labor of renewal.
Brief description of the drawings
Fig. 1 represents the schematic flow sheet of the data update processing method of the present invention;
Fig. 2 represents the gateway controller of the present invention and the connection block diagram of miscellaneous part;
Fig. 3 represents the schematic flow sheet of step 11 in Fig. 1;
Fig. 4 represents the idiographic flow schematic diagram of the data update processing method of the present invention;
Fig. 5 represents the structural representation of the data renewal processing device of the present invention;
Fig. 6 represents the structured flowchart of the gateway controller of the present invention.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although showing the present invention in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
Limited.Conversely it is able to be best understood from the present invention there is provided these embodiments, and can be by the scope of the present invention
Complete conveys to those skilled in the art.
Embodiment one
As shown in figure 1, The embodiment provides a kind of data update processing method, specifically including following steps:
Step 11:Obtain legal terminal device transmission writes with a brush dipped in Chinese ink data.
Wherein, terminal device mentioned here can be the equipment such as mobile phone, notebook, tablet personal computer.Legal terminal is set
The standby terminal device referred to by legitimate verification, identity information (such as state for the terminal device that is for example stored with automobile
Border mobile equipment identity code information, physical MAC address etc.), or, the terminal device is tested by legitimacies such as high in the clouds identifying procedures
Demonstrate,prove flow.Write with a brush dipped in Chinese ink data and refer to the data to be updated to gateway controller, such as the program code of each control system.Tool
Body, specified application can be downloaded on the terminal device, and tester or after sale personnel be able to will write with a brush dipped in Chinese ink by the application program
Data are sent to gateway control.Wherein, the effect of the application program is that the communication interface for writing with a brush dipped in Chinese ink data is provided for gateway controller.
Step 12:When the instrument of automobile, engine and car body controller satisfaction are preset and writes with a brush dipped in Chinese ink condition, write with a brush dipped in Chinese ink according to described
Data carry out data renewal processing to gateway controller.
Wherein, as shown in Fig. 2 the gateway controller of automobile is connected by CAN and instrument, engine and car body controller
Connect, whether gateway controller meets to preset by measuring instrument, engine and car body controller is write with a brush dipped in Chinese ink condition, when meeting, root
Data renewal processing is carried out to gateway controller according to the data of writing with a brush dipped in Chinese ink received, to realize gateway controller to each control system
Data update.
So, by verifying the legitimacy of terminal device, it is determined that be able to will be brushed by terminal device after terminal device is legal
Write data and be sent to gateway controller, write with a brush dipped in Chinese ink renewal so as to realize and carry out data to gateway controller, simplify data and write with a brush dipped in Chinese ink more
New technological process, and write with a brush dipped in Chinese ink without the data that the specific diagnostic device of tester and after sale librarian use carries out gateway controller, drop
Low data write with a brush dipped in Chinese ink the time cost and cost of labor of renewal.
Wherein, as shown in figure 3, step 11 specifically includes following steps:
Step 31:The data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request.
Wherein, the data write with a brush dipped in Chinese ink the identity information that terminal device is carried in request.
Step 32:After verifying that terminal device is legal according to identity information, what receiving terminal apparatus was sent writes with a brush dipped in Chinese ink data.
Specifically, step 31 includes:The bluetooth data communication link set up between gateway controller and terminal device;Pass through
The bluetooth data communication link, the data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request.
Further, after the step of data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request, in addition to:According to receiving
Data write with a brush dipped in Chinese ink request setting write with a brush dipped in Chinese ink request flag position;Detect write with a brush dipped in Chinese ink request flag after, write with a brush dipped in Chinese ink according to data in request
The identity information of the terminal device of carrying, verifies the legitimacy of terminal device;If the identity information and the legal body prestored
During part information match, determine that terminal device is legal.Here it is to say, gateway controller passes through the bluetooth number between terminal device
Received according to communication link after data write with a brush dipped in Chinese ink request and trigger interrupt routine, set in interrupt routine and write with a brush dipped in Chinese ink request flag position.Net
Cyclic polling data write with a brush dipped in Chinese ink request flag position state in gateway controller main program, and request is write with a brush dipped in Chinese ink to determine whether to receive data.
Further, the identity information that data write with a brush dipped in Chinese ink the terminal device carried in request can be a key information, and gateway controller exists
Detect and write with a brush dipped in Chinese ink behind request flag position, authentication secret legitimacy is to ensure security that in-car controller data is write with a brush dipped in Chinese ink, if carrying
Key and the automobile key that prestores or generate when matching, determine that terminal device is legal.
Alternatively, what receiving terminal apparatus was sent can refer to following steps realization the step of writing with a brush dipped in Chinese ink data:Receiving terminal is set
Multigroup grouped data that preparation is sent;Wherein, data sequence number, data length are carried in grouped data, write with a brush dipped in Chinese ink data content and
Check code.According to data sequence number, the data of writing with a brush dipped in Chinese ink in multigroup grouped data are recombinated, number is write with a brush dipped in Chinese ink after being recombinated
According to.In order to ensure the integrality and correctness of writing with a brush dipped in Chinese ink data, it can also further comprise:According to data length and check code, checking
The integrality and correctness of writing with a brush dipped in Chinese ink data after restructuring;If writing with a brush dipped in Chinese ink the requirement that data meet integrality and correctness after restructuring,
Then the data of writing with a brush dipped in Chinese ink after restructuring are preserved.That is, gateway controller passes through bluetooth data communication chain in receiving terminal apparatus
The serial packet data that road is sent, parses the data sequence number in grouped data, data length, writes with a brush dipped in Chinese ink data and check code, make
Every group of correctness for writing with a brush dipped in Chinese ink data content is verified with check code, the complete of data content is write with a brush dipped in Chinese ink by detecting that data length ensures every group
Whole property, and write with a brush dipped in Chinese ink data according to data sequence number restructuring controller.Further, gateway controller can also be by writing with a brush dipped in Chinese ink after restructuring
Data introduce predefined checking algorithm and verified, to ensure to write with a brush dipped in Chinese ink data overall correctness and integrality after restructuring.
Further, also carried in the data that step 31 is received write with a brush dipped in Chinese ink request and write with a brush dipped in Chinese ink the corresponding target of data and write with a brush dipped in Chinese ink
Address, be specially by the step of data are preserved of writing with a brush dipped in Chinese ink after restructuring:Data of writing with a brush dipped in Chinese ink after restructuring are preserved to target and write with a brush dipped in Chinese ink address
In corresponding memory space.Brush i.e. after gateway controller storage checking writes data to the internal storage space specified.
Alternatively, step 12 is specifically included:According to vehicle power supply status, current vehicle speed, engine speed and gear information,
Determine whether instrument, engine and car body controller meet to preset and write with a brush dipped in Chinese ink condition;When meet it is default write with a brush dipped in Chinese ink condition when, according to writing with a brush dipped in Chinese ink
Data carry out data renewal processing to gateway controller.Gateway controller judges whether current whole vehicle state meets gateway controller
Condition is write with a brush dipped in Chinese ink, gateway controller writes with a brush dipped in Chinese ink condition and includes the information such as vehicle power supply status, rotating speed, speed and gear, if now gateway
The condition of writing with a brush dipped in Chinese ink of controller is unsatisfactory for, then is spaced after preset time (such as 5s) to detect whether to meet again to preset and writes with a brush dipped in Chinese ink condition, directly
Gateway controller progress data are write with a brush dipped in Chinese ink with renewal to default condition of writing with a brush dipped in Chinese ink is met, or until reaching after default detection number of times, is put
Abandon and more new technological process is write with a brush dipped in Chinese ink to the data of gateway controller.
Specifically, according to write with a brush dipped in Chinese ink data to gateway controller carry out data update handle the step of include:Data will be write with a brush dipped in Chinese ink
Be converted to controller and can recognize that data, and can recognize that data carry out the data renewal processing of gateway controller according to controller.Net
Gateway controller according to write with a brush dipped in Chinese ink flow will be stored in it is local write with a brush dipped in Chinese ink data conversion into diagnosis and write with a brush dipped in Chinese ink data mode, and through alternation of bed and
CAN driving layers are converted into the recognizable data of controller and complete data download and update.
Preferably, as shown in figure 4, the data update processing method of the embodiment of the present invention specifically includes following steps:
Step 41:The data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request, and verify the legitimacy of the terminal device.
The data that gateway controller receives terminal device transmission are write with a brush dipped in Chinese ink after request, interrupt routine are triggered, in interrupt routine
Middle setting, which writes with a brush dipped in Chinese ink request flag position and stores the data, writes with a brush dipped in Chinese ink request.Cyclic polling data, which are write with a brush dipped in Chinese ink, in gateway controller main program asks
Flag bit state is sought, is detected after flag bit set, the key information that gateway controller extraction data are write with a brush dipped in Chinese ink in request is (such as whole
MAC Address of end equipment etc.), authentication secret legitimacy is to ensure security that in-car controller data is write with a brush dipped in Chinese ink.If key is legal,
Gateway controller storage write with a brush dipped in Chinese ink carried in request write with a brush dipped in Chinese ink controller address, and perform step 42;If key is illegal, abandon
Renewal of writing with a brush dipped in Chinese ink to gateway controller, terminates data and writes with a brush dipped in Chinese ink more new technological process.
Step 42:Multigroup grouped data that receiving terminal apparatus is sent, and carry out writing with a brush dipped in Chinese ink data after being recombinated.
In multigroup grouped data of gateway controller receiving terminal apparatus blue tooth serial data transfer, parsing grouped data
Data sequence number, data length, data content and check code are write with a brush dipped in Chinese ink, every group of correctness for writing with a brush dipped in Chinese ink data are verified using check code,
And write with a brush dipped in Chinese ink data according to data sequence number restructuring controller.
Step 43:The integrality and correctness of writing with a brush dipped in Chinese ink data after checking restructuring.
In order to ensure to write with a brush dipped in Chinese ink data overall correctness and integrality, after gateway controller will be recombinated according to data sequence number
Data of writing with a brush dipped in Chinese ink introduce predefined checking algorithm and verified, to ensure the correctness for writing with a brush dipped in Chinese ink data entirety after restructuring and complete
Whole property.If the condition for writing with a brush dipped in Chinese ink data fit integrality and correctness after restructuring, step 44 is performed, is otherwise abandoned to gateway control
Device processed writes with a brush dipped in Chinese ink renewal, terminates data and writes with a brush dipped in Chinese ink more new technological process.
Step 44:Data of writing with a brush dipped in Chinese ink after restructuring are preserved to target and write with a brush dipped in Chinese ink in the corresponding memory space in address.
Controller brush after gateway controller storage checking writes data to the internal storage space specified.
Step 45:Detect whether to meet gateway controller writes with a brush dipped in Chinese ink update condition.
According to vehicle power supply status, current vehicle speed, engine speed and gear information, instrument, engine and vehicle body are determined
Whether controller, which meets, default write with a brush dipped in Chinese ink condition, i.e. gateway controller and judges whether current whole vehicle state meets controller and write with a brush dipped in Chinese ink bar
Part, controller writes with a brush dipped in Chinese ink condition and includes the information such as vehicle power supply status, rotating speed, speed and gear.Step 46 is performed if meeting, if
Be unsatisfactory for, be spaced detect whether to meet gateway controller after preset time again write with a brush dipped in Chinese ink update condition, until meeting default brush
Write condition carries out data to gateway controller and writes with a brush dipped in Chinese ink renewal, or until reaching after default detection number of times, abandons to gateway control
Device writes with a brush dipped in Chinese ink renewal.
Step 46:Data will be write with a brush dipped in Chinese ink and be converted to the recognizable data of controller, and can recognize that data carry out net according to controller
The data renewal processing of gateway controller.
Gateway controller writes with a brush dipped in Chinese ink data according to writing with a brush dipped in Chinese ink flow and will be stored in local controller and write with a brush dipped in Chinese ink data conversion into diagnosis
Form, and be converted into the recognizable data completion data download of controller through alternation of bed and CAN driving layers and write with a brush dipped in Chinese ink renewal.
The data update processing method of the embodiment of the present invention, by verifying the legitimacy of terminal device, it is determined that terminal is set
It is standby it is legal after data can will be write with a brush dipped in Chinese ink by terminal device and be sent to gateway controller, data are carried out to gateway controller so as to realize
Renewal is write with a brush dipped in Chinese ink, data is simplified and writes with a brush dipped in Chinese ink more new technological process, and enter without the specific diagnostic device of tester and after sale librarian use
The data of row gateway controller are write with a brush dipped in Chinese ink, and reduce time cost and cost of labor that data write with a brush dipped in Chinese ink renewal.
Embodiment two
As shown in figure 5, according to the other side in embodiments of the invention, additionally providing a kind of data and updating processing dress
Put, including:
Acquisition module 510, what the terminal device legal for obtaining was sent writes with a brush dipped in Chinese ink data;
Update module 520, for the instrument of automobile, engine and car body controller meet it is default write with a brush dipped in Chinese ink condition when, root
Data renewal processing is carried out to gateway controller according to data are write with a brush dipped in Chinese ink.
Wherein, acquisition module 510 includes:
First receiving submodule, the data sent for receiving terminal apparatus write with a brush dipped in Chinese ink request;Wherein, data are write with a brush dipped in Chinese ink in request
Carry the identity information of terminal device;
Second receiving submodule, for after verifying that terminal device is legal according to identity information, receiving terminal apparatus to be sent
Write with a brush dipped in Chinese ink data.
Wherein, the second receiving submodule includes:
Unit is set up, for the bluetooth data communication link between foundation and terminal device;
First receiving unit, for by bluetooth data communication link, the data that receiving terminal apparatus is sent to write with a brush dipped in Chinese ink request.
Wherein, acquisition module also includes:
Submodule is set, request flag position is write with a brush dipped in Chinese ink for writing with a brush dipped in Chinese ink request setting according to the data received;
Submodule is verified, for after detecting and writing with a brush dipped in Chinese ink request flag, the terminal that carries in request to be write with a brush dipped in Chinese ink according to data
The identity information of equipment, verifies the legitimacy of terminal device;
Determination sub-module, for when identity information and prestore legal identity information match when, determine that terminal is set
It is standby legal.
Wherein, the second receiving submodule includes:
Second receiving unit, the multigroup grouped data sent for receiving terminal apparatus;Wherein, carried in grouped data
Data sequence number, data length, write with a brush dipped in Chinese ink data and check code;
Recomposition unit, for according to data sequence number, the data of writing with a brush dipped in Chinese ink in multigroup grouped data to be recombinated, obtains weight
Data are write with a brush dipped in Chinese ink after group.
Wherein, the second receiving submodule also includes:
Authentication unit, for according to data length and check code, verifying the integrality for writing with a brush dipped in Chinese ink data after restructuring and correct
Property;
Memory cell, for when after restructuring when writing with a brush dipped in Chinese ink data and meeting the requirement of integrality and correctness, after restructuring
Write with a brush dipped in Chinese ink data preservation.
Wherein, memory cell includes:
Storing sub-units, for when data are write with a brush dipped in Chinese ink and also carry target in request and write with a brush dipped in Chinese ink address, by writing with a brush dipped in Chinese ink after restructuring
Data are preserved to target and write with a brush dipped in Chinese ink in the corresponding memory space in address.
Wherein, update module includes:
Determination sub-module, for according to vehicle power supply status, current vehicle speed, engine speed and gear information, determining instrument
Whether table, engine and car body controller, which meet to preset, is write with a brush dipped in Chinese ink condition;
First updates submodule, for when satisfaction is preset and writes with a brush dipped in Chinese ink condition, being carried out according to data are write with a brush dipped in Chinese ink to gateway controller
Data renewal is handled.
Wherein, update module also includes:
Second updates submodule, is converted to the recognizable data of controller for that will write with a brush dipped in Chinese ink data, and can know according to controller
Other data carry out the data renewal processing of gateway controller.
It should be noted that the device is device corresponding with above-mentioned data update processing method, above method embodiment
In all implementations suitable for the embodiment of the device, can also reach identical technique effect.
According to another aspect of the invention, a kind of gateway controller is additionally provided, including data as described above update
Processing unit.As shown in fig. 6, the gateway controller includes:Bluetooth protocol repertory module, write with a brush dipped in Chinese ink process control module, diagnosing protocol
Stack module, alternation of bed and CAN driving layers.Wherein, bluetooth protocol repertory module is used for the bluetooth number of gateway controller and terminal device
According to interaction, including acquisition module as described above, writing with a brush dipped in Chinese ink process control module is used to determine that the data of gateway controller write with a brush dipped in Chinese ink stream
Journey, including update module as described above, diagnosing protocol stack module are used to realize that brush writes data to diagnosis and writes with a brush dipped in Chinese ink data conversion, phase
When second in above-mentioned update module updates submodule.
According to another aspect of the invention, a kind of automobile, including instrument, engine and car body controller are additionally provided,
And gateway controller as described above, wherein, the gateway controller is connected with instrument, engine and car body controller respectively.
Above-described is the preferred embodiment of the present invention, it should be pointed out that come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.
Claims (12)
1. a kind of data update processing method, it is characterised in that including:
Obtain legal terminal device transmission writes with a brush dipped in Chinese ink data;
When the instrument of automobile, engine and car body controller satisfaction are preset and writes with a brush dipped in Chinese ink condition, according to the data of writing with a brush dipped in Chinese ink to gateway
Controller carries out data renewal processing.
2. data update processing method according to claim 1, it is characterised in that the legal terminal device hair of the acquisition
Send the step of writing with a brush dipped in Chinese ink data, including:
The data that receiving terminal apparatus is sent write with a brush dipped in Chinese ink request;Wherein, the data are write with a brush dipped in Chinese ink in request and carry the terminal device
Identity information;
After verifying that the terminal device is legal according to the identity information, receive the terminal device transmission writes with a brush dipped in Chinese ink data.
3. data update processing method according to claim 2, it is characterised in that the number that the receiving terminal apparatus is sent
The step of according to request is write with a brush dipped in Chinese ink, including:
The bluetooth data communication link set up between terminal device;
By the bluetooth data communication link, the data for receiving the terminal device transmission write with a brush dipped in Chinese ink request.
4. data update processing method according to claim 2, it is characterised in that sent in the receiving terminal apparatus
After the step of data write with a brush dipped in Chinese ink request, in addition to:
Data according to receiving write with a brush dipped in Chinese ink request setting and write with a brush dipped in Chinese ink request flag position;
After request flag is write with a brush dipped in Chinese ink described in detecting, believed according to the identity that the data write with a brush dipped in Chinese ink the terminal device carried in request
Breath, verifies the legitimacy of the terminal device;
If the identity information is with the legal identity information match prestored, determine that the terminal device is legal.
5. data update processing method according to claim 2, it is characterised in that the reception terminal device is sent
The step of writing with a brush dipped in Chinese ink data, including:
Receive multigroup grouped data that the terminal device is sent;Wherein, data sequence number, number are carried in the grouped data
According to length, write with a brush dipped in Chinese ink data content and check code;
According to the data sequence number, the data content of writing with a brush dipped in Chinese ink in multigroup grouped data is recombinated, the brush after being recombinated
Write data.
6. data update processing method according to claim 5, it is characterised in that it is described recombinated after write with a brush dipped in Chinese ink data
The step of after, in addition to:
According to the data length and check code, the integrality and correctness of writing with a brush dipped in Chinese ink data after checking restructuring;
If writing with a brush dipped in Chinese ink the requirement that data meet integrality and correctness after restructuring, the data of writing with a brush dipped in Chinese ink after restructuring are preserved.
7. data update processing method according to claim 6, it is characterised in that the data are write with a brush dipped in Chinese ink in request and also carried
There is target to write with a brush dipped in Chinese ink address;The step of data are preserved of writing with a brush dipped in Chinese ink by after restructuring, including:
Data of writing with a brush dipped in Chinese ink after restructuring are preserved to the target and write with a brush dipped in Chinese ink in the corresponding memory space in address.
8. data update processing method according to claim 1, it is characterised in that the instrument in automobile, engine
And car body controller satisfaction is preset when writing with a brush dipped in Chinese ink condition, the gateway controller is carried out at data renewal according to the data of writing with a brush dipped in Chinese ink
The step of reason, including:
According to vehicle power supply status, current vehicle speed, engine speed and gear information, the instrument, engine and vehicle body are determined
Whether controller, which meets to preset, is write with a brush dipped in Chinese ink condition;
When satisfaction is default writes with a brush dipped in Chinese ink condition, according to the data of writing with a brush dipped in Chinese ink to gateway controller progress data renewal processing.
9. data update processing method according to claim 1, it is characterised in that data are write with a brush dipped in Chinese ink described in the basis to institute
State gateway controller and carry out the step of data update processing, including:
The data of writing with a brush dipped in Chinese ink are converted into the recognizable data of controller, and can recognize that data carry out gateway control according to the controller
The data renewal processing of device processed.
10. a kind of data renewal processing device, it is characterised in that including:
Acquisition module, what the terminal device legal for obtaining was sent writes with a brush dipped in Chinese ink data;
Update module, for when the instrument of automobile, engine and car body controller satisfaction are preset and writes with a brush dipped in Chinese ink condition, according to the brush
Write data and data renewal processing is carried out to gateway controller.
11. a kind of gateway controller, it is characterised in that including data renewal processing device as claimed in claim 10.
12. a kind of automobile, including:Instrument, engine and car body controller;Characterized in that, the automobile also includes such as right
It is required that the gateway controller described in 11, wherein, the gateway controller connects with the instrument, engine and car body controller respectively
Connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710217046.2A CN106998281B (en) | 2017-04-05 | 2017-04-05 | Data updating processing method and device, gateway controller and automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710217046.2A CN106998281B (en) | 2017-04-05 | 2017-04-05 | Data updating processing method and device, gateway controller and automobile |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106998281A true CN106998281A (en) | 2017-08-01 |
CN106998281B CN106998281B (en) | 2020-09-01 |
Family
ID=59433874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710217046.2A Active CN106998281B (en) | 2017-04-05 | 2017-04-05 | Data updating processing method and device, gateway controller and automobile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106998281B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108181859A (en) * | 2018-02-07 | 2018-06-19 | 深圳市布谷鸟科技有限公司 | Vehicle central controller based on linux+qt more new system and its more new control method |
CN108710495A (en) * | 2018-03-29 | 2018-10-26 | 北京聚利科技股份有限公司 | Electronic tag method for updating program, electronic tag and storage medium |
CN109144545A (en) * | 2018-08-16 | 2019-01-04 | 北京汽车股份有限公司 | Data write with a brush dipped in Chinese ink method, apparatus, equipment and computer readable storage medium |
CN109522026A (en) * | 2018-11-01 | 2019-03-26 | 北京汽车研究总院有限公司 | A kind of data write with a brush dipped in Chinese ink method and system, automobile |
CN110647341A (en) * | 2019-09-21 | 2020-01-03 | 深圳市英博超算科技有限公司 | OTA upgrading method, OTA upgrading device, OTA vehicle and computer readable storage medium |
CN112055346A (en) * | 2020-09-10 | 2020-12-08 | 欣格瑞电气(上海)有限公司 | Data transmission method and Bluetooth repeater |
CN112506760A (en) * | 2020-11-23 | 2021-03-16 | 宝能(西安)汽车研究院有限公司 | Vehicle controller software flash test method, system, device and storage medium |
CN112527352A (en) * | 2020-12-08 | 2021-03-19 | 航天科技控股集团股份有限公司 | Method for intelligent configuration reading analysis based on diagnostic protocol |
CN112579105A (en) * | 2020-12-10 | 2021-03-30 | 东风汽车集团有限公司 | Flash method of whole vehicle initialization controller and related equipment |
CN112859809A (en) * | 2021-01-11 | 2021-05-28 | 上海星融汽车科技有限公司 | Vehicle ECU (electronic control Unit) flashing method and system and lower computer of vehicle diagnosis equipment |
CN113422706A (en) * | 2021-06-18 | 2021-09-21 | 上海怿星电子科技有限公司 | Method and vehicle for detecting consistency of network protocol stack |
CN118432853A (en) * | 2024-03-28 | 2024-08-02 | 重庆赛力斯凤凰智创科技有限公司 | Vehicle data processing method and device, whole vehicle controller and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102621950A (en) * | 2012-01-13 | 2012-08-01 | 奇瑞汽车股份有限公司 | Pure electric vehicle carload controller refreshing instrument and refreshing method |
CN102736925A (en) * | 2011-04-14 | 2012-10-17 | 比亚迪股份有限公司 | Vehicle software updating method and system |
CN103273893A (en) * | 2013-05-29 | 2013-09-04 | 扬州泰博汽车电子智能科技有限公司 | Wireless upgraded automobile body controller and programming system adopting wireless upgraded automobile body controller |
US20140297109A1 (en) * | 2013-03-28 | 2014-10-02 | Autonetworks Technologies, Ltd | In-vehicle communication system and in-vehicle relay apparatus |
CN104281469A (en) * | 2014-08-26 | 2015-01-14 | 东风电子科技股份有限公司 | Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program |
CN105589719A (en) * | 2015-12-17 | 2016-05-18 | 广州汽车集团股份有限公司 | System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof |
CN105974830A (en) * | 2016-05-10 | 2016-09-28 | 北京新能源汽车股份有限公司 | Electric automobile and remote program updating control method thereof |
CN106033360A (en) * | 2015-03-13 | 2016-10-19 | 惠州市德赛西威汽车电子股份有限公司 | A vehicle-mounted software upgrade method |
CN106330921A (en) * | 2016-08-26 | 2017-01-11 | 重庆蓝盾电子技术服务公司 | Working method of vehicle management inspection system |
-
2017
- 2017-04-05 CN CN201710217046.2A patent/CN106998281B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102736925A (en) * | 2011-04-14 | 2012-10-17 | 比亚迪股份有限公司 | Vehicle software updating method and system |
CN102621950A (en) * | 2012-01-13 | 2012-08-01 | 奇瑞汽车股份有限公司 | Pure electric vehicle carload controller refreshing instrument and refreshing method |
US20140297109A1 (en) * | 2013-03-28 | 2014-10-02 | Autonetworks Technologies, Ltd | In-vehicle communication system and in-vehicle relay apparatus |
CN103273893A (en) * | 2013-05-29 | 2013-09-04 | 扬州泰博汽车电子智能科技有限公司 | Wireless upgraded automobile body controller and programming system adopting wireless upgraded automobile body controller |
CN104281469A (en) * | 2014-08-26 | 2015-01-14 | 东风电子科技股份有限公司 | Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program |
CN106033360A (en) * | 2015-03-13 | 2016-10-19 | 惠州市德赛西威汽车电子股份有限公司 | A vehicle-mounted software upgrade method |
CN105589719A (en) * | 2015-12-17 | 2016-05-18 | 广州汽车集团股份有限公司 | System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof |
CN105974830A (en) * | 2016-05-10 | 2016-09-28 | 北京新能源汽车股份有限公司 | Electric automobile and remote program updating control method thereof |
CN106330921A (en) * | 2016-08-26 | 2017-01-11 | 重庆蓝盾电子技术服务公司 | Working method of vehicle management inspection system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108181859A (en) * | 2018-02-07 | 2018-06-19 | 深圳市布谷鸟科技有限公司 | Vehicle central controller based on linux+qt more new system and its more new control method |
CN108181859B (en) * | 2018-02-07 | 2023-10-27 | 深圳市布谷鸟科技有限公司 | Vehicle central controller updating system based on linux+qt and updating control method thereof |
CN108710495A (en) * | 2018-03-29 | 2018-10-26 | 北京聚利科技股份有限公司 | Electronic tag method for updating program, electronic tag and storage medium |
CN109144545A (en) * | 2018-08-16 | 2019-01-04 | 北京汽车股份有限公司 | Data write with a brush dipped in Chinese ink method, apparatus, equipment and computer readable storage medium |
CN109522026A (en) * | 2018-11-01 | 2019-03-26 | 北京汽车研究总院有限公司 | A kind of data write with a brush dipped in Chinese ink method and system, automobile |
CN110647341A (en) * | 2019-09-21 | 2020-01-03 | 深圳市英博超算科技有限公司 | OTA upgrading method, OTA upgrading device, OTA vehicle and computer readable storage medium |
CN112055346B (en) * | 2020-09-10 | 2023-03-10 | 欣格瑞电气(上海)有限公司 | Data transmission method and Bluetooth repeater |
CN112055346A (en) * | 2020-09-10 | 2020-12-08 | 欣格瑞电气(上海)有限公司 | Data transmission method and Bluetooth repeater |
CN112506760A (en) * | 2020-11-23 | 2021-03-16 | 宝能(西安)汽车研究院有限公司 | Vehicle controller software flash test method, system, device and storage medium |
CN112527352A (en) * | 2020-12-08 | 2021-03-19 | 航天科技控股集团股份有限公司 | Method for intelligent configuration reading analysis based on diagnostic protocol |
CN112579105A (en) * | 2020-12-10 | 2021-03-30 | 东风汽车集团有限公司 | Flash method of whole vehicle initialization controller and related equipment |
CN112859809A (en) * | 2021-01-11 | 2021-05-28 | 上海星融汽车科技有限公司 | Vehicle ECU (electronic control Unit) flashing method and system and lower computer of vehicle diagnosis equipment |
CN113422706A (en) * | 2021-06-18 | 2021-09-21 | 上海怿星电子科技有限公司 | Method and vehicle for detecting consistency of network protocol stack |
CN118432853A (en) * | 2024-03-28 | 2024-08-02 | 重庆赛力斯凤凰智创科技有限公司 | Vehicle data processing method and device, whole vehicle controller and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106998281B (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106998281A (en) | A kind of data update processing method, device, gateway controller and automobile | |
CN105589719B (en) | system for remotely upgrading whole vehicle-mounted controller software and upgrading method | |
Smith | The car hacker's handbook: a guide for the penetration tester | |
US9805520B2 (en) | Method and system for providing vehicle security service | |
CN103370608B (en) | Mobile communication interface, the system with mobile communication interface and for recognizing, diagnosing, the method for maintenance and repair vehicle | |
CN105025058B (en) | Vehicle remote diagnosis method, remote vehicle monitoring method and car-mounted terminal | |
US8788731B2 (en) | Vehicle message filter | |
CN105450645B (en) | On-board automatic diagnosis system data transmission method | |
CN105075186B (en) | Data processing equipment and communication system | |
CN108334058A (en) | A kind of diagnostic system and method based on car body controller | |
CN105700509B (en) | Car-mounted terminal detection method and device based on CAN | |
CN103713527B (en) | Refreshing method, writing apparatus and writing system for automobile electronic controller | |
CN107306269A (en) | Message authentication storehouse | |
CN111901349A (en) | Penetration testing method, device and system based on in-vehicle CAN bus | |
CN109271810A (en) | A kind of exam information record system and exam information recording method based on block chain | |
CN110191415A (en) | A kind of encryption method of information of vehicles, mobile unit and server | |
CN109270919B (en) | A kind of vehicle detection data managing method, analysis method, equipment and server | |
CN110084011A (en) | A kind of method and device of the verifying of user's operation | |
CN106878341A (en) | The vulnerability scanning method and device of the network equipment | |
CN111880508A (en) | Automatic calibration and test method and device for T-box parameters | |
CN109885037A (en) | A kind of method and relevant device of vehicle diagnostics | |
CN109407651A (en) | The control method and device of vehicle | |
CN108297825A (en) | VATS Vehicle Anti-Theft System, intelligent key system and anti-stealing method for vehicles | |
CN101753370A (en) | System and method for detecting usability of certification process for broadband access user | |
CN109831515A (en) | The test method and test signal generation device of tire on-line detecting system |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200415 Address after: 100130 Zhaofeng Town, Shunyi District, Beijing Zhaofeng industrial base Tongxin Road No. 1 Applicant after: BAIC GROUP ORV Co.,Ltd. Address before: 101300, 99, Shuanghe Avenue, Renhe Town, Beijing, Shunyi District Applicant before: BEIJING AUTOMOBILE RESEARCH GENERAL INSTITUTE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |