CN110572821A - Method and system for activating vehicle-mounted unit and activation equipment - Google Patents

Method and system for activating vehicle-mounted unit and activation equipment Download PDF

Info

Publication number
CN110572821A
CN110572821A CN201910798539.9A CN201910798539A CN110572821A CN 110572821 A CN110572821 A CN 110572821A CN 201910798539 A CN201910798539 A CN 201910798539A CN 110572821 A CN110572821 A CN 110572821A
Authority
CN
China
Prior art keywords
vehicle
activation
mounted unit
mac code
instruction
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
Application number
CN201910798539.9A
Other languages
Chinese (zh)
Other versions
CN110572821B (en
Inventor
冯少龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Watchdata Ltd By Share Ltd
Original Assignee
Beijing Watchdata Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Watchdata Ltd By Share Ltd filed Critical Beijing Watchdata Ltd By Share Ltd
Priority to CN201910798539.9A priority Critical patent/CN110572821B/en
Publication of CN110572821A publication Critical patent/CN110572821A/en
Application granted granted Critical
Publication of CN110572821B publication Critical patent/CN110572821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/043Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
    • H04W12/0433Key management protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Lock And Its Accessories (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method, a system and an activation device for activating a vehicle-mounted unit, wherein the method comprises the following steps of 1, responding to an activation instruction, and acquiring system information and a random number of the vehicle-mounted unit; step 2, acquiring a secret key of the vehicle-mounted unit stored in a dynamic library; step 3, generating a first MAC code based on the system information, the random number and the secret key; step 4, generating a second MAC code based on the system information, the random number and a secret key stored by the vehicle-mounted unit; and 5, comparing the first MAC code with the second MAC code, if the first MAC code and the second MAC code are the same, executing activation operation, and if the first MAC code and the second MAC code are different, failing to activate. According to the technical scheme of the invention, the method can be suitable for activating all OBUs with microwave communication functions on the market; the activation device does not need to be inserted with a PSAM card, and is smaller and more free in use environment compared with the current handheld device.

Description

Method and system for activating vehicle-mounted unit and activation equipment
Technical Field
The present invention relates generally to the field of intelligent transportation, and more particularly to a technique for activating an On Board Unit (OBU).
Background
in recent years, expressways are in a rapidly-developing situation, national expressway networks are spread in various cities, and the driving to regional economy is more obvious, however, the traffic flow is continuously increased, the due benefit of the expressway networks is difficult to be fully exerted, and particularly during weekends or holidays, the high-speed passing efficiency and the traveling experience are seriously influenced by queues of manual toll collection places.
At present, a highway networking toll collection system mainly comprises an ETC (electronic toll collection) system and a compound access card CPC (cognitive toll collection) with an ambiguous path identification. With the increase of vehicles, the passing efficiency of an ETC lane and an artificial toll lane on an expressway is increasingly obviously different. For this phenomenon, the traffic department is constantly coming out of a new policy to promote the on-board unit, increasing the number of ETC vehicles and improving the preferential policy of ETC to promote the installation of the OBU.
The OBU equipment can not be used immediately after being installed, and can be normally used only after being activated, and the current activation mode is autonomous activation for a user or activation by a worker through a handheld device in a business hall.
The first prior art is as follows: along with the development of internet, many APPs or applet help car owner self-service activation equipment now appear, and the car owner need install OBU behind the suitable position, logs in cell-phone APP, opens OBU bluetooth function, accomplishes to pair with cell-phone APP, shoots different angle photos according to the suggestion and uploads management center and examine, passes through the back at examining and examining, carries out autonomic activation according to the follow-up step of APP.
The disadvantages of this solution are: the OBU is limited greatly, only the OBU with Bluetooth can be activated, and due to the fact that manufacturers distinguish customization on Bluetooth protocols in various provinces, APP or applets of the type are only aimed at partial OBUs and must be matched with each other to be activated normally, the limitation between the APP or applets is large, and programs or applets which can activate all OBU devices do not exist at present.
the second prior art is: the user goes to the business hall of each place to handle the installation of OBU equipment, asks the staff to activate through handheld device after the installation.
The disadvantages of this solution are: the existing handheld device is larger in size, inconvenient to carry about and far higher in cost than a Bluetooth box, and most importantly, the handheld device needs to be inserted with a PSAM card for decryption, but the use of the PSAM card needs to be managed and controlled, and the handheld device must be in a business hall during use and cannot be taken out for use, so that the existing handheld device also has severe use conditions.
Disclosure of Invention
The invention aims to overcome the defects that whether the Bluetooth protocols of OBUs are matched or not needs to be considered when a user autonomously activates the OBUs in the prior art, the OBUs with unmatched Bluetooth protocols cannot be activated, the existing handheld device needs to be inserted with a PSAM card and can only be activated in a business hall, and the OBUs cannot be autonomously activated by the user, and the like, and provides a method, a system and an activation device for activating a vehicle-mounted unit.
according to a first aspect of the present invention, there is provided a method of activating an in-vehicle unit, including, step 1, in response to an activation instruction, acquiring system information and a random number of the in-vehicle unit; step 2, acquiring a secret key of the vehicle-mounted unit stored in a dynamic library; step 3, generating a first MAC code based on the system information, the random number and the secret key; step 4, generating a second MAC code based on the system information, the random number and a secret key stored by the vehicle-mounted unit; and 5, comparing the first MAC code with the second MAC code, if the first MAC code and the second MAC code are the same, executing activation operation, and if the first MAC code and the second MAC code are different, failing to activate.
optionally, in step 1, in response to an activation instruction, an activation device acquires system information of the on-board unit, where the activation device is connected to the on-board unit in a microwave form; the ESAM card in the on-board unit generates the random number in response to an instruction sent by the activation device.
optionally, step 1 further includes resetting an ESAM card in the on-board unit, so that the ESAM card identifies the instruction sent by the activation device.
Optionally, the method further includes that the activation device regularly retransmits the current instruction information before receiving the return information of the vehicle-mounted unit, and when the number of retransmission times reaches a specified number, a specified error code is transmitted to the terminal; and when the activation equipment finishes the previous instruction operation and does not receive a new instruction, automatically retransmitting the previous instruction to keep the link from being closed, and releasing the link to finish the operation when the new instruction is not received within the specified time.
Optionally, the method further includes acquiring device information of the activation device to determine an operating state of the activation device.
According to a second aspect of the invention, a system for activating an on-board unit is provided, comprising an on-board unit, an activation device, a terminal, a dynamic library, wherein the dynamic library, independent of the on-board unit itself, is adapted to store a key of the on-board unit; the activation equipment is connected between the terminal and the vehicle-mounted unit and used for responding to the instruction issued by the terminal and acquiring the system information and the random number of the vehicle-mounted unit according to the instruction content; the terminal is used for issuing an instruction to the activation equipment and acquiring corresponding information from the activation equipment, wherein the corresponding information at least comprises system information and a random number of a vehicle-mounted unit, and the terminal is also configured to be connected with the dynamic library to acquire a secret key of the vehicle-mounted unit; the terminal or the activation device generates a first MAC code based on the system information, the random number and the secret key; the vehicle-mounted unit comprises a secret key and system information which are stored in the vehicle-mounted unit, and a randomly generated random number, and is further configured to generate a second MAC code based on the system information, the random number and the secret key which is stored in the vehicle-mounted unit, acquire the first MAC code through the activation equipment, compare the first MAC code with the second MAC code, execute activation operation if the first MAC code is the same as the second MAC code, and fail to activate if the first MAC code is different from the second MAC code.
Optionally, the activation device is connected with the on-board unit through a microwave form; the on-board unit includes an ESAM card configured to generate the random number in response to an instruction sent by the activation device.
Optionally, the ESAM card is further configured to perform a reset before responding to the instruction sent by the activation device, so as to ensure that the instruction content sent by the activation device is identified.
optionally, the activation device is further configured to, before receiving the return information of the onboard unit, regularly retransmit the current instruction information, and when the number of retransmissions reaches a prescribed number, send a specified error code to the terminal; when the last instruction operation is completed and no new instruction is received, the last instruction is automatically retransmitted to keep the link from being closed, and when the new instruction is not received within the specified time, the link is released, and the operation is finished.
Optionally, the activation device OBU is further configured to include a device information query module, configured to query or store device information of the activation device; the terminal is further configured to acquire the device information of the active device through the device information query module to determine the working state of the active device.
According to a third aspect of the invention, a system for activating an on-board unit is provided, comprising an on-board unit, an activation device, a dynamic library, wherein the dynamic library, independent of the on-board unit itself, is adapted to store a key of the on-board unit; the activation device is connected between the dynamic library and the vehicle-mounted unit, and is used for acquiring system information and a random number of the vehicle-mounted unit, acquiring a secret key of the vehicle-mounted unit from the dynamic library, and generating a first MAC code based on the system information, the random number and the secret key; the vehicle-mounted unit comprises a secret key and system information which are stored in the vehicle-mounted unit, and a randomly generated random number, and is further configured to generate a second MAC code based on the system information, the random number and the secret key which is stored in the vehicle-mounted unit, acquire the first MAC code from the activation equipment, compare the first MAC code with the second MAC code, if the first MAC code and the second MAC code are the same, execute activation operation, and if the first MAC code and the second MAC code are different, activation fails.
according to a fourth aspect of the present invention, an activation device for activating a vehicle-mounted unit is provided, including a first communication module, a second communication module, an OBU information query module, and a COS instruction module, where the OBU information query module is connected to the first communication module and the second communication module, respectively, and is configured to obtain relevant information, such as system information of the vehicle-mounted unit; and the COS instruction module is respectively connected with the first communication module and the second communication module and used for receiving COS instructions from the first communication module, packaging the instructions into corresponding source language after a link is established and sending the source language to the second communication module so as to complete related operations.
Optionally, the device further includes a device information query module, connected to the first communication module, and configured to query or store device information of the activation device itself.
Optionally, the activation device is further configured to connect the second communication module to the on-board unit when the activation device is used to activate the on-board unit; the second communication module is a microwave module.
The invention has the advantages that:
1) According to the technical scheme of the invention, the method can be suitable for activating all OBUs with microwave communication functions;
2) according to the technical scheme of the invention, the activating equipment does not need to be inserted with a PSAM card, is smaller and more free in use environment compared with the conventional handheld equipment, can be used for autonomous activation of a user, and is low in cost and safer;
3) according to the technical scheme of the invention, the activation equipment can be used for inquiring basic information of the OBU, completing various instruction operations and completing various functions besides activating the OBU.
Drawings
Fig. 1 shows a schematic diagram of a system for activating an on-board unit according to the invention.
Fig. 2 shows another system diagram for activating an on-board unit according to the invention.
Fig. 3 shows a flow chart of a method for activating an on-board unit according to the invention.
fig. 4 shows a schematic structural diagram of an activation device according to the invention.
Detailed Description
in the following detailed description of the preferred embodiments of the invention, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration, specific features of the invention, such that the advantages and features of the invention may be more readily understood and appreciated. The following description is an embodiment of the claimed invention, and other embodiments related to the claims not specifically described also fall within the scope of the claims.
Fig. 1 shows a schematic diagram of a system for activating an on-board unit according to the invention.
As shown in FIG. 1, a system for activating an on-board unit includes an on-board unit 120, an activation device 110, a terminal 130, and a dynamic library 140. Wherein the dynamic library 140 is independent of the on-board unit 120 itself and is used for storing the key of the on-board unit 120. The dynamic library 140 may be a server, a background, and other devices with a storage function, and each province or region may also be set up according to its own actual situation, and store therein the key of the OBU issued by the province or region.
the activation device 110 is configured to activate the on-board unit 120, and when activated, is connected between the terminal 130 and the on-board unit 120, responds to an instruction issued by the terminal 130, and obtains system information and a random number of the on-board unit 120 by the OBU120 according to the content of the instruction. The activation device 110 and the terminal 130 may be connected by wireless or wired connection, such as bluetooth, 4G communication network, 5G communication network, serial interface, etc. The activation device 110 may be connected to the on-board unit via microwave communication, such as DSRC, or may be connected to the OBU via bluetooth. Since the activation device 110 and the on-board unit can be connected by microwave, the activation device 110 can be adapted to almost all OBUs (OBUs having microwave communication function) on the market, and the application range is wider. The system information of the OBU comprises the version number, the serial number, the electric quantity information, the MCU serial number and the like of the OBU.
The terminal 130 is configured to issue an instruction to the activation device 110, and obtain corresponding information from the activation device 110, where the corresponding information at least includes system information and a random number of the vehicle-mounted unit 120. The random number is randomly generated by the OBU 120. The terminal 130 may be a mobile terminal, such as a mobile phone, a pad, or a PC. The activating APP is installed on the terminal 130, the OBU120 is activated through operation on the terminal 130, and the sent instruction includes an activation instruction, an information instruction for acquiring the OBU, an equipment information instruction for acquiring the activation equipment 110, and the like. The activation device 110 and the terminal 130 subscribe an instruction function code in advance, and when the activation device 110 resolves a corresponding instruction, sends a corresponding source language to the on-board unit 120 to obtain corresponding specified information. The terminal 130 may only send an activation instruction to the activation device 110, and the activation device 110 automatically completes all activation operations; an OBU information acquisition instruction, a random number acquisition instruction, and the like may be sequentially transmitted to instruct the activation device 110 to complete the related operations.
The terminal 130 is further configured to be connectable with the dynamic library 140 to obtain the key of the on-board unit 120 stored in the dynamic library 140. The terminal 130 and the dynamic library 140 can be connected through networks such as a 4G communication network, a 5G communication network and the internet, and when the terminal 130 acquires the key of the OBU from the dynamic library 140, the system information of the OBU is uploaded to the dynamic library 140 to identify the OBU and match and search the key of the OBU. The terminal 130 or the activation device 110 generates a first MAC code based on the system information, the random number, and the secret key. The terminal 130 with an arithmetic function generates a first MAC code according to the system information and the random number of the OBU acquired through the activation device 110 and the key of the OBU acquired from the dynamic library. The terminal 130 may also send the obtained key to the activation device 110, and the activation device 110 generates the first MAC code. The MAC code can be a message authentication code and can be used for verifying the integrity of information, so that the security is higher.
The on-board unit 120 includes a key and system information stored in itself, and a randomly generated random number, and the on-board unit 120 is further configured to generate a second MAC code based on the system information, the random number, and the key stored in the on-board unit 120 itself, and obtain the first MAC code through the activation device 110, compare the first MAC code with the second MAC code, if the first MAC code and the second MAC code are the same, perform an activation operation, and if the first MAC code and the second MAC code are different, fail to activate. The on-board unit 120 generates a random number according to the received activation instruction or acquisition random number instruction. For example, the on-board unit 120 includes an ESAM card, and the ESAM card may generate a random number according to the received instruction. The ESAM card can store the key of the OBU. The ESAM may also generate a second MAC code, compare the first MAC code with the second MAC code, and if the first MAC code and the second MAC code are the same, the ESAM may continue to perform an activation operation, for example, modify a tamper parameter setting of the OBU, thereby completing activation of the OBU; if the two are different, the ESAM will not perform the activation operation and may return a verification error message to the activation device 110 to prompt the user.
according to an embodiment of the present invention, the ESAM card is further configured to reset before responding to the instruction sent by the activation device 110, so as to ensure that the instruction content sent by the activation device 110 is identified. The reset refers to the initialization of the equipment, so that the ESAM card is in a proper configuration state to identify that the instruction is to be received and make correct feedback. The reset operation of the ESAM card can be triggered by the vehicle-mounted unit sending a reset instruction to the ESAM card.
According to one embodiment of the present invention, the activation device 110 is further configured to periodically retransmit the current instruction information before receiving the return information of the in-vehicle unit 120, and to transmit a specified error code to the terminal 130 when the number of retransmissions reaches a prescribed number. Therefore, the automatic repeat function of the activation device 110 does not require the terminal 130 to send the same command again, thereby avoiding repeated operation of the terminal 130 and ensuring the accuracy of the command sent to the on-board unit 120. When the number of retransmissions of the activation device 110 reaches a certain number, if the feedback of the on-board unit 120 is not obtained, a predetermined error code agreed in advance is sent to the terminal 130 to prompt the user.
besides having an automatic retransmission function, the activation device 110 also has functions such as a supermarket maintenance link. When the previous instruction operation is completed and no new instruction is received, the activation device 110 automatically retransmits the previous instruction before the link is closed to maintain that the link is not closed, and can continue to perform the transaction after the new instruction arrives, and when the new instruction is not received within a certain time, the link is released and the operation is ended. This function of the activation device 110 may prevent a link between the activation device 110 and the on-board unit 120 from being broken during a period when a previous command has been completed but a new command has not yet arrived.
According to an embodiment of the present invention, the activation device 110 is further configured to include a device information query module, configured to query or store the device information of the activation device 110; the terminal 130 is further configured to obtain the device information of the active device 110 through the device information query module, so as to determine the working state of the active device 110. The device information includes a device number, a version number, power information, and the like of the activation device 110. The activation device 110 and the terminal 130 may pre-specify an instruction function code number related to device information query, and return the specified corresponding information after the activation device 110 parses the corresponding instruction.
Fig. 2 shows another system diagram for activating an on-board unit according to the invention.
As shown in fig. 2, a system for activating an on-board unit is provided, comprising an on-board unit 120, an activation device 110, a dynamic library 140, wherein the dynamic library 140, independent of the on-board unit 120 itself, is adapted to store a key for the on-board unit 120; the activation device 110, when activating the OBU120, is connected between the dynamic library 140 and the on-board unit 120, and configured to acquire system information and a random number of the on-board unit 120, and further configured to acquire a key of the on-board unit 120 from the dynamic library 140, and generate a first MAC code based on the system information, the random number, and the key; the on-board unit 120 includes a key and system information stored in itself, and a randomly generated random number, and the on-board unit 120 generates a second MAC code based on the system information, the random number, and the key stored in itself, and acquires the first MAC code from the activation device 110, compares the first MAC code with the second MAC code, and if the first MAC code and the second MAC code are the same, performs an activation operation, and if the first MAC code and the second MAC code are different, fails to be activated.
The present embodiment differs from the embodiment shown in fig. 1 mainly in that the activation device 110 is directly connected to the dynamic library 140 to directly obtain the key.
Fig. 3 shows a flow chart of a method for activating an on-board unit according to the invention.
As shown in fig. 3, an embodiment of a method for activating a vehicle-mounted unit is provided, taking a mobile terminal as an example of a terminal, and issuing an activation instruction, for example, clicking an activation key on a mobile terminal APP, as shown in step S10.
The mobile terminal connects with an activation device as shown in step S20. For example, by bluetooth, 4G, 5G, etc.
The activation device is connected to the on-board unit, for example in the form of microwaves, as shown in step S30.
In response to the activation instruction or the instruction for acquiring the system information of the OBU, the activation device acquires the system information of the OBU from the OBU, as shown in step S40.
As shown in step S50, the ESAM card in the on-board unit is reset so that the ESAM card recognizes the instruction sent by the activation device.
As shown in step S60, the ESAM card in the on-board unit generates a random number in response to the instruction transmitted by the activation device. And returning the random number to the activation device.
As shown in step S70, the mobile terminal connects to a dynamic library, and acquires the key of the on-board unit from the dynamic library.
As shown in step S80, the activation device or the mobile terminal generates a first MAC code based on the system information, the random number, and the key.
as shown in step S90, the ESAM card generates a second MAC code based on the system information, the random number, and a key stored in the in-vehicle unit itself.
As shown in step S100, the ESAM card determines whether the first MAC code and the second MAC code are the same, and if they are different, the activation fails, and an error message is returned.
If the two are the same, an activation operation is performed, such as modifying the tamper parameter settings of the OBU, and the activation is completed, as shown in step S110.
according to one embodiment of the invention, the activation equipment regularly retransmits the current instruction information before receiving the return information of the vehicle-mounted unit, and transmits a specified error code to the terminal when the retransmission times reaches a specified number; and when the activation equipment finishes the previous instruction operation and does not receive a new instruction, automatically retransmitting the previous instruction to keep the link from being closed, and releasing the link to finish the operation when the new instruction is not received within the specified time.
according to an embodiment of the present invention, the method further includes obtaining device information of the active device to determine an operating state of the active device, for example, a device number, a version number, power information, and the like of the active device, so as to determine that the active device is in a state in which the active device can operate normally, for example, the power information is too low to complete a related operation, and a charging process is required.
fig. 4 shows a schematic structural diagram of an activation device according to the invention.
As shown in fig. 4, a schematic diagram of an activation device 110 is provided, where the activation device 110 includes a first communication module 111, a second communication module 112, an OBU information query module 113, a COS instruction module 114, and a device information query module 115. The first communication module 111 can be in the form of a bluetooth module, a 4G module, a 5G module, a serial port, etc.; the second communication module 112 may be a microwave module, such as a DSRC. The OBU information query module 113 is configured to obtain relevant information such as system information of the OBU. The COS instruction module 114 is configured to receive a COS instruction of the terminal, package the COS instruction into a corresponding source language after a link is established, and send the source language to the OBU, so as to complete relevant operations on the OBU. For an OBU with an ESAM card, the COS instruction module may interact with the ESAM card. The device information query module 115 is configured to query or store device information of the activation device 110, for example, a device number, a version number, power information, and the like. The OBU information query module 113 is connected with the first communication module 111 and the second communication module 112, the COS instruction module 114 is connected with the first communication module 111 and the second communication module 112, and the equipment information query module 115 is connected with the first communication module 111.
when the activation device 110 is used to activate an OBU, the first communication module 111 may be connected to a terminal, and the second communication module 112 may be connected to the OBU to be activated for interaction.
the invention has the advantages that:
1) according to the technical scheme of the invention, the microwave-based OBU activation device can be connected with the OBU in a microwave mode, so that the microwave-based OBU activation device is suitable for activating all OBUs with a microwave communication function;
2) According to the technical scheme of the invention, the activating equipment does not need to be inserted with a PSAM card, is smaller and smaller compared with the traditional handheld equipment, has more free use environment, can be used for autonomous activation of a user, has low cost, and is safer when being connected with a dynamic library to obtain a key;
3) according to the technical scheme of the invention, the activation equipment is used for activating the OBU, inquiring basic information of the OBU, completing various instruction operations and completing various functions;
4) According to the technical scheme of the invention, the activation equipment also has the functions of automatic retransmission, overtime link maintenance and the like;
5) according to the technical scheme of the invention, the activation is completed through the MAC code verification, and the method is safe and reliable.
it should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim.

Claims (14)

1. A method of activating an on-board unit, comprising,
Step 1, responding to an activation instruction, and acquiring system information and a random number of a vehicle-mounted unit;
step 2, acquiring a secret key of the vehicle-mounted unit stored in a dynamic library;
Step 3, generating a first MAC code based on the system information, the random number and the secret key;
Step 4, generating a second MAC code based on the system information, the random number and a secret key stored by the vehicle-mounted unit;
step 5, comparing the first MAC code with the second MAC code,
if so, an activation operation is performed,
If not, activation fails.
2. The method of claim 1, wherein step 1 comprises,
responding to an activation instruction, and acquiring system information of the vehicle-mounted unit by an activation device, wherein the activation device is connected with the vehicle-mounted unit in a microwave mode;
The ESAM card in the on-board unit generates the random number in response to an instruction sent by the activation device.
3. The method of claim 2, wherein step 1 further comprises,
resetting an ESAM card in the on-board unit so that the ESAM card identifies the instruction sent by the activation device.
4. the method of claim 2, further comprising,
The activation equipment regularly retransmits the current instruction information before receiving the return information of the vehicle-mounted unit, and transmits a specified error code to the terminal when the retransmission times reaches the specified times;
And when the activation equipment finishes the previous instruction operation and does not receive a new instruction, automatically retransmitting the previous instruction to keep the link from being closed, and releasing the link to finish the operation when the new instruction is not received within the specified time.
5. The method of claim 2, further comprising,
Acquiring the equipment information of the activated equipment to determine the working state of the activated equipment.
6. A system for activating a vehicle-mounted unit comprises the vehicle-mounted unit, an activation device, a terminal and a dynamic library, wherein,
The dynamic library is independent of the vehicle-mounted unit and is used for storing the secret key of the vehicle-mounted unit;
the activation equipment is connected between the terminal and the vehicle-mounted unit and used for responding to the instruction issued by the terminal and acquiring the system information and the random number of the vehicle-mounted unit according to the instruction content;
the terminal is used for issuing instructions to the activation equipment and acquiring corresponding information from the activation equipment, wherein the corresponding information at least comprises system information and random numbers of the vehicle-mounted unit,
the terminal is further configured to connect with the dynamic library to obtain a key of the on-board unit;
The terminal or the activation device generates a first MAC code based on the system information, the random number and the secret key;
the vehicle-mounted unit comprises a key and system information stored in the vehicle-mounted unit, and a random number generated at random,
The vehicle-mounted unit is also configured to generate a second MAC code based on the system information, the random number and a secret key stored by the vehicle-mounted unit, acquire the first MAC code through the activation equipment, compare the first MAC code with the second MAC code, execute activation operation if the first MAC code is the same as the second MAC code, and fail activation if the first MAC code is different from the second MAC code.
7. The system of claim 6, wherein,
The activation equipment is connected with the vehicle-mounted unit in a microwave mode;
the on-board unit includes an ESAM card configured to generate the random number in response to an instruction sent by the activation device.
8. The system of claim 7, wherein the ESAM card is further configured to,
Before responding to the instruction sent by the activation equipment, resetting is carried out to ensure that the instruction content sent by the activation equipment is identified.
9. The system of claim 6, wherein the activation device is further configured to,
Before receiving the return information of the vehicle-mounted unit, regularly retransmitting the current instruction information, and when the retransmission times reaches the specified times, transmitting a specified error code to the terminal;
When the last instruction operation is completed and no new instruction is received, the last instruction is automatically retransmitted to keep the link from being closed, and when the new instruction is not received within the specified time, the link is released, and the operation is finished.
10. the system of claim 6, wherein,
The activation device is also configured to include a device information query module for querying or storing device information of the activation device;
the terminal is further configured to acquire the device information of the active device through the device information query module to determine the working state of the active device.
11. A system for activating an on-board unit, comprising an on-board unit, an activation device, a dynamic library, wherein,
The dynamic library is independent of the vehicle-mounted unit and is used for storing the secret key of the vehicle-mounted unit;
The activation device is connected between the dynamic library and the vehicle-mounted unit, and is used for acquiring system information and a random number of the vehicle-mounted unit, acquiring a secret key of the vehicle-mounted unit from the dynamic library, and generating a first MAC code based on the system information, the random number and the secret key;
the vehicle-mounted unit comprises a key and system information stored in the vehicle-mounted unit, and a random number generated at random,
The vehicle-mounted unit is also configured to generate a second MAC code based on the system information, the random number and a secret key stored by the vehicle-mounted unit, acquire the first MAC code from the activation device, compare the first MAC code with the second MAC code, execute activation operation if the first MAC code and the second MAC code are the same, and fail activation if the first MAC code and the second MAC code are different.
12. an activation device for activating a vehicle-mounted unit comprises a first communication module, a second communication module, an OBU information query module and a COS instruction module,
the OBU information query module is respectively connected with the first communication module and the second communication module and is used for acquiring system information and other related information of the vehicle-mounted unit;
And the COS instruction module is respectively connected with the first communication module and the second communication module and used for receiving COS instructions from the first communication module, packaging the instructions into corresponding source language after a link is established and sending the source language to the second communication module so as to complete related operations.
13. The activation device of claim 12, further comprising,
And the equipment information inquiry module is connected with the first communication module and used for inquiring or storing the equipment information of the activated equipment.
14. the activation device of claim 12, the activation device further configured to,
When the activation equipment is used for activating the vehicle-mounted unit, the second communication module is connected with the vehicle-mounted unit;
the second communication module is a microwave module.
CN201910798539.9A 2019-08-27 2019-08-27 Method and system for activating vehicle-mounted unit Active CN110572821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910798539.9A CN110572821B (en) 2019-08-27 2019-08-27 Method and system for activating vehicle-mounted unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910798539.9A CN110572821B (en) 2019-08-27 2019-08-27 Method and system for activating vehicle-mounted unit

Publications (2)

Publication Number Publication Date
CN110572821A true CN110572821A (en) 2019-12-13
CN110572821B CN110572821B (en) 2020-12-18

Family

ID=68776325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910798539.9A Active CN110572821B (en) 2019-08-27 2019-08-27 Method and system for activating vehicle-mounted unit

Country Status (1)

Country Link
CN (1) CN110572821B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258820A (en) * 2020-02-11 2020-06-09 江苏满运软件科技有限公司 OBU (on-board unit) equipment activation method, terminal equipment and server
CN112802213A (en) * 2020-12-30 2021-05-14 北京万集智能网联技术有限公司 Activation method and activation system for vehicle-mounted controller in electronic toll collection without stopping vehicle
CN113259910A (en) * 2021-06-30 2021-08-13 智道网联科技(北京)有限公司 Activation method and device for vehicle-mounted networking equipment
CN113573261A (en) * 2021-07-23 2021-10-29 建信金融科技有限责任公司 Method, device, system and equipment for issuing and activating ETC (electronic toll Collection) on-board unit
CN113691372A (en) * 2021-08-18 2021-11-23 绿能慧充数字技术有限公司 Key dynamic protection method of charging centralized controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995032919A1 (en) * 1994-05-27 1995-12-07 Staffan Gunnarsson System at a vehicle for debiting at automatic fuelling
US6263319B1 (en) * 1997-09-26 2001-07-17 Masconi Commerce Systems Inc. Fuel dispensing and retail system for providing a shadow ledger
CN101272251A (en) * 2007-03-22 2008-09-24 华为技术有限公司 Authentication and cryptographic key negotiation method, authentication method, system and equipment
CN103029648A (en) * 2011-09-30 2013-04-10 上海博泰悦臻网络技术服务有限公司 Activation method and activation system for vehicle-mounted equipment
CN105721458A (en) * 2016-01-30 2016-06-29 安徽欧迈特数字技术有限责任公司 Industrial Ethernet switching method based on ISG security password technique
JP6415611B2 (en) * 2017-01-27 2018-10-31 近鉄車両エンジニアリング株式会社 Operation management system and in-vehicle terminal device
CN109640288A (en) * 2018-10-25 2019-04-16 广州华工信息软件有限公司 A kind of method and system of the activation line OBU based on hand-held set terminal
CN110097653A (en) * 2018-09-20 2019-08-06 长城汽车股份有限公司 The Activiation method and device of electronic tag

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995032919A1 (en) * 1994-05-27 1995-12-07 Staffan Gunnarsson System at a vehicle for debiting at automatic fuelling
US6263319B1 (en) * 1997-09-26 2001-07-17 Masconi Commerce Systems Inc. Fuel dispensing and retail system for providing a shadow ledger
CN101272251A (en) * 2007-03-22 2008-09-24 华为技术有限公司 Authentication and cryptographic key negotiation method, authentication method, system and equipment
CN103029648A (en) * 2011-09-30 2013-04-10 上海博泰悦臻网络技术服务有限公司 Activation method and activation system for vehicle-mounted equipment
CN105721458A (en) * 2016-01-30 2016-06-29 安徽欧迈特数字技术有限责任公司 Industrial Ethernet switching method based on ISG security password technique
JP6415611B2 (en) * 2017-01-27 2018-10-31 近鉄車両エンジニアリング株式会社 Operation management system and in-vehicle terminal device
CN110097653A (en) * 2018-09-20 2019-08-06 长城汽车股份有限公司 The Activiation method and device of electronic tag
CN109640288A (en) * 2018-10-25 2019-04-16 广州华工信息软件有限公司 A kind of method and system of the activation line OBU based on hand-held set terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258820A (en) * 2020-02-11 2020-06-09 江苏满运软件科技有限公司 OBU (on-board unit) equipment activation method, terminal equipment and server
CN111258820B (en) * 2020-02-11 2022-08-30 江苏满运软件科技有限公司 OBU (on-board unit) equipment activation method, terminal equipment and server
CN112802213A (en) * 2020-12-30 2021-05-14 北京万集智能网联技术有限公司 Activation method and activation system for vehicle-mounted controller in electronic toll collection without stopping vehicle
CN113259910A (en) * 2021-06-30 2021-08-13 智道网联科技(北京)有限公司 Activation method and device for vehicle-mounted networking equipment
CN113259910B (en) * 2021-06-30 2022-07-05 智道网联科技(北京)有限公司 Activation method and device for vehicle-mounted networking equipment
CN113573261A (en) * 2021-07-23 2021-10-29 建信金融科技有限责任公司 Method, device, system and equipment for issuing and activating ETC (electronic toll Collection) on-board unit
CN113691372A (en) * 2021-08-18 2021-11-23 绿能慧充数字技术有限公司 Key dynamic protection method of charging centralized controller
CN113691372B (en) * 2021-08-18 2023-12-08 绿能慧充数字技术有限公司 Key dynamic protection method of charge centralized controller

Also Published As

Publication number Publication date
CN110572821B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN110572821B (en) Method and system for activating vehicle-mounted unit
EP3651016B1 (en) Software update device
CN107074174B (en) Method and system for remote access control
CN111061499B (en) ECU updating method and system based on file system
CN103138789B (en) Vehicle portable device and information communication system
CN107332868B (en) ETC vehicle-mounted unit issuing method and secondary issuing data additional recording system
CN109017344B (en) Charging pile automatic authentication method
CN111275838B (en) Target account binding method and device, storage medium and electronic device
CN104468731B (en) Parking offense reminding method and system
CN113038418B (en) Vehicle-road cooperative communication method, system, equipment and storage medium
WO2017133560A1 (en) Vehicle management method and system, and vehicle-mounted terminal
CN110070405B (en) ETC electronic invoice issuing method, OBU and storage medium
CN100573087C (en) Be used for autonomous module, the system and method that detects and register of Vehicular exhaust
CN107797815A (en) Upgrade method, mobile unit and the updating apparatus of mobile unit
CN105118100A (en) Vehicle-mounted electronic label program updating method, mobile terminal and program updating system
JP2016132918A (en) Key function management system
CN110493294A (en) Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
KR20140022490A (en) Terminal system for controlling a vehicle and a controlling method thereof
US20110093315A1 (en) Apparatus for the personalization and registration of vehicle devices
CN114567552A (en) Vehicle-mounted V2X equipment upgrading method and device, computer equipment and storage medium
CN205068795U (en) Parking management device and system
CN109559111A (en) Vehicle passing control method, device and system
CN116101116B (en) Charging method, device and storage medium
CN112802214A (en) Method for connecting vehicle-mounted unit, user equipment and ETC system
CN111194016A (en) Vehicle authorization method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant