Vehicle control method, device, equipment and medium based on vehicle digital key

By obtaining and verifying the identity information and control instruction information of the car digital key, combined with the current configuration information of the vehicle, the problem of limited vehicle digital key control functions in existing technologies has achieved richer and flexible vehicle control to meet user needs Essence

CN115946646BActive Publication Date: 2025-01-28CHONGQING CHANGAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310004823.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2025-01-28
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

When controlling the vehicle, the existing digital keys have limited control functions and cannot meet the usage needs of existing users.

Method used

By obtaining the identity information, control instruction information and the current configuration information of the vehicle's digital keys, verify and compare the vehicle to ensure that the identity information is verified and configured with the preset state, and the control instruction information is performed to complete the vehicle control.

Benefits of technology

A richest and flexible vehicle control function is realized, the diverse needs of users are met, and the control efficiency and safety of the number of vehicle digital keys are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115946646B_ABST
    Figure CN115946646B_ABST
Patent Text Reader

Abstract

The present invention provides a vehicle control method, device, equipment and medium based on a vehicle digital key, which obtains the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, and the current configuration information of the vehicle; verifies the identity information of the current vehicle digital key; when the identity information of the current vehicle digital key passes the verification and the current configuration information meets the preset state, executes the control command information of the current vehicle digital key to complete the vehicle control. The present invention first verifies the identity information of the current vehicle digital key, and then determines whether the vehicle can support the corresponding operation of the control command information through the current configuration information of the vehicle. When the identity authentication is passed and the current configuration information of the vehicle meets the preset state, the action corresponding to the control command information can be executed, thereby meeting the user's usage needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and specifically to a vehicle control method, device, equipment and medium based on a vehicle digital key. Background Art

[0002] With the advent of the digital age, the intelligentization of vehicle-mounted ECU (Electronic Control Unit) systems has become a general trend. As a product of vehicle intelligence, digital keys have become standard configurations for most models and are expected to completely replace traditional radio frequency physical keys within the next decade. Digital keys are generated by the backend server and downloaded to the owner's mobile phone APP. At the same time, the owner can share the vehicle key with family or friends, and can set the shared key function permissions and validity period, and can recycle and freeze it at any time.

[0003] Existing digital car keys have limited control functions when controlling vehicles and cannot meet the needs of existing users. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a vehicle control method, device, equipment and medium based on a vehicle digital key to solve the above-mentioned technical problems.

[0005] The present invention provides a vehicle control method based on a vehicle digital key, the method comprising:

[0006] Obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys, wherein the identity information includes the key identity code, key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type;

[0007] constructing a key list based on the identity information of the plurality of vehicle digital keys;

[0008] Comparing the identity information of the current vehicle digital key with the identity information in the key list;

[0009] When the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified;

[0010] When the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state, the control instruction information of the current vehicle digital key is executed to complete the vehicle control.

[0011] In one embodiment of the present invention, obtaining the control command information of the current vehicle digital key includes:

[0012] Obtain the verification data packet of the current vehicle digital key through a preset communication channel;

[0013] Performing integrity check on the verification data packet;

[0014] When the verification data packet is complete, using the preset communication channel as a secure channel;

[0015] A Bluetooth data packet from the current vehicle digital key is acquired through the security channel, and the Bluetooth data packet is parsed to obtain control instruction information of the current vehicle digital key.

[0016] In one embodiment of the present invention, executing the control instruction information of the current vehicle digital key includes:

[0017] Obtain the current time, the key authority in the identity information of the current vehicle digital key, and the key authority end time;

[0018] When the control instruction information satisfies the key authority and the current time is before the end time of the key authority, placing the control instruction information of the current vehicle digital key in a pre-established control instruction message queue, wherein the control instruction message queue includes one or more control instruction information;

[0019] The control instruction information of the current vehicle digital key is executed based on the order of the control instructions in the control instruction message queue.

[0020] In one embodiment of the present invention, executing the control command information of the current vehicle digital key based on the order of the control command message queue includes:

[0021] Counting the control instruction information in the control instruction message queue, and adding a preset value to the preset execution total number each time the control instruction information is executed;

[0022] When executing the control instruction information of the current vehicle digital key, comparing the total number of executions at the current execution time with the total number of executions at the previous execution time;

[0023] When the total number of executions at the current execution time is greater than the total number of executions at the previous execution time, the control instruction information of the current vehicle digital key is executed.

[0024] In one embodiment of the present invention, after executing the control instruction information of the current vehicle digital key, the method further includes:

[0025] Obtaining an execution result, and assigning a feedback sequence number to the execution result;

[0026] placing the execution result in a pre-established execution result message queue according to the feedback sequence number, the execution result message queue including one or more execution results;

[0027] Packing the execution results in the execution result message queue according to a predetermined protocol to obtain a feedback data packet;

[0028] The feedback data packet is sent to a predetermined object based on the order of the feedback data packets in the execution result message queue.

[0029] In one embodiment of the present invention, sending the feedback data packet to a predetermined object based on the order of the execution result message queue includes:

[0030] Counting the feedback data packets in the execution result message queue, and accumulating a preset value to the preset total number of feedback packets each time a feedback data packet is sent;

[0031] When sending the current feedback data packet, the total number of feedbacks at the current sending time is compared with the total number of feedbacks at the previous sending time;

[0032] When the total number of feedbacks at the current sending moment is greater than the total number of feedbacks at the previous sending moment, the current feedback data packet is sent to a predetermined object.

[0033] The present invention also provides a vehicle control device based on a vehicle digital key, the device comprising:

[0034] The atomic service layer is used to obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys. The identity information includes the key identity code, key authority, key authority end time, the vehicle identification code corresponding to the vehicle digital key, and the key type;

[0035] The enhanced service layer is used to construct a key list with the identity information of the multiple vehicle digital keys; compare the identity information of the current vehicle digital key with the identity information in the key list; when the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified;

[0036] The system service layer is used to execute the control instruction information of the current vehicle digital key to complete vehicle control when the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state.

[0037] The present invention further provides an electronic device, comprising:

[0038] one or more processors;

[0039] The storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the application data display method as described above.

[0040] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is enabled to execute the application data display method as described above.

[0041] Beneficial effects of the present invention: A vehicle control method, device, equipment and medium based on a vehicle digital key in the present invention obtains the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, and the current configuration information of the vehicle; verifies the identity information of the current vehicle digital key; when the identity information of the current vehicle digital key passes the verification and the current configuration information meets the preset state, executes the control command information of the current vehicle digital key to complete vehicle control. The present invention first verifies the identity information of the current vehicle digital key, and then determines whether the vehicle can support the corresponding operation of the control command information through the current configuration information of the vehicle. When the identity authentication is passed and the current configuration information of the vehicle meets the preset state, the action corresponding to the control command information can be executed, thereby meeting the user's usage needs.

[0042] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0044] Figure 1 This is an application scenario diagram of a vehicle control method based on a vehicle digital key shown in an exemplary embodiment of the present application.

[0045] Figure 2 is a flow chart of a vehicle control method based on a vehicle digital key according to an exemplary embodiment of the present application;

[0046] Figure 3 is a specific implementation process diagram of a vehicle control method based on a vehicle digital key shown in an exemplary embodiment of the present application;

[0047] Figure 4 is a structural block diagram of a vehicle control device based on a vehicle digital key according to an exemplary embodiment of the present application;

[0048] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0050] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0051] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0052] Figure 1 is an application scenario diagram of a vehicle control method based on a vehicle digital key shown in an exemplary embodiment of the present application, such as Figure 1 As shown, the vehicle control system is connected to the server through the vehicle Internet, and the vehicle control system is also connected to the digital key through Bluetooth. In this embodiment, the vehicle digital key information is managed by the server, and the server configures the authority, function, type and other information of the digital key; the user sends a control instruction through the Bluetooth key, and the vehicle control system forwards the control instruction to the server for identification and processing. After the server confirms that it can be executed, the server returns the execution permission, and the vehicle control system performs the corresponding action through the execution permission. In addition, the vehicle control system returns the information of the control process and control results to the server, which is managed uniformly by the server and can also be pushed to the smart terminal associated with the user.

[0053] in, Figure 1 The smart terminal 110 shown is any device that supports network connection, such as a mobile phone, a tablet, a wearable device, etc. The server 120 is a car navigation server, for example, it can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited here. The smart terminal 110 can communicate with the server 120 through wireless networks such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology), which is not limited here. The Bluetooth key can be a physical key or a virtual key downloaded to the smart terminal 110.

[0054] like Figure 2 As shown, in an exemplary embodiment, the vehicle control method based on the vehicle digital key includes at least steps S210 to S250, which are described in detail as follows:

[0055] S210. Obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys, the identity information including the key identity code, key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type;

[0056] In this embodiment, the identity information of the current vehicle digital key includes at least the authentication status information of the digital key (i.e., whether it has passed the authentication), the digital key ID (unique identity code), the key authority, the key authority end time, the vehicle VIN code (vehicle identification number), and the key type.

[0057] The current configuration information of the vehicle includes at least vehicle speed information, power gear information, door lock status information, window status information, function configuration information, etc.

[0058] The control command information of the current vehicle digital key is the command sent by the user to the vehicle system through the Bluetooth key, which is then forwarded to the server by the vehicle system. After the server identifies and verifies the control command information, it allows the vehicle to execute it.

[0059] A key information domain of the vehicle digital key is established in advance, and the key information domain contains the identity information of all digital keys. The server accesses the key information domain to facilitate the management of multiple digital keys therein.

[0060] S220. Construct a key list with the identity information of multiple vehicle digital keys;

[0061] In step S320, the key list includes identity information of multiple vehicle digital keys, and each row or column in the key list independently stores identity information of a digital key;

[0062] S230. Compare the identity information of the current vehicle digital key with the identity information in the key list;

[0063] In step S330, the key identity code, key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type of the current vehicle digital key are matched one by one with the corresponding information in the key list. When matching, one of the information, such as the identity code, can be used as the reference information; after matching the identity code, the remaining key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type information are matched;

[0064] S240. When the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified.

[0065] In step S340, the identity information of the current vehicle digital key is compared with the identity information in the key list. If the key identity code, key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type completely match any key identity information in the key list, the identity information of the current vehicle digital key is verified.

[0066] S250. When the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state, the control command information of the current vehicle digital key is executed to complete the vehicle control.

[0067] In step S230, if the identity information of the current vehicle digital key is verified, it means that the corresponding operator identity is legal. The server directly forwards the command to the vehicle. The vehicle control system in the vehicle also needs to confirm the current configuration information of the vehicle to ensure that the current state of the vehicle can support the execution of the control command information. For example, if the control command information sent is to lower the window, it is necessary to confirm that the window is not in a completely lowered state at this time, otherwise the command cannot be executed. Specifically, if the current state of the vehicle cannot support the execution of the control command information, the result of the inoperability is directly returned to the smart terminal associated with the user.

[0068] In an embodiment of the invention, the process of obtaining the control command information of the current vehicle digital key may include steps S310 to S340, which are described in detail as follows:

[0069] S310. Obtain the verification data packet of the current vehicle digital key through the preset communication channel;

[0070] In this embodiment, the preset channel may be a Bluetooth channel, and the vehicle system obtains the verification data packet of the Bluetooth key through the Bluetooth network.

[0071] S320. Perform integrity check on the verification data packet;

[0072] In step S320, the integrity check can be performed by comparing the verification data packet with the pre-stored standard data packet, and key information (such as parity numbers) can be preset in the verification data packet to query the key information.

[0073] S330. When verifying the integrity of the data packet, the preset communication channel is used as a secure channel;

[0074] In step S330, when the data packet is verified to be complete, it indicates that the data transmitted through the preset channel is complete, so the preset communication channel is used for subsequent data transmission, and the preset communication channel can also be used as a secure channel. In addition, the secure channel has a life cycle, and during the duration of the life cycle, the data transmitted through the secure channel can be considered to be complete.

[0075] S340. Obtain the Bluetooth data packet from the current vehicle digital key through the security channel, and parse the Bluetooth data packet to obtain control command information.

[0076] In step S340, the digital key packages the control command information into a Bluetooth data packet through the Bluetooth transmission protocol. During the life cycle of the security channel, the vehicle control system parses the Bluetooth data packet through the Bluetooth transmission protocol to obtain the control execution information.

[0077] In an embodiment of the invention, the process of executing the control command information of the current vehicle digital key may include steps S410 to S430, which are described in detail as follows:

[0078] S410. Obtain the current time, key authority, and key authority end time in the identity information of the current vehicle digital key;

[0079] In this embodiment, the key authority and key authority end time in the identity information of the current vehicle digital key are both the identity information of the current vehicle digital key and can be directly extracted; the current time can be obtained through the Internet.

[0080] S420. When the control command information satisfies the key authority and the current time is before the end time of the key authority, the control command information of the current vehicle digital key is placed in a pre-established control command message queue, and the control command message queue includes one or more control command information;

[0081] In step S420, the key authority refers to the range of vehicle actions that can be controlled by the key. For example, the authority of a digital key includes raising and lowering windows, opening and closing doors, and opening and closing the trunk. If the command issued by the digital key is to turn on the lights, then the authority is not satisfied. The authority has a time limit. Sending the command to raise and lower windows, open and close doors, and open and close the trunk outside the restricted time also does not satisfy the authority;

[0082] In this embodiment, since the server manages multiple digital keys, the control command information sent by the digital keys may not be processed in a timely manner. Therefore, it is necessary to build a control command message queue to ensure that the control command information sent by each digital key can be executed.

[0083] S430. Execute the control command information of the current vehicle digital key based on the order of the control command information in the control command message queue.

[0084] In step S430, the order of the control instruction message queue is the time order of uploading the control instruction information.

[0085] In an embodiment of the invention, the process of executing the control command information of the current vehicle digital key based on the order of the control command message queue may include steps S510 to S530, which are described in detail as follows:

[0086] S510. Count the control instruction information in the control instruction message queue, and each time the control instruction information is executed, add a preset value to the preset execution total number;

[0087] In this embodiment, a preset counter is used to ensure the security of the control instruction message queue during execution. The specific principle is: if the execution queue is attacked, multiple identical control instruction messages are sent repeatedly, which will cause queue congestion or even jamming during the execution stage. By using a counter to count the control instruction messages in the control instruction message queue, the control instructions in the control instruction message queue can have numbers that increase in sequence, and congestion or even jamming can be avoided by executing according to the numbers.

[0088] S520. When executing the control command information of the current vehicle digital key, compare the total number of executions at the current execution time with the total number of executions at the previous execution time;

[0089] In step S520, since the control instructions in the control instruction message queue have numbers that increase in sequence, by comparing the total number of executions at the current execution time with the total number of executions at the previous execution time, it can be determined whether the currently executed control instruction information is the control instruction information in the queue;

[0090] S530. When the total number of executions at the current execution time is greater than the total number of executions at the previous execution time, execute the control instruction information of the current vehicle digital key.

[0091] In step S530, if the total number of executions at the current execution time is greater than the total number of executions at the previous execution time, it means that the control instruction information currently being executed is the control instruction information in the queue and can be executed.

[0092] In an embodiment of the invention, the process after executing the control instruction information of the current vehicle digital key may further include steps S610 to S640, which are described in detail as follows:

[0093] S610. Obtain the execution result and assign a feedback sequence number to the execution result;

[0094] In this embodiment, the execution result is generated after the execution is completed, including execution success and execution failure.

[0095] S620. Placing the execution result in a pre-established execution result message queue according to the feedback sequence number, the execution result message queue including one or more execution results;

[0096] In step S620, since the server manages multiple digital keys, the execution results generated after executing multiple control instruction information may not be able to be fed back in time. Therefore, it is necessary to build an execution result message queue to ensure that each execution result can be fed back successfully.

[0097] S630. Pack the execution results in the execution result message queue according to a predetermined protocol to obtain a feedback data packet;

[0098] In step S630, when the server feeds back the execution result to the user's smart terminal or vehicle computer, it needs to package the result data according to the corresponding communication protocol and then transmit it.

[0099] S640. Send the feedback data packet to a predetermined object based on the order of the feedback data packets in the execution result message queue.

[0100] In step S640, the predetermined object is generally a corresponding vehicle or a user's smart terminal, and the feedback data packet includes the IP address of the predetermined object for accurate transmission.

[0101] In addition, the feedback timeout mechanism is followed during the feedback process. That is, in order to prevent the process from being stuck, if no feedback data packet is received after the time threshold has passed after the control instruction information is executed, the process is terminated.

[0102] In an embodiment of the invention, the process of sending the feedback data packet to the predetermined object based on the order of the execution result message queue may include steps S710 to S730, which are described in detail as follows:

[0103] S710. Count the feedback packets in the execution result message queue, and add a preset value to the preset total number of feedback packets each time a feedback packet is sent;

[0104] In this embodiment, a preset counter is used to ensure the security of the execution result message queue feedback process. The specific principle is: if the execution result message queue is attacked and multiple identical execution results are repeatedly sent, the queue will be congested or even stuck during the feedback sending stage. By using a counter to count the execution results in the execution result message queue, the execution results in the execution result message queue can have numbers that increase in sequence, and feedback according to the numbers can avoid congestion or even stuck.

[0105] S720. When sending the current feedback data packet, compare the total number of feedbacks at the current sending time with the total number of feedbacks at the previous sending time;

[0106] In step S720, since the execution results in the execution result message queue have numbers that increase in sequence, by comparing the total number of feedbacks at the current sending moment with the total number of feedbacks at the previous sending moment, it can be determined whether the currently sent feedback data packet is a feedback data packet in the queue;

[0107] S730. When the total number of feedbacks at the current sending moment is greater than the total number of feedbacks at the previous sending moment, the current feedback data packet is sent to a predetermined object.

[0108] In step S730, if the total number of feedbacks at the current sending moment is greater than the total number of feedbacks at the previous sending moment, it indicates whether the current execution result is an execution result in the queue, and feedback can be sent.

[0109] like Figure 3 As shown, the specific implementation process is as follows;

[0110] Step 1: Get the current Bluetooth connection status and the corresponding mac (MediaAccessControlAddress, media access control) address, and establish a Bluetooth connection mac address list;

[0111] Step 2: Packetize the data, check the integrity, and after the Bluetooth connection is established, start multiple data interactions to complete the establishment of a secure channel, obtain key information of the digital key, and then create a key list;

[0112] Step 3: During the life cycle of the current security channel, Bluetooth data is continuously acquired, and after the data is verified, the legal RKE control instructions are parsed and transmitted to the application layer for execution;

[0113] Step 4: Use the mac address to associate the RKE command with the corresponding key information to determine the current key authentication status, command authority, and command counter legitimacy;

[0114] Step 5: Establish a control command message queue, use the FIFO mechanism to transmit the control command to the system service, and start the control feedback timeout mechanism;

[0115] Step 6: Execute the control instruction and send control feedback according to the execution result;

[0116] Step 7: After receiving the control instruction feedback, clear the control feedback counter, establish a control feedback message queue, and send the control feedback data in sequence;

[0117] Step 8: After packaging the data according to the predetermined protocol, send control feedback.

[0118] A vehicle control method based on a vehicle digital key in the present invention obtains the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, and the current configuration information of the vehicle; verifies the identity information of the current vehicle digital key; when the identity information of the current vehicle digital key passes the verification and the current configuration information meets the preset state, executes the control command information of the current vehicle digital key to complete vehicle control. The present invention first verifies the identity information of the current vehicle digital key, and then determines whether the vehicle can support the corresponding operation of the control command information through the current configuration information of the vehicle. When the identity authentication is passed and the current configuration information of the vehicle meets the preset state, the action corresponding to the control command information can be executed, thereby meeting the user's usage needs.

[0119] like Figure 4 As shown, the present invention also provides a vehicle control device based on a vehicle digital key, the system comprising:

[0120] The atomic service layer is used to obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys. The identity information includes the key identity code, key authority, key authority end time, the vehicle identification code corresponding to the vehicle digital key, and the key type;

[0121] The enhanced service layer is used to construct a key list with the identity information of the multiple vehicle digital keys; compare the identity information of the current vehicle digital key with the identity information in the key list; when the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified;

[0122] The system service layer is used to execute the control instruction information of the current vehicle digital key to complete vehicle control when the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state.

[0123] A vehicle control device based on a vehicle digital key in the present invention obtains the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, and the current configuration information of the vehicle; verifies the identity information of the current vehicle digital key; when the identity information of the current vehicle digital key passes the verification and the current configuration information meets the preset state, executes the control command information of the current vehicle digital key to complete vehicle control. The present invention first verifies the identity information of the current vehicle digital key, and then determines whether the vehicle can support the corresponding operation of the control command information through the current configuration information of the vehicle. When the identity authentication is passed and the current configuration information of the vehicle meets the preset state, the action corresponding to the control command information can be executed, thereby meeting the user's usage needs.

[0124] It should be noted that the vehicle control device based on the vehicle digital key provided in the above embodiment and the vehicle control method based on the vehicle digital key provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual application, the vehicle control device based on the vehicle digital key provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0125] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by one or more processors, the electronic device implements a vehicle control method based on a vehicle digital key provided in the above-mentioned embodiments.

[0126] Figure 5 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 5The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0127] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In RAM503, various programs and data required for system operation are also stored. CPU501, ROM502 and RAM503 are connected to each other through a bus 504. Input / output (I / O) interface 505 is also connected to bus 504.

[0128] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.

[0129] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.

[0130] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0131] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0132] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0133] Another aspect of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute a vehicle control method based on a vehicle digital key as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0134] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes a vehicle control method based on a vehicle digital key provided in each of the above embodiments.

[0135] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present invention should still be covered by the claims of the present invention.

Claims

1. A vehicle control method based on a vehicle digital key, characterized in that: The method comprises: Obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys, wherein the identity information includes the key identity code, key authority, key authority end time, vehicle identification code corresponding to the vehicle digital key, and key type; constructing a key list based on the identity information of the plurality of vehicle digital keys; Comparing the identity information of the current vehicle digital key with the identity information in the key list; When the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified; When the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state, the control instruction information of the current vehicle digital key is executed to complete the vehicle control, and the preset state is used to determine whether the current configuration information supports the execution of the control instruction information. The control instruction information of the current vehicle digital key is executed, including: obtaining the current time, the key authority in the identity information of the current vehicle digital key, and the key authority end time; when the control instruction information meets the key authority and the current time is before the key authority end time, the control instruction information of the current vehicle digital key is placed in a pre-established control instruction message queue, and the control instruction message queue includes one or more control instruction information; the control instruction information of the current vehicle digital key is executed based on the order of the control instructions in the control instruction message queue.

2. A vehicle control method based on a vehicle digital key according to claim 1, characterized in that: Get the control command information of the current vehicle digital key, including: Obtain the verification data packet of the current vehicle digital key through a preset communication channel; Performing integrity check on the verification data packet; When the verification data packet is complete, using the preset communication channel as a secure channel; A Bluetooth data packet from the current vehicle digital key is acquired through the security channel, and the Bluetooth data packet is parsed to obtain control instruction information of the current vehicle digital key.

3. A vehicle control method based on a vehicle digital key according to claim 1, characterized in that: Executing the control command information of the current vehicle digital key based on the order of the control command message queue includes: Counting the control instruction information in the control instruction message queue, and adding a preset value to the preset execution total number each time the control instruction information is executed; When executing the control instruction information of the current vehicle digital key, comparing the total number of executions at the current execution time with the total number of executions at the previous execution time; When the total number of executions at the current execution time is greater than the total number of executions at the previous execution time, the control instruction information of the current vehicle digital key is executed.

4. A vehicle control method based on a vehicle digital key according to claim 1, characterized in that: After executing the control instruction information of the current vehicle digital key, it also includes: Obtaining an execution result, and assigning a feedback sequence number to the execution result; placing the execution result in a pre-established execution result message queue according to the feedback sequence number, the execution result message queue including one or more execution results; Packing the execution results in the execution result message queue according to a predetermined protocol to obtain a feedback data packet; The feedback data packet is sent to a predetermined object based on the order of the feedback data packets in the execution result message queue.

5. A vehicle control method based on a vehicle digital key according to claim 4, characterized in that: Sending the feedback data packet to a predetermined object based on the order of the execution result message queue includes: Counting the feedback data packets in the execution result message queue, and accumulating a preset value to the preset total number of feedback packets each time a feedback data packet is sent; When sending the current feedback data packet, the total number of feedbacks at the current sending time is compared with the total number of feedbacks at the previous sending time; When the total number of feedbacks at the current sending moment is greater than the total number of feedbacks at the previous sending moment, the current feedback data packet is sent to a predetermined object.

6. A vehicle control device based on a vehicle digital key, characterized in that: The device comprises: The atomic service layer is used to obtain the identity information of the current vehicle digital key, the control command information of the current vehicle digital key, the current configuration information of the vehicle, and the identity information of multiple vehicle digital keys. The identity information includes the key identity code, key authority, key authority end time, the vehicle identification code corresponding to the vehicle digital key, and the key type; The enhanced service layer is used to construct a key list with the identity information of the multiple vehicle digital keys; compare the identity information of the current vehicle digital key with the identity information in the key list; when the identity information of the current vehicle digital key is consistent with any identity information in the key list, the identity information of the current vehicle digital key is verified; The system service layer is used to execute the control instruction information of the current vehicle digital key to complete vehicle control when the identity information of the current vehicle digital key is verified and the current configuration information meets the preset state, and the preset state is used to determine whether the current configuration information supports the execution of the control instruction information. The execution of the control instruction information of the current vehicle digital key includes: obtaining the current time, the key authority in the identity information of the current vehicle digital key, and the key authority end time; when the control instruction information meets the key authority and the current time is before the key authority end time, the control instruction information of the current vehicle digital key is placed in a pre-established control instruction message queue, and the control instruction message queue includes one or more control instruction information; the control instruction information of the current vehicle digital key is executed based on the order of control instructions in the control instruction message queue.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement a vehicle control method based on a vehicle digital key as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute a vehicle control method based on a vehicle digital key as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Vehicle interconnected control and data service system based on intelligent terminal

    CN105897809A

  • Authorization method, device and system of vehicle Bluetooth key and storage medium

    CN112440935A