Calibration method and apparatus for digital key, and electronic device, vehicle and storage medium
By obtaining the location information of the vehicle's physical key and the mobile terminal digital key, and optimizing calibration parameters using UWB and neural network models, the problem of low calibration efficiency of mobile terminal digital keys is solved, and a more efficient and accurate calibration process is achieved, improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/070293
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-05
- Filing Date
- 2025-01-02
- Publication Date
- 2025-07-10
AI Technical Summary
In the prior art, the calibration efficiency of digital keys for mobile terminals is low and limited, and cannot cover all mobile phones on the market, resulting in poor user experience.
By obtaining the position information of the vehicle physical key relative to the vehicle and the positioning information of the mobile terminal digital key relative to the vehicle anchor point, a high-precision positioning mechanism such as UWB is used, combined with neural network models and iterative optimization algorithms, the calibration parameters are determined for calibration of the digital key.
Improves the efficiency and accuracy of digital key calibration and improves user experience.
Smart Images

Figure CN2025070293_10072025_PF_FP_ABST
Abstract
Description
Digital key calibration method, device, electronic device, vehicle and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 5, 2024, with application number 202410022037.8 and application name “Digital key calibration method, device, electronic device, vehicle and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to, but is not limited to, the field of vehicle technology, and more specifically, to a digital key calibration method, device, electronic device, vehicle, and storage medium. Background Art
[0003] With the rapid development of the automotive industry, consumers are increasingly valuing the convenience of car keys. Car keys have evolved through mechanical keys, chip keys, remote control keys, keyless entry systems, and digital keys. Digital keys, among other technologies, use precise positioning, near-field communication (NFC), and other near-field communication technologies, along with more secure key management, to transform devices like smartphones, NFC smart cards, smartwatches, and smart bracelets into car keys. This allows for a comfortable and convenient car experience, including keyless entry and starting, remote key authorization for others, and personalized vehicle settings.
[0004] Digital keys utilize Bluetooth technology for communication and have a wide range of applications. Mobile phones are the primary carrier of digital keys. However, calibrating a mobile phone currently takes a long time, is inefficient, and doesn't cover every phone on the market. This means that calibrating digital keys for mobile devices is limited. Summary of the Invention
[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0006] The purpose of this application is to provide a digital key calibration method, device, electronic device, vehicle and storage medium, which improves the problem of limited calibration of digital keys for mobile terminals, improves the efficiency and accuracy of calibration of digital keys for mobile terminals, and enhances user experience.
[0007] In a first aspect, the present application provides a digital key calibration method, the method comprising:
[0008] In response to a calibration function being triggered, obtaining position information of a physical key of a vehicle relative to the vehicle, and position information of a digital key of a mobile terminal relative to at least one anchor point of the vehicle, wherein a distance between the physical key and the mobile terminal is less than a preset threshold;
[0009] determining, in a preset calibration model, calibration parameters for calibrating the digital key with the vehicle based on the positioning information and the location information;
[0010] The digital key is calibrated according to the calibration parameters.
[0011] Optionally, obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle includes:
[0012] obtaining distance information of the physical key relative to at least one anchor point of the vehicle;
[0013] The distance information is used as an input of a preset position model to obtain position information of the physical key relative to the vehicle output by the preset position model.
[0014] Optionally, obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle includes:
[0015] Acquiring, based on a communication connection between the mobile terminal and the vehicle, a wireless signal broadcast frame sent by the mobile terminal and received at least one anchor point of the vehicle;
[0016] According to the wireless signal broadcast frame, positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle is determined.
[0017] Optionally, determining, in a preset calibration model based on the positioning information and the location information, calibration parameters for calibrating the digital key and the vehicle includes:
[0018] Based on initial calibration parameters preset for the preset calibration model, obtaining predicted position information output by the preset calibration model when the positioning information is used as input to the preset calibration model;
[0019] According to the error between the predicted position information and the position information, the initial calibration parameters are iteratively optimized until the error meets a preset convergence condition, thereby obtaining corresponding calibration parameters.
[0020] Optionally, the method further includes:
[0021] Obtain parameter information of the mobile terminal, and store the parameter information and the calibration parameters in correspondence.
[0022] Optionally, before obtaining the position information of the physical key of the vehicle relative to the vehicle and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle in response to the calibration function being triggered, the method further includes:
[0023] A touch operation on a preset button is received to trigger the calibration function.
[0024] In a second aspect, the present application provides a digital key calibration device, the device comprising:
[0025] an acquisition module configured to acquire, when a calibration function is triggered, position information of a physical key of a vehicle relative to the vehicle and position information of a digital key of a mobile terminal relative to at least one anchor point of the vehicle, wherein a distance between the physical key and the mobile terminal is less than a preset threshold;
[0026] a processing module configured to determine, in a preset calibration model, calibration parameters for calibrating the digital key with the vehicle based on the positioning information and the location information;
[0027] The calibration module is configured to calibrate the digital key according to the calibration parameters.
[0028] Optionally, the acquisition module is configured to:
[0029] obtaining distance information of the physical key relative to at least one anchor point of the vehicle;
[0030] The distance information is used as input of a preset position model to obtain the position information of the physical key output by the preset position model.
[0031] Optionally, the acquisition module is configured to:
[0032] Acquiring, based on a communication connection between the mobile terminal and the vehicle, a wireless signal broadcast frame sent by the mobile terminal and received at least one anchor point of the vehicle;
[0033] According to the wireless signal broadcast frame, positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle is determined.
[0034] Optionally, the processing module is configured to:
[0035] Based on initial calibration parameters preset for the preset calibration model, obtaining predicted position information output by the preset calibration model when the positioning information is used as input to the preset calibration model;
[0036] According to the error between the predicted position information and the position information, the initial calibration parameters are iteratively optimized until the error meets a preset convergence condition, thereby obtaining corresponding calibration parameters.
[0037] Optionally, the acquisition module is further configured to:
[0038] Obtain parameter information of the mobile terminal, and store the parameter information and the calibration parameters in correspondence.
[0039] Optionally, the acquisition module is further configured to:
[0040] A touch operation on a preset button is received to trigger the calibration function.
[0041] In a third aspect, the present application provides an electronic device, specifically comprising:
[0042] processor;
[0043] a memory for storing instructions executable by the processor;
[0044] The processor is configured to execute the instructions to perform the digital key calibration method as described in the first aspect.
[0045] In a fourth aspect, the present application provides a vehicle comprising the electronic device as described in the third aspect.
[0046] In the fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the instructions in the computer-readable storage medium are executed by the processor of an electronic device, the electronic device can implement the digital key calibration method described in the first aspect.
[0047] In a sixth aspect, the present application provides a computer program, comprising a program code. When a computer runs the computer program, the program code executes the digital key calibration method as described in the first aspect.
[0048] The embodiments of the present application provide a digital key calibration method, device, electronic device, vehicle, and storage medium. The method includes: in response to a calibration function being triggered, obtaining the position information of the vehicle's physical key relative to the vehicle, and the positioning information of the mobile terminal's digital key relative to at least one anchor point of the vehicle, wherein the distance between the physical key and the mobile terminal is less than a preset threshold; based on the positioning information and the position information, determining the calibration parameters for calibrating the digital key with the vehicle in a preset calibration model; and calibrating the digital key based on the calibration parameters. In this way, the digital key of the mobile terminal is calibrated based on the physical key, which improves the problem of limited calibration of the physical key of the mobile terminal, improves the efficiency and accuracy of calibration of the digital key of the mobile terminal, and enhances the user experience.
[0049] Still other aspects will become apparent upon reading and understanding the accompanying drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] FIG1 is a schematic diagram of the architecture of a digital key calibration system provided in an embodiment of the present application;
[0051] FIG2 is a schematic diagram of a flow chart of a digital key calibration method provided in an embodiment of the present application;
[0052] FIG3 is a schematic diagram of detecting physical key position information in an embodiment of the present application;
[0053] FIG4 is a schematic diagram of determining the position relationship of physical keys in an embodiment of the present application;
[0054] FIG5 is a schematic diagram of detecting the location information of a digital key in an embodiment of the present application;
[0055] FIG6 is a schematic diagram of a specific process of a digital key calibration method provided in an embodiment of the present application;
[0056] FIG7 is a schematic diagram of the structure of a digital key calibration device provided in an embodiment of the present application;
[0057] FIG8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0059] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0060] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if" as used herein may be interpreted as "at the time of," "when," or "in response to a determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or" and "and / or" as used herein are to be interpreted as inclusive, meaning any one or any combination. Thus, “A, B, or C” or “A, B, and / or C” means “any of: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition occurs only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0061] It is to be understood that, although the various steps in the flowcharts in the embodiments of the present application are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in order and may be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, which are not necessarily performed at the same time but may be performed at different times, and their execution order is not necessarily performed in sequence but may be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0062] It should be noted that in this article, step codes such as S1 and S2 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial restriction on the order. When implementing the step, those skilled in the art may execute S2 first and then S1, etc., but these should all be within the scope of protection of this application.
[0063] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0064] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of this application and have no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.
[0065] In one optional approach, digital keys are calibrated, typically in the vehicle manufacturer's laboratory. First, based on the determined location information, the manufacturer measures the differences in signal strength received at different anchor points on the vehicle for different mobile terminals, such as mobile phones. Second, the measured signal strengths are input into a positioning algorithm model, and fitting is performed to obtain the determined location information. This fitting process generates different fitting parameters for different mobile phones, and these fitting parameters can be managed indexed by phone model. As can be understood, when the vehicle and phone authenticate the key, the corresponding phone model is obtained. The vehicle then finds the configured fitting parameters based on the phone model and imports them into a pre-set algorithm model. The phone's signal strength is then measured at various anchor points on the vehicle, generating a corresponding set of data. Finally, the signal strength data measured at each anchor point is input into the pre-set algorithm model to calculate the phone's location information, thereby calibrating the phone based on this location information. However, this calibration method requires the manufacturer to use dedicated facilities, personnel, and equipment to collect data and fit the algorithm for different phone models. At the same time, after obtaining the calibration parameters, it is necessary to build a corresponding system to manage the parameters and send them to the corresponding vehicles. Although a good calibration effect can be achieved, it is very expensive. In response to the above problems, referring to Figures 1 and 2, the digital key calibration method provided by this application can be used to calibrate the digital key of the mobile terminal based on the physical key provided by the car manufacturer for the vehicle based on a high-precision positioning mechanism such as UWB (Ultra Wide Band). In this way, the user can calibrate the digital key by combining the physical key and the digital key of the mobile terminal in a specific way.
[0066] The digital key calibration method provided in the embodiments of the present application may be performed by a digital key calibration device provided in the embodiments of the present application. The digital key calibration device may be implemented in software and / or hardware, such as an electronic device such as an in-vehicle terminal or an in-vehicle controller. The digital key calibration method provided in the embodiments of the present application includes:
[0067] Step S1: In response to the calibration function being triggered, the position information of the vehicle's physical key relative to the vehicle and the positioning information of the mobile terminal's digital key relative to at least one anchor point of the vehicle are obtained, and the distance between the physical key and the mobile terminal is less than a preset threshold.
[0068] Optionally, the digital key and physical key can be placed together and moved around the vehicle simultaneously to simultaneously obtain the physical key's position information relative to the vehicle and the digital key's positioning information relative to at least one anchor point of the vehicle. Generally, after the calibration function is triggered, the user can simultaneously move the physical key and digital key around the vehicle to obtain the corresponding position information and positioning information.
[0069] Generally, as shown in Figure 1, six anchor points can be set on the vehicle, namely, the left front position, the right front position, the left rear position, the right rear position, the center of the front seat, and the center of the rear seat. In this way, the location information of the physical key is determined by the six anchor points, which helps to improve the accuracy of physical key positioning.
[0070] In one embodiment, in response to the calibration function being triggered, obtaining the position information of the physical key of the vehicle relative to the vehicle and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle includes:
[0071] A touch operation on a preset button is received to trigger the calibration function.
[0072] Alternatively, the digital key calibration function can be triggered through a mobile device or the vehicle's central control screen, and a message indicating the calibration function has been triggered is sent to the vehicle's electronic devices. Upon receiving this information, the vehicle's electronic devices then detect the location and positioning information of the physical or digital key through various anchor points set up in the vehicle.
[0073] In one embodiment, obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle includes:
[0074] obtaining distance information of the physical key relative to at least one anchor point of the vehicle;
[0075] The distance information is used as input of a preset position model to obtain the position information of the physical key output by the preset position model.
[0076] As shown in Figure 3, first, communication is established between the physical key and at least one anchor point of the vehicle based on UWB technology. Communication between the physical key and the vehicle can also be achieved based on the Car Connectivity Consortium Digital Key protocol, without specific limitation. Secondly, through the established positioning session, distance information of the physical key relative to at least one anchor point of the vehicle, UWB wireless interface information, and other information can be determined based on time of flight (TOF) or other ranging mechanisms. Here, a neural network model is used as an example: the preset distance and location information of the physical key are used as the input and output of the preset location model to train the preset location model. The distance information can be converted into an input format acceptable to the neural network. For example, the distance information can be normalized to be between 0 and 1 and converted into a corresponding feature vector. A neural network model is constructed that accepts the distance information as input and outputs the physical key's location information. This model can be implemented using a multilayer perceptron (MLP) or other type of neural network. A dataset containing distance information and corresponding physical key location information can be provided for training. After training is complete, the trained neural network model is used to predict new distance information to obtain the physical key location information to verify and optimize the prediction results. Here, the predicted results can be compared with the actual physical key location, or other methods can be used to improve the accuracy and reliability of the prediction.
[0077] In other embodiments, concentric circles can be drawn with each anchor point as the center point and the distance information as the radius. In this case, the concentric circles corresponding to the anchor points will have an intersection, and the intersection is determined as the location of the physical key. Here, the coordinates of the intersection of the physical key can be represented by drawing a coordinate axis, and the coordinates of the intersection are determined as the location information of the physical key.
[0078] In other embodiments, the area around the vehicle can also be divided into blocks and numbered to determine the area where the physical key is located. Specifically, as shown in Figure 4, the area of a preset size where the vehicle is located is divided into m areas, and each area is numbered accordingly, such as Area 1, Area 2, ..., Area M. After determining the intersection of the concentric circles corresponding to each anchor point of the vehicle, the area where the intersection is located is detected to determine the location information of the physical key. In this way, the intersection of the concentric circles is determined as the location information of the physical key and is specifically represented, which helps to improve the accuracy of detecting the specific location information of the physical key.
[0079] In one embodiment, obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle includes:
[0080] Acquiring, based on a communication connection between the mobile terminal and the vehicle, a wireless signal broadcast frame sent by the mobile terminal and received at least one anchor point of the vehicle;
[0081] According to the wireless signal broadcast frame, positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle is determined.
[0082] Optionally, the positioning information includes the signal strength of the digital key relative to at least one anchor point. Here, the wireless signal broadcast frame may be a Bluetooth broadcast frame, or Wi-Fi Direct, i.e., Wi-Fi direct connection technology. Taking the wireless signal broadcast frame as an example, as shown in FIG5 , the digital key communicates based on BLE (Bluetooth Low Energy, low-power Bluetooth) technology, and sends a specific Bluetooth broadcast frame to at least one anchor point of the vehicle. Correspondingly, after listening to this specific frame, the anchor point measures the signal strength of the received frame. Here, the RSSI (received signal strength indication) value of the BLE chip is calculated by measuring the received wireless signal strength. When a BLE device sends a signal, the surrounding devices will receive the signal and calculate the received signal strength, which helps to improve the stability and reliability of communication between the digital key and the vehicle.
[0083] Optionally, the mechanism by which the anchor function sends positioning information to the positioning function can be to send and receive positioning information as needed, or to buffer data for a certain period before sending it to the electronic device, without limitation. It should be noted that the detection time of the positioning data of the digital key and the physical key should correspond to the same sampling time.
[0084] Step S2: Determine calibration parameters for calibrating the digital key and the vehicle in a preset calibration model based on the positioning information and the location information.
[0085] Optionally, the physical key's location information and the digital key's positioning information are mapped. That is, during data collection, the collected physical key and digital key positioning information have a one-to-one correspondence. The physical key's positioning information is now replaced with the physical key's location information. This establishes a mapping between the digital key's positioning information and the physical key's relative position to the vehicle. Specifically, the positioning algorithm can be trained using the digital key's positioning information as an input parameter and the physical key's location information as an output parameter to obtain calibration parameters for calibrating the digital key to the vehicle.
[0086] In one embodiment, determining, in a preset calibration model based on the positioning information and the location information, calibration parameters for calibrating the digital key with the vehicle includes:
[0087] Based on initial calibration parameters preset for the preset calibration model, obtaining predicted position information output by the preset calibration model when the positioning information is used as input to the preset calibration model;
[0088] According to the error between the predicted position information and the position information, the initial calibration parameters are iteratively optimized until the error meets a preset convergence condition, thereby obtaining corresponding calibration parameters.
[0089] Optionally, the preset calibration model can be a convolutional neural network model, a recurrent neural network model, a random forest algorithm model, a gradient boosting decision tree model (GBDT), etc., which is not specifically limited here.
[0090] For example, using a convolutional neural network as the pre-set calibration model, the initial calibration parameters are iteratively optimized using a backpropagation algorithm. First, the weights and biases of the neural network model are initialized. These parameters can be randomly set based on the tester's experience or initialized using some heuristic method. Second, the positioning information is fed into the neural network model as input layer data, and the predicted position information is calculated using a forward propagation algorithm. The error between the predicted and actual position information is then calculated. The mean squared error (MSE) or other loss function can be used to measure the magnitude of the error. The backpropagation algorithm is then used to calculate the gradient of the error with respect to each weight and bias term. The gradient represents the sensitivity of the error change to parameter changes. The weights and biases of the neural network model can be updated based on the magnitude and direction of the gradient. Parameter updates can be performed using gradient descent or other optimization algorithms. The above calculation steps are repeated based on the position and positioning information obtained from multiple anchor points on the vehicle until the error meets a preset convergence condition, thereby obtaining the corresponding calibration parameters. It is understood that the convergence condition can be when the error is less than a certain threshold or when the number of iterations reaches a preset maximum. Finally, when the detection error meets the convergence criteria, the weights and biases of the neural network model become the optimized calibration parameters. This optimization of the pre-set calibration model based on the received physical key location information and the digital key positioning information improves the accuracy and reliability of the predicted positioning, thereby enhancing overall system performance.
[0091] Exemplarily, the preset calibration model is taken as a gradient boosting decision tree model (GBDT). First, the positioning information is used as the input feature and the position information is used as the output label to ensure the quality and diversity of the data set so that the model can learn effective features and positioning relationships. Secondly, the data set is divided into a training set and a test set so that the performance of the model can be evaluated during the training process. Then, a suitable gradient boosting decision tree model (such as XGBoost, LightGBM, etc.) is selected and the corresponding parameters are set. Furthermore, the model is trained using the training set, and better performance is obtained by optimizing the parameters of the model. Here, the performance of the model can be evaluated by using the test set, including evaluating indicators such as the accuracy and recall rate of the model. Finally, the trained calibration model is determined, and the corresponding position information is detected based on the positioning information through the calibration model.
[0092] In one embodiment, the method further comprises:
[0093] Obtain parameter information of the mobile terminal, and store the parameter information and the calibration parameters in correspondence.
[0094] Optionally, after obtaining the calibration parameters of the digital key and the parameter information of the mobile terminal corresponding to the digital key, the calibration parameters are associated with the parameter information of the mobile terminal, the associated calibration parameters and parameter information are stored accordingly, and sent to the corresponding digital key management platform. Here, the parameter information of the mobile terminal may include information such as the mobile terminal device type and model.
[0095] Step S3: Calibrate the digital key according to the calibration parameters.
[0096] Optionally, after the digital key is calibrated, the user can remove the physical key and use the digital key alone to test the sensorless function. For example, the user can hold the mobile terminal close to the car door to observe whether the door can be unlocked to confirm the validity of the calibration parameters.
[0097] In summary, in the digital key calibration method provided in the above embodiment, the digital key of the mobile terminal is calibrated according to the physical key, which improves the problem of limited calibration of the physical key of the mobile terminal, improves the efficiency and accuracy of calibration of the digital key of the mobile terminal, and enhances the user experience.
[0098] Based on the same inventive concept as the above embodiments, the above embodiments are described in detail through a specific embodiment below. In this example, the mobile terminal is a mobile phone and the digital key is a mobile phone key.
[0099] 6 is a schematic diagram illustrating a specific process of a digital key calibration method according to an embodiment of the present application. The digital key calibration method specifically includes the following steps:
[0100] Step S101: The user triggers the self-calibration function.
[0101] Optionally, self-calibration has certain site requirements, including: a relatively open environment to allow the vehicle to collect key location information at different locations. Furthermore, the environment should be free of any interference with BLE and UWB signals, such as obstructions or other signal sources. Self-calibration can be initiated from any source, including a mobile phone interface, the vehicle's central control screen, or any other means that can trigger self-calibration.
[0102] Step S102: triggering the self-calibration service of the vehicle and the physical key.
[0103] Optionally, the positioning function needs to establish a UWB-based positioning session between the anchor function and the physical key. The specific mechanism is not limited by this patent and can be a mechanism based on the Car Connectivity Consortium Digital Key protocol or other protocols. Here, the positioning function needs to establish a BLE-based positioning session between the anchor function and the mobile key. The session logic is relatively simple. Basically, the mobile key sends a specific Bluetooth broadcast frame, and the anchor listens for this specific frame and measures the signal strength of the received frame.
[0104] Step S103: The positioning function collects the positioning information of the physical key and the mobile phone key through the anchor point function.
[0105] Optionally, the physical key's positioning information includes distance information measured using TOF (Time of Flight) or other similar distance measurement mechanisms, as well as other information on the UWB wireless interface that helps improve positioning accuracy, such as signal strength. The mobile phone key's positioning information primarily includes BLE signal strength.
[0106] Optionally, this patent does not limit the mechanism by which the anchor function sends positioning information to the positioning function. It can be sent as soon as it is received, or it can be cached for a certain period of time and then sent, or other mechanisms. In any case, the positioning data of the mobile phone key and the physical key should be able to align the sampling time.
[0107] Step S104: The user adjusts the position according to the set method, and the vehicle continues to collect positioning information of the physical key and the mobile phone key.
[0108] Optionally, depending on the algorithm's capabilities, movement trajectories can vary between car manufacturers. Generally, we aim to capture data on the likely trajectory of a user using the vehicle, such as a user approaching the main door or another door in a straight line from a distance. Because the physical key provides the vehicle with the phone key's location information, data collection doesn't require strict sampling locations, giving users greater freedom.
[0109] Step S105: The positioning function uses the positioning information of the physical key to calculate the position of the physical key, and imports the position of the physical key as the position of the mobile phone key into the self-calibration algorithm to calculate the self-calibration parameters.
[0110] Optionally, the positioning function first uses the physical key's location information to calculate the physical key's relative position relative to the vehicle. Here, the positioning function maps the location information to the positioning information. That is, when data is collected, there is a one-to-one correspondence between the physical key and the mobile phone key's location information collected at a certain moment. Now, the physical key's location information is replaced with the mobile phone key's location information. In this way, the mobile phone key's location information is mapped to the mobile phone key's relative position relative to the vehicle.
[0111] Optionally, the positioning information of the mobile phone key is used as an input parameter of the positioning algorithm, and the position information of the mobile phone key is used as an output parameter to train the positioning algorithm and obtain calibration parameters of the algorithm.
[0112] Step S106: After the positioning function completes the self-calibration, the self-calibration is ended by the user.
[0113] At this point, the vehicle can use this calibration parameter to locate the mobile phone key.
[0114] In summary, in the digital key calibration method provided in the above embodiment, the digital key of the mobile terminal is calibrated according to the physical key, which improves the problem of limited calibration of the physical key of the mobile terminal, improves the efficiency and accuracy of calibration of the digital key of the mobile terminal, and enhances the user experience.
[0115] Based on the same inventive concept as the above embodiments, referring to FIG7 , the present application provides a digital key calibration device, which includes:
[0116] an acquisition module, configured to acquire, when a calibration function is triggered, position information of a physical key of a vehicle relative to the vehicle and position information of a digital key of a mobile terminal relative to at least one anchor point of the vehicle, wherein a distance between the physical key and the mobile terminal is less than a preset threshold;
[0117] a processing module, configured to determine, in a preset calibration model, calibration parameters for calibrating the digital key and the vehicle based on the positioning information and the location information;
[0118] A calibration module is used to calibrate the digital key according to the calibration parameters.
[0119] In one embodiment, the acquisition module is specifically configured to:
[0120] obtaining distance information of the physical key relative to at least one anchor point of the vehicle;
[0121] The position information of the physical key relative to the vehicle is determined according to the intersection of concentric circles formed with each anchor point as the center point and the distance information as the radius.
[0122] In one embodiment, the acquisition module is specifically configured to:
[0123] Acquiring, based on a communication connection between the mobile terminal and the vehicle, a wireless signal broadcast frame sent by the mobile terminal and received at least one anchor point of the vehicle;
[0124] According to the wireless signal broadcast frame, positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle is determined.
[0125] In one embodiment, the processing module is specifically configured to:
[0126] Based on initial calibration parameters preset for the preset calibration model, obtaining predicted position information output by the preset calibration model when the positioning information is used as input to the preset calibration model;
[0127] According to the error between the predicted position information and the position information, the initial calibration parameters are iteratively optimized until the error meets a preset convergence condition, thereby obtaining corresponding calibration parameters.
[0128] In one embodiment, the acquisition module is specifically configured to:
[0129] Obtain parameter information of the mobile terminal, and store the parameter information and the calibration parameters in correspondence.
[0130] In one embodiment, the acquisition module includes:
[0131] A touch operation on a preset button is received to trigger the calibration function.
[0132] For the specific definition of the digital key calibration device, please refer to the definition of the digital key calibration method above, which will not be repeated here. The various modules in the above-mentioned digital key calibration device can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of the above modules.
[0133] Based on the same inventive concept as the above-mentioned embodiment, an embodiment of the present application provides an electronic device, as shown in Figure 8, which specifically includes: a processor 210; a memory 211 for storing processor-executable instructions; wherein the processor 210 is configured to execute instructions for executing the above-mentioned digital key calibration method.
[0134] The electronic device may also include at least one network interface 212. The various components within the electronic device are coupled together via a bus system 213. It will be appreciated that bus system 213 is used to enable communication between these components. In addition to a data bus, bus system 213 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG8 , all of these buses are labeled as bus system 213.
[0135] The memory 211 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a magnetic disk or a magnetic tape. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory 211 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.
[0136] The memory 211 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of these data include: any computer program used to operate on the electronic device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program can include various applications, such as a media player, a browser, etc., for implementing various application services. Here, the program that implements the method of the embodiment of the present application can be included in the application.
[0137] Based on the same inventive concept as the above embodiments, this embodiment further provides a vehicle, comprising the electronic device described in the above embodiments.
[0138] Based on the same inventive concept as the aforementioned embodiment, this embodiment further provides a computer-readable storage medium storing a computer program. The computer-readable storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface mount storage device, an optical disc, or a compact disc read-only memory (CD-ROM); or various devices including one or any combination of the aforementioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is executed by a processor, the digital key calibration method applied to the aforementioned device is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to the description of the embodiment shown in Figure 2, which will not be repeated here.
[0139] Those skilled in the art will appreciate that all or part of the steps in the above method can be performed by instructing relevant hardware (e.g., a processor) through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Alternatively, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware, such as by implementing its corresponding functions through an integrated circuit, or in the form of a software functional module, such as by executing a program / instruction stored in a memory by a processor to implement its corresponding functions. This application is not limited to any particular form of combination of hardware and software.
[0140] This embodiment also provides a computer program, including program code. When a computer runs the computer program, the program code executes the above-mentioned digital key calibration method.
[0141] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0142] As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion of elements other than the listed elements and may also include additional elements not specifically listed.
[0143] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A calibration method for a digital key, comprising: In response to the triggering of the calibration function, obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle, the distance between the physical key and the mobile terminal being less than a preset threshold; Determining, according to the positioning information and the position information, calibration parameters for calibrating the digital key with the vehicle in a preset calibration model; Calibrating the digital key according to the calibration parameters.
2. The method according to claim 1, wherein The obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle, comprises: Obtaining the distance information of the physical key relative to at least one anchor point of the vehicle; Taking the distance information as the input of a preset position model, and obtaining the position information of the physical key relative to the vehicle output by the preset position model.
3. The method according to any one of claims 1-2, wherein, The obtaining the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle, comprises: Based on the communication connection between the mobile terminal and the vehicle, obtaining a wireless signal broadcast frame sent by the mobile terminal received at at least one anchor point of the vehicle; Determining, according to the wireless signal broadcast frame, the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle.
4. The method according to any one of claims 1-3, wherein, The determining, according to the positioning information and the position information, calibration parameters for calibrating the digital key with the vehicle in a preset calibration model, comprises: Based on the initial calibration parameters preset for the preset calibration model, obtaining the predicted position information output by the preset calibration model when the positioning information is used as the input of the preset calibration model; Iteratively optimizing the initial calibration parameters according to the error between the predicted position information and the position information until the error satisfies a preset convergence condition, and obtaining the corresponding calibration parameters.
5. The method according to any one of claims 1-4, further comprising: Obtaining the parameter information of the mobile terminal, and storing the parameter information and the calibration parameters in correspondence.
6. The method according to any one of claims 1-5, wherein Before the obtaining, in response to the triggering of the calibration function, the position information of the physical key of the vehicle relative to the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle, further comprises: Receiving a touch operation on a preset button to trigger the calibration function.
7. A calibration device for a digital key, the device comprising: An obtaining module, configured to obtain the positioning information of the physical key of the vehicle relative to at least one anchor point of the vehicle, and the positioning information of the digital key of the mobile terminal relative to at least one anchor point of the vehicle when the calibration function is triggered, the distance between the physical key and the mobile terminal being less than a preset threshold; A processing module, configured to determine, according to the positioning information and the position information, calibration parameters for calibrating the digital key with the vehicle in a preset calibration model; A calibration module, configured to calibrate the digital key according to the calibration parameters.
8. An electronic device, comprising: A processor and a memory for storing executable instructions; wherein, the processor is configured to execute the instructions to implement the calibration method of the digital key according to any one of claims 1-6.
9. A vehicle, comprising the electronic device according to claim 8.
10. A computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor, implementing the calibration method of the digital key according to any one of claims 1-6.
11. A computer program, comprising program code, when the computer runs the computer program, the program code executes the method according to any one of claims 1-6.
Citation Information
Patent Citations
Method and device for managing vehicle calibration database, and storage medium
CN114637735A
Digital Bluetooth key self-calibration method and device based on UWB entity key
CN116782128A
Digital key calibration method and device, electronic equipment, vehicle and storage medium
CN118075683A
Positioning method, positioning apparatus, and computer-readable storage medium and vehicle
WO2023232134A1
Cited By
Digital key positioning method and device, vehicle and storage medium
CN121442479A