Multi-point cooperative broadcasting and scanning method and system
The method and system of coordinated broadcasting and scanning among central and peripheral nodes in automobile digital key systems address connection inefficiencies by ensuring continuous scanning and broadcasting, enhancing reliability and efficiency.
Patent Information
- Application Number
- CN202510485096.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-07-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing automobile digital key systems face inefficiencies due to uncontrollable connection failures caused by obstructions and signal interference, leading to situations where the digital key cannot connect despite being in proximity to the vehicle.
A method and system involving a central node and multiple peripheral nodes connected via CAN/LIN bus, coordinating simultaneous broadcasting and scanning across these nodes to ensure constant scanning and broadcasting on any channel, allowing immediate connection upon proximity of the digital key.
Enhances connection reliability and efficiency by ensuring scanning and broadcasting occur simultaneously, reducing conflicts and maintaining low vehicle power consumption, resulting in faster and more reliable digital key connections.
Smart Images

Figure CN120282313A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital key positioning, and particularly relates to a method and system for multi-point collaborative broadcasting and scanning. Background Art
[0002] Currently, with the booming development of the national economy, the number of automobiles in possession shows an increasing trend year by year. With the continuous improvement of automotive intelligent equipment, automotive digital key systems based on Bluetooth communication are being more and more widely used. The digital key of a user is essentially an extension and expansion of the functions of a traditional key. In this way, not only can the heavy physical automotive key be abandoned, but also in addition to the basic functions such as door unlocking and locking, window lifting and lowering, and trunk opening and closing, more modern practical functions are realized. However, there are still the following problems:
[0003] In the current automotive digital key scenario, a scheme of one central node + multiple slave nodes arranged inside and around the vehicle is generally adopted. The central node initiates broadcasting or scanning. The central node first establishes a connection and wakes up the slave nodes for multi-position monitoring to achieve digital key positioning. Under actual usage conditions, due to irresistible factors such as occlusion and signal interference, the connection efficiency of this scheme is uncontrollable, and situations such as not connecting and not unlocking when approaching often occur. Summary of the Invention
[0004] The present invention provides a method and system for multi-point collaborative broadcasting and scanning, which can ensure that there is a station in the vehicle scanning and broadcasting on any broadcast channel at the same moment. No matter when the digital key approaches the vehicle, it can be discovered and a connection can be established immediately, effectively improving the connection efficiency and enhancing the unlocking experience.
[0005] The present invention provides a method for multi-point collaborative broadcasting and scanning, based on an in-vehicle broadcasting and scanning device composed of one central node and multiple slave nodes. The method specifically includes:
[0006] S1. The central node and the multiple slave nodes are connected through a CAN / LIN bus;
[0007] S2. The central node constructs data information mainly based on collaborative time, and sends the data information to the slave nodes through the CAN / LIN bus to start according to the collaborative time, so as to achieve collaborative broadcasting or collaborative scanning;
[0008] S3. At any moment, the in-vehicle broadcasting and scanning device broadcasts, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or the digital key broadcasts, and the in-vehicle broadcasting and scanning device initiates a Bluetooth connection after scanning the broadcast.
[0009] Further, the central node is arranged at the front engine hood of the vehicle, and the number of slave nodes is three, which are respectively arranged at the center of the left door of the vehicle, the center of the right door of the vehicle, and the trunk.
[0010] Further, in step S2, when the number of slave nodes is three, the specific steps to achieve collaborative broadcasting are as follows:
[0011] S201. The central node constructs broadcast data information mainly based on collaborative time, including the starting broadcast moment A of the central node, the broadcast starting moments A1 to A3 of the three slave nodes, the broadcast period T, the broadcast sequence, and the device ID;
[0012] S202. The central node sends the broadcast data information to the slave nodes through the CAN\LIN bus;
[0013] S203. The slave nodes receive the message on the CAN\LIN bus, record the message arrival time Tr, parse the broadcast information indicated by the central node according to the device ID, and calculate the anchor moment when the slave nodes should start broadcasting;
[0014] S204. The central node and the three slave nodes start collaborative broadcasting according to the broadcast moment A and the calculated anchor moment.
[0015] Further, in step S201, the broadcast moment A is randomly selected, and the broadcast starting moments A1 to A3 of the three slave nodes are: A1 = bus transmission delay + A + T - Jitter; A2 = A1 + T; A3 = A2 + T; Jitter is a value preset to be less than the broadcast period.
[0016] Further, in step S203, in calculating the anchor moment when the slave nodes should start broadcasting, the calculation method is: A1 = A + T; A2 = A1 + T; A3 = A2 + T.
[0017] Further, in step S2, when the number of slave nodes is three, the specific steps to achieve collaborative scanning are as follows:
[0018] S211. The central node constructs scanning data information mainly based on collaborative time, including the starting scanning moment A of the central node, the scanning moments A1 to A3 of the three slave nodes, the slave node ID, the scanning channel sequence, and the scanning window S;
[0019] S212. The central node sends the scanning data information to the slave nodes through the CAN\LIN bus;
[0020] S213. The slave node receives the message on the CAN / LIN bus and records the message arrival time Tr. Starting from the Jitter moment, the slave node starts scanning the broadcast channel according to the indicated scanning sequence, where the Jitter moment is a value preset to be less than the scanning period.
[0021] S214. The central node and the three slave nodes start cooperative scanning according to the scanning moment A and the indicated scanning sequence.
[0022] Further, in step S211, the scanning moment A is randomly selected, and the scanning start moments A1 to A3 of the three slave nodes are: A1 = A2 = A3 = A = bus transmission delay + Jitter.
[0023] The present invention also provides a multi-point cooperative broadcast and scanning system, based on a vehicle-mounted broadcast scanning device composed of a central node and multiple slave nodes. The system specifically includes:
[0024] A bus connection module for connecting the central node and multiple slave nodes through the CAN / LIN bus.
[0025] A cooperative module for the central node to construct data information mainly based on the cooperative time and send the data information to the slave nodes through the CAN / LIN bus to start according to the cooperative time, realizing cooperative broadcast or cooperative scanning.
[0026] A Bluetooth connection module for, at any time, the vehicle-mounted broadcast scanning device broadcasts, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or digital key broadcasts, and the vehicle-mounted broadcast scanning device initiates a Bluetooth connection after scanning the broadcast.
[0027] The present invention also provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.
[0028] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0029] The beneficial effects of the present invention are as follows:
[0030] 1. In the scenario of adopting the vehicle broadcast and digital key scanning scheme, the present invention can effectively avoid in-vehicle broadcast conflicts through the time-division idea. At the same time, without increasing the power consumption of the whole vehicle, the broadcast is made denser, so that the digital key can scan the vehicle broadcast faster and initiate a connection, providing a better connection experience for users.
[0031] 2. In the present invention, vehicle nodes are scanning on any channel at any time, so the scanning success rate is higher, and the reliability is higher than the traditional mechanism that relies on probability to "encounter", which can greatly improve the connection efficiency and bring a better connection experience to users. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the setting positions of the central node and the slave nodes of the present invention.
[0033] Figure 2 It is a schematic diagram of the process of cooperative broadcasting in the present invention.
[0034] Figure 3 It is a schematic diagram of the process of cooperative scanning in the present invention.
[0035] Figure 4 It is a schematic diagram of the structure of the multi-point cooperative broadcasting and scanning system of the present invention.
[0036] Figure 5 It is a schematic diagram of the internal structure of a computer device according to an embodiment of the present invention.
[0037] The realization, functional features and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0039] The present invention can be applied to fields such as digital car key positioning, lost item searching in warehousing and logistics, digital tags, and smart door locks. In the application of the digital key positioning scenario, by arranging multiple master and slave nodes around / inside the vehicle, they cooperate to monitor the broadcast signals of digital keys / physical keys, improving the connection speed. In the digital key scheme based on broadcast scanning, it can also significantly improve the scanning hit rate and effectively improve the RSSI positioning success rate.
[0040] Through the solution of the present invention, it can be ensured that there is a station in the vehicle scanning and broadcasting on any broadcast channel at the same time. No matter when the digital key approaches the vehicle, it can be discovered and connected immediately, effectively improving the connection efficiency and unlocking experience.
[0041] The present invention provides a method for multi-point cooperative broadcasting and scanning, based on an in-vehicle broadcast scanning device composed of a central node and multiple slave nodes, as Figure 1 shown, the central node is set at the front engine hood of the vehicle, and the number of slave nodes is three, which are respectively set at the center of the left door, the center of the right door and the trunk of the vehicle.
[0042] In the present invention, the number of slave nodes is set to three, and the method specifically includes:
[0043] S1. The central node and multiple slave nodes are connected through a CAN / LIN bus.
[0044] S2. The central node constructs data information mainly based on the cooperation time, and sends the data information to the slave nodes through the CAN / LIN bus to start according to the cooperation time, so as to achieve cooperative broadcasting or cooperative scanning.
[0045] (1) As Figure 2 shown, the specific steps to achieve cooperative broadcasting are:
[0046] S201. The central node initiates a cooperation strategy. The central node constructs broadcast data information mainly based on the cooperation time, including the starting broadcast time A of the central node, the starting broadcast times A1 to A3 of the three slave nodes, the broadcast period T, the broadcast sequence, and the device ID.
[0047] The broadcast time A is randomly selected. The starting broadcast times A1 to A3 of the three slave nodes are: A1 = bus transmission delay + A + T - Jitter; A2 = A1 + T; A3 = A2 + T; Jitter is a value preset to be less than the broadcast period. The purpose of such a constraint is to ensure that each group of broadcasts is sent orderly without overlapping on the air interface. At the same time, the broadcast period of Bluetooth is generally predefined at the product end and is not limited here.
[0048] Jitter is a value relatively small compared to the broadcast period, which prevents delays caused by reasons such as internal system interrupt scheduling of the device. For example, when T = 100 ms, jitter = 5 ms.
[0049] S202. The central node sends the broadcast data information to the slave nodes through the CAN / LIN bus;
[0050] S203. The slave nodes receive the message on the CAN / LIN bus, record the message arrival time Tr, parse the broadcast information indicated by the central node according to the device ID, and calculate the anchor time when the slave node should start broadcasting. The calculation method is: A1 = A + T; A2 = A1 + T; A3 = A2 + T.
[0051] S204. The central node and the three slave nodes start cooperative broadcasting according to the broadcast time A and the calculated anchor time.
[0052] (2) As Figure 3 shown, the specific steps to achieve cooperative scanning are:
[0053] S211. The central node initiates a collaboration strategy. The central node constructs scan data information mainly based on collaboration time, including the starting scan time A of the central node, the scan times A1 to A3 of three slave nodes, the slave node IDs, the scan channel sequence, and the scan window S.
[0054] The scan time A is randomly selected. The starting scan times A1 to A3 of the three slave nodes should consider the bus transmission delay, that is, A1 = A2 = A3 = A = bus transmission delay + Jitter.
[0055] S212. The central node sends the scan data information to the slave nodes through the CAN\LIN bus;
[0056] S213. The slave nodes receive the message on the CAN\LIN bus and record the message arrival time Tr, which already considers the bus transmission delay. The slave nodes start scanning the broadcast channel from the Jitter moment according to the scan sequence indicated for themselves. Among them, Jitter is a value relatively small compared to the scan period to prevent delays caused by reasons such as internal system interrupt scheduling of the device. For example, when S = 100ms, jitter = 5ms.
[0057] S214. The central node and the three slave nodes start collaborative scanning according to the scan time A and the indicated scan sequence.
[0058] S3. At any time, the vehicle-mounted broadcast scanning device broadcasts, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or digital key broadcasts, and the vehicle-mounted broadcast scanning device initiates a Bluetooth connection after scanning the broadcast.
[0059] There are mainly two current digital key connection methods: 1> The vehicle broadcasts, and the mobile phone scans. After the mobile phone scans the broadcast, it initiates a Bluetooth connection; 2> The vehicle scans, and the physical key / mobile phone broadcasts, and the vehicle initiates a Bluetooth connection. The collaborative broadcast and collaborative scanning methods of the present invention can improve the connection efficiency in both aspects.
[0060] In the scenario of adopting the vehicle broadcast and digital key scanning scheme, through the idea of time division, the broadcast can effectively avoid in-vehicle broadcast conflicts. At the same time, without increasing the overall vehicle power consumption, the broadcast can be made more intensive, so that the digital key can scan the vehicle's broadcast faster and initiate a connection. The user connection experience will be better.
[0061] In the scenario of adopting the vehicle scanning and digital key broadcast scheme, since there are vehicle nodes scanning on any channel at any time, the scanning success rate will be higher, which is more reliable than the traditional mechanism that relies on probability to "encounter", and can greatly improve the connection efficiency, bringing a better connection experience to users.
[0062] As Figure 4 shown, the present invention also provides a multi-point collaborative broadcast and scan system, based on a vehicle-mounted broadcast scanning device composed of a central node and multiple slave nodes, and the system specifically includes:
[0063] A bus connection module 1 for connecting the central node and multiple slave nodes through a CAN\LIN bus;
[0064] A collaborative module 2 for the central node to construct data information mainly based on collaborative time, and send the data information to the slave nodes through the CAN\LIN bus to start according to the collaborative time, so as to achieve collaborative broadcast or collaborative scan;
[0065] A Bluetooth connection module 3 for, at any time, the vehicle-mounted broadcast scanning device broadcasts, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or digital key broadcasts, and the vehicle-mounted broadcast scanning device initiates a Bluetooth connection after scanning the broadcast.
[0066] In one embodiment, the central node is arranged at the front engine hood of the vehicle, and the number of slave nodes is three, which are respectively arranged at the center of the left door, the center of the right door and the trunk of the vehicle.
[0067] In one embodiment, in the collaborative module 2, when the number of slave nodes is three, the specific units for realizing collaborative broadcast are:
[0068] A first construction unit for the central node to construct broadcast data information mainly based on collaborative time, including the starting broadcast moment A of the central node, the broadcast starting moments A1 to A3 of the three slave nodes, the broadcast period T, the broadcast sequence, and the device ID;
[0069] A first sending unit for the central node to send the broadcast data information to the slave nodes through the CAN\LIN bus;
[0070] A first receiving unit for the slave nodes to receive messages on the CAN\LIN bus, record the message arrival time Tr, parse the broadcast information indicated by the central node according to the device ID, and calculate the anchor moment when the slave nodes should start broadcasting;
[0071] A first starting unit for the central node and the three slave nodes to start collaborative broadcast according to the broadcast moment A and the calculated anchor moment.
[0072] In one embodiment, in the first construction unit, the broadcast moment A is randomly selected, and the broadcast starting moments A1 to A3 of the three slave nodes are: A1 = bus transmission delay + A + T - Jitter; A2 = A1 + T; A3 = A2 + T; Jitter is a value preset to be less than the broadcast period.
[0073] In one embodiment, in the first receiving unit, when calculating the anchor time at which the slave node should start broadcasting, the calculation method is: A1 = A + T; A2 = A1 + T; A3 = A2 + T.
[0074] In one embodiment, in the cooperation module 2, when the number of slave nodes is three, the specific units for implementing cooperative scanning are:
[0075] The second construction unit is used for the central node to construct scanning data information mainly based on the cooperation time, including the starting scanning time A of the central node, the scanning times A1 to A3 of the three slave nodes, the slave node ID, the scanning channel sequence, and the scanning window S;
[0076] The second sending unit is used for the central node to send the scanning data information to the slave node through the CAN\LIN bus;
[0077] The second receiving unit is used for the slave node to receive the message on the CAN\LIN bus and record the message arrival time Tr. The slave node starts scanning the broadcast channel according to the indicated scanning sequence starting from the Jitter time; where the Jitter time is a value preset to be less than the scanning period;
[0078] The second starting unit is used for the central node and the three slave nodes to start cooperative scanning according to the scanning time A and the indicated scanning sequence.
[0079] In one embodiment, in the second construction unit, the scanning time A is randomly selected, and the scanning start times A1 to A3 of the three slave nodes are: A1 = A2 = A3 = A = bus transmission delay + Jitter.
[0080] The above-mentioned modules and units are all used to correspondingly execute each step in the above-mentioned multi-point cooperative broadcast and scanning method, and their specific implementation manners refer to the method embodiments described above, and will not be elaborated here.
[0081] As Figure 5 shown, the present invention also provides a computer device, which can be a server, and its internal structure can be as Figure 5As shown. The computer device includes a processor, a memory, a network interface, and a database connected via a system bus. Among them, the processor of the computer design is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store all the data required for the process of the method of multi-point collaborative broadcasting and scanning. The network interface of the computer device is used to communicate with an external terminal via a network connection. The computer program, when executed by the processor, implements the method of multi-point collaborative broadcasting and scanning.
[0082] Those skilled in the art can understand that Figure 5 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied.
[0083] An embodiment of this application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above multi-point collaborative broadcasting and scanning methods.
[0084] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium provided in this application and used in the embodiments can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or an external cache. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0085] It should be noted that in this text, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article or method comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, apparatus, article or method. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, apparatus, article or method comprising such element.
[0086] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.
Claims
1. A method for multi-point collaborative broadcasting and scanning, characterized in that Based on an in-vehicle broadcast scanning device consisting of a central node and multiple slave nodes, the method specifically includes: S1. The central node and multiple slave nodes are connected through a CAN / LIN bus; S2. The central node constructs data information mainly based on the collaborative time, and sends the data information to the slave nodes through the CAN / LIN bus to start according to the collaborative time, so as to achieve collaborative broadcasting or collaborative scanning; S3. At any time, the in-vehicle broadcast scanning device broadcasts, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or digital key broadcasts, and the in-vehicle broadcast scanning device initiates a Bluetooth connection after scanning the broadcast.
2. The method for multi-point collaborative broadcasting and scanning according to claim 1, wherein The central node is set at the front hood of the vehicle, and the number of slave nodes is three, which are respectively set at the center of the left door, the center of the right door and the trunk of the vehicle.
3. The method for multi-point collaborative broadcasting and scanning according to claim 1, wherein In step S2, when the number of slave nodes is three, the specific steps to achieve collaborative broadcasting are: S201. The central node constructs broadcast data information mainly based on the collaborative time, including the starting broadcast moment A of the central node, the broadcast starting moments A1 to A3 of the three slave nodes, the broadcast period T, the broadcast sequence, and the device ID; S202. The central node sends the broadcast data information to the slave nodes through the CAN / LIN bus; S203. The slave nodes receive the message on the CAN / LIN bus, record the message arrival time Tr, parse the broadcast information indicated by the central node according to the device ID, and calculate the anchor moment when the slave nodes should start broadcasting; S204. The central node and the three slave nodes start collaborative broadcasting according to the broadcast moment A and the calculated anchor moment.
4. The method for multi-point collaborative broadcasting and scanning according to claim 3, characterized in that In step S201, the broadcast moment A is randomly selected, and the broadcast starting moments A1 to A3 of the three slave nodes are: A1 = bus transmission delay + A + T - Jitter; A2 = A1 + T; A3 = A2 + T; Jitter is a value preset to be less than the broadcast period.
5. The method for multi-point collaborative broadcasting and scanning according to claim 3, characterized in that, In step S203, when calculating the anchor moment when the slave nodes should start broadcasting, the calculation method is: A1 = A + T; A2 = A1 + T; A3 = A2 + T.
6. The method for multi-point collaborative broadcasting and scanning according to claim 1, characterized in that In step S2, when the number of slave nodes is three, the specific steps to achieve collaborative scanning are: S211. The central node constructs scanning data information mainly based on the collaborative time, including the starting scanning moment A of the central node, the scanning moments A1 to A3 of the three slave nodes, the slave node ID, the scanning channel sequence, and the scanning window S; S212. The central node sends the scanning data information to the slave nodes through the CAN / LIN bus; S213. The slave nodes receive the message on the CAN / LIN bus, record the message arrival time Tr, and the slave nodes start scanning the broadcast channel according to the indicated scanning sequence starting from the Jitter moment; where the Jitter moment is a value preset to be less than the scanning period; S214. The central node and the three slave nodes start collaborative scanning according to the scanning moment A and the indicated scanning sequence.
7. The method for multi-point collaborative broadcasting and scanning according to claim 6, wherein In the step S211, the scanning moment A is randomly selected, and the scanning start moments A1 to A3 of the three slave nodes are: A1 = A2 = A3 = A = bus transmission delay + Jitter.
8. A system for multi-point collaborative broadcasting and scanning, characterized in that, Based on a vehicle-mounted broadcast scanning device composed of a central node and multiple slave nodes, the system specifically includes: A bus connection module for connecting the central node and multiple slave nodes through a CAN\LIN bus; A collaboration module for the central node to construct data information mainly based on collaboration time, and send the data information to the slave nodes through the CAN\LIN bus to start according to the collaboration time, so as to achieve collaborative broadcast or collaborative scanning; A Bluetooth connection module for, at any moment, the vehicle-mounted broadcast scanning device to broadcast, and the mobile phone initiates a Bluetooth connection after scanning the broadcast; or, the mobile phone or digital key broadcasts, and the vehicle-mounted broadcast scanning device initiates a Bluetooth connection after scanning the broadcast.
9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method described in any one of claims 1 to 7.