Digital key connection method and device and vehicle

By setting up a master-slave communication chip combination in the vehicle and dynamically selecting the appropriate communication protocol, the reliability problem caused by a single protocol in the digital key connection solution is solved. This achieves adaptation to different protocols and resource allocation, thereby improving the stability and reliability of the connection.

CN121645558APending Publication Date: 2026-03-10ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing digital key connection solutions are designed with a fixed single communication protocol, which makes it difficult to adapt to the communication needs of different scenarios, resulting in a high connection failure rate and reduced reliability.

Method used

It adopts a combination of a main communication chip and a slave communication chip module. The main chip supports the first short-range wireless communication protocol, and the slave chip module supports the first and second short-range wireless communication protocols. The appropriate communication chip is dynamically selected for connection according to the protocol type of the digital key, so as to achieve compatibility with different protocols and avoid resource competition.

Benefits of technology

It improves the reliability of digital key connections, reduces the risk of connection failure due to protocol incompatibility or failure of a single protocol, and ensures the communication quality and stability of each connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645558A_ABST
    Figure CN121645558A_ABST
Patent Text Reader

Abstract

The invention provides a digital key connection method and device and a vehicle, the method is applied to the vehicle, the vehicle comprises a master communication chip and a slave communication chip module, the master communication chip supports a first short-distance wireless communication protocol, and the slave communication chip module supports the first short-distance wireless communication protocol and a second short-distance wireless communication protocol; the method comprises the following steps: in response to a connection request sent by a digital key through a target communication protocol and received by a target communication chip, controlling the target communication chip to establish a target short-distance communication connection with the digital key; wherein under the condition that the target communication protocol is the first short-distance wireless communication protocol, the target communication chip is the master communication chip, and under the condition that the target communication protocol is the second short-distance wireless communication protocol, the target communication chip is the slave communication chip module. According to the embodiment of the invention, the reliability of digital key connection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a digital key connection method, device and vehicle. Background Technology

[0002] With the popularization of smart vehicles, digital keys have become the mainstream solution to replace traditional physical car keys due to their advantages such as eliminating the need to carry physical keys and convenient operation. Their core function is to establish a connection with the vehicle through a specific communication protocol, thereby realizing key operations such as unlocking and locking the vehicle.

[0003] Currently, most existing digital key connection solutions adopt a design logic of a fixed single communication protocol: that is, the vehicle is only equipped with a communication module that supports a specific communication protocol, and the digital key must establish a connection with the vehicle based on this fixed protocol to transmit control commands in order to complete vehicle control operations. However, this fixed protocol connection solution is difficult to adapt to the communication needs of different scenarios. In actual use, the limitation of scenario adaptation easily leads to a high failure rate of digital key connection, resulting in low reliability of digital key connection. Summary of the Invention

[0004] This application provides a digital key connection method, device, and vehicle that can improve the reliability of digital key connections.

[0005] In a first aspect, embodiments of this application provide a digital key connection method applied to a vehicle, the vehicle including a main communication chip and a slave communication chip module, the main communication chip supporting a first short-range wireless communication protocol, and the slave communication chip module supporting a first short-range wireless communication protocol and a second short-range wireless communication protocol; the method includes: In response to the target communication chip receiving a connection request sent by the digital key through the target communication protocol, the target communication chip is controlled to establish a target short-range communication connection with the digital key; wherein, when the target communication protocol is a first short-range wireless communication protocol, the target communication chip is the master communication chip, and when the target communication protocol is a second short-range wireless communication protocol, the target communication chip is the slave communication chip module.

[0006] Secondly, this application provides a digital key connection device applied to a vehicle, the vehicle including a main communication chip and a slave communication chip module, the main communication chip supporting a first short-range wireless communication protocol, and the slave communication chip module supporting the first short-range wireless communication protocol and a second short-range wireless communication protocol; the device includes: A connection module is configured to, in response to a connection request received by the target communication chip from the digital key via a target communication protocol, control the target communication chip to establish a target short-range communication connection with the digital key; wherein, when the target communication protocol is the first short-range wireless communication protocol, the target communication chip is the master communication chip, and when the target communication protocol is the second short-range wireless communication protocol, the target communication chip is the slave communication chip module.

[0007] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions; When the processor executes computer program instructions, it implements the digital key connection method as described in any of the embodiments of the first aspect.

[0008] Fourthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the digital key connection method as described in any of the embodiments of the first aspect.

[0009] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform a digital key connection method as described in any of the embodiments of the first aspect above.

[0010] Sixthly, embodiments of this application also provide a vehicle, which includes at least one of the following: Such as the digital key connection device in the second aspect; Such as electronic devices in the third aspect; Such as the computer-readable storage medium in the fourth aspect; Such as computer program products in the fifth aspect.

[0011] In the digital key connection method, device, and vehicle provided in this application embodiment, the vehicle communication architecture is configured as a combination of a main communication chip and a slave communication chip module. The main communication chip supports a first short-range wireless communication protocol, and the slave communication chip module simultaneously supports both the first and second short-range wireless communication protocols. When the digital key initiates a connection request using the first short-range wireless communication protocol, the main communication chip acts as the target communication chip to establish a short-range communication connection with the digital key. When the digital key initiates a connection request using the second short-range wireless communication protocol, the slave communication chip module acts as the target communication chip to establish a short-range communication connection with the digital key. This achieves adaptation to digital keys using different protocols, breaking the limitation of a single protocol on connection scenarios. It allows the digital key to flexibly select the appropriate communication protocol to initiate a connection based on the actual usage scenario and its own communication capabilities, significantly reducing the risk of connection failure due to protocol incompatibility or single-protocol communication failure, thereby improving the reliability of the digital key connection. Meanwhile, the division of labor and cooperation between the main communication chip and the slave communication chip module allows the connection requirements of different protocols to be handled by the corresponding chips, avoiding the resource competition problems that may arise from a single chip handling multiple protocol connections at the same time. This ensures the communication quality and stability of each connection, thereby further improving the reliability of digital key connections. Attached Figure Description

[0012] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a flowchart illustrating the digital key connection method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of the master communication chip and slave communication chip module provided in the embodiments of this application; Figure 3 This is a schematic diagram of a scenario provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a digital key connection device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0014] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0015] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0016] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0017] With the advent of the digital age, digital keys have gradually replaced traditional physical car keys and are being promoted and used more and more. Compared with traditional physical car keys, a major highlight of digital keys is their ability to sense user intent by judging the user's movement trajectory, enabling seamless unlocking and locking of the vehicle without manual operation.

[0018] Currently, digital key terminals come in various forms, such as mobile phones and watches. The primary ranging method is Bluetooth Low Energy (BLE), where the vehicle monitors the Bluetooth signal strength of the terminal device for distance measurement and positioning. However, Bluetooth signals are easily attenuated by obstructions and are sensitive to multipath interference in complex environments, leading to errors. Currently, BLE's positioning accuracy is within the 3-5m range. Another ranging method is Ultra-Wideband (UWB) positioning. UWB positioning calculates the time of flight (TOF) of the signal to achieve distance measurement. This method offers high positioning accuracy, reaching centimeter-level precision, and effectively defends against relay attacks, providing higher security. However, there are currently few mobile phone brands on the market that support UWB positioning, and the cost of configuring UWB modules in vehicles is high. In recent years, a newer ranging method has emerged: StarFlash Low Energy (SLE) positioning. SLE uses a phase difference ranging + TOF ranging scheme, achieving decimeter-level positioning accuracy, superior to BLE, and also effectively defending against relay attacks.

[0019] To enable vehicles to support both Bluetooth and StarFlash digital keys simultaneously, a common solution is to replace the Bluetooth chip in the vehicle's main digital key module with a StarFlash chip. This is because the StarFlash chip employs a dual-mode design, supporting both Bluetooth and StarFlash. However, this solution has the following drawbacks and potential risks: 1. It is not conducive to the hardware platform design of the vehicle-side digital key master module, because the digital key master module with the same hardware design may be used on different configurations of the vehicle, and some models have not planned the Star Flash Key. 2. Both Bluetooth and StarFlash connections are based on the same chip. When multiple Bluetooth keys and StarFlash keys are connected to the vehicle at the same time, there may be resource contention, such as prioritizing the processing of StarFlash key logic, which will reduce the performance of Bluetooth keys.

[0020] Optionally, in this embodiment of the application, directly replacing the existing Bluetooth chip with a "single-star dual-mode chip" would bring three major new problems: 1) Disrupting the hardware platform of the digital key master module: This requires redesigning the entire vehicle hardware platform, disrupting the existing supply chain, and incurring high costs.

[0021] 2) Increased costs: Replacing the main Bluetooth chip of the digital key main module with the StarFlash dual-mode chip will incur significant research and development and production costs during the replacement process.

[0022] 3) Business resource contention: A single chip needs to handle both Bluetooth and StarFlash protocol stacks simultaneously, which may lead to resource contention and affect system stability and performance.

[0023] To address the problems existing in related technologies, embodiments of this application provide a digital key connection method, device, and vehicle.

[0024] The digital key connection method provided in the embodiments of this application will be described below. Figure 1 As shown, this method is applied to a vehicle, which includes a main communication chip and a slave communication chip module. The main communication chip supports a first short-range wireless communication protocol, and the slave communication chip module supports both the first and second short-range wireless communication protocols. The method specifically includes the following steps: S100, in response to the target communication chip receiving a connection request sent by the digital key through the target communication protocol, the target communication chip is controlled to establish a target short-range communication connection with the digital key; wherein, when the target communication protocol is the first short-range wireless communication protocol, the target communication chip is the master communication chip, and when the target communication protocol is the second short-range wireless communication protocol, the target communication chip is the slave communication chip module.

[0025] Optionally, in this embodiment, the main communication chip is the core communication chip on the vehicle responsible for ultimately executing control commands, and supports a first short-range wireless communication protocol. The main communication chip and the slave communication chip module interact with each other via a communication connection. The main communication chip can receive control commands transmitted through the slave communication chip module and complete specific operations such as unlocking and locking the vehicle according to the control commands. The main communication chip is the execution terminal of the vehicle control process and plays a key role in realizing the control intent of the digital key.

[0026] The slave communication chip module is a hardware module that assists in vehicle communication. Its communication capabilities cover both the first and second short-range wireless communication protocols, making it a dual-protocol compatible communication module. The slave communication chip module can be a single module containing only one slave communication chip, or a combination module containing at least two slave communication chips, allowing for flexible configuration based on the vehicle's communication needs and applicable scenarios. The slave communication chip module and the main communication chip together constitute the vehicle's dual-protocol communication architecture.

[0027] Optionally, the first short-range wireless communication protocol and the second short-range wireless communication protocol are different short-range wireless communication protocols. For example, the first short-range wireless communication protocol may be Bluetooth, and the second short-range wireless communication protocol may be StarScan; or, the first short-range wireless communication protocol may be StarScan, and the second short-range wireless communication protocol may be Bluetooth. This application does not limit this, as long as the first short-range wireless communication protocol and the second short-range wireless communication protocol are different short-range wireless communication protocols.

[0028] The target communication chip is a communication carrier dynamically determined by the vehicle based on the connection request of the digital key. Specifically, it is either a main communication chip or a slave communication chip module that meets the target communication protocol adaptation requirements.

[0029] A connection request is a signal command sent by the digital key to the vehicle to request the establishment of a short-range wireless communication connection.

[0030] The target short-range communication connection is the basic communication channel for digital keys to transmit data with vehicles and realize vehicle control.

[0031] Optionally, in one feasible implementation of this application, after the vehicle is powered on, the main communication chip initiates the broadcast transmission and connection request listening function of the first short-range wireless communication protocol to accept the digital key connection requirements that support the first short-range wireless communication protocol; while the communication chip module activates the listening mechanism of the second short-range wireless communication protocol to achieve physical isolation and functional separation of the two types of protocol connections.

[0032] When a digital key needs to establish communication with a vehicle, it generates a connection request containing core information such as protocol identifier and device identity based on the protocol types it supports, and sends it to the vehicle through the corresponding target communication protocol. If the digital key supports the first short-range wireless communication protocol, its connection request will be captured by the main communication chip, which is in a listening state. After the main communication chip parses and confirms the protocol type, it completes interaction steps such as identity verification, parameter negotiation, and link encryption with the digital key according to the standard connection process of the first short-range wireless communication protocol, and finally establishes a stable target short-range communication connection.

[0033] If the digital key supports the second short-range wireless communication protocol, its connection request will be received by the communication chip module that listens for the second short-range wireless communication protocol. After parsing the protocol identifier, the communication chip module will initiate the connection response process corresponding to the second short-range wireless communication protocol, complete the necessary operations such as pairing authentication and security control with the digital key, and then establish an effective target short-range communication connection.

[0034] Throughout the process, the main communication chip and the slave communication chip module each perform their respective functions and accept connection requests for the corresponding protocols. This not only avoids resource competition for connections of the same protocol, but also ensures that digital keys of different protocols can be accurately matched with the appropriate communication carrier, thereby improving the targeting and effectiveness of connection establishment.

[0035] In a digital key connection method provided in this application embodiment, the vehicle communication architecture is configured as a combination of a main communication chip and a slave communication chip module. The main communication chip supports a first short-range wireless communication protocol, while the slave communication chip module supports both the first and second short-range wireless communication protocols. When the digital key initiates a connection request using the first short-range wireless communication protocol, the main communication chip acts as the target communication chip to establish a short-range communication connection with the digital key. When the digital key initiates a connection request using the second short-range wireless communication protocol, the slave communication chip module acts as the target communication chip to establish a short-range communication connection with the digital key. This achieves adaptation to digital keys using different protocols, breaking the limitation of a single protocol on connection scenarios. It allows the digital key to flexibly select the appropriate communication protocol to initiate a connection based on the actual usage scenario and its own communication capabilities, significantly reducing the risk of connection failure due to protocol incompatibility or single-protocol communication failure, thereby improving the reliability of the digital key connection. Simultaneously, the division of labor and cooperation between the main communication chip and the slave communication chip module ensures that the connection requirements of different protocols are handled by the appropriate chips, avoiding resource contention issues that may arise from a single chip handling multiple protocol connections simultaneously. This guarantees the communication quality and stability of each connection, further improving the reliability of the digital key connection.

[0036] In one embodiment, before controlling the target communication chip to establish a target short-range communication connection with the digital key in response to the target communication chip receiving a connection request sent by the digital key through the target communication protocol, the method further includes: The main communication chip is controlled to send a first connection broadcast through the first short-range wireless communication protocol, and the slave communication chip module is controlled to send a second connection broadcast through the second short-range wireless communication protocol; The digital key is received in response to the connection request sent by the target connection broadcast; the target connection broadcast is either the first connection broadcast or the second connection broadcast.

[0037] Optionally, in this embodiment, the first connection broadcast is a signal broadcast sent by the main communication chip based on a first short-range wireless communication protocol to invite a digital key supporting the protocol to establish a connection. The first connection broadcast may include information such as the main communication chip identifier, the supported first protocol version, and communication capability parameters.

[0038] The second connection broadcast is a signal broadcast sent by the slave communication chip module based on the second short-range wireless communication protocol, used to invite a digital key that supports the protocol to establish a connection. The second connection broadcast may include information such as the slave communication chip module identifier, second protocol adaptation parameters, and secure communication capabilities. The second connection broadcast is sent independently by the slave communication chip module, running in parallel with the first connection broadcast sent by the main communication chip and without interference.

[0039] Optionally, in one specific implementation of this application, after the vehicle is powered on, the main communication chip continuously sends a first connection broadcast containing information such as its own identifier, the version of the first short-range wireless communication protocol, and communication capabilities based on a first short-range wireless communication protocol, to transmit connection invitations supporting the protocol to the surrounding area; at the same time, the slave communication chip module independently sends a second connection broadcast containing information such as its own identifier and the adaptation parameters of the second short-range wireless communication protocol based on a second short-range wireless communication protocol. The two types of broadcasts are sent in parallel without interfering with each other, and together cover the preset communication range around the vehicle.

[0040] When the digital key enters the range, it will scan the surrounding broadcast signals. If the digital key supports the first short-range wireless communication protocol, it will identify and respond to the first connection broadcast; if it supports the second short-range wireless communication protocol, it will identify and respond to the second connection broadcast. That is, the digital key determines the target connection broadcast according to its own protocol adaptation capability.

[0041] Subsequently, based on the information in the target connection broadcast, the digital key generates a connection request containing a protocol identifier and its own device information, and sends it to the vehicle through the corresponding target communication protocol. Finally, the connection request is received by the main communication chip or the secondary communication chip module.

[0042] In these optional embodiments, connection invitations using dual protocols are simultaneously broadcast by the main communication chip and the slave communication chip module, allowing digital keys with different protocols to accurately identify and adapt to the broadcast and initiate requests. This avoids the limitations of a single broadcast, ensures the relevance of connection requests, reduces invalid interactions, and improves the reliability of digital key connections.

[0043] In one embodiment, when the target communication chip is the slave communication chip module, after controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further includes: In response to the slave communication chip module receiving a first control command sent by the digital key through the target short-range communication connection, the slave communication chip module is controlled to send the first control command to the master communication chip; and The main communication chip is controlled to execute the first control instruction.

[0044] Optionally, in this embodiment, the first control command is an operation command generated by a digital key that supports a second short-range wireless communication protocol based on the user's vehicle usage needs. Its core function is to trigger the vehicle to complete specific functional actions. The specific command type is directly related to the vehicle control scenario, such as an unlock command generated when the user needs to unlock the vehicle, a lock command generated when the user needs to lock the vehicle, a trunk opening command generated when the user needs to open the trunk, or a start authorization command generated when the user needs to start the vehicle.

[0045] Optionally, in one specific implementation of this application, firstly, after establishing a target short-range communication connection with the communication chip module, the digital key supporting the second short-range wireless communication protocol generates a first control command based on the user's vehicle operation, and encapsulates the command according to the specifications of the second short-range wireless communication protocol, including the command type identifier, operation parameters, etc. At the same time, it performs security processing through the encryption mechanism corresponding to the protocol (such as session key encryption) to prevent the command from being tampered with or leaked during transmission.

[0046] Subsequently, the digital key sends the encrypted first control command to the communication chip module through the established target short-range communication connection. After receiving the command, the communication chip module decrypts it based on the decryption rules of the second short-range wireless communication protocol, and then verifies the legality and integrity of the command format (such as verifying the command check bit and confirming that the command type is within the preset range).

[0047] After successful verification, the communication chip module, relying on the pre-established internal communication link with the main communication chip, directly transmits the first control command to the main communication chip. It does not modify or process the command content during this process, only acting as a transmitter. Upon receiving the command, the main communication chip first parses the core information, verifies the legality of the command source and the integrity of its format. Once confirmed, it identifies the specific operation type, calls the corresponding control interface within the vehicle, and converts the command into executable hardware signals. For example, an unlock command might drive the door lock mechanism, and a trunk opening command might trigger the trunk unlocking mechanism, ultimately accurately fulfilling the user's vehicle control needs.

[0048] In these alternative embodiments, the separation of protocol reception and instruction execution is achieved through a design where the first control command is transmitted transparently from the communication chip module and executed uniformly by the main communication chip. The secondary module focuses on receiving the second protocol command, while the main module centrally processes the core control. This ensures the effective transmission of different protocol commands and, through unified execution by the main module, guarantees the security and consistency of vehicle control, thereby improving the reliability of digital key control.

[0049] In one embodiment, controlling the slave communication chip module to send the first control command to the master communication chip includes: The slave communication chip module is controlled to decrypt the first control instruction using a first key to obtain a first decryption control instruction; the first control instruction is obtained by encrypting the digital key using the first key and a second key, the slave communication chip module holds the first key; the master communication chip holds the second key; The slave communication chip module is controlled to send the first decryption control command to the master communication chip. The main communication chip executes the first control command when it successfully decrypts the first decryption control command using the second key.

[0050] Optionally, in this embodiment, the first key is an encryption key jointly held by the digital key and the slave communication chip module, specifically used for the initial decryption of the first control command. Its core function is to ensure the link-layer security of the first control command transmission between the digital key and the slave communication chip module, preventing the command from being stolen or tampered with during external transmission. This key is held only by the digital key and the slave communication chip module; the main communication chip does not possess it.

[0051] The second key is an encryption key jointly held by the digital key and the main communication chip. It is used to finally decrypt the first decryption control command transmitted from the communication chip module. Its core function is to achieve end-to-end security verification of control commands, ensuring that only the main communication chip can complete the final decryption and execution of the command, preventing the command from being illegally tampered with or forged. The second key is held only by the digital key and the main communication chip, and is not known to the slave communication chip module. It works in collaboration with the first key to jointly build a two-layer security system of "external link encryption + internal core decryption," thereby improving the overall security of vehicle control.

[0052] Optionally, in one specific implementation of this application, both the first key and the second key are generated during the process of establishing a target short-range communication connection between the digital key and the slave communication chip module: when the digital key and the slave communication chip module complete pairing authentication, the first key is negotiated and generated based on the security mechanism of the second short-range wireless communication protocol. This key is only synchronized to the digital key and the slave communication chip module and is used for external link encryption.

[0053] Meanwhile, the main communication chip sends its own generated key negotiation parameters to the slave communication chip module through the internal preset communication channel. The slave communication chip module then transmits these parameters to the digital key. Based on these parameters, the digital key completes remote key negotiation with the main communication chip, generating a second key that is held only by the digital key and the main communication chip. The entire process does not require the digital key to directly establish a connection with the main communication chip.

[0054] Subsequently, after the digital key generates the first control command based on the user's operation, it first encrypts the command with the first key and then encrypts it with the second key, forming a double-encrypted first control command to ensure the security of the command throughout the entire transmission link.

[0055] Upon receiving the encrypted command from the communication chip module via the target short-range communication connection, the module uses its own first key to decrypt it, obtaining a first decryption control command that has undergone only the first layer of decryption, thus completing the secure decryption of the external link. Next, the communication chip module transmits the first decryption control command to the main communication chip via its internal communication link. Upon receiving this command, the main communication chip uses its own second key to perform a second layer of decryption. If decryption is successful and the command format is verified to be valid and its source reliable, the main communication chip identifies the corresponding vehicle control request, calls the corresponding control interface within the vehicle, converts the command into a hardware-executable signal, and ultimately executes the user's control operation. If decryption fails, the chip refuses to execute the command, further ensuring the security of vehicle control.

[0056] In these alternative embodiments, the first key secures the external transmission of commands, while the second key locks the main communication chip's final decryption authority, allowing only data to be transmitted from the communication module. This prevents command transmission from being tampered with or stolen, and also ensures the security of vehicle control through key isolation.

[0057] In one embodiment, when the target communication chip is the slave communication chip module, after controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further includes: The control module of the communication chip acquires the first ranging information of the digital key through the second short-range wireless communication protocol; The control module of the communication chip determines the location information of the digital key based on the first ranging information. The slave communication chip module is controlled to send the location information to the master communication chip. The main communication chip is controlled to perform a contactless authentication operation based on the location information.

[0058] Optionally, in this embodiment, the first ranging information is data obtained by the slave communication chip module after ranging the digital key through a second short-range wireless communication protocol. Specifically, it includes signal transmission-related parameters and distance estimates calculated based on the ranging mechanism of the protocol (such as phase difference ranging, time-of-flight ranging, etc.), which can directly reflect the spatial distance correlation characteristics between the digital key and the slave communication chip module.

[0059] The contactless authentication operation is a vehicle access authentication and control operation automatically initiated by the main communication chip based on the location information of the digital key sent from the communication chip module, without manual intervention from the user. Its core logic is that the main communication chip determines whether the location of the digital key meets preset contactless control conditions (such as whether it is within the vehicle's unlocking range). If so, it automatically completes identity verification and permission confirmation, and triggers the corresponding vehicle functions (such as contactless unlocking, locking, and start authorization). This operation achieves contactless collaboration between the digital key and the vehicle, a key function that improves user convenience, and all decisions are executed uniformly by the main communication chip.

[0060] Optionally, in one specific implementation of this application, after the communication chip module establishes a target short-range communication connection with the digital key, the ranging function of the second short-range wireless communication protocol is activated. Through the ranging mechanism supported by the protocol, a ranging signal is sent to the digital key and a feedback signal is received to form the first ranging information.

[0061] Subsequently, the preset position calculation algorithm is called from the communication chip module. Combining its own installation position parameters on the vehicle, the core data in the first ranging information, and the ranging calibration parameters of the second short-range wireless communication protocol, the spatial position information of the digital key relative to the vehicle, including key dimensions such as distance and orientation, is derived.

[0062] Next, the calculated location information is sent from the communication chip module to the main communication chip via a pre-established internal communication link. After receiving the location information, the main communication chip first verifies the integrity and legality of the information, and then compares the location information with preset contactless control thresholds (such as the effective unlocking distance range, locking trigger distance, etc.). If the location information meets the corresponding contactless control conditions, a secondary identity verification (based on pre-stored key information) is automatically initiated. After successful verification, the corresponding vehicle control functions are triggered, such as contactless unlocking and automatic locking.

[0063] In these alternative embodiments, by collecting second protocol ranging information from the communication chip module and deriving the position, the main communication chip uniformly performs contactless authentication, thereby separating ranging from decision-making and ensuring the security of contactless operation.

[0064] In one embodiment, the slave communication chip module includes N slave communication chips, where N is an integer greater than or equal to 2, that is, the slave communication chip module in this embodiment may include two or more slave communication chips; The control of the communication chip module to acquire the first ranging information of the digital key through the second short-range wireless communication protocol includes: The master and slave chips among the N slave communication chips are controlled to collect the first ranging information of the digital key through the second short-range wireless communication protocol; The control of the slave communication chip module to determine the location information of the digital key based on the first ranging information includes: The system controls each of the N slave communication chips to collect the second ranging information of the digital key through the second short-range wireless communication protocol, and sends the collected second ranging information to the master-slave chip. The master and slave chips are controlled to determine the location information based on the first ranging information and the second ranging information sent by each slave chip.

[0065] Optionally, in this embodiment, the master-slave chip is a designated core coordinating chip among N slave communication chips in the slave communication chip module, possessing both ranging functionality and data integration and decision-making capabilities for the second short-range wireless communication protocol. Its core responsibilities include establishing a target short-range communication connection with the digital key (the slave chips do not participate in this connection establishment process), autonomously collecting the first ranging information of the digital key, receiving the second ranging information sent by each slave chip, and comprehensively calculating the location information of the digital key based on the two types of ranging information. As the control core of the slave communication chip module, the master-slave chip coordinates the ranging work of each slave chip, achieving centralized processing of ranging data.

[0066] The auxiliary chip is one of the N slave communication chips in the communication chip module, excluding the master and slave chips. All of these chips support the ranging function of the second short-range wireless communication protocol. Its main function is to independently collect the second ranging information from the digital key without participating in location information calculation; it only needs to send the collected second ranging information to the master and slave chips in real time. At least one auxiliary chip works with the master and slave chips to form a distributed ranging architecture, enriching the sources of ranging data and improving the reliability of location information. When there are more auxiliary chips (e.g., 3, 4, 5, or 6), a better distributed ranging architecture can be formed, enriching the sources of ranging data and improving the accuracy of the final location information.

[0067] The second ranging information is the data obtained by each slave chip after measuring the distance of the digital key through the second short-range wireless communication protocol. It is of the same type as the first ranging information collected by the master and slave chips.

[0068] Optionally, in one specific implementation of this application, the following description uses the Star Flash protocol as an example of the second short-range wireless communication protocol: the communication chip module includes N slave communication chips, wherein only the master and slave chips establish a target short-range communication connection with the digital key using the Star Flash protocol, and the auxiliary slave chips do not participate in the connection establishment process.

[0069] Once the connection is stable, the master and slave chips are first controlled to start the ranging function of the Star Flash protocol. Through the phase difference + time of flight ranging mechanism, ranging signals are sent to the digital key and feedback signals are received. Core data such as signal transmission time and phase deviation are collected to form the first ranging information.

[0070] At the same time, the master-slave chip sends synchronous ranging commands to each slave chip, controlling all slave chips to independently carry out ranging through the Star Flash protocol, each collecting signal interaction data with the digital key, generating second ranging information, and sending it to the master-slave chip in real time through the preset communication link inside the module.

[0071] The master and slave chips combine the first ranging information they collect with the second ranging information uploaded by all slave chips, and combine this with the coordinates of the fixed installation positions of each chip on the vehicle to deduce the spatial position information of the digital key relative to the vehicle.

[0072] In these alternative embodiments, by collecting first ranging information through master-slave chips and simultaneously collecting second ranging information through multiple slave chips, multi-source data support is formed, which improves the accuracy and reliability of digital key location calculation, provides a solid data foundation for contactless authentication, and optimizes the user's vehicle experience.

[0073] In one embodiment, controlling each of the N slave communication chips to acquire the second ranging information of the digital key via the second short-range wireless communication protocol includes: The master-slave chip is controlled to send measurement signal configuration information to each of the slave chips; the measurement signal configuration information is determined based on the protocol standard of the second short-range wireless communication protocol and the identity identifier of the digital key; Each of the auxiliary chips is controlled to acquire the second ranging information of the digital key through the second short-range wireless communication protocol based on the measurement signal configuration information.

[0074] Optionally, in this embodiment, the measurement signal configuration information is a set of key parameters generated by the master and slave chips based on the protocol standard of the second short-range wireless communication protocol and the identity of the digital key, used to guide the slave chip in ranging. Taking the Starflash protocol as an example, the measurement signal configuration information may include core configuration content such as the frequency selection of the ranging signal, transmission power, modulation method, measurement frame format, and data acquisition timing, which can clarify the specific rules for the ranging interaction between the slave chip and the digital key. This information is uniformly generated and distributed by the master and slave chips to ensure that the ranging operations of all slave chips are compatible with the protocol requirements and the identity of the digital key.

[0075] Protocol standards are the technical specifications and implementation guidelines stipulated by the second short-range wireless communication protocol (such as the Star Flash protocol), and are the basis for ranging interaction.

[0076] Optionally, in one specific implementation of this application, the following description uses the StarScan protocol as the second short-range wireless communication protocol: After the master and slave chips establish a StarScan protocol communication connection with the digital key, they first generate measurement signal configuration information based on the official technical specifications (i.e., protocol standard) of the StarScan protocol and the unique identity of the digital key (such as device ID, authentication information, etc.). This information includes core parameters such as ranging frequency range, signal transmission power, measurement frame structure, modulation method, and data acquisition timing, ensuring that the information not only meets the communication requirements of the StarScan protocol but also accurately matches the interactive characteristics of the target digital key.

[0077] Subsequently, the master and slave chips synchronously transmit the generated measurement signal configuration information to each slave chip via a preset communication link within the slave chip module. Each slave chip receives and parses the configuration information, then activates the ranging function of the Starflash protocol according to the configuration parameters. It sends ranging signals to the digital key based on the specified frequency and timing, while simultaneously receiving feedback signals from the digital key and collecting key data such as signal transmission time and phase deviation. Finally, it generates the second ranging information, completing the accurate acquisition of ranging data.

[0078] In these alternative embodiments, the master and slave chips generate configuration information based on protocol standards and digital key identification to ensure parameter compatibility. Each slave chip synchronously collects data according to a unified configuration, avoiding ranging confusion and improving the consistency and accuracy of the second ranging information, thereby improving the accuracy of digital key location determination.

[0079] In one embodiment, controlling the master-slave chip to send measurement signal configuration information to each of the slave chips includes: The master-slave chip is controlled to send measurement capability requests to each of the slave chips; In response to the master-slave chip receiving a measurement capability response from the slave chip based on the measurement capability request, the master-slave chip is controlled to send the measurement signal configuration information to the slave chip.

[0080] Optionally, in this embodiment, the measurement capability request is a query command sent by the master-slave chip to each slave chip to check whether its ranging function is normal and available. Its core purpose is to confirm the hardware status and basic functional validity of the slave chips, and to determine whether they have the conditions to collect ranging information through the second short-range wireless communication protocol.

[0081] Measurement capability response is the functional status confirmation information returned by the slave chip after receiving a measurement capability request from the master or slave chip. Its core function is to inform the master and slave chips of their own operating status, clarifying whether there are any hardware faults and whether they can normally respond to ranging commands and execute data acquisition operations. The response content primarily uses clear status indicators such as "available" or "unavailable," intuitively reflecting the real-time operating status of the slave chip.

[0082] Optionally, in one specific implementation of this application, the following description uses the StarFlash protocol as the second short-range wireless communication protocol: After generating the measurement signal configuration information, the master and slave chips first initiate the auxiliary chip function verification process. Through a preset communication link within the communication chip module, they synchronously send measurement capability requests to each auxiliary chip. This request explicitly informs the core content to be verified in the form of an instruction, namely, whether the auxiliary chips can normally support StarFlash protocol ranging, whether the hardware is fault-free, and whether they can respond to subsequent ranging operations.

[0083] Upon receiving the request, each slave chip immediately performs a self-check of its own operating status, quickly verifying the compatibility of the StarSpark protocol, the hardware working status, and the signal transmission and reception capabilities. It then returns a measurement capability response to the master and slave chips, clearly indicating its own status with clear indicators such as "normal and available" or "faulty and unavailable".

[0084] The master and slave chips receive and aggregate the response information from all slave chips, filter out the slave chips with a status of "normal and available", and then accurately send the measurement signal configuration information pre-generated based on the StarFlash protocol standard and digital key identity to these qualified slave chips through the internal communication link.

[0085] In these alternative embodiments, by having the master and slave chips send measurement capability requests in advance, faulty or unavailable slave chips can be screened out in advance, avoiding invalid configurations and ranging anomalies.

[0086] In one embodiment, when the target communication chip is the main communication chip, after controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further includes: The main communication chip is controlled to receive the second control command sent by the digital key; The main communication chip is controlled to execute the second control instruction.

[0087] Optionally, in one specific implementation of this application, the following description uses Bluetooth as an example, where the first short-range wireless communication protocol is Bluetooth and the target short-range communication connection is a Bluetooth connection: After the main communication chip establishes a stable Bluetooth connection with the digital key, it continuously listens for data transmission requests in the Bluetooth communication link. When the user triggers vehicle control operations (such as unlocking, locking, or starting authorization) through the digital key, the digital key generates a corresponding second control command and sends the encrypted command data to the main communication chip through the established Bluetooth connection.

[0088] After receiving the command, the main communication chip first decrypts it using a pre-stored session key, and then verifies the legality of the command format and the validity of the identity and authorization. If decryption is successful and verification passes, the main communication chip immediately calls the corresponding control interface inside the vehicle to convert the second control command into a hardware-executable signal, driving the relevant vehicle systems (such as the door lock system and start system) to perform the corresponding operation. At the same time, it feeds back the command execution result to the digital key via Bluetooth link to ensure a closed-loop control process.

[0089] In these alternative embodiments, the main communication chip directly executes the second control command without the need for an intermediate module, reducing transmission delay and data loss, and improving control response speed.

[0090] In one embodiment, when the target communication chip is the main communication chip, after controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further includes: The main communication chip is controlled to collect the first received signal strength value of the digital key through the first short-range wireless communication protocol; The control module of the communication chip acquires the second received signal strength value of the digital key through the first short-range wireless communication protocol; The main communication chip is controlled to perform a contactless authentication operation based on the first received signal strength value and the second received signal strength value.

[0091] Optionally, in one specific implementation of this application, the following description uses Bluetooth as an example, where the first short-range wireless communication protocol is Bluetooth and the target short-range communication connection is Bluetooth: After the main communication chip establishes a stable Bluetooth connection with the digital key, it synchronously starts the Bluetooth signal strength acquisition process: On the one hand, the main communication chip continuously listens to the Bluetooth broadcast signal sent by the digital key through its own Bluetooth module, and collects and records the signal strength data in real time to form a first received signal strength value; on the other hand, the main communication chip sends a Bluetooth signal acquisition command to the slave communication chip module, controlling all slave communication chips to synchronously scan the Bluetooth signal of the target digital key through their Bluetooth function, independently collect signal strength data, generate a second received signal strength value, and upload the value to the main communication chip in real time through the internal communication link.

[0092] The main communication chip aggregates the first received signal strength value collected by itself and the second received signal strength values ​​uploaded by each slave communication chip, and calculates the distance of the digital key relative to the vehicle by combining the preset installation positions of each chip on the vehicle. Subsequently, the main communication chip compares the calculation result with the preset seamless control threshold (such as the effective unlocking distance). If the conditions are met, it automatically completes identity verification and authorization confirmation, and performs seamless unlocking, locking and other operations to achieve a convenient and seamless car use experience in Bluetooth scenarios.

[0093] In these alternative embodiments, the accuracy of digital key distance judgment is improved and the reliability of contactless authentication is ensured by the collaborative acquisition of received signal strength values ​​by the main communication chip and the slave communication chip module.

[0094] It should be noted that the various optional implementation methods described in the embodiments of this application can be combined with each other or implemented individually without conflict, and the embodiments of this application do not limit this.

[0095] To facilitate understanding of the digital key connection method provided in the above embodiments, the following describes the digital key connection method using a specific scenario embodiment.

[0096] The following explanation uses Bluetooth as the first short-range wireless communication protocol and StarScan protocol as the second short-range wireless communication protocol as an example.

[0097] Optionally, in this embodiment, the hardware design and selection of the digital key master module (i.e., the master communication chip) remain unchanged, only the slave module (i.e., the slave communication chip module) is upgraded, that is, the Bluetooth chip of the slave module is replaced with a StarFlash dual-mode chip. The Bluetooth key connection and authentication services can reuse the existing mature digital key master module hardware and software platform, while the StarFlash connection is decentralized to one of the slave modules 1 (i.e., the master-slave chip), but the service authentication is uniformly centralized to the digital key master module, and the StarFlash dual-mode chip of the slave module can also handle both StarFlash ranging and Bluetooth ranging.

[0098] like Figure 2 As shown, the architecture of the vehicle-side digital key master module (including Bluetooth module, key storage module, etc.), body domain control module, and slave communication chip modules (including slave module 1 (i.e., master-slave chip), slave module 2 (i.e., auxiliary slave chip), slave module 3 (i.e., auxiliary slave chip), slave module 4 (i.e., auxiliary slave chip), and slave module 5 (i.e., auxiliary slave chip)) is as follows: the Bluetooth mobile terminal device (i.e., Bluetooth digital key) interacts with the Bluetooth module of the digital key master module, and the StarFlash mobile terminal device (i.e., StarFlash digital key) interacts with the StarFlash module of slave module 1. This allows for a smooth and efficient addition of StarFlash digital key support to vehicles without sacrificing existing Bluetooth key performance or increasing the development complexity and cost of the master module.

[0099] The digital key master module manages the core logic of various types of digital keys, resulting in highly complex software logic. Furthermore, some automakers integrate the digital key master module into gateways or domain controllers, making hardware and software changes involving replacement of key chips costly. Using the solution presented in this application, the hardware and Bluetooth protocol stack software of the digital key master module require no modification. Automakers can deploy a unified master module hardware platform, flexibly adapting to different vehicle models simply by selecting different versions of "slave modules" (pure Bluetooth version or Bluetooth / StarFlash dual-mode version). This significantly reduces the complexity and cost of Bill of Materials (BOM) management and software branch maintenance.

[0100] For example, such as Figure 3 As shown, the vehicle interior is equipped with a digital key master module (i.e., the master communication chip), and slave modules 1 (i.e., master-slave chip), 2 (i.e., auxiliary-slave chip), 3 (i.e., auxiliary-slave chip), 4 (i.e., auxiliary-slave chip), and 5 (i.e., auxiliary-slave chip) distributed in different locations. Each slave module supports Bluetooth and StarFlash communication, while the master module only supports Bluetooth communication.

[0101] Specifically, the implementation examples are as follows: I. Key Creation 1. Users can activate the device via the car manufacturer's application by clicking the key on a Bluetooth mobile device; 2. The car manufacturer's application sends a key activation request to the car manufacturer's cloud server and informs the cloud server of the type of digital key to be activated based on the brand and distance measurement capabilities of the mobile device. 3. The car manufacturer's cloud server sends the corresponding key authentication information to the mobile car manufacturer application and the vehicle's digital key main module according to the activated key type.

[0102] II. Bluetooth Digital Car Key Activation and Use 1. The vehicle-side digital key master module sends a Bluetooth digital car key broadcast; 2. The Bluetooth mobile device scans the vehicle's Bluetooth digital car key broadcast and initiates a connection request; 3. The Bluetooth mobile device and the vehicle digital key main module complete Bluetooth connection, pairing and binding. The two parties conduct Bluetooth link layer encrypted communication based on the long term key (LTK) generated during pairing and binding. 4. The Bluetooth mobile device and the vehicle-mounted digital key main module complete key authentication. Both parties retain the Bluetooth pairing information of the other party, including the Identity Resolving Key (IRK), Media Access Control (MAC) address, LTK, and the session key Auth-SK (i.e., the second key) generated by key authentication. 5. Optional Bluetooth remote control authentication scenario. The user manually triggers vehicle control by clicking a button on their mobile device. The mobile device sends encrypted vehicle control commands; the encryption key is Auth-SK. 6. The vehicle-side digital key main module uses Auth-SK to decrypt vehicle control commands. If decryption is successful and other execution conditions are met, a vehicle control request is sent to the vehicle control module. 7. The vehicle-side digital key master module returns the vehicle control command execution result to the Bluetooth mobile terminal; 8. Optional Bluetooth seamless authentication scenario. The Bluetooth mobile device enables ranging broadcasting, using the Random Private Address (RPA) type; 9. The vehicle-side digital key master module starts the slave module's Bluetooth ranging and sends the positioning configuration parameters to slave module 1, including information such as the mobile terminal IRK; 10. The vehicle-side digital key master module starts the slave module via Bluetooth ranging and sends the positioning configuration parameters to slave module 2, including information such as the mobile terminal IRK. 11. The vehicle-side digital key master module starts the slave module via Bluetooth ranging and sends the positioning configuration parameters to slave module 3, including information such as the mobile terminal IRK; 12. The vehicle-side digital key master module starts the slave module's Bluetooth ranging and sends the positioning configuration parameters to slave module 4, including information such as the mobile terminal IRK; 13. The vehicle-side digital key master module starts the slave module via Bluetooth ranging and sends the positioning configuration parameters to slave module 5, including information such as the mobile terminal IRK. 14. Module 1 broadcasts the ranging value of the target mobile device based on the IRK orientation scan and transmits the ranging RSSI value to the vehicle-side digital key main module; 15. Module 2 broadcasts the ranging value of the target mobile device based on the IRK orientation scan and transmits the ranging RSSI value to the vehicle-side digital key main module; 16. Module 3 broadcasts the ranging value of the target mobile device based on the IRK orientation scan and transmits the ranging RSSI value to the vehicle-side digital key main module; 17. Module 4 broadcasts the ranging value of the target mobile device based on the IRK orientation scan and transmits the ranging RSSI value to the vehicle-side digital key main module; 18. Module 5 broadcasts the ranging value of the target mobile device based on the IRK orientation scan and transmits the ranging RSSI value to the vehicle-side digital key main module; 19. The vehicle-side digital key master module combines the RSSI values ​​returned by each slave module with its own RSSI value obtained through the connection channel, and uses a triangulation algorithm to calculate the current distance of the device relative to the vehicle. Based on this distance information, it can be used to trigger functions such as contactless vehicle locking / unlocking and one-button start.

[0103] III. Activation and Use of the Star Flash Digital Car Key 1. The vehicle-side module 1 (i.e., the master-slave chip) sends a Star Flash digital car key broadcast; 2. The XingShan mobile device scans the XingShan digital car key broadcast and initiates an access request; 3. The StarShine mobile terminal device and the vehicle terminal complete the StarShine connection pairing, authentication and security control from module 1, and generate the StarShine session key SK (i.e. the first key), which provides a secure and reliable physical transmission channel for the subsequent key authentication process; 4. The StarFlash mobile device and the vehicle-side digital key main module complete key authentication, and both parties retain the session key Auth-SK generated by key authentication; 5. Optional, StarFlash remote control authentication scenario. Users manually trigger vehicle control by clicking a button on their mobile device. The mobile device sends encrypted vehicle control commands; the encryption key is Auth-SK. 6. After decrypting the vehicle control command from module 1 using the StarFlash session key, it is transparently transmitted to the vehicle-side digital key main module; 7. The vehicle-side digital key main module further uses Auth-SK to decrypt the vehicle control command. If the decryption is successful and other execution conditions are met, a vehicle control request is sent to the vehicle control module. 8. The vehicle-side digital key master module returns the vehicle control command execution result to slave module 1; 9. The vehicle terminal transmits the execution result of the vehicle control command from module 1 to the XingShan mobile terminal; 10. Optional, StarFlash Seamless Authentication Process. The vehicle-side sends a measurement capability request from module 1 to module 2; 11. The vehicle-side module 2 returns the measurement capability response to module 1; 12. The vehicle-side module 1 sends a measurement capability request to the slave module 3; 13. The vehicle-side module 3 returns the measurement capability response to module 1; 14. The vehicle-side module 1 sends a measurement capability request to the slave module 4; 15. The vehicle-side module 4 returns the measurement capability response to module 1; 16. The vehicle-side module 1 sends a measurement capability request to module 5; 17. The vehicle-side module 5 returns the measurement capability response to module 1; 18. The vehicle sends a measurement capability request from module 1 to the StarShine mobile terminal device; 19. The StarShock mobile terminal device returns the measurement capability response to the vehicle terminal from module 1; 20. The vehicle-side module 1 sends star flash measurement signal configuration information to the slave module 2; 21. The vehicle-side module 1 sends star flash measurement signal configuration information to the slave module 3; 22. The vehicle-side module 1 sends star flash measurement signal configuration information to the slave module 4; 23. The vehicle-side module 1 sends star flash measurement signal configuration information to the slave module 5; 24. The vehicle-mounted device sends the star flash measurement signal configuration information from module 1 to the star flash mobile terminal device; 25. The vehicle-mounted module 1 sends a measurement frame to the StarShock mobile terminal at the first frequency point; 26. The XingShan mobile terminal sends a measurement frame from module 1 to the vehicle terminal on the first frequency point; 27. The vehicle-side repeats the above two steps from module 1 and the star flash mobile terminal at the second to the 79th frequency points to complete the signal measurement of all 79 frequency points; 28. The XingShan mobile terminal reports ranging information to the vehicle terminal from module 1; 29. The vehicle-mounted module 2 sends a measurement frame to the StarShock mobile terminal at the first frequency point; 30. The XingShan mobile terminal sends a measurement frame to the vehicle terminal from module 2 on the first frequency point; 31. The vehicle-side module 2 and the star-flash mobile terminal repeat the above two steps from the second frequency point to the 79th frequency point to complete the signal measurement of all 79 frequency points; 32. The XingShan mobile terminal reports ranging information to the vehicle terminal from module 2; 33. Perform the same operation on the vehicle side from modules 3, 4, 5 and from module 2 (refer to steps 29-32). 34. The vehicle-side slave module 1 calculates the location information of the StarShock mobile terminal device based on its own ranging information, the ranging information sent by other slave modules, and the layout information of each slave module in the vehicle. 35. The vehicle-side module 1 transmits the location information of the StarFlash mobile terminal device to the digital key main module in real time; 36. The vehicle-side digital key main module uses the location information of the StarFlash mobile terminal device to determine whether it can trigger functions such as contactless unlocking and one-button start of the vehicle.

[0104] Optionally, in these alternative embodiments, the main communication hardware is completely universal; all vehicle models, regardless of whether they are equipped with the Star Flash function, use the exact same digital key main module hardware. This achieves hardware platformization of the main module. Slave modules are selected and configured as needed. This greatly optimizes costs and enables flexible, on-demand configuration options.

[0105] Physical resource isolation ensures that Bluetooth connectivity (processed on the main module's Bluetooth chip) and StarFlash connectivity (processed on the slave module's StarFlash chip) are completely separated at the hardware level. This eliminates resource contention: the two use different processors, memory, and RF channels, fundamentally preventing competition for CPU computing resources, memory bandwidth, and RF signals. Therefore, the performance of the Bluetooth key is not affected by the presence of StarFlash services.

[0106] Furthermore, the StarFlash connection serves only as a "secure transmission channel." The critical key authentication process (generating Auth-SK) is still directly completed between the vehicle-side digital key master module and the mobile terminal, with slave module 1 only responsible for transparently transmitting authentication data packets. This facilitates unified management of different types of digital keys on the vehicle side, and only requires configuring a high-performance security chip in the digital key master module, eliminating the need for additional high-performance security chips in the slave modules.

[0107] A two-layer security mechanism is established. The StarScan link layer security is established between the slave module and the mobile terminal, generating a StarScan session key (SK) to protect the wireless transmission link. The application layer security is established between the master module and the mobile terminal, generating an authentication session key (Auth-SK) for the final encryption and decryption of vehicle control commands. This means that the slave module cannot steal or tamper with valid vehicle control commands because it does not have an Auth-SK.

[0108] When the star-flash sensor is not in contact with the distance, slave module 1 acts as a coordinator, organizing itself and other slave modules to conduct collaborative measurements with the mobile terminal and initially calculate location information. However, the final location information is reported to the master module, which makes the final decision on whether to unlock or unlock.

[0109] Because the core security and decision-making logic remains in the mature and stable main module, the upgraded slave module has a single function, essentially acting as an "external" communication module. This makes the system upgrade risk extremely low, allowing verification work to focus on the slave module itself without requiring extensive regression testing of the main module, significantly shortening the development cycle. Retaining the highest-level security authentication and vehicle control decision-making authority in the core main module ensures the unity and supremacy of the entire system's security architecture, avoiding potential security risks introduced by feature decentralization. The main module remains the only trusted decision-making center.

[0110] Figure 4 A schematic diagram of a digital key connection device according to another embodiment of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0111] Reference Figure 4 A digital key connection device is used in a vehicle, the vehicle including a main communication chip and a slave communication chip module. The main communication chip supports a first short-range wireless communication protocol, and the slave communication chip module supports both the first and second short-range wireless communication protocols. The device includes: The connection module 401 is used to control the target communication chip to establish a target short-range communication connection with the digital key in response to the target communication chip receiving a connection request sent by the digital key through the target communication protocol; wherein, when the target communication protocol is the first short-range wireless communication protocol, the target communication chip is the master communication chip, and when the target communication protocol is the second short-range wireless communication protocol, the target communication chip is the slave communication chip module.

[0112] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application, and are devices corresponding to the above-mentioned methods. All implementation methods in the above-mentioned method embodiments are applicable to the embodiments of this device. For details on its specific functions and the technical effects it brings, please refer to the method embodiment section, which will not be repeated here.

[0113] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0114] Figure 5 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.

[0115] The device may include a processor 501 and a memory 502 storing program instructions.

[0116] When processor 501 executes the program, it implements the steps in any of the above method embodiments.

[0117] For example, the program can be divided into one or more modules / units, one or more of which are stored in memory 502 and executed by processor 501 to complete this application. One or more modules / units can be a series of program instruction segments capable of performing a specific function, which describe the program's execution process in the device.

[0118] Specifically, the processor 501 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0119] Memory 502 may include mass storage for data or instructions. For example, and not limitingly, memory 502 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 502 may include removable or non-removable (or fixed) media. Where appropriate, memory 502 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 502 is non-volatile solid-state memory.

[0120] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.

[0121] The processor 501 implements any of the methods described in the above embodiments by reading and executing program instructions stored in the memory 502.

[0122] In one example, the electronic device may also include a communication interface 503 and a bus 510. The processor 501, memory 502, and communication interface 503 are connected via the bus 510 and communicate with each other.

[0123] The communication interface 503 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0124] Bus 510 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 510 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.

[0125] Furthermore, in conjunction with the methods in the above embodiments, this application embodiment can provide a storage medium for implementation. This storage medium stores program instructions; when these program instructions are executed by a processor, they implement any of the methods in the above embodiments.

[0126] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0127] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0128] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.

[0129] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0130] The functional modules shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on machine-readable media or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer grids such as the Internet, intranets, etc.

[0131] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0132] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to create a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0133] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A digital key connection method, characterized by, The application is applied to a vehicle, the vehicle comprising a master communication chip and a slave communication chip module, the master communication chip supporting a first short-range wireless communication protocol, and the slave communication chip module supporting the first short-range wireless communication protocol and a second short-range wireless communication protocol; the method comprising: In response to the target communication chip receiving a connection request sent by a digital key through a target communication protocol, controlling the target communication chip to establish a target short-range communication connection with the digital key; wherein, in the case that the target communication protocol is the first short-range wireless communication protocol, the target communication chip is the master communication chip, and in the case that the target communication protocol is the second short-range wireless communication protocol, the target communication chip is the slave communication chip module.

2. The method of claim 1, wherein, Before the step of controlling the target communication chip to establish a target short-range communication connection with the digital key in response to the target communication chip receiving a connection request sent by a digital key through a target communication protocol, the method further comprises: controlling the master communication chip to send a first connection broadcast through the first short-range wireless communication protocol, and controlling the slave communication chip module to send a second connection broadcast through the second short-range wireless communication protocol; receiving the connection request sent by the digital key in response to a target connection broadcast; the target connection broadcast is the first connection broadcast or the second connection broadcast.

3. The method of claim 1, wherein, When the target communication chip is the slave communication chip module, after the step of controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further comprises: in response to the slave communication chip module receiving a first control instruction sent by the digital key through the target short-range communication connection, controlling the slave communication chip module to send the first control instruction to the master communication chip; and controlling the master communication chip to execute the first control instruction.

4. The method of claim 3, wherein, The step of controlling the slave communication chip module to send the first control instruction to the master communication chip comprises: controlling the slave communication chip module to decrypt the first control instruction through a first key to obtain a first decrypted control instruction; the first control instruction is encrypted by the digital key through the first key and a second key, and the slave communication chip module holds the first key; the master communication chip holds the second key; controlling the slave communication chip module to send the first decrypted control instruction to the master communication chip; wherein, the master communication chip executes the first control instruction in the case that the first decrypted control instruction is successfully decrypted through the second key.

5. The method of claim 1, wherein, When the target communication chip is the slave communication chip module, after the step of controlling the target communication chip to establish a target short-range communication connection with the digital key, the method further comprises: controlling the slave communication chip module to collect first ranging information of the digital key through the second short-range wireless communication protocol; controlling the slave communication chip module to determine position information of the digital key based on the first ranging information; controlling the slave communication chip module to send the position information to the master communication chip; The master communication chip is controlled to perform a non-perception authentication operation based on the position information.

6. The method of claim 5, wherein, The slave communication chip module includes N slave communication chips, where N is an integer greater than or equal to 2; The control of the slave communication chip module to collect first ranging information of the digital key through the second short-distance wireless communication protocol includes: The control of the master-slave chip in the N slave communication chips to collect first ranging information of the digital key through the second short-distance wireless communication protocol; The control of the slave communication chip module to determine position information of the digital key based on the first ranging information includes: The control of each auxiliary slave chip in the N slave communication chips to collect second ranging information of the digital key through the second short-distance wireless communication protocol and send the collected second ranging information to the master-slave chip; The control of the master-slave chip to determine the position information based on the first ranging information and the second ranging information sent by each auxiliary slave chip.

7. The method of claim 6, wherein, The control of each auxiliary slave chip in the N slave communication chips to collect second ranging information of the digital key through the second short-distance wireless communication protocol includes: The control of the master-slave chip to send measurement signal configuration information to each auxiliary slave chip; the measurement signal configuration information is determined based on the protocol standard of the second short-distance wireless communication protocol and the identity of the digital key; The control of each auxiliary slave chip to collect second ranging information of the digital key through the second short-distance wireless communication protocol based on the measurement signal configuration information.

8. The method of claim 7, wherein, The control of the master-slave chip to send measurement signal configuration information to each auxiliary slave chip includes: The control of the master-slave chip to send a measurement capability request to each auxiliary slave chip; In response to the master-slave chip receiving a measurement capability response sent by the auxiliary slave chip based on the measurement capability request, the master-slave chip is controlled to send the measurement signal configuration information to the auxiliary slave chip.

9. The method of claim 1, wherein, When the target communication chip is the master communication chip, after the control of the target communication chip to establish a target short-distance communication connection with the digital key, it further includes: The control of the master communication chip to receive a second control instruction sent by the digital key; The control of the master communication chip to execute the second control instruction.

10. The method of claim 1, wherein, When the target communication chip is the master communication chip, after the control of the target communication chip to establish a target short-distance communication connection with the digital key, it further includes: The control of the master communication chip to collect first received signal strength value of the digital key through the first short-distance wireless communication protocol; The control of the slave communication chip module to collect second received signal strength value of the digital key through the first short-distance wireless communication protocol; The control of the master communication chip to perform a non-perception authentication operation based on the first received signal strength value and the second received signal strength value.

11. An electronic device, comprising: The device includes a processor and a memory storing computer program instructions; The processor executes the computer program instructions to implement the digital key connection method of any one of claims 1-10.

12. A vehicle characterized by comprising: It includes at least one of the following: The electronic device of claim 11.