CN115273289B - Physical key activation method, system, device, equipment and medium - Google Patents

Physical key activation method, system, device, equipment and medium Download PDF

Info

Publication number
CN115273289B
CN115273289B CN202211140233.2A CN202211140233A CN115273289B CN 115273289 B CN115273289 B CN 115273289B CN 202211140233 A CN202211140233 A CN 202211140233A CN 115273289 B CN115273289 B CN 115273289B
Authority
CN
China
Prior art keywords
key
key information
physical
information
ecu
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.)
Active
Application number
CN202211140233.2A
Other languages
Chinese (zh)
Other versions
CN115273289A (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.)
Ingeek Information Security Consulting Associates Co ltd
Original Assignee
Ingeek Information Security Consulting Associates Co 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 Ingeek Information Security Consulting Associates Co ltd filed Critical Ingeek Information Security Consulting Associates Co ltd
Priority to CN202211140233.2A priority Critical patent/CN115273289B/en
Publication of CN115273289A publication Critical patent/CN115273289A/en
Application granted granted Critical
Publication of CN115273289B publication Critical patent/CN115273289B/en
Priority to PCT/CN2023/098012 priority patent/WO2024060673A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • 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/041Key generation or derivation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The invention discloses a method, a system, a device, equipment and a medium for activating a physical key. The method comprises the following steps: the digital key generates first key information according to the physical key information, the vehicle information and the first random number, and sends the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU; the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key; and if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to the physical key so as to activate the physical key. According to the technical scheme, the physical key realizes the mode of activating the physical key by receiving the key information sent by the digital key, and compared with the prior art, the method improves the convenience of activating the physical key, thereby improving the user experience.

Description

Physical key activation method, system, device, equipment and medium
Technical Field
The invention relates to the technical field of automotive electronics, in particular to a method, a system, a device, equipment and a medium for activating a physical key.
Background
Vehicle control operations such as locking the doors, closing the doors, and opening the trunk can be performed by a key. Although the physical keys of automobiles gradually fade out of the visual field of people with the advent of digital keys of automobiles, there is still a great demand for physical keys in terms of production efficiency of automobiles and in terms of usage habits of users.
However, the existing physical key still follows the traditional manufacturing method, and needs to be available after learning and authentication in a car factory or a 4S shop for car sales service, which brings much inconvenience to the user and makes the user experience worse.
Disclosure of Invention
The invention provides a method, a system, a device, equipment and a medium for activating a physical key, which improve the convenience of activating the physical key and further improve the user experience.
According to an aspect of the present invention, there is provided a method of activating a physical key, including:
the digital key generates first key information according to physical key information, vehicle information and a first random number, and sends the first key information, the physical key information and the first random number to a digital key electronic control unit (DK-ECU);
the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key;
and if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to a physical key so as to activate the physical key.
According to another aspect of the present invention, there is provided a physical key activation system, comprising: a digital key, a physical key and a digital key electronic control unit DK-ECU; the digital key, the physical key and the DK-ECU are connected in pairs through Bluetooth;
the digital key generates first key information according to physical key information, vehicle information and a first random number, and sends the first key information, the physical key information and the first random number to the DK-ECU;
the DK-ECU generates second key information according to the physical key information, the first random number and the vehicle information; comparing the first key information with the second key information, and sending a comparison result to the digital key;
if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to a physical key so as to activate the physical key;
the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key;
the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU;
and the DK-ECU compares the first session key information with the second session key information, if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
According to another aspect of the present invention, there is provided an activation device of a physical key, including:
the first key information generation module is used for generating first key information by the digital key according to physical key information, vehicle information and a first random number, and sending the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU;
a second key information generation module, configured to generate, by the DK-ECU, second key information according to the physical key information, the vehicle information, and the first random number, compare the first key information with the second key information, and send a comparison result to the digital key;
and the first key information sending module is used for sending the first key information to a physical key to activate the physical key if the comparison result shows that the first key information is matched with the second key information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method of physical key activation as described in any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for activating a physical key according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, first key information is generated by a digital key according to physical key information, vehicle information and a first random number, and the first key information, the physical key information and the first random number are sent to a digital key electronic control unit DK-ECU; the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key; and if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to the physical key so as to activate the physical key. According to the technical scheme, the physical key realizes the mode of activating the physical key by receiving the key information sent by the digital key, and compared with the prior art, the method improves the convenience of activating the physical key, thereby improving the user experience.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for activating a physical key according to an embodiment of the present invention;
fig. 2 is a timing chart of an implementation of a physical key activation method according to an embodiment of the present invention;
fig. 3 is a timing chart of another implementation of the physical key activation method according to the embodiment of the present invention;
FIG. 4 is an architecture diagram of an activation system for a physical key according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an activation device of a physical key according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing a method for activating a physical key according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a method for activating a physical key according to an embodiment of the present invention, where the embodiment is applicable to a case of activating a physical key, the method may be performed by an activation device of the physical key, the activation device of the physical key may be implemented in a form of hardware and/or software, and the activation device of the physical key may be configured in a server. As shown in fig. 1, the method includes:
and S110, the digital key generates first key information according to the physical key information, the vehicle information and the first random number, and sends the first key information, the physical key information and the first random number to the digital key electronic control unit DK-ECU.
The physical key information may be understood as information related to the physical key, and may include a bluetooth address and identification code information of the physical key. The identification code information may include a production serial number and a manufacturer name of the physical key. The vehicle information may be the MAC address of the digital key electronic control unit DK-ECU in the vehicle and other vehicle identification information (e.g., vehicle identification code, manufacturer name). The first random number is randomly generated by the digital key. The digital key electronic control unit DK-ECU is used for carrying out Bluetooth communication with a digital key and can also carry out Bluetooth communication with a physical key. The first key information is generated by a digital key.
Optionally, before the digital key generates the first key information according to the physical key information, the vehicle information, and the first random number, the method further includes: the digital key and the DK-ECU establish Bluetooth connection; the digital key scans the two-dimensional code on the physical key to obtain physical key information and first check code information; the physical key information comprises a Bluetooth address and identification code information; the digital key generates second check code information according to the physical key information; checking the first check code according to the second check code; after the verification passes, the digital key generates a first random number.
The two-dimensional code can be understood as a two-dimensional code image, the two-dimensional code image is printed on the physical key, information in the two-dimensional code image can be acquired through a camera in the mobile device, and the two-dimensional code image can comprise physical key information and first check code information of the physical key. The mobile device in this embodiment is not limited, and may be a mobile phone, for example. The first Check code information may be Cyclic Redundancy Check (CRC), and the first Check code information may be obtained according to the physical key information. The second check code information may also be CRC check code information, which is generated by the digital key according to the physical key information.
Specifically, after the digital key is connected with the DK-ECU through the Bluetooth, the physical key adding function can be started through an application program in the mobile device, the camera is started through the mobile device by the digital key, the two-dimensional code scanning function is started, the two-dimensional code on the physical key is scanned by the digital key, and the physical key information and the first check code information are obtained. And meanwhile, the digital key generates second check code information according to the physical key information, checks the first check code based on the second check code, and can generate a first random number after the check is passed so that the digital key generates first key information according to the physical key information, the vehicle information and the first random number.
Optionally, the way of checking the first check code according to the second check code may be: and judging whether the second check code is consistent with the first check code, if so, passing the check, and if not, failing the check.
And S120, generating second key information by the DK-ECU according to the physical key information, the vehicle information and the first random number, comparing the first key information with the second key information, and sending a comparison result to the digital key.
Wherein the second key information is generated by the DK-ECU. Specifically, the DK-ECU generates second key information according to the physical key information, the vehicle information, and the first random number, compares the second key information with the first key information sent by the digital key, and sends a comparison result, such as a result that the first key information is consistent with the second key information or the first key information is inconsistent with the second key information, to the digital key.
S130, if the comparison result shows that the first key information is matched with the second key information, the digital key sends the first key information to the physical key so as to activate the physical key.
Specifically, if the comparison result is that the first key information and the second key information are consistent, the DK-ECU sends the information that the comparison result is that the key information is consistent to the digital key, and the DK-ECU stores the second key information or the first key information. The digital key starts Bluetooth scanning through the mobile device, after Bluetooth broadcasting of the physical key is scanned, the digital key sends a Bluetooth connection data packet to the physical key to establish Bluetooth connection with the physical key, the digital key can send first key information and a DK-ECU (digital signature-electronic control unit) Bluetooth address to the physical key, and the physical key stores the first key information and the DK-ECU Bluetooth address. A successful physical key activation may be indicated and a successful physical key addition function on the application by the mobile device may be indicated. It should be noted that the physical key can be activated by a special combination key, so that the physical key can send out a bluetooth broadcast to wait for activation. The combination key is not limited in this embodiment, and may be, for example, a combination key with a consecutive number 123. Of course, if the physical key is successfully activated, the DK-ECU can be disconnected from the digital key to start Bluetooth scanning, and when the DK-ECU broadcast is scanned, the DK-ECU can be connected with the digital key.
Fig. 2 is a timing chart illustrating an implementation of a physical key activation method according to an embodiment of the present invention.
S201, the user enables the physical key to enter an activated state through the combined key, and the physical key sends out Bluetooth broadcast.
S202, after the digital key and the DK-ECU establish Bluetooth connection, a user clicks a physical key adding function on an application program of the mobile equipment.
S203, the digital key opens the camera through the mobile device, the function of scanning the two-dimensional code is started, and the two-dimensional code of the physical key is scanned.
S204, the digital key obtains physical key information and first check code information, and the digital key generates second check code information according to the physical key information; and checking the first check code according to the second check code, and generating a first random number by the digital key after the check is passed.
S205, the digital key generates first key information according to the physical key information, the vehicle information and the first random number.
S206, the digital key sends the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU.
And S207, the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key.
And S208, if the comparison result shows that the first key information is matched with the second key information, the DK-ECU stores the second key information.
S209, starting Bluetooth scanning by the digital key; after the digital key scans the broadcast packet of the physical key, initiating Bluetooth connection; the digital key establishes a bluetooth connection with the physical key.
And S210, the digital key sends the first key information and the DK-ECU Bluetooth address to the physical key.
And S211, storing the first key information and the DK-ECU Bluetooth address by the physical key, and returning an activation result.
S212, the digital key reminds the user that the physical key is successfully added, and the Bluetooth connection with the physical key is disconnected.
And S213, starting Bluetooth scanning by the physical key, and establishing Bluetooth connection with the DK-ECU after the DK-ECU is scanned with Bluetooth broadcasting.
Optionally, after the digital key sends the first key information to the physical key, the method further includes: the physical key and the DK-ECU establish Bluetooth connection; the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key; the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU; and the DK-ECU compares the first session key information with the second session key information, and if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
Wherein the second random number is generated by the DK-ECU, the first session key information is generated by the DK-ECU, and the second session key information is generated by the physical key. Specifically, the physical key is connected with the DK-ECU through Bluetooth broadcasting of the DK-ECU in a scanning mode, the physical key sends physical key information to the DK-ECU, the DK-ECU can obtain corresponding second key information according to the physical key information, the DK-ECU generates a second random number, and first session key information is generated according to the second random number and the second key information. And sending the second random number to the physical key, initiating challenge authentication to the physical key, after the physical key receives the challenge authentication, generating second session key information by the physical key according to the second random number and the stored first key information, and sending the second session key information to the DK-ECU, wherein the DK-ECU authenticates the second session key information based on the first session key information, and if the first session key information is consistent with the second session key information, the authentication is passed, so that the physical key can send control instructions to a vehicle (an automobile electronic control unit), such as instructions of vehicle door opening, vehicle door closing, vehicle starting or trunk opening, and the like. If the authentication fails, the DK-ECU and the physical key are disconnected by Bluetooth.
Optionally, the physical key and the DK-ECU may establish a bluetooth connection in the following manner: the physical key sends a Bluetooth connection message to the DK-ECU by scanning Bluetooth broadcast of the DK-ECU and enters a Bluetooth connection state; and after receiving the Bluetooth connection message, the DK-ECU enters a Bluetooth connection state and establishes Bluetooth connection with the physical key.
Specifically, the physical key starts Bluetooth scanning, when Bluetooth broadcasting of the DK-ECU is scanned (identified according to the DK-ECU Bluetooth address), a Bluetooth connection message is sent to the DK-ECU, and a Bluetooth connection state is entered, and meanwhile, the DK-ECU also enters the Bluetooth connection state after receiving the Bluetooth connection message of the physical key, and Bluetooth connection is established with the physical key.
Optionally, before the DK-ECU generates the second random number, the method further includes: and the DK-ECU receives the physical key information sent by the physical key so as to acquire corresponding second key information according to the physical key information.
Specifically, the DK-ECU receives physical key information sent by the physical key, and can obtain the second key information or the first key information stored correspondingly according to the bluetooth address information in the physical key information.
For example, fig. 3 is a timing chart of another implementation of the physical key activation method according to the embodiment of the present invention.
S301, DK-ECU sends Bluetooth broadcast, and the physical key starts scanning.
And S302, after the physical key scans the Bluetooth broadcast of the DK-ECU, sending a Bluetooth connection data packet to the DK-ECU and entering a Bluetooth connection state.
And S303, after receiving the Bluetooth connection packet of the physical key, the DK-ECU immediately enters a Bluetooth connection state and establishes Bluetooth connection with the physical key.
And S304, the physical key sends physical key information to the DK-ECU, wherein the physical key information comprises a Bluetooth address and identification code information.
And S305, the DK-ECU acquires corresponding second key information according to the Bluetooth address in the physical key information.
And S306, generating a second random number by the DK-ECU, sending the second random number to the physical key, and initiating challenge authentication to the physical key.
And S307, after the physical key receives the challenge authentication, the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU.
And S308, the DK-ECU generates first session key information according to the second random number and the second key information, and authenticates the second session key information based on the first session key information.
And S309, if the first session key information is consistent with the second session key information, the authentication is passed, so that the physical key can send a control command to the automobile electronic control unit. If the authentication fails, the DK-ECU and the physical key are disconnected by Bluetooth.
According to the technical scheme of the embodiment of the invention, first key information is generated by a digital key according to physical key information, vehicle information and a first random number, and the first key information, the physical key information and the first random number are sent to a digital key electronic control unit DK-ECU; the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key; and if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to the physical key so as to activate the physical key. According to the technical scheme, the physical key realizes the mode of activating the physical key by receiving the key information sent by the digital key, and compared with the prior art, the method improves the convenience of activating the physical key, thereby improving the user experience.
Fig. 4 is an architecture diagram of an activation system of a physical key according to an embodiment of the present invention, as shown in fig. 4, the system includes: a digital key, a physical key and a digital key electronic control unit DK-ECU; the digital key, the physical key and the DK-ECU are connected with each other through Bluetooth;
the digital key generates first key information according to the physical key information, the vehicle information and the first random number, and sends the first key information, the physical key information and the first random number to the DK-ECU;
the DK-ECU generates second key information according to the physical key information, the first random number and the vehicle information; comparing the first key information with the second key information, and sending a comparison result to the digital key;
if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to the physical key so as to activate the physical key;
the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key;
the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU;
and the DK-ECU compares the first session key information with the second session key information, if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
Optionally, after the digital key is successfully added with the physical key, information of the successful addition of the physical key can be uploaded to the cloud platform, so that the physical key is maintained and monitored. Optionally, the first session key information and the second session key information are matched, and after the authentication is passed, the control instruction can be sent to the DK-ECU through the physical key, so that the DK-ECU can send the control instruction to the automotive electronic control unit, and further the control of the vehicle through the physical key can be realized. And if the authentication fails, the DK-ECU is disconnected with the physical key through Bluetooth.
Fig. 5 is a schematic structural diagram of an activation device of a physical key according to an embodiment of the present invention. As shown in fig. 5, the apparatus includes: a first key information generating module 501, a second key information generating module 502 and a first key information sending module 503;
the first key information generation module is used for generating first key information by the digital key according to physical key information, vehicle information and a first random number, and sending the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU;
a second key information generation module, configured to generate, by the DK-ECU, second key information according to the physical key information, the vehicle information, and the first random number, compare the first key information with the second key information, and send a comparison result to the digital key;
and the first key information sending module is used for sending the first key information to a physical key to activate the physical key if the comparison result shows that the first key information is matched with the second key information.
Optionally, before the digital key generates the first key information according to the physical key information, the vehicle information, and the first random number, the first key information generating module is further configured to: the digital key and the DK-ECU establish Bluetooth connection; the digital key scans a two-dimensional code on a physical key to obtain physical key information and first check code information; the physical key information comprises a Bluetooth address and identification code information; the digital key generates second check code information according to the physical key information; checking the first check code according to the second check code; after the verification passes, the digital key generates a first random number.
Optionally, the first key information generating module is further configured to: and judging whether the second check code is consistent with the first check code, if so, passing the check, and if not, failing to pass the check.
Optionally, after the digital key sends the first key information to the physical key, the first key information sending module is further configured to: the physical key and the DK-ECU establish Bluetooth connection; the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key; the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU; and the DK-ECU compares the first session key information with the second session key information, and if the first session key information is matched with the second session key information, the authentication is passed, and an authentication result is returned to the physical key.
Optionally, the first key information sending module is further configured to: and the DK-ECU receives the physical key information sent by the physical key so as to acquire corresponding second key information according to the physical key information.
Optionally, the first key information sending module is further configured to: the physical key initiates a Bluetooth connection request to the DK-ECU by scanning the Bluetooth broadcast of the DK-ECU; and the DK-ECU responds to the Bluetooth connection request and establishes Bluetooth connection with the physical key.
The physical key activation device provided by the embodiment of the invention can execute the physical key activation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
FIG. 6 illustrates a schematic structural diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as activation of a method physical key.
In some embodiments, activation of the method physical key may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the activation of the physical key of the method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the activation of the method physical key by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method of activating a physical key, comprising:
the digital key generates first key information according to physical key information, vehicle information and a first random number, and sends the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU;
the DK-ECU generates second key information according to the physical key information, the vehicle information and the first random number, compares the first key information with the second key information, and sends a comparison result to the digital key;
if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to a physical key so as to activate the physical key;
the physical key and the DK-ECU establish Bluetooth connection;
the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key;
the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU;
and the DK-ECU compares the first session key information with the second session key information, if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
2. The method of claim 1, before the digital key generating the first key information from the physical key information, the vehicle information, and the first random number, further comprising:
the digital key and the DK-ECU establish Bluetooth connection;
the digital key scans a two-dimensional code on a physical key to obtain physical key information and first check code information; the physical key information comprises a Bluetooth address and identification code information;
the digital key generates second check code information according to the physical key information;
checking the first check code according to the second check code;
after the verification is passed, the digital key generates a first random number.
3. The method of claim 2, wherein checking the first check code according to the second check code comprises:
and judging whether the second check code is consistent with the first check code, if so, passing the check, and if not, failing to pass the check.
4. The method of claim 1, further comprising, prior to the DK-ECU generating the second random number:
and the DK-ECU receives the physical key information sent by the physical key so as to acquire corresponding second key information according to the physical key information.
5. The method of claim 1, wherein the physical key and the DK-ECU establish a bluetooth connection comprising:
the physical key sends a Bluetooth connection message to the DK-ECU by scanning the Bluetooth broadcast of the DK-ECU and enters a Bluetooth connection state;
and the DK-ECU enters a Bluetooth connection state after receiving the Bluetooth connection message and establishes Bluetooth connection with the physical key.
6. A system for activating a physical key, comprising: a digital key, a physical key and a digital key electronic control unit DK-ECU; the digital key, the physical key and the DK-ECU are connected in a Bluetooth mode;
the digital key generates first key information according to physical key information, vehicle information and a first random number, and sends the first key information, the physical key information and the first random number to the DK-ECU;
the DK-ECU generates second key information according to the physical key information, the first random number and the vehicle information; comparing the first key information with the second key information, and sending a comparison result to the digital key;
if the comparison result is that the first key information is matched with the second key information, the digital key sends the first key information to a physical key so as to activate the physical key;
the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key;
the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU;
and the DK-ECU compares the first session key information with the second session key information, if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
7. An apparatus for activating a physical key, comprising:
the first key information generation module is used for generating first key information by the digital key according to physical key information, vehicle information and a first random number, and sending the first key information, the physical key information and the first random number to a digital key electronic control unit DK-ECU;
a second key information generation module, configured to generate, by the DK-ECU, second key information according to the physical key information, the vehicle information, and the first random number, compare the first key information with the second key information, and send a comparison result to the digital key;
the first key information sending module is used for sending the first key information to a physical key by the digital key to activate the physical key if the comparison result shows that the first key information is matched with the second key information;
the first key information sending module is further configured to: the physical key and the DK-ECU establish Bluetooth connection; the DK-ECU generates a second random number, generates first session key information according to the second random number and the second key information, and sends the second random number to the physical key; the physical key generates second session key information according to the second random number and the stored first key information, and sends the second session key information to the DK-ECU; and the DK-ECU compares the first session key information with the second session key information, if the first session key information is matched with the second session key information, the authentication is passed, and the authentication result is returned to the physical key.
8. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of physical key activation of any one of claims 1-5.
9. A computer-readable storage medium storing computer instructions for causing a processor to perform the method of activating a physical key of any one of claims 1-5 when executed.
CN202211140233.2A 2022-09-20 2022-09-20 Physical key activation method, system, device, equipment and medium Active CN115273289B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211140233.2A CN115273289B (en) 2022-09-20 2022-09-20 Physical key activation method, system, device, equipment and medium
PCT/CN2023/098012 WO2024060673A1 (en) 2022-09-20 2023-06-02 Method, system and apparatus for activating physical key, and device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211140233.2A CN115273289B (en) 2022-09-20 2022-09-20 Physical key activation method, system, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115273289A CN115273289A (en) 2022-11-01
CN115273289B true CN115273289B (en) 2023-01-17

Family

ID=83756081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211140233.2A Active CN115273289B (en) 2022-09-20 2022-09-20 Physical key activation method, system, device, equipment and medium

Country Status (2)

Country Link
CN (1) CN115273289B (en)
WO (1) WO2024060673A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115273289B (en) * 2022-09-20 2023-01-17 上海银基信息安全技术股份有限公司 Physical key activation method, system, device, equipment and medium
CN116546459B (en) * 2023-07-05 2023-09-12 小米汽车科技有限公司 Pairing method, device, storage medium and system for car keys

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5085778B1 (en) * 2011-09-30 2012-11-28 株式会社東芝 Information processing apparatus, activation control method, and program
CN103035054B (en) * 2012-12-29 2015-04-08 江苏中科天安智联科技有限公司 NFC intelligent automobile key system with permission and authorization functions
CN104670159A (en) * 2015-03-20 2015-06-03 云丁网络技术(北京)有限公司 Intelligent lock system and Bluetooth key configuration method thereof
KR102485246B1 (en) * 2017-12-05 2023-01-06 현대자동차주식회사 Vehicle and control method thereof
CN108248548B (en) * 2018-01-08 2020-08-11 东南(福建)汽车工业有限公司 Method and device for remotely sharing automobile key
CN109448195B (en) * 2018-12-12 2021-10-08 无锡车联天下信息技术有限公司 Authentication method and device for vehicle virtual key
CN111376865B (en) * 2018-12-29 2021-03-16 上海银基信息安全技术股份有限公司 Vehicle digital key activation method, system and storage medium
CN110111472B (en) * 2019-05-16 2022-05-13 广州小鹏汽车科技有限公司 Vehicle key control method and device
CN112150682A (en) * 2019-06-27 2020-12-29 北京小米移动软件有限公司 Intelligent access control card, intelligent door lock terminal and intelligent access control card identification method
CN110473318B (en) * 2019-06-28 2021-06-22 创新先进技术有限公司 Unlocking method, equipment for realizing unlocking and computer readable medium
CN114697899A (en) * 2020-12-25 2022-07-01 上汽通用汽车有限公司 Vehicle communication method, server, system, and storage medium
CN114025329A (en) * 2021-11-05 2022-02-08 上海酉擎物联技术有限公司 Method for realizing standby NFC key in CCC application mobile terminal
CN115038062A (en) * 2022-06-01 2022-09-09 上海银基信息安全技术股份有限公司 Bluetooth authentication method, device and equipment
CN115273289B (en) * 2022-09-20 2023-01-17 上海银基信息安全技术股份有限公司 Physical key activation method, system, device, equipment and medium

Also Published As

Publication number Publication date
CN115273289A (en) 2022-11-01
WO2024060673A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
CN115273289B (en) Physical key activation method, system, device, equipment and medium
US20140033286A1 (en) Online user account login method and a server system implementing the method
CN105282088A (en) Method and system for controlling verification server and method and system for controlling verification
CN106201574B (en) Application interface starting method and device
WO2015101171A1 (en) Method, device, and system for updating authentication informatoin
CN115038062A (en) Bluetooth authentication method, device and equipment
US20180357404A1 (en) Information processing method and apparatus, and electronic device
CN113242301A (en) Method and device for selecting real server, computer equipment and storage medium
US20230007008A1 (en) Systems and methods for secure selection of a user profile in a shared context
EP4113901B1 (en) Method and apparatus for authorizing service function, device and storage medium
EP4239518A1 (en) Nfc tag verification method and related device
CN113935008B (en) User authentication method, device, electronic equipment and computer readable storage medium
CN115330396A (en) Payment state acquisition method and device, computer equipment and storage medium
CN111586074B (en) Communication method, server, Internet of things system and readable storage medium
CN114915516A (en) Communication method and device
CN114222277A (en) Wireless Bluetooth headset connection method and device, terminal equipment and wireless Bluetooth headset
CN109660988B (en) Communication authentication processing method and device and electronic equipment
CN104580070A (en) Method, device and system for confirming network conversations
CN113395240A (en) Data acquisition method, device, equipment and medium
CN111010400A (en) Portal authentication method and device
CN117311851A (en) Method, apparatus and computer storage medium for information processing
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN112788603B (en) Verification code forwarding method, device, equipment and medium
CN114629889B (en) Remote control link establishment method, device, equipment and medium
CN116600279A (en) Operating system authorization method, device and equipment of Bluetooth module based on OpenHarmony

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