A digital key recommendation method, device, equipment and storage medium

By detecting and scoring the key protocol support of vehicles and mobile phones, the most suitable key protocol is recommended, which solves the user's difficulty in choosing when multiple protocols and versions do not match, improves the user experience of digital keys, and supports version updates. .

CN116071854BActive Publication Date: 2024-08-23CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310076807.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-18
Publication Date
2024-08-23
Estimated Expiration
2043-01-18

AI Technical Summary

Technical Problem

In digital key technology, it is difficult for users to choose a suitable key protocol, especially when the vehicle and mobile phone support multiple protocols and the versions do not match, resulting in poor user experience, and the existing technology lacks effective strategies to deal with protocol compatibility and Version push.

Method used

By detecting the Bluetooth connection between the mobile phone and the vehicle, the supported key protocol version is determined, and the recommendation is calculated based on the protocol support table and function weight of the car manufacturer and the mobile phone, recommending the most appropriate key protocol, and pushing updates when the versions do not match.

Benefits of technology

It implements quantitative scoring based on the functional support and importance of car-side and mobile-side protocols, recommends the best key protocol, improves user experience, and supports policy updates and version push.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116071854B
    Figure CN116071854B
Patent Text Reader

Abstract

The present application provides a digital key recommendation method, device, equipment and storage medium. First, it detects whether the mobile phone can connect to the Internet. If it can, it downloads the dynamic library file from the preset website and loads it into the mobile phone; if it cannot, it loads the local preset dynamic library file into the mobile phone; establishes a Bluetooth connection between the mobile phone and the target vehicle, and calls back the wallet application in the mobile phone to determine the digital key support protocol of the wallet application; detects whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud; if they do not match, guides the vehicle user to download the private key of the car manufacturer; if they match, it determines whether there is a protocol intersection; if there is no protocol intersection, guides the vehicle user to download the private key of the car manufacturer; if there is a protocol intersection, recommends digital keys according to the corresponding protocol intersection. The present application quantitatively scores the recommendation index of each protocol through the functional support and functional importance of each key protocol on the vehicle side and the mobile phone side, and can recommend which key to use to connect the vehicle to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile communication technology, and in particular to a digital key recommendation method, device, equipment and storage medium. Background Art

[0002] As the number of personal cars owned by residents continues to increase, and in today's highly developed digital age, mobile smart terminals are becoming more and more popular, the frequency and scenarios of using mobile phones and smart wearable devices are getting higher and higher, and people's requirements for the intelligence of various items in life are getting higher and higher. Among them, the technology of vehicle digital keys provides more functions than traditional keys, can have a higher user experience, and basically eliminates the dependence on physical keys. Therefore, the acceptance and usage rate of digital keys are also getting higher and higher. And as mobile phone manufacturers continue to have adaptation support protocol specifications based on vehicle keys, there are now many digital key protocols in China, including CCC (Car Connectivity Consortium, CCC for short), ICCE (Intelligent Car Connectivity Ecosystem, ICCE for short), and ICCOA (Intelligent Car Connectivity Open Alliance, ICCOA for short).

[0003] As digital keys are increasingly pursuing limited convenience, as a car manufacturer, without knowing in advance what mobile phone the user is using, and when multiple alliances are incompatible with each other, it is necessary to support multiple mainstream standard key protocols and universal key protocols that are not related to mobile phones. If a mobile phone supports multiple protocols at the same time, or the standard protocol does not support all functions, it will be difficult for users to make judgments and decide which key to use when they use the digital key for the first time due to insufficient information. In addition, the support of a certain digital key protocol by a mobile phone / car is the main support of the protocol. It is likely that differences in hardware, software, and regulations will lead to incomplete support for some functions in the digital key protocol. This information can only be obtained by human evaluation after testing by the car manufacturer and the mobile phone manufacturer. Therefore, the vehicle itself needs to have a key protocol selection strategy to help users get a better digital key experience. Especially when the vehicle and mobile phone support multiple key protocols. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present application provides a digital key recommendation method, device, equipment and storage medium to solve the above-mentioned technical problems.

[0005] The present application provides a digital key recommendation method, comprising the following steps:

[0006] Detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, download the dynamic library file from a preset website and load it into the mobile phone; if it cannot connect to the Internet, load the local preset dynamic library file into the mobile phone;

[0007] Establishing a Bluetooth connection between the mobile phone and the target vehicle, and calling back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application;

[0008] Detect whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud;

[0009] If the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, the cloud digital key protocol version is pushed to the target vehicle, and the vehicle user is guided to download the private key of the vehicle manufacturer;

[0010] If the digital key protocol version in the target vehicle matches the cloud digital key protocol version, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the manufacturer's private key; if there is a protocol intersection, recommend digital keys based on the corresponding protocol intersection.

[0011] In one embodiment of the present application, the process of establishing a Bluetooth connection between the mobile phone and the target vehicle, and calling back the wallet application in the mobile phone through the dynamic library file, and determining the digital key support protocol of the wallet application includes:

[0012] Scanning the Bluetooth device of the target vehicle using the dynamic library file, and establishing a Bluetooth connection between the mobile phone and the target vehicle according to the scanning result;

[0013] If the mobile phone successfully establishes a Bluetooth connection with the target vehicle, the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application;

[0014] If the mobile phone fails to successfully establish a Bluetooth connection with the target vehicle, the digital key recommendation is terminated and the vehicle user is guided to download the manufacturer's private key.

[0015] In one embodiment of the present application, when there is a protocol intersection, the process of recommending a digital key according to the corresponding protocol intersection includes:

[0016] Obtain the car manufacturer protocol support table, mobile phone protocol support table and protocol function weight;

[0017] According to the preset scoring rules, the function score of each protocol in the protocol intersection is calculated by combining the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight;

[0018] Calculate the total score of all functions in a single protocol, and use the total score as the recommendation level of the corresponding protocol;

[0019] Sort by recommendation value and make digital key recommendations based on the sorting results.

[0020] In one embodiment of the present application, according to a preset scoring rule, in combination with the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight, the process of calculating the function score of each protocol in the protocol intersection includes:

[0021] p = i*j*k;

[0022] Where p is the functional score of each protocol in the protocol intersection;

[0023] i is a single function of the vehicle manufacturer protocol support table;

[0024] j is a single function of the mobile phone protocol support table;

[0025] k is the protocol function weight.

[0026] In one embodiment of the present application, the process of calculating the total score of all functions in a single protocol includes:

[0027]

[0028] In the formula, P is the total score of all functions in a single protocol;

[0029] p1 is the functional score of the first function in the protocol;

[0030] p2 is the functional score of the second function in the protocol;

[0031] p n It is the function score of the nth function in the protocol, where n is a positive integer.

[0032] In one embodiment of the present application, before detecting whether the mobile phone with the wallet application installed can connect to the Internet, the method further includes:

[0033] Initialize the digital key;

[0034] Match the vehicle brand according to the initialized digital key;

[0035] If the mobile phone cannot match the digital key to the vehicle brand, the digital key recommendation ends and the vehicle user is guided to download the private key of the vehicle manufacturer;

[0036] If the mobile phone can match the digital key to a vehicle brand, after completing the vehicle brand matching, it is detected whether the mobile phone with the wallet application installed can be connected to the Internet.

[0037] In one embodiment of the present application, the target vehicle includes at least one of the following: a new energy vehicle and a fuel vehicle.

[0038] The present application also provides a digital key recommendation device, the device comprising:

[0039] A mobile phone network module is used to detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, the dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, the local preset dynamic library file is loaded into the mobile phone;

[0040] A Bluetooth connection module, used to establish a Bluetooth connection between the mobile phone and the target vehicle, and to call back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application;

[0041] A protocol detection module, used to detect whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud;

[0042] The digital key recommendation module is used to push the cloud digital key protocol version to the target vehicle and guide the vehicle user to download the factory private key when the digital key protocol version in the target vehicle does not match the cloud digital key protocol version; and when the digital key protocol version in the target vehicle matches the cloud digital key protocol version, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the factory private key; if there is a protocol intersection, recommend digital keys according to the corresponding protocol intersection.

[0043] The present application also provides a digital key recommendation device, the device comprising:

[0044] one or more processors;

[0045] A storage device for storing one or more programs, which, when executed by the one or more processors, enables the device to implement the digital key recommendation method as described in any one of the above.

[0046] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is enabled to execute a digital key recommendation method as described in any one of the above.

[0047] As described above, the present application provides a digital key recommendation method, device, equipment and storage medium, which have the following beneficial effects:

[0048] The present application first detects whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, the dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, the local preset dynamic library file is loaded into the mobile phone; then a Bluetooth connection is established between the mobile phone and the target vehicle, and the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; it is detected whether the digital key protocol version in the target vehicle matches the cloud digital key protocol version; if the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, the cloud digital key protocol version is pushed to the target vehicle, and the vehicle user is guided to download the factory private key; if the digital key protocol version in the target vehicle matches the cloud digital key protocol version, it is determined whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, the vehicle user is guided to download the factory private key; if there is a protocol intersection, digital keys are recommended according to the corresponding protocol intersection. From this, it can be seen that when creating a digital key, this application can quantify the recommendation index of each protocol based on the function support and function importance of each key protocol on the vehicle and mobile phone sides, so as to recommend to users which key to use to connect the vehicle. At the same time, this application also takes into account strategy updates and version push.

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

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

[0051] Figure 1 A schematic diagram of an exemplary system architecture for applying the technical solutions in one or more embodiments of the present application;

[0052] Figure 2 A flowchart of a digital key recommendation method provided in an embodiment of the present application;

[0053] Figure 3 A flowchart of a digital key recommendation method provided in another embodiment of the present application;

[0054] Figure 4 A schematic diagram of the hardware structure of a digital key recommendation device provided in an embodiment of the present application;

[0055] Figure 5 A schematic diagram of the hardware structure of a digital key recommendation device suitable for implementing one or more embodiments of the present application. DETAILED DESCRIPTION

[0056] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, 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 application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.

[0057] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present application in a schematic manner. Therefore, the drawings only show components related to the present application 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.

[0058] The term "and / or" in this application describes the relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0059] The term "plurality" in this application refers to two or more.

[0060] In the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.

[0061] In addition, in the embodiments of the present application, the word "exemplary" is used to indicate an example, illustration or description. Any embodiment or implementation described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or implementations. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

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

[0063] Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution in one or more embodiments of the present application can be applied is shown. Figure 1 As shown, the system architecture 100 may include a terminal device 110, a network 120, and a server 130. The terminal device 110 may include various electronic devices such as a smart phone, a tablet computer, a laptop computer, and a desktop computer. The server 130 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 120 may be a communication medium of various connection types that can provide a communication link between the terminal device 110 and the server 130, such as a wired communication link or a wireless communication link.

[0064] According to the implementation requirements, the system architecture in the embodiment of the present application can have any number of terminal devices, networks and servers. For example, the server 130 can be a server group composed of multiple server devices. In addition, the technical solution provided in the embodiment of the present application can be applied to the terminal device 110, can also be applied to the server 130, or can be implemented by the terminal device 110 and the server 130 together, and the present application does not make any special restrictions on this.

[0065] In one embodiment of the present application, the terminal device 110 or the server 130 of the present application can detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, the dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, the local preset dynamic library file is loaded into the mobile phone; then a Bluetooth connection between the mobile phone and the target vehicle is established, and the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; detect whether the digital key protocol version in the target vehicle matches the cloud digital key protocol version; if the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, push the cloud digital key protocol version to the target vehicle, and guide the vehicle user to download the factory private key; if the digital key protocol version in the target vehicle matches the cloud digital key protocol version, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the factory private key; if there is a protocol intersection, recommend digital keys according to the corresponding protocol intersection. By using the terminal device 110 or the server 130 to execute the digital key recommendation method, when creating a digital key, the function support and function importance of each key protocol on the vehicle side and the mobile phone side can be used to quantify and score the recommendation index of each protocol, so as to recommend to the user which key to use to connect the vehicle. At the same time, this application also takes into account policy updates and version push.

[0066] The above section introduces the contents of an exemplary system architecture that applies the technical solution of the present application. Next, we will continue to introduce the digital key recommendation method of the present application.

[0067] Figure 2 1 shows a schematic diagram of a digital key recommendation method provided by an embodiment of the present application. Specifically, in an exemplary embodiment, Figure 2 As shown, this embodiment provides a digital key recommendation method, which includes the following steps:

[0068] S210, detecting whether the mobile phone with the wallet application installed can connect to the Internet, if it can connect to the Internet, downloading a dynamic library file from a preset website and loading it into the mobile phone; if it cannot connect to the Internet, loading a locally preset dynamic library file into the mobile phone;

[0069] S220, establish a Bluetooth connection between the mobile phone and the target vehicle, and call back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application; as an example, the target vehicles in this embodiment include but are not limited to: new energy vehicles and fuel vehicles.

[0070] S230, detecting whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud;

[0071] S240: If the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, push the cloud digital key protocol version to the target vehicle and guide the vehicle user to download the factory private key. If the digital key protocol version in the target vehicle matches the cloud digital key protocol version, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the factory private key; if there is a protocol intersection, recommend a digital key based on the corresponding protocol intersection.

[0072] According to the above records, in an exemplary embodiment, a process of establishing a Bluetooth connection between the mobile phone and the target vehicle, and calling back the wallet application in the mobile phone through the dynamic library file to determine whether the digital key of the wallet application supports the protocol includes: using the dynamic library file to scan the Bluetooth device of the target vehicle, and establishing a Bluetooth connection between the mobile phone and the target vehicle based on the scanning result; if the mobile phone successfully establishes a Bluetooth connection with the target vehicle, calling back the wallet application in the mobile phone through the dynamic library file to determine whether the digital key of the wallet application supports the protocol; if the mobile phone fails to successfully establish a Bluetooth connection with the target vehicle, ending the digital key recommendation and guiding the vehicle user to download the factory private key.

[0073] In an exemplary embodiment, when there is a protocol intersection, the process of recommending digital keys based on the corresponding protocol intersection includes: obtaining the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight; calculating the function score of each protocol in the protocol intersection according to a preset scoring rule, combining the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight; calculating the total score of all functions in a single protocol, and using the total score as the recommendation degree of the corresponding protocol; sorting according to the recommendation degree value, and recommending digital keys based on the sorting result.

[0074] According to the above records, in an exemplary embodiment, according to the preset scoring rules, in combination with the car factory protocol support table, the mobile phone protocol support table and the protocol function weight, the process of calculating the function score of each protocol in the protocol intersection includes: p = i * j * k; where p is the function score of each protocol in the protocol intersection; i is a single function in the car factory protocol support table; j is a single function in the mobile phone protocol support table; k is the protocol function weight. As an example, the car and the mobile phone support both ICCE and CCC protocols, and a decision needs to be made between these two protocols. The recommended score of the CCC protocol is calculated as the sum of the scores of each function. The score of a single function, such as NFC, is calculated as follows: car support: 1 multiplied by mobile phone support 1, and then multiplied by the function weight 80, which can be calibrated from the function importance and the function completion of the mobile phone factory. The score 1*1*80=80 is obtained. Then the door lock control score is calculated as 0.5*1*60=30. By analogy, the scores of all function items are calculated to obtain the recommendation of a certain protocol, and a score of 0 means that this function is not supported.

[0075] According to the above records, in an exemplary embodiment, the process of calculating the total score of all functions in a single protocol includes: Where, P is the total score of all functions in a single protocol; p1 is the functional score of the first function in the protocol; p2 is the functional score of the second function in the protocol; p n It is the function score of the nth function in the protocol, where n is a positive integer.

[0076] In an exemplary embodiment, before detecting whether the mobile phone with the wallet application installed can connect to the Internet, this embodiment also includes: initializing the digital key; matching the vehicle brand according to the initialized digital key; if the mobile phone cannot match the vehicle brand with the digital key, ending the digital key recommendation and guiding the vehicle user to download the manufacturer's private key; if the mobile phone can match the vehicle brand with the digital key, then after completing the vehicle brand matching, detecting whether the mobile phone with the wallet application installed can connect to the Internet.

[0077] like Figure 3 As shown, in another exemplary embodiment of the present application, the present application also provides a digital key recommendation method, comprising the following steps:

[0078] Step S1: The mobile phone manufacturer's wallet guides the user to start initializing the vehicle key.

[0079] Step S2: The user selects a vehicle brand for key matching.

[0080] Step S3: Check whether the mobile phone can connect to the Internet. If yes, update the latest SDK version from the official website. If not, proceed to step S5 to use the locally preset dynamic library file.

[0081] Step S4: Check whether the dynamic library is updated according to the vehicle model. If so, provide it to the wallet APP for download.

[0082] Step S5: Dynamically load the local dynamic library so file.

[0083] Step S6: Use SDK to scan vehicle Bluetooth devices.

[0084] Step S7: Make a Bluetooth connection and create a secure channel. If the connection is successful, go to step S8; if it fails, go to step S20.

[0085] Step S8: The dynamic library calls back to the wallet, asking for the phone model information and whether the wallet supports the digital key protocol. Then proceed to step S9.

[0086] Step S9: The dynamic library performs application layer key creation negotiation and transfers the protocol support information to enter step S10.

[0087] Step S10: Try to connect to the car company's cloud to check whether there is a new version push. If the connection is successful, go to step S11. If the connection cannot be made, go to step S13.

[0088] Step S11: Check whether the vehicle version number matches the cloud version number of the same vehicle model. If they match, proceed to step S13. If they do not match, proceed to step S12.

[0089] Step S12: The new version is pushed to the vehicle, and the key recommendation process ends. After the version is updated, the key recommendation is restarted.

[0090] Step S13: If there is no new version, the vehicle side compares whether the supported protocols of the mobile phones overlap, and if there is no standard protocol supported at the same time, it proceeds to step S14. Otherwise, it proceeds to step S15.

[0091] Step S14: If there is no standard protocol that is supported at the same time, the user is recommended to use the private key of the car manufacturer and is guided to download the car manufacturer's APP. The key recommendation process ends at step S20.

[0092] Step S15: According to the intersection A of the protocols supported by both ends, the capability set information of all protocols in A is transmitted to the mobile phone. The json data format of the support of the car manufacturer protocol is transmitted. The support of the car manufacturer protocol is shown in Table 1 below. In Table 1, 0→1 means from no support to full support, and the higher the support level, the closer it is to 1.

[0093] Table 1 Car manufacturer protocol support table

[0094]

[0095] Step S16: The SDK dynamic library triggers a callback to request the wallet to provide a function support status table for the corresponding protocol. Enter S17. The mobile phone protocol support is shown in Table 2. In Table 2, support is 1, and non-support is 0.

[0096] Table 2 Mobile phone protocol support table

[0097]

[0098] Step S17: Check whether there are vehicles that are not supported, and calculate the score according to the scoring evaluation rules based on the data in Table 1 and Table 2. Calculate the score: Single function item score: p = i*j*k...; Total recommendation score: (Function 1) + p (Function 2) + ..., and enter S18 after obtaining the result. For example: cars and mobile phones support both ICCE and CCC protocols, and a decision needs to be made between these two protocols. The recommended score of the CCC protocol is the sum of the scores of each function. The score of a single function, such as NFC, is calculated as follows: car support: 1 multiplied by mobile phone support 1, and then multiplied by the function weight 80. This weight can be calibrated from the function importance and the function completion of the mobile phone manufacturer. The score is 1*1*80=80. Then calculate the door lock control score 0.5*1*60=30. Similarly, calculate the scores of all function items to obtain the recommendation of a certain protocol. A score of 0 means that this function is not supported.

[0099] Step S18: Sort the recommendation degree according to the scoring table results. Then proceed to step S19;

[0100] Step S19: Display the recommendation results of each protocol, and can display the visualized results of the support of each function item to the user, guiding the user to select the key protocol and download the key.

[0101] Step S20: The key recommendation process ends. There is no compatible standard digital key protocol. The user is guided to download the private key of the car manufacturer.

[0102] It can be seen from this that this embodiment can provide a digital key recommendation method, in which the user is a car owner. The usage scenario is that after the vehicle and the user have completed the binding relationship, when using the digital key for the first time, the user chooses to activate the digital key under the guidance of the car company's APP. Before activation, the adaptation of various key protocols on the car and mobile phone ends is used to recommend the user which key to use. The data involved in the evaluation (which can be pre-calibrated manually) includes the support of the vehicle model for the function, the support of the mobile phone manufacturer for the function, and the importance weight of the function.

[0103] In summary, the present application provides a digital key recommendation method, which first detects whether a mobile phone with a wallet application installed can connect to the Internet. If it can connect to the Internet, a dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, a locally preset dynamic library file is loaded into the mobile phone; then a Bluetooth connection is established between the mobile phone and the target vehicle, and the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; detects whether the digital key protocol version in the target vehicle matches the cloud digital key protocol version; if the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, the cloud digital key protocol version is pushed to the target vehicle, and the vehicle user is guided to download the factory private key; if the digital key protocol version in the target vehicle matches the cloud digital key protocol version, it is determined whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, the vehicle user is guided to download the factory private key; if there is a protocol intersection, digital keys are recommended according to the corresponding protocol intersection. From this, it can be seen that when creating a digital key, this method can quantify the recommendation index of each protocol based on the function support and function importance of each key protocol on the vehicle and mobile phone sides, so as to recommend to users which key to use to connect to the vehicle. At the same time, this application also takes into account strategy updates and version push.

[0104] like Figure 4 As shown, the present application also provides a digital key recommendation device, the device comprising:

[0105] The mobile phone network module 410 is used to detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, the dynamic library file is downloaded from the preset website and loaded into the mobile phone; if it cannot connect to the Internet, the local preset dynamic library file is loaded into the mobile phone. In this embodiment, before detecting whether the mobile phone with the wallet application installed can connect to the Internet, this embodiment also includes: initializing the digital key; matching the vehicle brand according to the initialized digital key; if the mobile phone cannot match the vehicle brand with the digital key, the digital key recommendation is terminated, and the vehicle user is guided to download the private key of the car manufacturer; if the mobile phone can match the vehicle brand with the digital key, after completing the vehicle brand matching, it is detected whether the mobile phone with the wallet application installed can connect to the Internet.

[0106] The Bluetooth connection module 420 is used to establish a Bluetooth connection between the mobile phone and the target vehicle, and to call back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application. As an example, the process of establishing a Bluetooth connection between the mobile phone and the target vehicle, and calling back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application in this embodiment includes: using the dynamic library file to scan the Bluetooth device of the target vehicle, and establishing a Bluetooth connection between the mobile phone and the target vehicle according to the scanning result; if the mobile phone successfully establishes a Bluetooth connection with the target vehicle, the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; if the mobile phone fails to successfully establish a Bluetooth connection with the target vehicle, the digital key recommendation is terminated, and the vehicle user is guided to download the private key of the car manufacturer. As an example, the target vehicles in this embodiment include but are not limited to: new energy vehicles and fuel vehicles.

[0107] A protocol detection module 430 is used to detect whether the digital key protocol version in the target vehicle matches the cloud digital key protocol version;

[0108] The digital key recommendation module 440 is used to push the digital key protocol version in the cloud to the target vehicle when the digital key protocol version in the target vehicle does not match the digital key protocol version in the cloud, and guide the vehicle user to download the private key of the car factory; and when the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the private key of the car factory; if there is a protocol intersection, recommend digital keys according to the corresponding protocol intersection. Specifically, in this embodiment, when there is a protocol intersection, the process of recommending digital keys according to the corresponding protocol intersection includes: obtaining the car factory protocol support table, the mobile phone protocol support table and the protocol function weight; according to the preset scoring rules, combined with the car factory protocol support table, the mobile phone protocol support table and the protocol function weight, calculate the function score of each protocol in the protocol intersection; calculate the total score of all functions in a single protocol, and use the total score as the recommendation degree of the corresponding protocol; sort according to the recommendation degree value, and recommend digital keys based on the sorting result. Specifically, according to the preset scoring rules, combined with the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight, the process of calculating the function score of each protocol in the protocol intersection includes: p = i*j*k; where p is the function score of each protocol in the protocol intersection; i is a single function in the vehicle manufacturer protocol support table; j is a single function in the mobile phone protocol support table; and k is the protocol function weight. Among them, the process of calculating the total score of all functions in a single protocol includes: Where, P is the total score of all functions in a single protocol; p1 is the functional score of the first function in the protocol; p2 is the functional score of the second function in the protocol; p n It is the function score of the nth function in the protocol, where n is a positive integer. As an example, cars and mobile phones support both ICCE and CCC protocols, and a decision needs to be made between these two protocols. The recommended score of the CCC protocol is the sum of the scores of each function. The score of a single function, such as NFC, is calculated as follows: car support: 1 multiplied by mobile phone support 1, multiplied by the function weight 80, which can be calibrated from the function importance and the function completion of the mobile phone manufacturer. The score is 1*1*80=80. Then calculate the door lock control score 0.5*1*60=30. Similarly, the scores of all function items are calculated to obtain the recommendation of a certain protocol. A score of 0 means that this function is not supported.

[0109] In summary, the present application provides a digital key recommendation device, which first detects whether a mobile phone with a wallet application installed can connect to the Internet. If it can connect to the Internet, a dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, a local preset dynamic library file is loaded into the mobile phone; then a Bluetooth connection is established between the mobile phone and the target vehicle, and the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; detects whether the digital key protocol version in the target vehicle matches the cloud digital key protocol version; if the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, the cloud digital key protocol version is pushed to the target vehicle, and the vehicle user is guided to download the factory private key; if the digital key protocol version in the target vehicle matches the cloud digital key protocol version, it is determined whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, the vehicle user is guided to download the factory private key; if there is a protocol intersection, digital keys are recommended according to the corresponding protocol intersection. From this, it can be seen that when creating a digital key, this device can quantify the recommendation index of each protocol based on the function support and function importance of each key protocol on the vehicle and mobile phone sides, so as to recommend to users which key to use to connect the vehicle. At the same time, this application also takes into account strategy updates and version push.

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

[0111] An embodiment of the present application also provides a digital key recommendation device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the digital key recommendation device implements the digital key recommendation method provided in the above-mentioned embodiments.

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

[0113] like Figure 5 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003, such as executing the method described in the above embodiment. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002 and the RAM 1003 are connected to each other through the bus 1004. The input / output (I / O) interface 1005 is also connected to the bus 1004.

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

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

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

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

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

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

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

[0121] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A digital key recommendation method, characterized in that: The method comprises the following steps: Detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, download the dynamic library file from a preset website and load it into the mobile phone; if it cannot connect to the Internet, load the local preset dynamic library file into the mobile phone; Establishing a Bluetooth connection between the mobile phone and the target vehicle, and calling back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application; Detect whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud; If the digital key protocol version in the target vehicle does not match the cloud digital key protocol version, the cloud digital key protocol version is pushed to the target vehicle, and the vehicle user is guided to download the private key of the vehicle manufacturer; If the digital key protocol version in the target vehicle matches the cloud digital key protocol version, determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle; if there is no protocol intersection, guide the vehicle user to download the manufacturer's private key; if there is a protocol intersection, recommend digital keys based on the corresponding protocol intersection, including: obtaining the manufacturer's protocol support table, the mobile phone protocol support table, and the protocol function weights; according to the preset scoring rules, combined with the manufacturer's protocol support table, the mobile phone protocol support table, and the protocol function weights, calculate the function score of each protocol in the protocol intersection; calculate the total score of all functions in a single protocol, and use the total score as the recommendation degree of the corresponding protocol; sort according to the recommendation degree value, and recommend digital keys based on the sorting result.

2. The digital key recommendation method according to claim 1, characterized in that: The process of establishing a Bluetooth connection between the mobile phone and the target vehicle, calling back the wallet application in the mobile phone through the dynamic library file, and determining the digital key support protocol of the wallet application includes: Scanning the Bluetooth device of the target vehicle using the dynamic library file, and establishing a Bluetooth connection between the mobile phone and the target vehicle according to the scanning result; If the mobile phone successfully establishes a Bluetooth connection with the target vehicle, the wallet application in the mobile phone is called back through the dynamic library file to determine the digital key support protocol of the wallet application; If the mobile phone fails to successfully establish a Bluetooth connection with the target vehicle, the digital key recommendation is terminated and the vehicle user is guided to download the manufacturer's private key.

3. The digital key recommendation method according to claim 1 or 2, characterized in that: According to the preset scoring rules, the process of calculating the function score of each protocol in the protocol intersection in combination with the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight includes: p = i*j*k; Where p is the functional score of each protocol in the protocol intersection; i is a single function of the vehicle manufacturer protocol support table; j is a single function of the mobile phone protocol support table; k is the protocol function weight.

4. The digital key recommendation method according to claim 3, characterized in that: The process for calculating the total score for all features in a single protocol includes: In the formula, P is the total score of all functions in a single protocol; p1 is the functional score of the first function in the protocol; p2 is the functional score of the second function in the protocol; p n It is the function score of the nth function in the protocol, where n is a positive integer.

5. The digital key recommendation method according to claim 1, characterized in that: Before detecting whether the mobile phone with the wallet application installed can connect to the Internet, the method further includes: Initialize the digital key; Match the vehicle brand according to the initialized digital key; If the mobile phone cannot match the digital key to the vehicle brand, the digital key recommendation ends and the vehicle user is guided to download the private key of the vehicle manufacturer; If the mobile phone can match the digital key to a vehicle brand, after completing the vehicle brand matching, it is detected whether the mobile phone with the wallet application installed can be connected to the Internet.

6. The digital key recommendation method according to claim 1, characterized in that: The target vehicle includes at least one of the following: a new energy vehicle and a fuel vehicle.

7. A digital key recommendation device, characterized in that: The device comprises: A mobile phone network module is used to detect whether the mobile phone with the wallet application installed can connect to the Internet. If it can connect to the Internet, the dynamic library file is downloaded from a preset website and loaded into the mobile phone; if it cannot connect to the Internet, the local preset dynamic library file is loaded into the mobile phone; A Bluetooth connection module, used to establish a Bluetooth connection between the mobile phone and the target vehicle, and to call back the wallet application in the mobile phone through the dynamic library file to determine the digital key support protocol of the wallet application; A protocol detection module, used to detect whether the digital key protocol version in the target vehicle matches the digital key protocol version in the cloud; A digital key recommendation module is used to push the cloud digital key protocol version to the target vehicle and guide the vehicle user to download the private key of the vehicle manufacturer when the digital key protocol version in the target vehicle does not match the cloud digital key protocol version; and to determine whether there is a protocol intersection between the digital key support protocol of the wallet application and the digital key protocol in the target vehicle when the digital key protocol version in the target vehicle matches the cloud digital key protocol version; If there is no protocol intersection, the vehicle user is guided to download the private key of the car manufacturer; If there is a protocol intersection, digital keys are recommended based on the corresponding protocol intersection, including: obtaining the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight; according to the preset scoring rules, combined with the vehicle manufacturer protocol support table, the mobile phone protocol support table and the protocol function weight, the function score of each protocol in the protocol intersection is calculated; the total score of all functions in a single protocol is calculated, and the total score is used as the recommendation degree of the corresponding protocol; sorting is performed according to the recommendation degree value, and digital keys are recommended based on the sorting result.

8. A digital key recommendation device, characterized in that: The device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the device to implement the digital key recommendation method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the digital key recommendation method as claimed in any one of claims 1 to 6.