CN109542473A - The method for updating program of on board unit, device and system - Google Patents
The method for updating program of on board unit, device and system Download PDFInfo
- Publication number
- CN109542473A CN109542473A CN201710849478.5A CN201710849478A CN109542473A CN 109542473 A CN109542473 A CN 109542473A CN 201710849478 A CN201710849478 A CN 201710849478A CN 109542473 A CN109542473 A CN 109542473A
- Authority
- CN
- China
- Prior art keywords
- board unit
- update
- program
- data packet
- new equipment
- 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
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- 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
-
- 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/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Abstract
The present invention provides a kind of method for updating program of on board unit, device and system.Method includes: that on board unit receives the update program data packet that more new equipment is sent by wireless signal;The on board unit stores the update program data packet to the data storage area of micro-control unit MCU processor;The on board unit receives the reset instruction that the more new equipment is sent;The on board unit runs the bootstrap, code memory block is written from the data storage area in the update program data packet, and after write-in code memory block finishes, triggering runs the application program;The on board unit runs the application program, includes the update program data packet in the code memory block in the application program.Family can be used to carry out program update simultaneously to multiple on board units using wireless signal for the above method, improve the update efficiency of program on board unit.
Description
Technical field
The present invention relates to the communication technology more particularly to a kind of method for updating program of on board unit, device and system.
Background technique
Electronic toll collection (Electronic Toll Collection, abbreviation ETC) is more advanced at present
Toll on the road and bridge's mode;The system is the on board unit (On Board Unit, abbreviation OBU) and charge by being installed on vehicle
The microwave special short-range communication stood between the drive test unit (Road Side Unit, abbreviation RSU) set up on the lane ETC, and
Computer Networking and bank carry out the processing mode of backstage clearing, reach vehicle by being not required to parking when toll on the road and bridge station i.e.
The purpose of road and bridge expense can be paid.As intelligent transport technology is constantly mature, the achievable function of OBU is also more and more, therefore, needs
The program in OBU is wanted to be updated according to demand.
In the prior art, usually the equipment for being loaded with more new procedures is connected to by data line and is specifically used to update on OBU
On the interface of program, to complete the update to program in OBU.
It is not readily removable since OBU is installed on vehicle but when stating mode in use and being updated to program in OBU
It unloads, user needs into the car, then connects OBU and the equipment for being loaded with more new procedures by data line, could complete
Update to program in OBU updates inefficient.
Summary of the invention
The present invention provides a kind of method for updating program of on board unit, device and system, updates to improve program in OBU
Efficiency.
In a first aspect, the present invention provides a kind of method for updating program of on board unit, comprising:
On board unit receives the update program data packet that more new equipment is sent by wireless signal;The on board unit is by institute
Update program data packet is stated to store to the data storage area of micro-control unit MCU processor;The on board unit reception is described more
The reset instruction that new equipment is sent, the reset instruction are used to indicate the on board unit operation bootstrap, the vehicle-mounted list
It include the bootstrap and application program in member;The on board unit runs the bootstrap, will the more new procedures
Code memory block is written from the data storage area in data packet, and after write-in code memory block finishes, described in triggering operation
Application program;The on board unit runs the application program, in the application program comprising in the code memory block more
New procedures data packet.
In the first possible embodiment of first aspect, the on board unit receives more new equipment and passes through wireless communication
Before number update program data packet sent, further includes: the on board unit receives the update request that the more new equipment is sent;
The on board unit is sent to the more new equipment updates response, and the mark updated in response comprising the on board unit is believed
Breath, the update response, which is used to indicate the on board unit, allows more new procedures.
According to the first possible implementation of first aspect, in second of possible implementation of first aspect
In, the identification information of the on board unit is the number information of the on board unit.
According to the first possible implementation of first aspect, in the third possible implementation of first aspect
In, the on board unit receives before the update program data packet that more new equipment is sent by wireless signal, further includes: the vehicle
Carrier unit receives the more new equipment and sends encrypted authentication request;The on board unit is added according to the encrypted authentication request
Close authentication operation, and encryption authentication response is sent to the more new equipment, the encryption authentication response is used to indicate the encryption
Whether certification passes through.
The method according to any one of the third possible embodiment of first aspect to first aspect, first
In 4th kind of possible embodiment of aspect, the on board unit receives the update journey that more new equipment is sent by wireless signal
Sequence data packet, comprising: the on board unit receives more new equipment and passes through the more new procedures that dedicated short-range communication technology DSRC is sent
Data packet.
Second aspect, the present invention provide a kind of method for updating program of on board unit, comprising:
More new equipment, which is sent by wireless signal on board unit, updates program data packet;The update program data coating
The on board unit is stored to the data storage area of micro-control unit MCU processor;The more new equipment is to the on board unit
Reset instruction is sent, the reset instruction is used to indicate the on board unit and runs bootstrap in the on board unit;Institute
It states bootstrap to be run by the on board unit, the update program data packet is deposited from data storage area write-in code
Storage area, after write-in code memory block finishes, the bootstrap triggers the application program in the on board unit;It is described to answer
It is run with program by the on board unit, the update program data packet in the code memory block is included in the application program.
In the first possible embodiment of second aspect, the more new equipment passes through wireless signal on board unit
It sends before updating program data packet, further includes: the more new equipment is sent to the on board unit updates request;The update
Equipment receives the update response that the on board unit is sent, and includes the identification information of the on board unit in the update response,
The update response, which is used to indicate the on board unit, allows more new procedures.
According to the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, the identification information of the on board unit is the number information of the on board unit.
According to the first possible embodiment of second aspect, in the third possible embodiment of second aspect
In, the more new equipment is sent before updating program data packet by wireless signal on board unit, further includes: the update is set
It is standby to send encrypted authentication request to the on board unit, so that the on board unit is encrypted according to the encrypted authentication request
Authentication operation;The more new equipment receives the encryption authentication response that the on board unit is sent, and the encryption authentication response is used for
Indicate whether the encryption certification passes through.
The method according to any one of the third possible embodiment of second aspect to second aspect, second
In 4th kind of possible embodiment of aspect, the more new equipment, which is sent by wireless signal on board unit, updates program number
According to packet, comprising: the more new equipment, which is sent by dedicated short-range communication technology DSRC to the on board unit, updates program data
Packet.
According to the 4th of second aspect the kind of possible embodiment, in the 5th kind of possible embodiment of second aspect
In, the more new equipment, which is sent by wireless signal subpackage to the on board unit, updates program data packet.
The third aspect, the present invention provide a kind of program renewing device of on board unit, comprising:
Receiving module, the update program data packet sent for receiving more new equipment by wireless signal;Memory module, packet
The data storage area and code memory block for including micro-control unit MCU processor, for storing the update program data packet;It is described
Receiving module is also used to receive the reset instruction that the more new equipment is sent, and the reset instruction is used to indicate the on board unit
Run the bootstrap in guiding module;The guiding module, for storing the update program data packet from the data
Code memory block is written in area;And after write-in code memory block finishes, it is also used to trigger the application program in application module;Institute
Stating the application program in application module includes the update program data packet in the code memory block.
In the first possible embodiment of the third aspect, further includes: sending module;The receiving module is receiving
Before the update program data packet that the more new equipment is sent by wireless signal, it is also used to receive what the more new equipment was sent
Update request;The sending module is used for, and it includes the vehicle in the update response that Xiang Suoshu more new equipment, which is sent, which updates response,
The identification information of carrier unit, the update response, which is used to indicate the on board unit, allows more new procedures.
According to the first possible embodiment of the third aspect, in second of possible embodiment of the third aspect
In, the identification information of the on board unit is the number information of the on board unit.
According to the first possible embodiment of the third aspect, in the third possible embodiment of the third aspect
In, the receiving module is before receiving the update program data packet that more new equipment is sent by wireless signal, the reception mould
Block is also used to receive the encrypted authentication request that the more new equipment is sent;The sending module is also used to send out to the more new equipment
Encryption authentication response is sent, the encryption authentication response is used to indicate whether the encryption certification passes through.
The method according to any one of the third possible embodiment of the third aspect to the third aspect, in third
In 4th kind of possible embodiment of aspect, the receiving module is specifically used for reception more new equipment and passes through dedicated short-range communication
The update program data packet that technology DSRC is sent.
Fourth aspect, the present invention provide a kind of program renewing device of on board unit, comprising:
Sending module updates program data packet for sending by wireless signal on board unit;The update program number
It stores according to the on board unit is coated with to the data storage area of micro-control unit MCU processor;The sending module be also used to
The on board unit sends reset instruction, and the reset instruction is used to indicate the on board unit and runs in the on board unit
Bootstrap;The bootstrap is run by the on board unit, and the update program data packet is stored from the data
Code memory block is written in area, and after write-in code memory block finishes, the bootstrap is triggered in the on board unit
Application program;The application program is run by the on board unit, comprising in the code memory block in the application program
Update program data packet.
In the first possible embodiment of fourth aspect, further includes: receiving module;The sending module is passing through
Wireless signal is sent before updating program data packet to the on board unit, is also used to send to update to the on board unit and be asked
It asks;The receiving module is used to receive the update response that the on board unit is sent, and includes described vehicle-mounted in the update response
The identification information of unit, the update response, which is used to indicate the on board unit, allows more new procedures.
According to the first possible embodiment of fourth aspect, in second of possible embodiment of fourth aspect
In, the identification information of the on board unit is the number information of the on board unit.
According to the first possible embodiment of fourth aspect, in the third possible embodiment of fourth aspect
In, the sending module is also used to before sending update program data packet to the on board unit by wireless signal to institute
It states on board unit and sends encrypted authentication request, so that the on board unit carries out encryption certification behaviour according to the encrypted authentication request
Make;The receiving module is also used to receive the encryption authentication response that the on board unit is sent, and the encryption authentication response is used for
Indicate whether the encryption certification passes through.
The method according to any one of the third possible embodiment of fourth aspect to fourth aspect, the 4th
In 4th kind of possible embodiment of aspect, the sending module is specifically used for passing through dedicated short-range communication technology DSRC to institute
It states on board unit and sends and update program data packet.
According to the 4th of fourth aspect the kind of possible embodiment, in the 5th kind of possible embodiment of fourth aspect
In, the sending module, which is specifically used for sending by wireless signal subpackage on board unit, updates program data packet.
5th aspect, the present invention provides a kind of program updating system of on board unit, comprising: such as third aspect institute and such as the
The program renewing device of on board unit described in four aspects.
The method for updating program of on board unit provided by the invention, on board unit update equipment utilization wireless communication by receiving
Number update program data packet sent, and the update program data packet is stored to the data storage area of MCU processor, when vehicle-mounted
Unit all stores the data updated in program data packet to the data storage area of MCU processor, receives more new equipment hair
The reset instruction sent, the reset instruction indicate that the bootstrap on board unit brings into operation, so that program data packet will be updated
In data from MCU processor data storage area be written code memory block, write-in code memory block finish after, bootstrap
The application program operation on board unit is triggered, which has included in the update program data packet in code memory block
Data;So that user can carry out program update simultaneously to multiple on board units using wireless signal, on board unit is improved
The update efficiency of middle program.
Detailed description of the invention
The drawings herein are incorporated into the specification forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of the embodiment one of the method for updating program of on board unit provided by the invention;
Fig. 2 is the flow chart of the embodiment two of the method for updating program of on board unit provided by the invention;
Fig. 3 is the flow chart of the embodiment three of the method for updating program of on board unit provided by the invention;
Fig. 4 is the structural schematic diagram of the embodiment one of the program renewing device of on board unit provided by the invention;
Fig. 5 is the structural schematic diagram of the embodiment two of the program renewing device of on board unit provided by the invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In the prior art, usually the equipment for being loaded with more new procedures is connected to by data line and is specifically used to update on OBU
On the interface of program, to complete the update to program in OBU.But mode is stated in use, program in OBU is updated
When, not easy to disassemble since OBU is installed on vehicle, user needs into the car, then by OBU and to be loaded with more by data line
The equipment of new procedures connects, and could complete the update to program in OBU, updates inefficient.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 1 is the flow chart of the embodiment one of the method for updating program of on board unit provided by the invention, as shown in Figure 1,
The method for updating program of on board unit provided in this embodiment may include:
Step 101, more new equipment, which are sent by wireless signal on board unit, updates program data packet.
Wherein, more new procedures are more loaded in new equipment, on board unit can pass through wirelessly to be any with more new equipment
Signal realizes the on board unit of communication, and the quantity of the on board unit can be multiple, that is to say, that more new equipment can be given simultaneously
Multiple on board units send program updated data package, and then complete the update of program in multiple on board units.
Optionally, on board unit can receive more new equipment by dedicated short-range communication technology (Dedicated Short
Range Communication, abbreviation DSRC) the update program data packet that sends, it also can receive more new equipment by infrared
Line (Infrared Radiation, abbreviation IR), bluetooth equipment (Bluetooth Device) and Wireless Fidelity (WIreless-
Fidelity, abbreviation WI-FI) etc. transmissions update program data packet.
Step 101 is specifically as follows: more new equipment, which is sent by wireless signal subpackage on board unit, updates program data
Packet;I.e. more new equipment can carry out subpackage processing according to the size for updating memory space shared by program data packet to it, and will update
Program data packet subpackage is sent on board unit, after more new equipment detects that last bag data is sent completely, shows to update
Program data packet is all sent on board unit.
Step 102, the on board unit store the update program data packet to micro-control unit (Micro
Control Unit, abbreviation MCU) processor data storage area.
Wherein, after on board unit receives update program data packet, in order to not influence in the code memory block of MCU processor
The operation of original program can will update program data packet and first store to the data storage area of MCU processor.
Step 103, the more new equipment send reset instruction to the on board unit, and the reset instruction is used to indicate institute
It states on board unit and runs bootstrap in the on board unit.
It wherein, can be to vehicle-mounted list after the data updated in program data packet are all sent on board unit by more new equipment
Member sends reset instruction, which can indicate that on board unit runs bootstrap, which is used for will more new procedures
Code memory block is written from data storage area in data in data packet, is also used to the end of operation in above-mentioned write-in code memory block
Afterwards, the application program operation on board unit is triggered.
Step 104, the on board unit run the bootstrap according to the reset instruction received, will be described
It updates program data packet and code memory block is written from the data storage area, and after write-in code memory block finishes, triggering
Run the application program.
Wherein, after on board unit receives reset instruction, original program is no longer transported in the code memory block of MCU processor
It goes, but the code memory block is written into from data storage area in the data updated in program data packet by bootstrap, thus MCU
Program in the code memory block of processor is just updated.
Step 105, the on board unit run the application program, include the code memory block in the application program
In update program data packet.
The method for updating program of on board unit provided in this embodiment, on board unit are wireless by receiving update equipment utilization
The update program data packet that signal is sent, and the update program data packet is stored to the data storage area of MCU processor, work as vehicle
Carrier unit all stores the data updated in program data packet to the data storage area of MCU processor, receives more new equipment
The reset instruction of transmission, which indicates that the bootstrap on board unit brings into operation, so that program data will be updated
Code memory block is written from MCU processor data storage area in data in packet, after write-in code memory block finishes, guides journey
Sequence triggers the application program operation on board unit, and the application program has included the update program data packet in code memory block
In data so that user can using wireless signal to multiple on board units simultaneously carry out program update, improve vehicle-mounted
The update efficiency of program in unit.
Fig. 2 is the flow chart of the embodiment two of the method for updating program of on board unit provided by the invention, and the present embodiment exists
On the basis of method shown in Fig. 1, as shown in Fig. 2, before step 101, the method for the present embodiment can also include:
Step 106, the more new equipment are sent to the on board unit updates request.
Wherein, the update request that more new equipment is sent on board unit can meet for more new equipment to what on board unit was sent
The request data of the fixed format of beacon service table (Beacon Service Table, abbreviation BST).
Step 107, the on board unit are sent to the more new equipment updates response, comprising described in the update response
The identification information of on board unit, the update response, which is used to indicate the on board unit, allows more new procedures.
Wherein, on board unit sends to update to more new equipment and responds and can meet vehicle to device replied is updated on board unit
The response data of the fixed format of agent list (Vehicle Service Table, abbreviation VST);It is wrapped in above-mentioned update response
Identification information containing on board unit, the identification information can be the number information of on board unit.
The method for updating program of on board unit provided in this embodiment, on board unit pass through wireless communication in reception more new equipment
Number send update program data packet before, by receive more new equipment send update request, then to more new equipment return
Update response comprising on board unit identification information, the volume of each on board unit for needing to carry out program update is known at usable family
Number information and need to carry out program update on board unit quantity.
Fig. 3 is the flow chart of the embodiment three of the method for updating program of on board unit provided by the invention, and the present embodiment exists
On the basis of method shown in Fig. 2, as shown in figure 3, before step 101, the method for the present embodiment can also include:
Step 108, the more new equipment send encrypted authentication request to the on board unit, so that the on board unit root
Encryption authentication operation is carried out according to the encrypted authentication request.
Step 109, the on board unit carry out encryption authentication operation according to the encrypted authentication request, and to the update
Equipment sends encryption authentication response, and the encryption authentication response is used to indicate whether the encryption certification passes through.
Optionally, a connection password can be preset in more new equipment, then sends encrypted authentication request on board unit,
The encrypted authentication request for requesting each on board unit to input above-mentioned connection password, if on board unit have input correctly connect it is close
Code, on board unit return to encryption authentication response to more new equipment, which carries certification success message, more new equipment
After receiving the response, is sent on board unit and update program data packet;If the connection password mistake of on board unit input, vehicle-mounted
Unit carries the message of authentification failure into the encryption authentication response that more new equipment returns, and more new equipment just will not be on board unit
It sends and updates program data packet.
The method for updating program of on board unit provided in this embodiment, on board unit receive more new equipment and pass through wireless signal
Before the update program data packet of transmission, the encrypted authentication request sent by receiving more new equipment, and authenticated according to the encryption
Request carries out encryption authentication operation, so that the on board unit that user may be selected to pass through to certification sends and updates program data packet, mentions
The safety that high program updates.
Fig. 4 is the structural schematic diagram of the embodiment one of the program renewing device of on board unit provided by the invention.Such as Fig. 4 institute
Show, the program renewing device of on board unit provided in this embodiment, comprising: receiving module 10, memory module 12, guiding module 13
With application module 14;
Wherein, receiving module 10, the update program data packet sent for receiving more new equipment by wireless signal;
Memory module 12, data storage area and code memory block including MCU processor update program data for storing
Packet;
Receiving module 10 is also used to receive the reset instruction that more new equipment is sent, which is used to indicate on board unit
Run the bootstrap in guiding module 13;
Code memory block is written from the data storage area of MCU processor for that will update program data packet in guiding module 13;
After write-in code memory block finishes, it is also used to trigger the application program in application module 14;
Application module 14, including application program, and comprising updating program number in above-mentioned code memory block in the application program
According to the data in packet.
The program renewing device of on board unit provided in this embodiment can be used for executing embodiment of the method shown in Fig. 1
Technical solution, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Optionally, the program renewing device of above-mentioned on board unit can also include sending module 11;Receiving module 10 exists
Before receiving the update program data packet that more new equipment is sent by wireless signal, it is also used to receive the update of more new equipment transmission
Request;Sending module 11, which is used to send to more new equipment, updates response, includes the identification information of on board unit in update response,
And it updates response and is used to indicate on board unit permission more new procedures.The identification information of above-mentioned on board unit can be on board unit
Number information.
Optionally, receiving module 10 is before receiving the update program data packet that sends by wireless signal of more new equipment,
The receiving module 10 can also be used to receive the encrypted authentication request that more new equipment is sent;Sending module 11 can also be used to set to update
Preparation send encryption authentication response, which is used to indicate whether encryption certification passes through.
Optionally, receiving module 10 can receive more new equipment by dedicated short-range communication technology (Dedicated Short
Range Communication, abbreviation DSRC) the update program data packet that sends, it also can receive more new equipment by infrared
Line (Infrared Radiation, abbreviation IR), bluetooth equipment (Bluetooth Device), Wireless Fidelity (WIreless-
Fidelity, abbreviation WI-FI) etc. transmissions update program data packet.
The program renewing device of on board unit provided in this embodiment can be used for executing the implementation of method shown in Fig. 2 or Fig. 3
On board unit side corresponding the step of completing in example, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 5 is the structural schematic diagram of the embodiment two of the program renewing device of on board unit provided by the invention.Such as Fig. 5 institute
Show, program renewing device provided in this embodiment, comprising: sending module 16;
Wherein, sending module 16 update program data packet for sending by wireless signal on board unit;The update journey
Ordinal number is stored according to coating on board unit to the data storage area of MCU processor;
Sending module 16 is also used to send reset instruction on board unit, which is used to indicate on board unit operation
Bootstrap on board unit;The bootstrap is run by board unit, will update program data packet from data storage area
Code memory block is written, and after write-in code memory block finishes, bootstrap triggers the application program on board unit;It should
Application program is run by board unit, and the update program data packet in code memory block is included in above-mentioned application program.
The program renewing device of on board unit provided in this embodiment can be used for executing embodiment of the method shown in Fig. 1
Technical solution, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Optionally, the program renewing device of above-mentioned on board unit can also include receiving module 15;Sending module 16 is logical
It crosses wireless signal to send before updating program data packet on board unit, is also used to send to update on board unit and request;It is above-mentioned
Receiving module 15 is used to receive the update response of on board unit transmission, includes the identification information of on board unit in update response,
And update response and be used to indicate on board unit permission more new procedures, the identification information of above-mentioned on board unit can be on board unit
Number information.
Optionally, sending module 16 is also used before sending update program data packet on board unit by wireless signal
In sending encrypted authentication request on board unit, so that on board unit carries out encryption authentication operation according to the encrypted authentication request;
Above-mentioned receiving module 15 is also used to receive the encryption authentication response of on board unit transmission, which is used to indicate encryption
Whether certification passes through.
Optionally, above-mentioned sending module 16 can be specifically used for sending more new procedures on board unit by wireless signal subpackage
Data packet.
Optionally, above-mentioned sending module 16 can pass through dedicated short-range communication technology (Dedicated Short Range
Communication, abbreviation DSRC) on board unit transmission update program data packet, infrared ray (Infrared can also be passed through
Radiation, abbreviation IR), bluetooth equipment (Bluetooth Device), Wireless Fidelity (WIreless-Fidelity, referred to as
) etc. WI-FI sent on board unit and update program data packet.
The program renewing device of on board unit provided in this embodiment can be used for executing the implementation of method shown in Fig. 2 or Fig. 3
On board unit side corresponding the step of completing in example, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are wanted by right
Book is asked to point out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claims
System.
Claims (23)
1. a kind of method for updating program of on board unit characterized by comprising
On board unit receives the update program data packet that more new equipment is sent by wireless signal;
The on board unit stores the update program data packet to the data storage area of micro-control unit MCU processor;
The on board unit receives the reset instruction that the more new equipment is sent, and the reset instruction is used to indicate the vehicle-mounted list
Member runs bootstrap, includes the bootstrap and application program in the on board unit;
The on board unit runs the bootstrap, and generation is written from the data storage area in the update program data packet
Code memory block, and after write-in code memory block finishes, triggering runs the application program;
The on board unit runs the application program, includes the more new procedures in the code memory block in the application program
Data packet.
2. the method according to claim 1, wherein the on board unit, which receives more new equipment, passes through wireless signal
Before the update program data packet of transmission, further includes:
The on board unit receives the update request that the more new equipment is sent;
The on board unit is sent to the more new equipment updates response, includes the mark of the on board unit in the update response
Know information, the update response, which is used to indicate the on board unit, allows more new procedures.
3. according to the method described in claim 2, it is characterized in that, the identification information of the on board unit is the on board unit
Number information.
4. according to the method described in claim 2, it is characterized in that, the on board unit, which receives more new equipment, passes through wireless signal
Before the update program data packet of transmission, further includes:
The on board unit receives the more new equipment and sends encrypted authentication request;
The on board unit carries out encryption authentication operation according to the encrypted authentication request, and sends and encrypt to the more new equipment
Authentication response, the encryption authentication response are used to indicate whether the encryption certification passes through.
5. method according to claim 1-4, which is characterized in that the on board unit receives more new equipment and passes through
The update program data packet that wireless signal is sent, comprising:
The on board unit receives more new equipment and passes through the update program data packet that dedicated short-range communication technology DSRC is sent.
6. a kind of method for updating program of on board unit characterized by comprising
More new equipment, which is sent by wireless signal on board unit, updates program data packet;Described in the update program data coating
On board unit is stored to the data storage area of micro-control unit MCU processor;
The more new equipment sends reset instruction to the on board unit, and the reset instruction is used to indicate the on board unit fortune
Bootstrap in the row on board unit;The bootstrap is run by the on board unit, by the update program number
Code memory block is written from the data storage area according to packet, after write-in code memory block finishes, the bootstrap triggering
Application program in the on board unit;The application program is run by the on board unit, includes institute in the application program
State the update program data packet in code memory block.
7. according to the method described in claim 6, it is characterized in that, the more new equipment is sent out by wireless signal on board unit
It send before updating program data packet, further includes:
The more new equipment is sent to the on board unit updates request;
The more new equipment receives the update response that the on board unit is sent, and includes the on board unit in the update response
Identification information, update response, which is used to indicate the on board unit, allows more new procedures.
8. the method according to the description of claim 7 is characterized in that the identification information of the on board unit is the on board unit
Number information.
9. the method according to the description of claim 7 is characterized in that the more new equipment is sent out by wireless signal on board unit
It send before updating program data packet, further includes:
The more new equipment sends encrypted authentication request to the on board unit, so that the on board unit is recognized according to the encryption
Card request carries out encryption authentication operation;
The more new equipment receives the encryption authentication response that the on board unit is sent, and the encryption authentication response is used to indicate institute
State whether encryption certification passes through.
10. the method according to claim 6, which is characterized in that the more new equipment by wireless signal to
On board unit, which is sent, updates program data packet, comprising:
The more new equipment, which is sent by dedicated short-range communication technology DSRC to the on board unit, updates program data packet.
11. according to the method described in claim 10, it is characterized in that, the more new equipment passes through wireless signal on board unit
It sends and updates program data packet, comprising:
The more new equipment, which is sent by wireless signal subpackage to the on board unit, updates program data packet.
12. a kind of program renewing device of on board unit characterized by comprising
Receiving module, the update program data packet sent for receiving more new equipment by wireless signal;
Memory module, data storage area and code memory block including micro-control unit MCU processor, for storing the update
Program data packet;
The receiving module is also used to receive the reset instruction that the more new equipment is sent, and the reset instruction is used to indicate described
On board unit runs the bootstrap in guiding module;
The guiding module, for code memory block to be written from the data storage area in the update program data packet;And
After write-in code memory block finishes, it is also used to trigger the application program in application module;
Application program in the application module includes the update program data packet in the code memory block.
13. program renewing device according to claim 12, which is characterized in that further include: sending module;
The receiving module is also used to before receiving the update program data packet that the more new equipment is sent by wireless signal
Receive the update request that the more new equipment is sent;
The sending module is used for, and it includes the vehicle-mounted list in the update response that Xiang Suoshu more new equipment, which is sent, which updates response,
The identification information of member, the update response, which is used to indicate the on board unit, allows more new procedures.
14. program renewing device according to claim 13, which is characterized in that the identification information of the on board unit is institute
State the number information of on board unit.
15. program renewing device according to claim 13, which is characterized in that
The receiving module is before receiving the update program data packet that more new equipment is sent by wireless signal, the reception mould
Block is also used to receive the encrypted authentication request that the more new equipment is sent;
The sending module is also used to send encryption authentication response to the more new equipment, and the encryption authentication response is used to indicate
Whether the encryption certification passes through.
16. the described in any item program renewing devices of 2-15 according to claim 1, which is characterized in that
The receiving module is specifically used for receiving the update program number that more new equipment passes through dedicated short-range communication technology DSRC transmission
According to packet.
17. a kind of program renewing device of on board unit characterized by comprising sending module, for by wireless signal to
On board unit, which is sent, updates program data packet;The update program data is coated with the on board unit and stores to micro-control unit
The data storage area of MCU processor;
The sending module is also used to send reset instruction to the on board unit, and the reset instruction is used to indicate described vehicle-mounted
Unit runs the bootstrap in the on board unit;The bootstrap is run by the on board unit, by the update
Code memory block is written from the data storage area in program data packet, and after write-in code memory block finishes, the guidance
Program triggers the application program in the on board unit;The application program is run by the on board unit, the application program
In include the update program data packet in the code memory block.
18. program renewing device according to claim 17, which is characterized in that further include: receiving module;
The sending module is also used to before sending update program data packet to the on board unit by wireless signal to institute
It states on board unit and sends and update request;
The receiving module is used to receive the update response that the on board unit is sent, and includes described vehicle-mounted in the update response
The identification information of unit, the update response, which is used to indicate the on board unit, allows more new procedures.
19. program renewing device according to claim 18, which is characterized in that the identification information of the on board unit is institute
State the number information of on board unit.
20. program renewing device according to claim 18, which is characterized in that
The sending module is also used to before sending update program data packet to the on board unit by wireless signal to institute
It states on board unit and sends encrypted authentication request, so that the on board unit carries out encryption certification behaviour according to the encrypted authentication request
Make;
The receiving module is also used to receive the encryption authentication response that the on board unit is sent, and the encryption authentication response is used for
Indicate whether the encryption certification passes through.
21. the described in any item program renewing devices of 7-20 according to claim 1, which is characterized in that
The sending module, which is specifically used for sending by dedicated short-range communication technology DSRC to the on board unit, updates program number
According to packet.
22. program renewing device according to claim 21, which is characterized in that
The sending module, which is specifically used for sending by wireless signal subpackage on board unit, updates program data packet.
23. a kind of program updating system of on board unit, which is characterized in that including program as claimed in claim 16 more new clothes
It sets and the program renewing device described in claim 22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710849478.5A CN109542473A (en) | 2017-09-20 | 2017-09-20 | The method for updating program of on board unit, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710849478.5A CN109542473A (en) | 2017-09-20 | 2017-09-20 | The method for updating program of on board unit, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542473A true CN109542473A (en) | 2019-03-29 |
Family
ID=65827421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710849478.5A Pending CN109542473A (en) | 2017-09-20 | 2017-09-20 | The method for updating program of on board unit, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542473A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111145368A (en) * | 2019-12-26 | 2020-05-12 | 北京万集科技股份有限公司 | Method and device for updating and processing label information of vehicle-mounted electronic label equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312786A (en) * | 2013-05-17 | 2013-09-18 | 广州市雄兵汽车电器有限公司 | Vehicle-mounted terminal remote upgrading method and car networking system |
CN104468784A (en) * | 2014-12-05 | 2015-03-25 | 北京速通科技有限公司 | System and method for achieving vehicle-mounted unit software upgrade through DSRC interface |
US20160162284A1 (en) * | 2014-12-09 | 2016-06-09 | Xiaomi Inc. | Method and device for upgrading firmware |
-
2017
- 2017-09-20 CN CN201710849478.5A patent/CN109542473A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312786A (en) * | 2013-05-17 | 2013-09-18 | 广州市雄兵汽车电器有限公司 | Vehicle-mounted terminal remote upgrading method and car networking system |
CN104468784A (en) * | 2014-12-05 | 2015-03-25 | 北京速通科技有限公司 | System and method for achieving vehicle-mounted unit software upgrade through DSRC interface |
US20160162284A1 (en) * | 2014-12-09 | 2016-06-09 | Xiaomi Inc. | Method and device for upgrading firmware |
Non-Patent Citations (2)
Title |
---|
朱灵等: "汽车ECU远程更新车载平台硬件设计", 《电子测量技术》 * |
陈长顺,ISBN号 :978-7-81124-799-2: "《嵌入式技术基础》", 31 August 2009 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111145368A (en) * | 2019-12-26 | 2020-05-12 | 北京万集科技股份有限公司 | Method and device for updating and processing label information of vehicle-mounted electronic label equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106470049B (en) | NFC device and near field communication method with multiple safety elements | |
CN104574530B (en) | Method and system, mobile terminal and the OBU supplemented with money to OBU by mobile terminal | |
US9483886B2 (en) | Method and system for remote access control | |
JP2003235076A5 (en) | ||
CN107730641A (en) | Issue online and activate device, mobile unit, terminal and the backstage of board units | |
CA2975517C (en) | Method and devices for transmitting a secured data package to a communication device | |
CN105989631A (en) | Socialized OBU (On Board unit) issuing method and communication device | |
CN106415591B (en) | Electronic equipment, system and method for NFC | |
CN104869525B (en) | The system for wirelessly sending and receiving electric power | |
CN103404099A (en) | Managing communication channels in a telecommunication device coupled to an NFC circuit | |
CN110572821B (en) | Method and system for activating vehicle-mounted unit | |
CN102096952A (en) | Method and device for realizing electronic toll collection concurrent transaction | |
CN102136161A (en) | Releasing equipment, system and method for ETC (Electronic Toll Collection) on board unit | |
CN102194085B (en) | The method of issued transaction is carried out by NFC device | |
CN107564175A (en) | One kind moves back chucking method, moves back card terminal, mobile network operating side and reimbursement terminal | |
CN109040255A (en) | Internet of things equipment cut-in method, device, equipment and storage medium | |
ES2787215T3 (en) | Mobile communication device supported by a cloud-based computing system | |
CN109542473A (en) | The method for updating program of on board unit, device and system | |
CN109451483A (en) | ESIM data processing method, equipment and readable storage medium storing program for executing | |
CN104717599A (en) | NFC event reporting method for mobile terminal and device | |
CN109756553A (en) | Communication means, vehicular communication equipment and system and computer-readable medium | |
CN108944542A (en) | A kind of charging station knowledge method for distinguishing executing electric vehicle charging | |
CN105103180B (en) | Method for handling the distribution of mobile credit card | |
JP2008521310A (en) | Grant and use of rights over telecommunication networks | |
CN113064725B (en) | Virtual resource transfer method, vehicle-mounted unit, storage medium and electronic device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 101300 room 015, building 8, No. 1, Linkong Second Road, Shunyi Park, Zhongguancun Science and Technology Park, Shunyi District, Beijing Applicant after: BEIJING JULI TECHNOLOGY Co.,Ltd. Address before: 102206, B, 504, Xinyuan Science Park, 97 Changping Road, Beijing, Changping District Applicant before: BEIJING JULI SCIENCE & TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |