A kind of method and system of the activation line OBU based on hand-held set terminal
Technical field
The present invention relates to OBU activation field more particularly to a kind of activation line OBU based on hand-held set terminal method and
System.
Background technique
The abbreviation of OBU, that is, On board Unit, essence are on board unit, and OBU is mounted on automobile, roadside erection road
It surveys unit (RSU-Road Side Unit), communicates the two by microwave between each other, it is real in the case where not parking
Existing testing vehicle register identification, electronics are deducted fees, and realization is not parking, exempts from card taking, establish unattended porte-cochere.The sale of OBU at present
Installation is substantially all to be acted on behalf of by bank outlets.And the activation of OBU needs the process of an authentication, in the activation for OBU
When to guarantee that OBU identity is legal, simultaneously because each site of bank is more dispersed, need to guarantee network facilitate access,
Real-time and reliability will also meet the administrative convenience of safety equipment.But the reality verified in current OBU activation
Shi Xingyu reliability is lower.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of based on hand-held set terminal
The method that line activates OBU can solve the real-time and the lower problem of reliability verified in current OBU activation.
The second object of the present invention is to provide the system of activation line OBU based on hand-held set terminal a kind of, can solve
The real-time and the lower problem of reliability verified in certainly current OBU activation.
The present invention provides the first purpose and is implemented with the following technical solutions:
A method of the activation line OBU based on hand-held set terminal, the hand-held set terminal and the OBU establish logical
Letter, the OBU are built-in with PSAM card, comprising:
The verifying of PSAM card, the hand-held set terminal obtain the PSAM card number of the PSAM card by the OBU, will be described
PSAM card number is sent to activation line service identities certification end, and the PSAM card is verified in activation line service identities certification end
Number whether in the white list prestored, if so, generating random number, and the random number is sent to hand-held set terminal, if it is not,
Then terminate activation;
Identifying code identification, the random number is sent to the PSAM card by the OBU by the hand-held set terminal, described
PSAM card is verified code according to random number calculating, and the identifying code is sent to online by the hand-held set terminal
Activate service key to verify end, the activation line service key verify end verify the identifying code and prestore identifying code whether one
It causes, if so, sending success flag to the hand-held set terminal, if it is not, then terminating activation;
Information of vehicles decryption, when the hand-held set terminal receives success flag, described in the hand-held set terminal acquisition
The information of vehicles encrypted stored in OBU, and the information of vehicles is sent to activation line server-side, activation line service
The information of vehicles is decrypted at end, and the information of vehicles is sent to hand-held set terminal display;
OBU is activated, the hand-held set terminal calculates the parameter of MAC, and the parameter is sent to activation line server-side,
MAC code is calculated according to the parameter in activation line server-side, and the MAC code is sent to hand-held set terminal, the hand
It holds machine terminal and the state of activation of the OBU is revised as by state of activation according to the MAC code.
Further, before the activation OBU further include: uploading pictures, the hand-held set terminal obtain and described OBU pairs
The vehicle photo and customer information photo answered, and by the vehicle photo and the customer information photo upload to activation line
Server-side, the activation line server-side store the vehicle photo and the customer information photo.
Further, after the activation OBU further include: the audit of vehicle photo, activation line server-side extract the vehicle
Vehicle parameter information in photo, and the vehicle parameter information is prestored into parameter letter with the vehicle for prestoring public security bureau's vehicle library
Breath is compared, if comparing successfully, audit passes through, and is checked;If comparing failure, information warning is sent to client's end
End.
Further, the review specifically: activation line server-side extracts the letter of the client in the customer information photo
Breath, activation server-side be with the vehicle parameter information and the customer information by the information of vehicles be compared, if than
To success, then audit passes through, if comparison is unsuccessful, the audit fails, and activation line service sends information warning to client's end
End.
Further, the information of vehicles includes license plate number, license plate color, vehicle, customer name, passport NO., described
Vehicle parameter information includes real scene shooting license plate number, real scene shooting license plate color, real scene shooting vehicle;The customer information includes real scene shooting customer name
And real scene shooting passport NO..
Further, described to believe the information of vehicles and the vehicle parameter information and the client in activation server-side
Breath is to be compared specifically: activation line server-side by the information of vehicles license plate number, license plate color, vehicle with it is described
Real scene shooting license plate number, real scene shooting license plate color, real scene shooting vehicle in vehicle parameter information are compared, by the visitor in the information of vehicles
Family name, passport NO. in the customer information real scene shooting customer name and real scene shooting passport NO. be compared.
The present invention provides the first purpose and is implemented with the following technical solutions:
A kind of system of the activation line OBU based on hand-held set terminal, the OBU are built-in with PSAM card, comprising: hand-held set
Terminal, activation line service identities certification end, activation line service key verify end, activation line server-side, the hand-held set
Terminal is communicated with OBU foundation, and the hand-held set terminal obtains the PSAM card number of the PSAM card by the OBU, by institute
It states PSAM card number and is sent to activation line service identities certification end, the PSAM is verified in activation line service identities certification end
The random number if so, generating random number, and is sent to hand-held set terminal whether in the white list prestored by card number, if
It is no, then terminate activation;The random number is sent to the PSAM card, the PSAM by the OBU by the hand-held set terminal
Card is verified code according to random number calculating, and the identifying code is sent to activation line by the hand-held set terminal
Service key verifies end, and the activation line service key verifies that the identifying code is verified at end and whether prestore identifying code consistent,
If so, sending success flag to the hand-held set terminal, if it is not, then terminating activation;When the hand-held set terminal is received into
When function identifies, the hand-held set terminal obtains the information of vehicles encrypted stored in the OBU, and the information of vehicles is sent out
It send to activation line server-side, activation line server-side decrypts the information of vehicles, and the information of vehicles is sent to hand-held
Machine terminal display;The hand-held set terminal calculates the parameter of MAC, and the parameter is sent to activation line server-side, online
It activates server-side that MAC code is calculated according to the parameter, and the MAC code is sent to hand-held set terminal, the hand-held set
The state of activation of the OBU is revised as state of activation according to the MAC code by terminal.
Further, it is communicated between the hand-held set terminal and the OBU by wireless module foundation.
Further, the wireless module is 2G module, 3G module, 4G module.
Compared with prior art, the beneficial effects of the present invention are: a kind of online based on hand-held set terminal of the invention swashs
The method of OBU living, the PSAM card number of PSAM card is obtained including hand-held set terminal by OBU, PSAM card number is sent to online sharp
PSAM card number is verified whether in the white list prestored in service identities certification end living, activation line service identities certification end, if so,
Random number is then generated, and random number is sent to hand-held set terminal, if it is not, then terminating activation;Hand-held set terminal leads to random number
It crosses OBU and is sent to PSAM card, PSAM card is verified code according to random number calculating, and identifying code is sent by hand-held set terminal
To activation line service key verify end, activation line service key verify end authentication code and prestore identifying code whether one
It causes, if so, sending success flag to hand-held set terminal, if it is not, then terminating activation;Information of vehicles decryption, when hand-held set terminal
When receiving success flag, hand-held set terminal obtains the information of vehicles encrypted stored in OBU, and information of vehicles is sent to
Activation line server-side, activation line server-side decrypts information of vehicles, and information of vehicles is sent to hand-held set terminal display;Hand
It holds machine terminal and calculates the parameter of MAC, and parameter is sent to activation line server-side, activation line server-side is calculated according to parameter
MAC code is obtained, and MAC code is sent to hand-held set terminal, the state of activation of OBU is revised as by hand-held set terminal according to MAC code
State of activation.The real-time activation to OBU is finally realized by the multiple-authentication to the PSAM in OBU, keeps OBU activation real
Existing activation line, reliability is stronger, and real-time is higher.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention and the accompanying drawings.
A specific embodiment of the invention is shown in detail by following embodiment and its attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for activation line OBU based on hand-held set terminal of the invention
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
As shown in Figure 1, the method for activation line OBU based on hand-held set terminal of the invention a kind of, hand-held set terminal with
OBU establishes communication, and OBU is built-in with PSAM card, specifically includes the following steps:
The verifying of PSAM card, hand-held set terminal are obtained the PSAM card number of PSAM card by OBU, PSAM card number are sent to online
Service identities certification end is activated, PSAM card number is verified whether in the white list prestored in activation line service identities certification end, if
It is then to generate random number, and random number is sent to hand-held set terminal, if it is not, then terminating activation;White list at this time is body
The PSAM card number list of part safety.
Random number is sent to PSAM card by OBU by identifying code identification, hand-held set terminal, and PSAM card is calculated according to random number
It is verified code, and identifying code is sent to activation line service key by hand-held set terminal and verifies end, activation line service
Key verifies end authentication code and whether prestore identifying code consistent, if so, transmission success flag is to hand-held set terminal, if
It is no, then terminate activation;
Information of vehicles decryption, when hand-held set terminal receives success flag, hand-held set terminal is obtained in OBU and is stored
The information of vehicles of encryption, and information of vehicles is sent to activation line server-side, activation line server-side decrypts information of vehicles, and
Information of vehicles is sent to hand-held set terminal display;In the present embodiment, information of vehicles includes license plate number, license plate color, vehicle, visitor
Family name, passport NO..
Uploading pictures, hand-held set terminal obtains vehicle photo corresponding with OBU and customer information photo, and vehicle is shone
Piece and customer information photo upload are to activation line server-side, and activation line server-side stores vehicle photo and customer information is shone
Piece.
OBU is activated, hand-held set terminal calculates the parameter of MAC, and parameter is sent to activation line server-side, activation line
MAC code is calculated according to parameter in server-side, and MAC code is sent to hand-held set terminal, and hand-held set terminal will according to MAC code
The state of activation of OBU is revised as state of activation.
The audit of vehicle photo, activation line server-side extract the vehicle parameter information in vehicle photo, and by vehicle parameter
Information prestores parameter information with the vehicle for prestoring public security bureau's vehicle library and is compared, if comparing successfully, audit passes through, and is answered
Core;If comparing failure, information warning is sent to client terminal.In the present embodiment, it checks specifically: activation line server-side
The customer information in customer information photo is extracted, is by information of vehicles and vehicle parameter information and customer information in activation server-side
It is compared, if comparing successfully, audit passes through, if comparison is unsuccessful, the audit fails, and activation line service sends warning
Information is to client terminal.In the present embodiment, vehicle parameter information includes real scene shooting license plate number, real scene shooting license plate color, real scene shooting vehicle;Visitor
Family information includes real scene shooting customer name and real scene shooting passport NO..Activation server-side by information of vehicles and vehicle parameter information and
Customer information is to be compared specifically: activation line server-side is by license plate number, license plate color, vehicle and the vehicle in information of vehicles
Real scene shooting license plate number, real scene shooting license plate color, real scene shooting vehicle in parameter information are compared, by client's surname in information of vehicles
Name, passport NO. in customer information real scene shooting customer name and real scene shooting passport NO. be compared.
The present embodiment additionally provides the system of activation line OBU based on hand-held set terminal a kind of, and OBU is built-in with PSAM
Card, specifically includes: hand-held set terminal, activation line service identities certification end, activation line service key verify end, activation line
Server-side, hand-held set terminal are communicated with OBU foundation, and hand-held set terminal obtains the PSAM card number of PSAM card by OBU, by PSAM card
Number it is sent to activation line service identities certification end, whether verifying PSAM card number in activation line service identities certification end is prestoring
In white list, if so, generating random number, and random number is sent to hand-held set terminal, if it is not, then terminating activation;Hand-held set
Random number is sent to PSAM card by OBU by terminal, and PSAM card is verified code according to random number calculating, and identifying code is passed through
Hand-held set terminal is sent to activation line service key and verifies end, and activation line service key is verified end authentication code and prestored
Whether identifying code is consistent, if so, sending success flag to hand-held set terminal, if it is not, then terminating activation;When hand-held set terminal connects
When receiving success flag, hand-held set terminal obtains the information of vehicles encrypted stored in OBU, and information of vehicles is sent to
Line activates server-side, and activation line server-side decrypts information of vehicles, and information of vehicles is sent to hand-held set terminal display;It is hand-held
Machine terminal calculates the parameter of MAC, and MAC is the essential parameter for modifying OBU state of activation;Hand-held set terminal is by parameter
It is sent to activation line server-side, MAC code is calculated according to parameter in activation line server-side, and MAC code is sent to hand-held
The state of activation of OBU is revised as state of activation according to MAC code by machine terminal, hand-held set terminal.Between hand-held set terminal and OBU
It is established and is communicated by wireless module.Wireless module is 2G module, 3G module, 4G module.
The method of activation line OBU based on hand-held set terminal of the invention a kind of, including hand-held set terminal are obtained by OBU
PSAM card number is sent to activation line service identities certification end by the PSAM card number for taking PSAM card, and activation line service identities are recognized
End verifying PSAM card number is demonstrate,proved whether in the white list prestored, if so, generating random number, and random number is sent to hand-held set
Terminal, if it is not, then terminating activation;Random number is sent to PSAM card by OBU by hand-held set terminal, and PSAM card is according to nonce count
Calculation is verified code, and identifying code is sent to activation line service key by hand-held set terminal and verifies end, activation line clothes
Business key verifies end authentication code and whether prestore identifying code consistent, if so, transmission success flag is to hand-held set terminal, if
It is no, then terminate activation;Information of vehicles decryption, when hand-held set terminal receives success flag, hand-held set terminal obtains OBU memory
The information of vehicles of storage encrypted, and information of vehicles is sent to activation line server-side, activation line server-side decrypts vehicle
Information, and information of vehicles is sent to hand-held set terminal display;Hand-held set terminal calculates the parameter of MAC, and parameter is sent to
Activation line server-side, MAC code is calculated according to parameter in activation line server-side, and MAC code is sent to hand-held set terminal,
The state of activation of OBU is revised as state of activation according to MAC code by hand-held set terminal.By testing the multiple of the PSAM in OBU
The last real-time activation realized to OBU of card, makes OBU activation realize activation line, reliability is stronger, and real-time is higher.
More than, only presently preferred embodiments of the present invention is not intended to limit the present invention in any form;All current rows
The those of ordinary skill of industry can be shown in by specification attached drawing and above and swimmingly implement the present invention;But all to be familiar with sheet special
The technical staff of industry without departing from the scope of the present invention, is made a little using disclosed above technology contents
The equivalent variations of variation, modification and evolution is equivalent embodiment of the invention;Meanwhile all substantial technologicals according to the present invention
The variation, modification and evolution etc. of any equivalent variations to the above embodiments, still fall within technical solution of the present invention
Within protection scope.