Mini-program-based digital key integration method, device, equipment, and storage medium
By integrating business modules and communication module collection modules in the application, the problem of the inability to communicate with multiple automobile manufacturers' digital key protocols in the prior art is solved, and the function of supporting digital keys of multiple automobile manufacturers in one application is realized.
Patent Information
- Application Number
- CN202411973418.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
The lack of products that integrate digital keys from multiple automobile manufacturers in the existing technology has led to the inability to interoperate digital key protocols of different manufacturers.
By integrating the service module and the communication module collection module in one application, the vehicle manufacturer corresponding to the user's demand for the vehicle is obtained, and the corresponding configuration file is loaded to switch the communication module, the conversion and sending of vehicle control instructions is realized.
The digital key protocols of different auto manufacturers are switched, allowing the digital key function of multiple auto manufacturers to be supported in one application.
Smart Images

Figure CN119785462A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of database technology, and in particular to a digital key integration method, device, equipment and storage medium. Background Art
[0002] The current way to implement digital keys in WeChat mini-programs is mainly to implement the digital key protocol of a single automobile manufacturer. There are differences in the digital key protocols of different manufacturers. There are currently no products on the market that integrate digital keys of multiple automobile manufacturers. Summary of the invention
[0003] Embodiments of the present invention provide a digital key integration method, apparatus, device and storage medium to implement digital key protocol switching among different automobile manufacturers, thereby realizing the functions of digital keys of multiple automobile manufacturers on one application.
[0004] In a first aspect, an embodiment of the present invention provides a digital key integration method, the method being executed by a digital key integration application, the application comprising a business module and a communication module assembly module; wherein the communication module assembly module comprises communication modules of various vehicle manufacturers;
[0005] Obtaining the vehicle manufacturer corresponding to the vehicle required by the user; obtaining and loading a configuration file corresponding to the vehicle manufacturer; the configuration file includes identification information of the corresponding vehicle manufacturer;
[0006] When the configuration file is loaded, switching to the communication module corresponding to the identification information in the communication module set module;
[0007] The business module obtains the vehicle control command and sends it to the communication module;
[0008] The communication module converts the vehicle control instruction into a message and sends it to the requesting vehicle.
[0009] In a second aspect, an embodiment of the present invention further provides a digital key integration device, the device comprising:
[0010] An acquisition module is used to acquire the vehicle manufacturer corresponding to the vehicle required by the user; acquire and load a configuration file corresponding to the vehicle manufacturer; the configuration file includes identification information of the corresponding vehicle manufacturer;
[0011] A communication module switching module, used for switching to the communication module corresponding to the identification information in the communication module set module when the configuration file is loaded;
[0012] An instruction acquisition module is used for the business module to acquire vehicle control instructions and send them to the communication module;
[0013] The message sending module is used for the communication module to convert the vehicle control command into a message and send it to the required vehicle.
[0014] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0015] one or more processors;
[0016] a storage device for storing one or more programs,
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the digital key integration method provided by the embodiment of the present disclosure.
[0018] In a fourth aspect, the embodiments of the present disclosure also provide a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to implement the digital key integration method provided by the embodiments of the present disclosure.
[0019] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the digital key integration method provided by an embodiment of the present disclosure.
[0020] The present invention discloses a digital key integration method, device, equipment and storage medium, wherein the method is executed by a digital key integrated application, the application includes a business module and a communication module collection module; wherein the communication module collection module includes communication modules of various vehicle manufacturers; the vehicle manufacturer corresponding to the user's required vehicle is obtained; the configuration file corresponding to the vehicle manufacturer is obtained and loaded; the configuration file includes identification information of the corresponding vehicle manufacturer; when the configuration file is loaded, it is switched to the communication module corresponding to the identification information in the communication module collection module; the business module obtains the vehicle control instruction and sends it to the communication module; the communication module converts the vehicle control instruction into a message and sends it to the required vehicle. Utilizing this method: the switching of digital key protocols of different automobile manufacturers is realized, thereby realizing the functions of digital keys of multiple automobile manufacturers on one application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0022] Figure 1 A flowchart of a digital key integration method provided by an embodiment of the present disclosure;
[0023] Figure 2 An application architecture diagram of digital key integration provided by an embodiment of the present disclosure;
[0024] Figure 3 An architectural diagram of a communication module assembly module provided in an embodiment of the present disclosure;
[0025] Figure 4 An architecture diagram of a business module provided by an embodiment of the present disclosure;
[0026] Figure 5 A schematic diagram of the structure of a digital key integration device provided by an embodiment of the present disclosure;
[0027] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0029] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0030] The term "including" and its variations used herein are open-ended, i.e., include but are not limited to. The term "based on" means at least partially based on. The term "one embodiment" means at least one embodiment; the term "another embodiment" means at least one additional embodiment; the term "some embodiments" means at least some embodiments. The relevant definitions of other terms will be given in the following description.
[0031] It should be noted that the concepts of first, second, etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0032] It should be noted that the one or more modifications mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as one or more.
[0033] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0034] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0035] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0036] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose whether to agree or disagree to provide personal information to the electronic device.
[0037] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0038] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0039] Embodiment 1
[0040] Figure 1 A flowchart of a digital key integration method provided in an embodiment of the present disclosure is applicable to providing a solution to the problem that there are currently no products on the market that integrate digital keys of multiple automobile manufacturers. The method can be executed by a digital key integration method device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.
[0041] like Figure 1 As shown, a digital key integration method provided by an embodiment of the present disclosure is executed by an application for digital key integration. Figure 2 This is a diagram of an application architecture for digital key integration provided by an embodiment of the present disclosure. Figure 2As shown, the application includes a business module and a communication module set module; wherein the communication module set module includes the communication modules of various vehicle manufacturers. Specifically, the following steps may be included:
[0042] S110, obtaining the vehicle manufacturer corresponding to the vehicle required by the user; obtaining and loading a configuration file corresponding to the vehicle manufacturer.
[0043] The configuration file includes identification information of the corresponding vehicle manufacturer.
[0044] In this embodiment, the required vehicle may be a vehicle that the user currently needs to operate or view. For example, if the user has two vehicles, the vehicle that currently needs to be operated or viewed is the required vehicle. The configuration file may be pre-set, and the configuration file includes identification information of the corresponding vehicle manufacturer.
[0045] Specifically, the vehicle manufacturer corresponding to the vehicle required by the user is obtained; and the configuration file corresponding to the vehicle manufacturer is obtained and loaded.
[0046] Based on the above embodiment, the method for implementing the communication module assembly module includes the following steps:
[0047] a1) Obtain digital key information from each vehicle manufacturer.
[0048] b1) Extract the key protocol from the digital key information.
[0049] c1) Use the software development kit to generate a communication module collection module from the key protocol.
[0050] In this embodiment, the digital key is a vehicle unlocking and starting system implemented using modern technology, which replaces the traditional physical car key through a smart phone, smart watch or near field communication digital key card. The digital key information can be the constituent information of the above system.
[0051] Specifically, the digital key information of each vehicle manufacturer is obtained, the key protocol in the digital key information is extracted, and the key protocol is implemented using a software development kit to generate a communication module collection module. Figure 3 This is an architecture diagram of the communication module assembly module provided in the embodiment of the present disclosure. Figure 3 As shown, the communication module assembly module implements a module composed of functions such as key downloading and management, Bluetooth channel establishment, authentication process management, encryption and decryption and encoding and decoding of vehicle conditions and vehicle control commands.
[0052] S120. When the configuration file is loaded, switch to the communication module corresponding to the identification information in the communication module set module.
[0053] In this embodiment, the communication module set module includes communication modules of various vehicle manufacturers. When the configuration file is loaded, it is switched and loaded as the communication module corresponding to the identification information in the communication module set module.
[0054] S130: The business module obtains the vehicle control instruction and sends it to the communication module.
[0055] In this embodiment, Figure 4 This is an architecture diagram of the business module provided by the embodiment of the present disclosure. Figure 4 As shown, the business module implements the functions of vehicle status presentation / vehicle control command presentation and triggering, user login, communication module switching, vehicle settings, etc. The vehicle control command can be a related command to control the vehicle or a transmission command for vehicle-related information. The business module and the communication module assembly module are connected through a predefined unified interface communication; the definition of the unified interface includes at least one of the following: login; subscription to events and notifications; unsubscription; connection to vehicle; disconnection; acquisition of vehicle information; sending vehicle control commands; clearing data.
[0056] The message notification between the communication module assembly module and the business module adopts a subscription mode; the subscription message includes Bluetooth connection and authentication related information and device and operation related status codes; the Bluetooth connection and authentication related information includes at least one of the following: 1001: start Bluetooth pairing; 1002: Bluetooth pairing successful; 1003: Bluetooth pairing failed; 1004: initialize the Bluetooth adapter; 1005: Bluetooth adapter initialization successful; 1006: Bluetooth adapter initialization failed; 1007: start releasing the Bluetooth adapter; 1008: release the Bluetooth adapter successfully; 1009: release the Bluetooth adapter failed; 1010: start scanning Bluetooth devices; 1011: start scanning Bluetooth devices successfully; 1012: start scanning Bluetooth device failed; 1013: Start Bluetooth connection; 1014: Bluetooth connection successful; 1015: Bluetooth connection failed; 1016: Start Bluetooth disconnection; 1017: Bluetooth disconnection successful; 1018: Bluetooth disconnection failed; 1019: Start obtaining Bluetooth services; 1020: Successfully obtain Bluetooth services; 1021: Failed to obtain Bluetooth services; 1022: Start obtaining Bluetooth characteristic values; 1023: Successfully obtain Bluetooth characteristic values; 1024: Failed to obtain Bluetooth characteristic values; 1025: Start subscribing to Bluetooth characteristic values; 1026: Successfully subscribe to Bluetooth characteristic values; 1027: Failed to subscribe to Bluetooth characteristic values; 1028: Start feature exchange; 1029: Feature exchange successful; 1030: Feature exchange Change failed; 1031: Start real-time clock calibration; 1032: Forced real-time clock calibration succeeded; 1033: Forced real-time clock calibration failed; 1034: Start Bluetooth authentication; 1035: Bluetooth authentication succeeded; 1036: Bluetooth authentication failed; 1037: Bluetooth vehicle status returned; 1038: Start obtaining Bluetooth adapter status; 1039: Successfully obtain Bluetooth adapter status; 1040: Failed to obtain Bluetooth adapter status; 1041: Start obtaining connected Bluetooth devices; 1042: Successfully obtain connected Bluetooth devices; 1043: Failed to obtain connected Bluetooth devices 1044: Set vehicle control uniform resource identifier version 1045: Report vehicle frame number information; 1046: No real-time clock required Calibration; 1047: Start forced real-time clock calibration b2; 1048: Start passive real-time clock calibration b3; 1049: Get cloud real-time clock data b2; 1050: Get cloud real-time clock data b2 successfully; 1051: Get cloud real-time clock data b2 failed; 1052: Get cloud real-time clock data b3; 1053: Get cloud real-time clock data b3 successfully; 1054: Get cloud real-time clock data b3 failed; 1055: Start writing Bluetooth vehicle control commands; 1056: Write Bluetooth vehicle control commands successfully; 1057: Write Bluetooth vehicle control commands failed; 1058: Bluetooth vehicle control execution result returned; 1062: Bluetooth pairing failed; 1063: Bluetooth scan timed out.The device and operation related status codes include at least one of the following: 3101: Bluetooth is not turned on; 3102: Bluetooth is not authorized; 3103: Positioning is not turned on; 3104: Positioning is not authorized; 3107: Display Bluetooth pairing code; 3108: Hide Bluetooth pairing code; 3109: Bluetooth automatically reconnects; 3110: Bluetooth connection is disconnected; 3201: Network connection is turned on; 3202: Network connection is turned off; 3301: Vehicle Bluetooth connection is successful; 3302: Vehicle Bluetooth connection error; 3309: Vehicle control execution successful; 3310: Vehicle control execution failed; 3320: Digital key restart successful; 3330: Real-time clock is in weak network state; 3401: SDK login information expired; 3340: Bluetooth settings for intelligent unlocking; 3350: Bluetooth obtains vehicle body information status; 3360: Updates calibration information; 3361: Obtains unlocking calibration value; 3362: Obtains locking calibration value; 3370: Sets locking and window closing switch; 3371: Obtains locking and window closing status.
[0057] In this embodiment, the business module obtains the vehicle control command and sends it to the communication module.
[0058] S140, the communication module converts the vehicle control command into a message and sends it to the required vehicle.
[0059] Specifically, the communication module converts the vehicle control instructions into messages and sends them to the required vehicle.
[0060] Based on the above embodiment, the following steps are also included:
[0061] a2) The vehicle is required to send a feedback message including the vehicle status and the completion status of the vehicle control command to the communication module assembly module.
[0062] b2) The communication module assembly module parses the feedback message and sends the parsed information to the business module, which displays the parsed information.
[0063] In this embodiment, the demand vehicle will send a feedback message containing the vehicle status and the completion status of the vehicle control command to the communication module assembly module, the communication module assembly module will parse the feedback message, and send the parsed information to the business module, and the business module will display the parsed information.
[0064] The present invention discloses a digital key integration method, which is executed by a digital key integrated application, the application includes a business module and a communication module collection module; wherein the communication module collection module includes communication modules of various vehicle manufacturers; the vehicle manufacturer corresponding to the user's required vehicle is obtained; the configuration file corresponding to the vehicle manufacturer is obtained and loaded; the configuration file includes identification information of the corresponding vehicle manufacturer; when the configuration file is loaded, it is switched to the communication module corresponding to the identification information in the communication module collection module; the business module obtains the vehicle control instruction and sends it to the communication module; the communication module converts the vehicle control instruction into a message and sends it to the required vehicle. Utilizing this method: the switching of digital key protocols of different automobile manufacturers is realized, thereby realizing the functions of digital keys of multiple automobile manufacturers on one application.
[0065] Figure 5 The present invention also provides a digital key integration method and device structure diagram, such as Figure 5 As shown, an acquisition module 210, a communication module switching module 220, an instruction acquisition module 230 and a message sending module 240.
[0066] The acquisition module 210 is used to acquire the vehicle manufacturer corresponding to the vehicle required by the user; acquire and load the configuration file corresponding to the vehicle manufacturer; the configuration file includes the identification information of the corresponding vehicle manufacturer;
[0067] A communication module switching module 220, configured to switch to a communication module corresponding to the identification information in the communication module set module when the configuration file is loaded;
[0068] The instruction acquisition module 230 is used for the business module to acquire the vehicle control instruction and send it to the communication module;
[0069] The message sending module 240 is used for the communication module to convert the vehicle control instruction into a message and send it to the requesting vehicle.
[0070] The technical solution provided by the embodiment of the present disclosure utilizes this method to implement the switching of digital key protocols of different automobile manufacturers, thereby realizing the functions of digital keys of multiple automobile manufacturers on one application.
[0071] Furthermore, the device can also be used for:
[0072] Obtain digital key information from each vehicle manufacturer;
[0073] Extracting the key protocol from the digital key information;
[0074] The key protocol is generated into the communication module assembly module using a software development kit.
[0075] Furthermore, the device can also be used for:
[0076] The business module and the communication module collection module are connected through a predefined unified interface communication; the definition of the unified interface includes at least one of the following: logging in; subscribing to events and notifications; unsubscribing; connecting to a vehicle; disconnecting; obtaining vehicle information; sending vehicle control instructions; clearing data.
[0077] Furthermore, the device can also be used for:
[0078] The demand vehicle sends a feedback message including the vehicle status and the completion status of the vehicle control command to the communication module assembly module;
[0079] The communication module assembly module parses the feedback message, sends the parsed information to the business module, and the business module displays the parsed information.
[0080] Furthermore, the device can also be used for:
[0081] The message notification between the communication module set module and the business module adopts a subscription mode; the subscription message includes Bluetooth connection and authentication related information and device and operation related status codes; the Bluetooth connection and authentication related information includes at least one of the following:
[0082] 1001: Start Bluetooth pairing; 1002: Bluetooth pairing successful; 1003: Bluetooth pairing failed; 1004: Initialize Bluetooth adapter; 1005: Bluetooth adapter initialization successful; 1006: Bluetooth adapter initialization failed; 1007: Start releasing Bluetooth adapter; 1008: Release Bluetooth adapter successfully; 1009: Release Bluetooth adapter failed; 1010: Start scanning Bluetooth devices; 1011: Start scanning Bluetooth devices successfully; 1012: Start scanning Bluetooth devices failed; 1013: Start Bluetooth connection; 1014: Bluetooth connection successful; 1015: Bluetooth connection failed; 1016: Start Bluetooth disconnection; 10 17: Bluetooth disconnection success; 1018: Bluetooth disconnection failure; 1019: Start to obtain Bluetooth service; 1020: Successfully obtain Bluetooth service; 1021: Failed to obtain Bluetooth service; 1022: Start to obtain Bluetooth characteristic values; 1023: Successfully obtain Bluetooth characteristic values; 1024: Failed to obtain Bluetooth characteristic values; 1025: Start to subscribe to Bluetooth characteristic values; 1026: Successfully subscribe to Bluetooth characteristic values; 1027: Failed to subscribe to Bluetooth characteristic values; 1028: Start characteristic exchange; 1029: Successfully exchange characteristic values; 1030: Failed to exchange characteristic values; 1031: Start real-time clock calibration; 1032: Forced real-time clock calibration success; 1033 : Forced real-time clock calibration failed; 1034: Start Bluetooth authentication; 1035: Bluetooth authentication succeeded; 1036: Bluetooth authentication failed; 1037: Bluetooth vehicle status returned; 1038: Start obtaining Bluetooth adapter status; 1039: Successfully obtain Bluetooth adapter status; 1040: Failed to obtain Bluetooth adapter status; 1041: Start obtaining connected Bluetooth devices; 1042: Successfully obtain connected Bluetooth devices; 1043: Failed to obtain connected Bluetooth devices 1044: Set vehicle control uniform resource identifier version 1045: Report vehicle frame number information; 1046: No real-time clock calibration required; 1047: Start forced real-time clock calibration b 2; 1048: Start passive real-time clock calibration b3; 1049: Get cloud real-time clock data b2; 1050: Get cloud real-time clock data b2 successfully; 1051: Get cloud real-time clock data b2 failed; 1052: Get cloud real-time clock data b3; 1053: Get cloud real-time clock data b3 successfully; 1054: Get cloud real-time clock data b3 failed; 1055: Start writing Bluetooth vehicle control commands; 1056: Write Bluetooth vehicle control commands successfully; 1057: Write Bluetooth vehicle control commands failed; 1058: Bluetooth vehicle control execution result is returned; 1062: Bluetooth pairing failed; 1063: Bluetooth scan timed out.
[0083] Furthermore, the device can also be used for:
[0084] The device and operation related status codes include at least one of the following: 3101: Bluetooth is not turned on; 3102: Bluetooth is not authorized; 3103: Positioning is not turned on; 3104: Positioning is not authorized; 3107: Display Bluetooth pairing code; 3108: Hide Bluetooth pairing code; 3109: Bluetooth automatically reconnects; 3110: Bluetooth connection is disconnected; 3201: Network connection is turned on; 3202: Network connection is turned off; 3301: Vehicle Bluetooth connection is successful; 3302: Vehicle Bluetooth connection error ; 3309: Vehicle control execution successful; 3310: Vehicle control execution failed; 3320: Digital key restart successful; 3330: Real-time clock is in weak network state; 3401: SDK login information expired; 3340: Bluetooth settings for intelligent unlocking; 3350: Bluetooth obtains vehicle body information status; 3360: Update calibration information; 3361: Obtain unlocking calibration value; 3362: Obtain locking calibration value; 3370: Set locking and window closing switch; 3371: Obtain locking and window closing status.
[0085] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.
[0086] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is given. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0087] like Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0088] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0089] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a digital key integration method.
[0090] In some embodiments, the digital key integration method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the digital key integration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the digital key integration method in any other appropriate manner (e.g., by means of firmware).
[0091] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0092] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0093] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0094] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0095] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0096] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0097] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0098] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A digital key integration method, characterized in that: The method is executed by an application integrated with a digital key, the application including a business module and a communication module assembly module; wherein the communication module assembly module includes communication modules of various vehicle manufacturers; Obtaining the vehicle manufacturer corresponding to the vehicle required by the user; obtaining and loading a configuration file corresponding to the vehicle manufacturer; the configuration file includes identification information of the corresponding vehicle manufacturer; When the configuration file is loaded, switching to the communication module corresponding to the identification information in the communication module set module; The business module obtains the vehicle control command and sends it to the communication module; The communication module converts the vehicle control instruction into a message and sends it to the requesting vehicle.
2. The method according to claim 1, characterized in that The method for implementing the communication module set module includes: Obtain digital key information from each vehicle manufacturer; Extracting the key protocol from the digital key information; The key protocol is generated into the communication module assembly module using a software development kit.
3. The method according to claim 1, characterized in that The business module and the communication module set module are connected to each other through a predefined unified interface; the definition of the unified interface includes at least one of the following: login; subscription to events and notifications; unsubscription; Connect to the vehicle; disconnect; obtain vehicle information; send vehicle control commands; clear data.
4. The method according to claim 1, characterized in that: Also includes: The demand vehicle sends a feedback message including the vehicle status and the completion status of the vehicle control command to the communication module assembly module; The communication module assembly module parses the feedback message, sends the parsed information to the business module, and the business module displays the parsed information.
5. The method according to claim 1, characterized in that The message notification between the communication module set module and the business module adopts a subscription mode; the subscription message includes Bluetooth connection and authentication related information and device and operation related status codes; the Bluetooth connection and authentication related information includes at least one of the following: 1001: Start Bluetooth pairing; 1002: Bluetooth pairing successful; 1003: Bluetooth pairing failed; 1004: Initialize Bluetooth adapter; 1005: Bluetooth adapter initialization successful; 1006: Bluetooth adapter initialization failed; 1007: Start releasing Bluetooth adapter; 1008: Release Bluetooth adapter successfully; 1009: Release Bluetooth adapter failed; 1010: Start scanning Bluetooth devices; 1011: Start scanning Bluetooth devices successfully; 1012: Start scanning Bluetooth devices failed; 1013: Start Bluetooth connection; 1014: Bluetooth connection successful; 1015: Bluetooth connection failed; 1016: Start Bluetooth disconnection; 10 17: Bluetooth disconnection success; 1018: Bluetooth disconnection failure; 1019: Start to obtain Bluetooth service; 1020: Successfully obtain Bluetooth service; 1021: Failed to obtain Bluetooth service; 1022: Start to obtain Bluetooth characteristic values; 1023: Successfully obtain Bluetooth characteristic values; 1024: Failed to obtain Bluetooth characteristic values; 1025: Start to subscribe to Bluetooth characteristic values; 1026: Successfully subscribe to Bluetooth characteristic values; 1027: Failed to subscribe to Bluetooth characteristic values; 1028: Start characteristic exchange; 1029: Successfully exchange characteristic values; 1030: Failed to exchange characteristic values; 1031: Start real-time clock calibration; 1032: Forced real-time clock calibration success; 1033 : Forced real-time clock calibration failed; 1034: Start Bluetooth authentication; 1035: Bluetooth authentication succeeded; 1036: Bluetooth authentication failed; 1037: Bluetooth vehicle status returned; 1038: Start obtaining Bluetooth adapter status; 1039: Successfully obtain Bluetooth adapter status; 1040: Failed to obtain Bluetooth adapter status; 1041: Start obtaining connected Bluetooth devices; 1042: Successfully obtain connected Bluetooth devices; 1043: Failed to obtain connected Bluetooth devices 1044: Set vehicle control uniform resource identifier version 1045: Report vehicle frame number information; 1046: No real-time clock calibration required; 1047: Start forced real-time clock calibration b 2; 1048: Start passive real-time clock calibration b3; 1049: Get cloud real-time clock data b2; 1050: Get cloud real-time clock data b2 successfully; 1051: Get cloud real-time clock data b2 failed; 1052: Get cloud real-time clock data b3; 1053: Get cloud real-time clock data b3 successfully; 1054: Get cloud real-time clock data b3 failed; 1055: Start writing Bluetooth vehicle control commands; 1056: Write Bluetooth vehicle control commands successfully; 1057: Write Bluetooth vehicle control commands failed; 1058: Bluetooth vehicle control execution result is returned; 1062: Bluetooth pairing failed; 1063: Bluetooth scan timed out.
6. The method according to claim 5, characterized in that The device and operation related status codes include at least one of the following: 3101: Bluetooth is not turned on; 3102: Bluetooth is not authorized; 3103: Positioning is not turned on; 3104: Positioning is not authorized; 3107: Display Bluetooth pairing code; 3108: Hide Bluetooth pairing code; 3109: Bluetooth automatically reconnects; 3110: Bluetooth connection is disconnected; 3201: Network connection is turned on; 3202: Network connection is turned off; 3301: Vehicle Bluetooth connection is successful; 3302: Vehicle Bluetooth connection error ; 3309: Vehicle control execution successful; 3310: Vehicle control execution failed; 3320: Digital key restart successful; 3330: Real-time clock is in weak network state; 3401: SDK login information expired; 3340: Bluetooth settings for intelligent unlocking; 3350: Bluetooth obtains vehicle body information status; 3360: Update calibration information; 3361: Obtain unlocking calibration value; 3362: Obtain locking calibration value; 3370: Set locking and window closing switch; 3371: Obtain locking and window closing status.
7. A digital key integrated device, characterized in that: include: An acquisition module is used to acquire the vehicle manufacturer corresponding to the vehicle required by the user; acquire and load a configuration file corresponding to the vehicle manufacturer; the configuration file includes identification information of the corresponding vehicle manufacturer; A communication module switching module, used for switching to the communication module corresponding to the identification information in the communication module set module when the configuration file is loaded; An instruction acquisition module is used for the business module to acquire vehicle control instructions and send them to the communication module; The message sending module is used for the communication module to convert the vehicle control command into a message and send it to the required vehicle.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the digital key integration method described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the digital key integration method described in any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product includes a computer program, which, when executed by a processor, implements the digital key integration method according to any one of claims 1 to 6.