Car control method and device based on digital key, electronic equipment and readable medium
By detecting the wallet key function of mobile devices and providing options, combining wallet management and applet import mechanisms, the limitations of single use of wallet keys are solved, and the car control capability is realized in any scenario, improving the flexibility and reliability of the application sex.
Patent Information
- Application Number
- CN202411213068.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, only using wallet keys for vehicle control have limitations, and it is impossible to cover all mobile phone models, which limits application scenarios.
By detecting whether the mobile device supports the wallet key function, if supported, display the wallet key and applet key controls. Users can choose to use the corresponding digital key to control the car; when supporting the wallet key, identity verification and data activation are performed through the wallet management application ;When the wallet key is not supported, the key import and verification are carried out through the mini program of the instant messaging platform.
Ensure that users can use digital keys to control the car in any scenario, solve the limitations of single use of wallet keys and improve the flexibility and reliability of controlling the car.
Smart Images

Figure CN119091529A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, device, electronic device and readable medium based on a digital key. Background Art
[0002] With the development of intelligent and connected cars, digital car key technology based on mobile phones or other wearable devices is becoming more mature and gradually replacing traditional physical keys. Among them, the most widely used is Bluetooth key, which is connected to the car Bluetooth through the mobile phone Bluetooth. After the user downloads the digital car key through the car company APP, he can perform short-range car control operations, such as unlocking the door, opening the trunk, and finding the car. In actual application, using the wallet key to control the car through the car company APP is the preferred solution, but the wallet key cannot cover all mobile phone models, so using only the wallet key to control the car has limitations in application scenarios.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The present application provides a vehicle control method, device, electronic device and readable medium based on a digital key to solve the technical problem that there are limitations in application scenarios when only using a wallet key to control a vehicle.
[0005] In the first aspect, the present application provides a vehicle control method based on a digital key, comprising: when it is detected that an application is started, a query request is sent to the cloud through the application, and the query result returned by the cloud is received, wherein the query request is used to request whether the current mobile device supports the wallet key function; if the query result indicates that the mobile device supports the wallet key function, then the wallet key control and the mini-program key control are displayed at the same time; when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; and the vehicle is controlled by the digital key.
[0006] Optionally, when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, including: when it is detected that the wallet key control is triggered, jumping to the wallet management application; obtaining the vehicle information entered by the target object on the wallet management application, and authenticating the target object; if the identity authentication passes, sending a download request to the cloud, wherein the download request carries the vehicle information; receiving the wallet key data returned by the cloud, and activating the wallet key data to complete the addition of the digital key.
[0007] Optionally, when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, including: when it is detected that the mini-program key control is triggered, jumping to the mini-program of the instant messaging platform, wherein the user account of the application is associated with the user account of the instant messaging platform; when it is detected that the import control is triggered, sending an import request to the cloud, wherein the import request includes the account information of the user account; receiving and displaying a vehicle list corresponding to the user account returned by the cloud; determining the target vehicle selected by the target object from the vehicle list, and sending a key request to the cloud; verifying the key information returned by the cloud, and after the verification passes, downloading the mini-program key corresponding to the target vehicle through the cloud to complete the addition of the digital key.
[0008] Optionally, controlling the vehicle through a digital key includes: when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a first distance, controlling the target vehicle for contactless unlocking through the digital key, and the digital key is a wallet key or a mini-program key; when it is detected that the distance between the mobile device and the target vehicle is greater than the first distance, controlling the target vehicle for contactless locking through the digital key.
[0009] Optionally, controlling the vehicle through a digital key also includes: displaying a vehicle control interface when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a second distance; generating an operation instruction corresponding to the operation control when it is detected that any operation control on the vehicle control interface is triggered; calling the vehicle control interface, and sending the operation instruction to the target vehicle through the vehicle control interface to control the target vehicle to perform an action corresponding to the operation instruction.
[0010] Optionally, after adding the mini program key, the method also includes: when detecting that the application is started or switched from the background to the foreground, sending a channel switching request to the mini program so that the mini program releases the Bluetooth channel in use; and establishing a connection between the application and the vehicle through the Bluetooth channel.
[0011] Optionally, after adding the mini program key, the method also includes: when it is detected that the application is closed or switched from the foreground to the background, disconnecting the connection between the application and the vehicle to release the Bluetooth channel; and establishing a connection between the mini program and the vehicle through the Bluetooth channel.
[0012] In the second aspect, the present application provides a vehicle control device based on a digital key, including: a query module, which is used to send a query request to the cloud through the application when it is detected that the application is started, and receive the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function; a display module, which is used to display the wallet key control and the mini-program key control at the same time if the query result indicates that the mobile device supports the wallet key function; an adding module, which is used to add a digital key corresponding to the target operation when a target operation triggered by a target object is detected, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; a vehicle control module, which is used to control the vehicle through a digital key.
[0013] In a third aspect, the present application provides an electronic device comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, the memory and the processor communicate through the communication bus and the communication interface, and the steps of the above method are implemented when the processor executes the computer program.
[0014] In a fourth aspect, the present application also provides a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute the above method.
[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:
[0016] The present application adopts a method for controlling a car based on a digital key, including: when detecting that an application is started, sending a query request to the cloud through the application, and receiving the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function; if the query result indicates that the mobile device supports the wallet key function, then displaying the wallet key control and the mini-program key control at the same time; when detecting a target operation triggered by a target object, adding a digital key corresponding to the target operation, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; and controlling the car through the digital key. The corresponding control is displayed by querying whether the mobile device supports the wallet key function. If the wallet key function is supported, the controls for adding the wallet key and the mini-program key are displayed at the same time. If the wallet key function is not supported, only the control for adding the mini-program key is displayed. The user can select the digital key he wants to use in combination with the device function and his own needs, ensuring that the user can use the digital key to control the car in any scenario, solving the problem that there are limitations in the application scenario of using only the wallet key to control the car. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 A flowchart of an optional vehicle control method based on a digital key provided according to an embodiment of the present application;
[0020] Figure 2 A schematic diagram of an optional key management interface provided according to an embodiment of the present application;
[0021] Figure 3 A schematic diagram of another optional key management interface provided according to an embodiment of the present application;
[0022] Figure 4 A schematic diagram of an optional method of controlling a vehicle through a wallet key according to an embodiment of the present application;
[0023] Figure 5 A schematic diagram of an optional method of controlling a vehicle through a mini-program key according to an embodiment of the present application;
[0024] Figure 6 A block diagram of an optional vehicle control device based on a digital key provided according to an embodiment of the present application;
[0025] Figure 7 A schematic diagram of an optional electronic device structure provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] 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.
[0027] 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.
[0028] For ease of description, spatial relative terms may be used in the text to describe the relative position or movement of an element or feature as shown in the figure relative to another element or feature, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure undergoes a position flip or a change in posture or a change in motion state, then these directional indications will also change accordingly, for example: an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." can include both upper and lower orientations. The device can be oriented otherwise (rotated 90 degrees or in other directions) and the spatial relative descriptors used in the text are interpreted accordingly.
[0029] With the development of intelligent and connected cars, digital car key technology based on mobile phones or other wearable devices is becoming more mature and gradually replacing traditional physical keys. Among them, the most widely used is Bluetooth key, which is connected to the car Bluetooth through the mobile phone Bluetooth. After the user downloads the digital car key through the car company APP, he can perform short-range car control operations, such as unlocking the door, opening the trunk, and finding the car. In actual application, using the wallet key to control the car through the car company APP is the preferred solution, but the wallet key cannot cover all mobile phone models, so using only the wallet key to control the car has limitations in application scenarios.
[0030] In order to solve the problems mentioned in the background technology, according to one aspect of the embodiment of the present application, a vehicle control method based on a digital key is provided, such as Figure 1 As shown, including:
[0031] Step 101, when detecting that the application is started, sending a query request to the cloud through the application, and receiving the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function;
[0032] Step 103: If the query result indicates that the mobile device supports the wallet key function, then the wallet key control and the mini-program key control are displayed simultaneously;
[0033] Step 105, when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, wherein the target operation includes a wallet key control being triggered or a mini-program key control being triggered;
[0034] Step 107, controlling the vehicle via the digital key.
[0035] Specifically, the application in this application can be a car company APP.
[0036] When the application is detected to be started, a query request is sent to the cloud through the application, including: after downloading and starting the APP, the user registers and logs in to the real-name authenticated car owner account on the APP, then selects the key management interface, and then requests the cloud through the APP to query whether the current mobile device supports ICCOA (Intelligent Car Connectivity OpenAlliance) digital keys and cache the results.
[0037] For example, if the mobile phone supports wallet keys, the wallet key control will be displayed, and the prompt text "Add XX wallet key" for importing wallet keys will be displayed. Click "wallet key control" to jump to the key management interface of the mobile phone system wallet. The user imports the key according to the guidance. The process of importing the key is the process of downloading the wallet key. The whole process involves the issuance and transmission of certificates and keys between the mobile phone APP, the cloud and the manufacturer. When the wallet key is used for the first time, authentication between the manufacturer's wallet key and the vehicle side is required. After successful authentication, the wallet key is activated and can be used. After importing, there is no private key locally, only the wallet key.
[0038] For example, if the query result indicates that the mobile device does not support the wallet key function, the mini-program key control will be displayed, and the user can directly use the mini-program to import the digital key.
[0039] Figure 2 A schematic diagram of a key management interface provided for an embodiment of the present application. As shown in the figure, if the current mobile device supports the wallet key function, the interface will display an "Add to mobile wallet" button (i.e., wallet key control) and a "Mini program key" button (i.e., mini program key control) at the same time, and the user can select any one of the digital keys to import.
[0040] When the user downloads the car manufacturer's APP for the first time on the mobile terminal and logs in to the car owner account, the private digital key is automatically downloaded to the local phone. The cloud interface is used to query whether the mobile phone model supports the system wallet key. If it supports the mobile wallet key, the user is guided to import the mobile wallet key and go to the mobile wallet to set the key. After the import, the private key becomes invalid and can be unlocked and locked without feeling through the mobile wallet. The car can also be controlled remotely through the interface opened by the wallet in the car manufacturer's APP. If the mobile device model does not support mobile wallets, the user is guided to import the mini program key. After importing, the mini program key is used for seamless unlocking. When the car manufacturer's APP switches to the foreground, it can switch to the private Bluetooth connection through the application switching command, and the car can also be controlled remotely.
[0041] The present application provides a solution for controlling the vehicle using a digital key that can be applied to multiple scenarios. It is recommended that the car manufacturer's APP be connected to the mobile wallet key. For users who do not support mobile wallets, the WeChat mini-program key is connected. The dual mechanisms of the mobile phone system and the highly active platform are used to ensure the success rate of contactless activation and improve the contactless unlocking experience. At the same time, users can also switch the car manufacturer's APP to the foreground at any time for short-range vehicle control, continuing the original mentality of using the car to control the car.
[0042] As an optional embodiment, when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, including: when it is detected that the wallet key control is triggered, jumping to the wallet management application; obtaining the vehicle information entered by the target object on the wallet management application, and authenticating the target object; if the identity authentication passes, sending a download request to the cloud, wherein the download request carries the vehicle information; receiving the wallet key data returned by the cloud, and activating the wallet key data to complete the addition of the digital key.
[0043] Jump to the wallet management application: When it is detected that the wallet key control is triggered by the user, the system will automatically jump to the associated wallet management application. The wallet management application is an application on mobile devices used to manage digital keys and payment information.
[0044] In the wallet management application, the system will prompt the user to enter relevant vehicle information (such as license plate number, vehicle identification number, etc.). The system will also authenticate the user to ensure the legality and security of the operation. Authentication may include password entry, biometrics (such as fingerprint or facial recognition) and other methods.
[0045] After successful authentication, the application will send a download request to the cloud, which will carry the vehicle information just entered by the user. The cloud server will search and generate wallet key data that matches the vehicle information based on the request and return it to the application. After receiving the wallet key data, the application can be automatically activated to add the wallet key.
[0046] After adding the wallet key, you can view the wallet key in the mobile phone system wallet. The wallet key can be clicked to control the vehicle, delete, share, freeze and other functions. The actual experience varies depending on the manufacturer, but all support contactless unlocking, that is, after the Bluetooth module on the mobile phone scans the Bluetooth broadcast sent by the Bluetooth module on the vehicle, it establishes a connection with the vehicle. When the mobile phone is brought close to the vehicle to the contactless unlocking area, the vehicle is unlocked. The user does not need to take out the mobile phone during the whole process. Similarly, when the mobile phone is carried away from the vehicle to the contactless locking area, the vehicle is locked contactlessly.
[0047] It should be noted that during the first standard authentication of the vehicle and mobile phone, the vehicle obtains the digital key certificate from the mobile phone, and the mobile terminal DKF (Digital Key Framework) sends the key status (activated) to the mobile device server, and then the mobile device server calls the notify Key Event of the APP server to synchronize the key status.
[0048] As an optional embodiment, when a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, including: when it is detected that the mini-program key control is triggered, jumping to the mini-program of the instant messaging platform, wherein the user account of the application is associated with the user account of the instant messaging platform; when it is detected that the import control is triggered, sending an import request to the cloud, wherein the import request includes the account information of the user account; receiving and displaying a vehicle list corresponding to the user account returned by the cloud; determining the target vehicle selected by the target object from the vehicle list, and sending a key request to the cloud; verifying the key information returned by the cloud, and after the verification passes, downloading the mini-program key corresponding to the target vehicle through the cloud to complete the addition of the digital key.
[0049] When it is detected that the mini program key control is triggered, the system will automatically jump to the mini program of the instant messaging platform. The user account of the application and the user account of the instant messaging platform have been pre-bound or associated.
[0050] In the mini program, when the import control is triggered, the system will send an import request to the cloud. The import request contains the relevant account information of the user account, which is used to query the vehicle information associated with the account in the cloud. The application receives the vehicle list returned by the cloud, which shows all the vehicle information associated with the user account. The user can select the target vehicle from the list. When the target object selects the target vehicle, the system will send a key request to the cloud, requesting the key information corresponding to the target vehicle. After the system receives the key information returned by the cloud, it will verify the key. If the verification passes, the system will download the mini program key corresponding to the target vehicle through the cloud to complete the addition of the mini program key.
[0051] For example, click the "Mini Program Key" button on the key management interface to jump to the "My Car Key" WeChat mini program, click "Start Import", and the cloud returns the vehicle list corresponding to the user ID for synchronization. After the key legitimacy verification is successful, the key download is completed and the import is completed according to the guidance. After importing, you can view the key list, switch keys, control the vehicle remotely, and view the vehicle status on the mini program interface.
[0052] Optionally, before downloading the key, you need to complete security authentication, that is, register the public key. Before returning the car owner's applet key data to the applet server, the cloud key management should turn off the applet key switch.
[0053] Optionally, the "My Car Key" applet on the instant messaging platform imports keys in the form of "one person, one car, one key, one card". The keys that can be imported must be the owner's digital keys associated with the car company account corresponding to the mobile phone number of the instant messaging platform.
[0054] The entire mini program key adding process mainly includes verification and key importing, ensuring that users can safely add and manage vehicle-related mini program keys through associated accounts in the mini program of the instant messaging platform.
[0055] It should be noted that when the key used by the car owner is a wallet key, that is, the key has been added to the mobile wallet, the user is not allowed to import the car owner's key to the mini program on the instant messaging platform because the mobile key conflict cannot be handled. If you want to use the mini program key, you need to remove the wallet key and then import the mini program key.
[0056] Figure 3 A schematic diagram of another key management interface provided for an embodiment of the present application. As shown in the figure, the key management interface shows that a mobile wallet has been added (i.e., the wallet key has been imported). There is also a "mini program key" control on the key management interface, which is used to import the mini program key when the wallet key is removed.
[0057] For example, if the user already has a wallet key, the key management interface will show that the XX wallet key has been added. Click the "Mini Program Key" jump button on the interface, and a pop-up window will prompt "It is detected that the current key has been imported into the wallet. Please go to the wallet to delete the key and then import the mini program key"; if the car owner has imported the mini program key, click the "Add XX Wallet Key" jump button, and a pop-up window will prompt "It is detected that the current key has been imported into the mini program. Please go to the mini program to delete the key and then import it into XX wallet."
[0058] In addition, in the technical solution provided by the present application, in order to ensure the real-time and accuracy of the digital key data, information synchronization needs to be maintained during the operation of the digital key.
[0059] For example, when the mobile phone APP is started, it requests the cloud to query the digital key data of the current user and vehicle and perform the key synchronization operation. After the APP is started, in addition to querying the device support, it is also necessary to request the cloud to obtain the digital key data associated with the current user and vehicle. Then perform the synchronization operation to compare or update the key data in the cloud with the key data stored locally to ensure that the local data is the latest.
[0060] For example, after entering the APP digital key interface, it is necessary to request the cloud to query key data and synchronize the key again, and then display it according to the stored key data. When the user enters the digital key management interface, the APP needs to request the latest key data from the cloud again and perform synchronization operations. Ensure that the user always sees the latest and valid key information when viewing or using the key. According to the synchronized data, the APP will update the interface display and present the relevant key information.
[0061] For example, if you share a key, after switching to the key sharing interface, you need to request the cloud to query the key data and synchronize the key again, and then display the shared digital key information. When the user switches to the key sharing interface, the APP needs to request the latest key data from the cloud again and synchronize it. After the synchronization is completed, the APP will display the digital key information that can be shared currently. In this way, it can be ensured that the user shares the latest and valid key when sharing the key.
[0062] As an optional embodiment, controlling a vehicle through a digital key includes: when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a first distance, controlling the target vehicle to be unlocked seamlessly through the digital key, and the digital key is a wallet key or a mini-program key; when it is detected that the distance between the mobile device and the target vehicle is greater than the first distance, controlling the target vehicle to be locked seamlessly through the digital key.
[0063] Continuously monitor the distance between the mobile device (such as a mobile phone) and the target vehicle. When the system detects that the distance between the mobile device and the target vehicle is less than or equal to a first distance (a preset range, such as 1 meter or 2 meters), the system will automatically trigger the senseless unlocking. When the system detects that the distance between the mobile device and the target vehicle is greater than the first distance, the system will automatically trigger the senseless locking.
[0064] The communication between the digital key and the vehicle provided in the present application can realize the contactless unlocking of the vehicle, without the need for manual operation by the user or taking out a mobile device for operation, providing a convenient and safe vehicle control experience.
[0065] The distance of contactless unlocking and locking varies according to different equipment models, and needs to be unified after consistency calibration, so the first distance can be set according to actual conditions, and this application does not limit this.
[0066] As an optional embodiment, controlling a vehicle through a digital key also includes: displaying a vehicle control interface when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a second distance; generating an operation instruction corresponding to the operation control when it is detected that any operation control on the vehicle control interface is triggered; calling the vehicle control interface, and sending the operation instruction to the target vehicle through the vehicle control interface to control the target vehicle to perform an action corresponding to the operation instruction.
[0067] The second distance can be set according to actual conditions, and this application does not limit this. The first distance and the second distance can be the same or different.
[0068] The system continuously monitors the distance between a mobile device (such as a mobile phone) and a target vehicle. When it detects that the distance between the mobile device and the target vehicle is less than or equal to a second distance, the system automatically displays a vehicle control interface. The vehicle control interface may include a variety of vehicle control options, such as starting the engine, opening and closing windows, and honking the horn.
[0069] The user can select different operation controls (such as opening the door, starting, honking, etc.) on the vehicle control interface. When any operation control is detected to be triggered, the system will generate an operation instruction corresponding to the operation control. For example, when the user selects the "open door" control, the system will generate an operation instruction to open the door. The system calls the preset vehicle control interface and sends the generated operation instruction to the target vehicle through the interface. Through the vehicle's communication system, the target vehicle receives the operation instruction and performs the corresponding action, such as unlocking the door, starting the engine, etc.
[0070] For example, after the APP is started, it queries the cloud for the data of the digital key, and the cloud returns the key interface. After the communication link is established, the user clicks the short-range vehicle control button on the APP homepage and implements short-range control by calling the vehicle control interface provided by the wallet key. For example, clicking the unlock button on the APP homepage will unlock the vehicle accordingly.
[0071] Figure 4 A schematic diagram of controlling a car through a wallet key is provided in an embodiment of the present application. As shown in the figure, the car control interface of the APP includes multiple car control buttons and smart driving buttons, wherein the car control buttons include a car lock control button, a window control button, a rear door control button and a car search button, and the smart driving buttons include remote parking and direct call.
[0072] For example, after the mini program key is connected to the vehicle via Bluetooth, the vehicle can be controlled remotely on the mini program homepage. For example, click the unlock button on the mini program homepage, and the vehicle will unlock with the corresponding command. The mini program's remote vehicle control function can be integrated and flexibly configured by the APP SDK (Software Development Kit). The mini program can also be used for senseless unlocking. When the APP is closed or in the background, the system will prioritize activating the mini program key for senseless unlocking, that is, open the instant messaging platform, bring the mobile phone close to the vehicle to the senseless unlocking area, and the vehicle will be unlocked. Similarly, bring the mobile phone away from the vehicle to the senseless locking area, and the vehicle will be senselessly locked.
[0073] Figure 5 A schematic diagram of controlling a vehicle through a mini-program key is provided in an embodiment of the present application. As shown in the figure, the vehicle control interface includes a door lock control button, a tailgate control button, a vehicle search button, and a window control button. In addition, the vehicle condition details and vehicle settings can also be viewed on the vehicle control interface.
[0074] When the user approaches the vehicle, the vehicle control interface is automatically displayed, allowing the user to control various functions of the vehicle through simple operations. The entire process is based on the secure authentication and communication of the digital key to ensure the accuracy and safety of vehicle control.
[0075] As an optional embodiment, after adding the mini-program key, the method also includes: when detecting that the application is started or switched from the background to the foreground, sending a channel switching request to the mini-program so that the mini-program releases the Bluetooth channel in use; and establishing a connection between the application and the vehicle through the Bluetooth channel.
[0076] The system continuously monitors the status of the application. When it detects that the application is started or switched from the background to the foreground, the system will send a channel switching request to the added mini-program. The purpose of this request is to ask the mini-program to release the Bluetooth channel currently in use to avoid conflicts with the application. After the mini-program receives the channel switching request, it will release the occupied Bluetooth channel to ensure that Bluetooth communication resources are available. After the Bluetooth channel is released, the system will establish a Bluetooth connection between the application and the vehicle through the Bluetooth channel. This Bluetooth connection can be used for data transmission and command control between the application and the vehicle.
[0077] For example, when the APP is opened or switched to the foreground, the APP will request to switch the mini-program Bluetooth channel. After the switch is successful, the APP Bluetooth will establish a connection with the vehicle, and the vehicle can be controlled through the short-range control button on the APP homepage.
[0078] When the APP is started or switched from the background to the foreground, a channel switching request is sent to the mini program so that the Bluetooth channel can be used immediately, ensuring that Bluetooth resources can be effectively managed between the application and the mini program to avoid conflicts, and ensuring that the application can communicate with the vehicle via Bluetooth smoothly when needed.
[0079] As an optional embodiment, after adding the mini program key, the method also includes: when it is detected that the application is closed or switched from the foreground to the background, disconnecting the connection between the application and the vehicle to release the Bluetooth channel; and establishing a connection between the mini program and the vehicle through the Bluetooth channel.
[0080] The system continuously monitors the status of the application. When it detects that the application is closed or switched to the background, the system disconnects the Bluetooth connection between the application and the vehicle. After the connection is disconnected, the Bluetooth channel will be released, making it available for communication with other applications.
[0081] Once the Bluetooth channel is released, the system will establish a connection between the mini program and the vehicle through the released Bluetooth channel. Through this connection, the mini program can continue to communicate with the vehicle and perform functions such as controlling the vehicle and reading the vehicle status.
[0082] For example, when the APP is closed or switched to the background, the mini program requests to switch the APP Bluetooth channel to connect to the vehicle-side Bluetooth.
[0083] When the application no longer needs to communicate with the vehicle, the Bluetooth channel will be released and give way to the mini program, thereby achieving efficient use of resources and a smooth transition of user experience.
[0084] This application combines wallet keys, mini-program keys, and private keys to form a key product matrix, and prioritizes them according to their respective experience advantages and disadvantages. It recommends the optimal key solution based on the actual user situation, rather than all users using a single key solution. This not only solves the problem of contactless preservation, but also ensures the reliability and security of the Bluetooth connection. It is generally applicable to all users and easier to implement in practice.
[0085] The present application adopts a method for controlling a car based on a digital key, including: when detecting that an application is started, sending a query request to the cloud through the application, and receiving the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function; if the query result indicates that the mobile device supports the wallet key function, then displaying the wallet key control and the mini-program key control at the same time; when detecting a target operation triggered by a target object, adding a digital key corresponding to the target operation, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; and controlling the car through the digital key. The corresponding control is displayed by querying whether the mobile device supports the wallet key function. If the wallet key function is supported, the controls for adding the wallet key and the mini-program key are displayed at the same time. If the wallet key function is not supported, only the control for adding the mini-program key is displayed. The user can select the digital key he wants to use in combination with the device function and his own needs, ensuring that the user can use the digital key to control the car in any scenario, solving the problem that there are limitations in the application scenario of using only the wallet key to control the car.
[0086] According to another aspect of the embodiment of the present application, the present application provides a vehicle control device based on a digital key, such as Figure 6 As shown, including:
[0087] The query module 602 is used to send a query request to the cloud through the application when the application is detected to be started, and receive the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function;
[0088] A display module 604 is used to display a wallet key control and a mini-program key control at the same time if the query result indicates that the mobile device supports the wallet key function;
[0089] An adding module 606, configured to add a digital key corresponding to a target operation when a target operation triggered by a target object is detected, wherein the target operation includes a wallet key control being triggered or a mini-program key control being triggered;
[0090] The vehicle control module 608 is used to control the vehicle through a digital key.
[0091] It should be noted that the query module 602 in this embodiment can be used to execute step 101 in the embodiment of the present application, the display module 604 in this embodiment can be used to execute step 103 in the embodiment of the present application, the adding module 606 in this embodiment can be used to execute step 105 in the embodiment of the present application, and the vehicle control module 608 in this embodiment can be used to execute step 107 in the embodiment of the present application.
[0092] Optionally, the adding module 606 includes a first adding sub-module, which is used to jump to the wallet management application when it is detected that the wallet key control is triggered; obtain the vehicle information entered by the target object on the wallet management application, and authenticate the target object; if the identity authentication is passed, send a download request to the cloud, wherein the download request carries the vehicle information; receive the wallet key data returned by the cloud, and activate the wallet key data to complete the addition of the digital key.
[0093] Optionally, the adding module 606 also includes a second adding sub-module, which is used to add a digital key corresponding to the target operation when the target operation triggered by the target object is detected, including: when it is detected that the mini-program key control is triggered, jumping to the mini-program of the instant messaging platform, wherein the user account of the application is associated with the user account of the instant messaging platform; when it is detected that the import control is triggered, sending an import request to the cloud, wherein the import request includes the account information of the user account; receiving and displaying the vehicle list corresponding to the user account returned by the cloud; determining the target vehicle selected by the target object from the vehicle list, and sending a key request to the cloud; verifying the key information returned by the cloud, and after the verification passes, downloading the mini-program key corresponding to the target vehicle through the cloud to complete the addition of the digital key.
[0094] Optionally, the vehicle control module 608 is also used to control the target vehicle to be unlocked seamlessly by a digital key when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a first distance, and the digital key is a wallet key or a mini-program key; when it is detected that the distance between the mobile device and the target vehicle is greater than the first distance, the target vehicle is locked seamlessly by the digital key.
[0095] Optionally, the vehicle control module 608 is also used to display the vehicle control interface when it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to a second distance; generate an operation instruction corresponding to the operation control when it is detected that any operation control on the vehicle control interface is triggered; call the vehicle control interface, and send the operation instruction to the target vehicle through the vehicle control interface to control the target vehicle to perform the action corresponding to the operation instruction.
[0096] Optionally, the device also includes a first processing module, which is used to send a channel switching request to the mini program after adding the mini program key and detecting that the application is started or switched from the background to the foreground, so that the mini program releases the Bluetooth channel in use; and establish a connection between the application and the vehicle end through the Bluetooth channel.
[0097] Optionally, the device also includes a second processing module, which is used to disconnect the connection between the application and the vehicle end after adding the mini-program key, so as to release the Bluetooth channel when it is detected that the application is closed or switched from the foreground to the background; and establish a connection between the mini-program and the vehicle end through the Bluetooth channel.
[0098] It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.
[0099] According to another aspect of the embodiments of the present application, the present application provides an electronic device, such as Figure 7 As shown, it includes a memory 701, a processor 703, a communication interface 705 and a communication bus 707. The memory 701 stores a computer program that can be run on the processor 703. The memory 701 and the processor 703 communicate through the communication interface 705 and the communication bus 707. When the processor 703 executes the computer program, the steps of the above method are implemented.
[0100] The memory and processor in the above electronic device communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
[0101] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0102] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0103] According to another aspect of the embodiments of the present application, a computer-readable medium having a non-volatile program code executable by a processor is provided.
[0104] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0105] When the embodiments of the present application are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.
[0106] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0108] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0109] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A vehicle control method based on a digital key, characterized in that: include: When detecting that the application is started, sending a query request to the cloud through the application, and receiving the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function; If the query result indicates that the mobile device supports the wallet key function, then displaying the wallet key control and the mini-program key control at the same time; When a target operation triggered by a target object is detected, a digital key corresponding to the target operation is added, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; The vehicle is controlled by the digital key.
2. The method according to claim 1, characterized in that: When a target operation triggered by a target object is detected, adding a digital key corresponding to the target operation includes: When it is detected that the wallet key control is triggered, jump to the wallet management application; Obtaining vehicle information input by the target object on the wallet management application, and authenticating the target object; If the identity authentication is passed, a download request is sent to the cloud, wherein the download request carries the vehicle information; Receive the wallet key data returned by the cloud, and activate the wallet key data to complete the addition of the digital key.
3. The method according to claim 1, characterized in that When a target operation triggered by a target object is detected, adding a digital key corresponding to the target operation includes: When it is detected that the mini-program key control is triggered, jump to the mini-program of the instant messaging platform, wherein the user account of the application is associated with the user account of the instant messaging platform; When it is detected that the import control is triggered, sending an import request to the cloud, wherein the import request includes account information of the user account; Receive and display the vehicle list corresponding to the user account returned by the cloud; Determine a target vehicle selected by the target object from the vehicle list, and send a key request to the cloud; The key information returned by the cloud is verified, and after the verification is passed, the mini-program key corresponding to the target vehicle is downloaded through the cloud to complete the addition of the digital key.
4. The method according to claim 1, characterized in that The controlling the vehicle by using the digital key includes: When it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to the first distance, the target vehicle is controlled to be unlocked without feeling by using the digital key, where the digital key is the wallet key or the mini program key; When it is detected that the distance between the mobile device and the target vehicle is greater than the first distance, the target vehicle is controlled to be locked without feeling by using the digital key.
5. The method according to claim 1, characterized in that The controlling the vehicle by the digital key also includes: When it is detected that the distance between the mobile device and the controlled target vehicle is less than or equal to the second distance, displaying a vehicle control interface; When it is detected that any operation control on the vehicle control interface is triggered, an operation instruction corresponding to the operation control is generated; The vehicle control interface is called, and the operation instruction is sent to the target vehicle through the vehicle control interface to control the target vehicle to perform an action corresponding to the operation instruction.
6. The method according to claim 3, characterized in that After adding the applet key, the method further includes: When detecting that the application is started or switched from the background to the foreground, sending a channel switching request to the applet so that the applet releases the Bluetooth channel being used; A connection is established between the application and the vehicle end through the Bluetooth channel.
7. The method according to claim 3, characterized in that After adding the applet key, the method further includes: When it is detected that the application is closed or switched from the foreground to the background, disconnect the connection between the application and the vehicle end to release the Bluetooth channel; A connection is established between the mini program and the vehicle end through the Bluetooth channel.
8. A vehicle control device based on a digital key, characterized in that: include: A query module, used to send a query request to the cloud through the application when the application is detected to be started, and receive the query result returned by the cloud, wherein the query request is used to request whether the current mobile device supports the wallet key function; A display module, configured to display a wallet key control and a mini-program key control simultaneously if the query result indicates that the mobile device supports the wallet key function; An adding module, configured to add a digital key corresponding to a target operation triggered by a target object when a target operation is detected, wherein the target operation includes the wallet key control being triggered or the mini-program key control being triggered; The vehicle control module is used to control the vehicle through the digital key.
9. An electronic device, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate through the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the method according to any one of claims 1 to 7.
