Data transmission method and related equipment

By combining the digital key module with the tire pressure detection module and using the communication connection mode for data transmission, the problem of independent existence of the digital key and the tire pressure detection system is solved, functional interoperability and information sharing are achieved, equipment occupancy is reduced, and efficiency is improved The level of automobile intelligence.

CN118597010APending Publication Date: 2024-09-06SHENZHEN KUAIJIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410637987.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The digital key and tire pressure detection system exist as two independent devices, which takes up a lot of space, is costly, and cannot realize functional interoperability and information sharing.

Method used

By combining the digital key module with the tire pressure detection module, the communication connection mode between the anchor device and the main control device is used for data transmission, and the working mode and communication connection mode of the digital key module are adjusted according to the tire pressure detection data to achieve the function communication and information sharing.

Benefits of technology

It realizes the functional interoperability of the digital key and tire pressure detection module, reduces the space occupied by the equipment, improves the level of vehicle intelligence, and resolves functional conflicts through time-sharing multiplexing algorithms to achieve resource sharing and functional integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118597010A
    Figure CN118597010A
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method and related equipment, which are used for combining a digital key module with a tire pressure detection module to realize function intercommunication and data transmission. The method is applied to the fusion equipment, the fusion equipment comprises anchor point equipment and main control equipment, the anchor point equipment comprises a tire pressure detection module and a digital key module, and the method comprises the steps that the tire pressure detection module is controlled to detect a target vehicle, tire pressure detection data is obtained, and the tire pressure detection data is sent to the main control equipment; determining the current vehicle driving state of the target vehicle according to the tire pressure detection data; and when the current vehicle driving state is a target vehicle driving state, adjusting a working mode of the digital key module, and switching a communication connection mode of the anchor point device and the main control device, so that the anchor point device and the main control device perform data transmission according to the communication connection mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data communication technology, and in particular, to a data transmission method and related equipment. Background Art

[0002] With the continuous improvement of the level of automobile intelligence, digital keys, as a kind of intelligent automobile keys, are convenient, fast, safe and reliable, and have been widely used. The tire pressure detection system is a key vehicle safety technology that can monitor the tire pressure of the vehicle, detect abnormal tire pressure in time, and improve driving safety. However, at present, digital keys and tire pressure detection systems often exist as two independent devices, which have problems such as large space occupation and high cost, and cannot achieve functional interoperability and information sharing. Summary of the invention

[0003] The embodiments of the present application provide a data transmission method and related equipment for combining a digital key module with a tire pressure detection module to achieve functional intercommunication and data transmission.

[0004] A first aspect of an embodiment of the present application provides a data transmission method, which is applied to a fusion device, wherein the fusion device includes an anchor device and a main control device, and the anchor device includes a tire pressure detection module and a digital key module. The method includes:

[0005] Controlling the tire pressure detection module to detect a target vehicle and obtain tire pressure detection data, so as to determine a current vehicle driving state of the target vehicle according to the tire pressure detection data;

[0006] When the current vehicle driving state is the target vehicle driving state, the working mode of the digital key module is adjusted, and the communication connection mode between the anchor device and the main control device is switched, so that the anchor device and the main control device perform data transmission according to the communication connection mode.

[0007] Optionally, the tire pressure detection module includes a vehicle speed sensor and an engine state sensor, and the step of acquiring tire pressure detection data to determine the current vehicle driving state of the target vehicle according to the tire pressure detection data includes:

[0008] Acquire vehicle speed data detected by the vehicle speed sensor; acquire engine running state data detected by the engine state sensor; wherein the engine running state data includes a stop state and a running state, the stop state is used to indicate that the target vehicle is in a parked state, the running state is used to indicate that the target vehicle is in a driving state, and the vehicle speed data is used to describe the driving speed of the target vehicle;

[0009] The current vehicle driving state of the target vehicle is determined according to the engine operating state data and the vehicle speed data.

[0010] Optionally, adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master control device includes:

[0011] When the driving state of the target vehicle is a parking state, controlling the anchor point device to adjust the working mode of the digital key module to a local area network mode;

[0012] When the working mode of the digital key module is the local area network mode, controlling the tire pressure detection module to detect the target vehicle at the current moment and obtaining the tire pressure detection data at the current moment;

[0013] The tire pressure detection data is sent to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode; wherein the vehicle broadcast data includes the tire pressure detection data, and the BLE broadcast mode is used to describe the communication connection mode between the anchor device and the master control device.

[0014] Optionally, adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master control device includes:

[0015] When the driving state of the target vehicle is a driving state, and the driving speed of the target vehicle is not less than a first speed threshold, controlling the anchor device to adjust the working mode of the digital key module to a local area network mode, wherein the local area network mode is used to describe the communication connection mode between the anchor device and the master control device;

[0016] Controlling the tire pressure detection module to detect the target vehicle at the current moment, and obtaining tire pressure detection data at the current moment;

[0017] Control the anchor device to send the tire pressure detection data to the main control device through the local area network mode.

[0018] Optionally, the method further comprises:

[0019] When the target vehicle is in a driving state and the driving speed of the target vehicle is less than the first speed threshold, determining whether the driving speed of the target vehicle is greater than a second speed threshold; wherein the first speed threshold is greater than the second speed threshold;

[0020] If the driving speed of the target vehicle is not greater than the second speed threshold, controlling the anchor device to adjust the working mode of the digital key module to the BLE mode, and switching the communication connection mode between the anchor device and the master control device to the BLE broadcast mode;

[0021] Sending the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode;

[0022] Or, if the driving state of the target vehicle is a driving state and the driving speed of the target vehicle is greater than the second speed threshold, it is determined whether the communication connection mode between the anchor device and the main control device is the BLE broadcast mode, so that when the communication connection mode between the anchor device and the main control device is the BLE broadcast mode, the step of sending the tire pressure detection data to the slave Bluetooth BLE module of the anchor device is performed, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the main control device through the BLE broadcast mode.

[0023] Optionally, after adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master device so that the anchor device and the master device perform data transmission according to the communication connection mode, the method further includes:

[0024] When the communication connection mode between the anchor device and the master device is a BLE broadcast mode, a target packet loss rate threshold value when the anchor device and the master device are in the BLE broadcast mode is calculated; wherein the target packet loss rate threshold value is the ratio of the number of data packets of the BLE broadcast data scanned within any time slice length to the number of lost data packets when the anchor device is in the BLE broadcast mode;

[0025] The initial time slice length is adjusted to the target time slice length according to the target packet loss rate threshold, and the communication connection mode between the anchor device and the master control device is adjusted according to the target time slice length.

[0026] Optionally, the calculating a target packet loss rate threshold when the anchor device and the master device are in the BLE broadcast mode includes:

[0027] Defining the initial time slice length, the minimum time slice length and the maximum time slice length;

[0028] Define the BLE broadcast data packet value and the lost data packet value scanned by the anchor device; wherein the BLE broadcast data packet value is used to describe the number of data packets corresponding to the BLE broadcast data, and the lost data packet value is used to describe the number of data packets corresponding to the lost BLE broadcast data;

[0029] Detecting whether a data packet of the BLE broadcast data is received within a preset detection time slice length;

[0030] If a data packet of the BLE broadcast data is received, increase the value of the BLE broadcast data packet;

[0031] If the data packet of the BLE broadcast data is not received, increase the lost data packet value;

[0032] The ratio of the BLE broadcast data packet value to the lost data packet value is calculated to obtain the target packet loss rate threshold.

[0033] Optionally, adjusting the initial time slice length to a target time slice length according to the target packet loss rate threshold includes:

[0034] If the target packet loss rate threshold is less than the first packet loss rate threshold, increasing the first time slice length to the initial time slice length to obtain the target time length;

[0035] If the target packet loss rate threshold is not less than the first packet loss rate threshold and is less than the second packet loss rate threshold, reduce the second time slice length to the initial time slice length to obtain the target time length; wherein the first packet loss rate threshold is less than the second packet loss rate threshold;

[0036] If the target packet loss rate threshold is not less than the second packet loss rate threshold, reduce the third time slice length to the initial time slice length to obtain the target time slice length; wherein the third time slice length is greater than the second time slice length;

[0037] The adjusting the communication connection mode between the anchor device and the master device according to the target time slice length includes:

[0038] If the target time slice length is not greater than the minimum time slice length, maintaining the target time slice length at the minimum time slice length, and switching the communication connection mode between the anchor device and the master control device to a local area network mode;

[0039] If the target time slice length is not less than the maximum time slice length, the target time slice length is maintained at the maximum time slice length, and the communication connection mode between the anchor device and the master control device is switched to a BLE broadcast mode.

[0040] Optionally, if the communication connection mode is a BLE broadcast mode, the method further includes:

[0041] Determine the number of slave modules of the slave Bluetooth BLE module of the anchor device and the connection interval between the slave Bluetooth BLE module and the master BLE module of the master control device; wherein the connection interval includes a minimum interval or a maximum interval;

[0042] Determine the effective connection interval time according to the number of slave modules and the connection interval time; wherein the effective connection interval time includes a minimum effective connection time corresponding to the minimum interval time, and a maximum effective connection time corresponding to the maximum interval time;

[0043] Determine the broadcast duration value of the data packet of the BLE broadcast data according to the ratio of the data packet size value and the propagation rate value of the BLE broadcast data corresponding to the BLE broadcast mode; wherein the data packet size value is used to characterize the memory size of the data packet of the BLE broadcast data, and the propagation rate value is used to characterize the propagation rate of the data packet of the BLE broadcast data between the anchor device and the master control device;

[0044] Confirm the broadcast interval time of two adjacent BLE broadcasts in the BLE broadcast mode, so as to determine the scanning time slot time of the master device according to the broadcast interval time, the broadcast duration value, the effective connection interval time and the peer scanning cycle; wherein the peer scanning cycle is used to characterize the scanning cycle of the peer device with the master device, and the scanning time slot time includes the maximum available time slot time corresponding to the minimum effective connection time and the minimum available time slot time corresponding to the maximum effective connection time.

[0045] A second aspect of an embodiment of the present application provides a data transmission system, which is applied to a fusion device, wherein the fusion device includes an anchor device and a main control device, wherein the anchor device includes a tire pressure detection module and a digital key module, and the system includes:

[0046] A control unit, configured to control the tire pressure detection module to detect a target vehicle, obtain tire pressure detection data, and determine a current vehicle driving state of the target vehicle according to the tire pressure detection data;

[0047] An adjustment unit is used to adjust the working mode of the digital key module and switch the communication connection mode between the anchor device and the main control device when the current vehicle driving state is the target vehicle driving state, so that the anchor device and the main control device transmit data according to the communication connection mode.

[0048] The data transmission system provided in the second aspect of the embodiment of the present application is used to execute the data transmission method described in the first aspect.

[0049] A third aspect of the embodiments of the present application provides a data transmission device, including:

[0050] CPU, memory, input and output interfaces, wired or wireless network interfaces, and power supply;

[0051] The memory is a short-term storage memory or a persistent storage memory;

[0052] The central processing unit is configured to communicate with the memory and execute instruction operations in the memory to perform the data transmission method described in the first aspect.

[0053] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes instructions. When the instructions are executed on a computer, the computer executes the data transmission method described in the first aspect.

[0054] A fifth aspect of an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed on a computer, the computer executes the data transmission method described in the first aspect.

[0055] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: through a data transmission method disclosed in the embodiments of the present application, the tire pressure detection module is first controlled to detect the target vehicle and obtain tire pressure detection data to determine the current vehicle driving state of the target vehicle according to the tire pressure detection data; then when the current vehicle driving state is the target vehicle driving state, the working mode of the digital key module is adjusted, and the communication connection mode between the anchor device and the main control device is switched, so that the anchor device and the main control device perform data transmission according to the communication connection mode. Thus, the tire pressure detection data of the target vehicle is detected by the tire pressure detection module, and the working mode of the digital key is adjusted according to the tire pressure detection data to switch the communication connection mode inside the target vehicle, thereby realizing functional intercommunication and information sharing. At the same time, integrating the digital key and the tire pressure detection module into the same system can minimize the space occupied volume. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0057] Figure 1A schematic diagram of the system architecture of a fusion device disclosed in an embodiment of the present application;

[0058] Figure 2 A functional structure diagram of a fusion device disclosed in an embodiment of the present application;

[0059] Figure 3 A flowchart of a data transmission method disclosed in an embodiment of the present application;

[0060] Figure 4 A flowchart of another data transmission method disclosed in an embodiment of the present application;

[0061] Figure 5 A flowchart of another data transmission method disclosed in an embodiment of the present application;

[0062] Figure 6 A time slot allocation diagram disclosed in an embodiment of the present application;

[0063] Figure 7 Another time slot allocation diagram disclosed in an embodiment of the present application;

[0064] Figure 8 A schematic diagram of the structure of a data transmission system disclosed in an embodiment of the present application;

[0065] Fig. 9 A schematic diagram of the structure of a data transmission device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0067] It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0068] With the continuous improvement of the level of automobile intelligence, digital keys, as a kind of intelligent automobile keys, are convenient, fast, safe and reliable, and have been widely used. The tire pressure detection system is a key vehicle safety technology that can monitor the tire pressure of the vehicle, detect abnormal tire pressure in time, and improve driving safety. However, at present, digital keys and tire pressure detection systems often exist as two independent devices, which have problems such as large space occupation and high cost, and cannot achieve functional interoperability and information sharing. In order to solve the technical problems described above, the technical solutions in the embodiments of the present application will be clearly and completely described in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0069] To solve the above technical problems, please refer to Figure 1 and Figure 2 , Figure 1 A schematic diagram of the system architecture of a fusion device disclosed in an embodiment of the present application is shown in FIG. Figure 2 This is a functional structure diagram of a fusion device disclosed in an embodiment of the present application.

[0070] Depend on Figure 1 It can be seen that the fusion device (fusion apparatus) disclosed in this application includes an anchor device and a main control device. Among them, in the technical solution of this application, the original tire pressure detection module and the digital key anchor module are fused, and the fused anchor devices are placed in the four tires of the vehicle (respectively located at the front left, rear left, front right and rear right of the vehicle), and the fused main control device is placed in the vehicle (generally above the co-pilot glove box or glasses box). For details, please refer to Figure 1, the anchor device and the main control device can communicate and connect through an upgraded version based on the CAN protocol (CANFD, Controller Area Network with Flexible Data Rate). It is not difficult to understand that the general usage rate of CANFD is 2Mbps or higher, and the specific details are not repeated here. Furthermore, the main control device can communicate and connect with other smart terminals or devices carrying Bluetooth key cards (BLE keyfob) through low-power Bluetooth (BLE, Bluetooth low energy). In the technical solution of the present application, the smart terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a PDA, a mobile Internet device (MID, mobile internet device), a wearable device (such as a smart watch, a smart bracelet, etc.), a smart computer, a smart car-mounted device, and other smart terminals, which are not specifically limited here.

[0071] Furthermore, the fusion device is divided into anchor device and master device. For the specific functions of the two devices, please refer to Figure 2 .Depend on Figure 2 It can be seen that the anchor device includes a tire pressure detection module, an anchor control unit (MCU, Microcontroller Unit) and a digital key anchor module. Among them, the tire pressure detection module includes but is not limited to a pressure sensor (P-sensor), a humidity sensor (T-sensor) or an acceleration sensor (G-sensor), etc. The anchor control MCU includes but is not limited to a slave BLE module, I2C / UART, PMIC, CANFD or a serial peripheral interface (SPI, serial peripheral interface), etc. The digital key anchor module can use ultrawide band (UWB, ultrawide band) technology. Specifically, the anchor device has the following functions: 1. Tire pressure detection module: realizes tire pressure, humidity, and acceleration detection functions. It is used to detect the tire pressure of the vehicle tire; 2. Digital key anchor module: realizes UWB ranging function, which is used for unlocking, closing and starting of the vehicle; 3. Anchor control MCU: controls the operation of the anchor device, with a built-in slave BLE module to support data exchange with the vehicle control system.

[0072] The main control device includes a main control MCU and a digital key anchor module. Among them, the main control MCU includes but is not limited to the main BLE module, I2C / UART, PMIC, CANFD or SPI. At the same time, the main control MCU can use a time-sharing multiplexing algorithm. Specifically, in the main control device, there are the following functions: 1. Main control MCU: built-in fusion time-sharing multiplexing algorithm (schedule the digital key and tire pressure detection functions in time so that they can share communication resources during non-conflicting time periods); 2. Main BLE: has digital key interconnection and scanning ranging or detection broadcast data functions. 3. Digital key anchor module (optional): placed in the car to realize the UWB ranging function.

[0073] Furthermore, the connection method between the anchor device and the main control device is as follows: 1. The crimping positions of all crimped wires are close to the main node end; 2. CAN is made of twisted pair with a twist pitch of 20±2mm; 3. Automotive grade wire; no specific restrictions are made here.

[0074] To facilitate the above Figure 1 and Figure 2 For further explanation, please refer to the system architecture diagram and functional structure diagram shown in Figure 3 , Figure 3 This is a flow chart of a data transmission method disclosed in an embodiment of the present application, including steps 301 and 302.

[0075] 301. Control a tire pressure detection module to detect a target vehicle and obtain tire pressure detection data, so as to determine a current vehicle driving state of the target vehicle according to the tire pressure detection data.

[0076] Depend on Figure 1 and Figure 2 As described, in this embodiment, it is not difficult to understand that this embodiment is applied to a fusion device, the fusion device includes an anchor device and a main control device, and the anchor device includes a tire pressure detection module and a digital key module.

[0077] Specifically, the fusion device controls the tire pressure detection module to detect the target vehicle, thereby obtaining tire pressure detection data, and determines the current vehicle driving state of the target vehicle according to the tire pressure detection data.

[0078] In one specific embodiment, it is necessary to detect the state of the vehicle in real time. Specifically, the fusion device detects the target vehicle by controlling the tire pressure detection module of the anchor device, thereby obtaining the tire pressure detection data detected by the tire pressure detection module. Therefore, the fusion device can analyze the tire pressure detection data to determine the driving state of the target vehicle.

[0079] Furthermore, the vehicle driving state specifically includes two types, namely the parking state and the driving state. Specifically, the tire pressure detection data can be used to analyze whether the vehicle is driving, whether it is in a parking state, and other states not described in detail.

[0080] 302. When the current vehicle driving state is the target vehicle driving state, adjust the working mode of the digital key module, and switch the communication connection mode between the anchor device and the main control device, so that the anchor device and the main control device perform data transmission according to the communication connection mode.

[0081] Therefore, when the current vehicle driving state is the target vehicle driving state, the working mode of the digital key module can be adjusted, and the communication connection mode between the anchor device and the main control device can be switched, so that the anchor device and the main control device can transmit data according to the communication connection mode.

[0082] In one specific embodiment, the driving state of the target vehicle includes but is not limited to the parking state and the driving state described in the above step 301. It is not difficult to understand that in the driving state, there are also driving states corresponding to vehicle driving speeds at different driving speeds. Therefore, in this embodiment, the driving state of the target vehicle can be understood as a parking state, or a vehicle driving state corresponding to different driving speeds, which will not be elaborated here. Furthermore, in correspondence with different target vehicle driving states, the working mode of the digital key module can be adaptively adjusted, that is, the digital key module can be switched to BLE Bluetooth broadcast mode or CAN-FD mode, so as to perform digital key communications in different modes. Therefore, for different working modes of the digital key modules, the communication connection mode between the anchor device and the main control device will also be switched or adjusted accordingly, that is, Figure 2 The Bluetooth communication connection or CANFD communication connection shown in the figure. After the communication connection between the anchor device and the main control device is completed, data transmission and interaction can be carried out through the above communication connection mode.

[0083] Through a data transmission method disclosed in this embodiment, the tire pressure detection module is first controlled to detect the target vehicle and obtain tire pressure detection data to determine the current vehicle driving state of the target vehicle according to the tire pressure detection data; then, when the current vehicle driving state is the target vehicle driving state, the working mode of the digital key module is adjusted, and the communication connection mode between the anchor device and the main control device is switched, so that the anchor device and the main control device perform data transmission according to the communication connection mode. Thus, the tire pressure detection data of the target vehicle is detected by the tire pressure detection module, and the working mode of the digital key is adjusted according to the tire pressure detection data to switch the communication connection mode inside the target vehicle, thereby realizing functional intercommunication and information sharing. At the same time, integrating the digital key and the tire pressure detection module into the same system can minimize the space occupied volume.

[0084] For ease of understanding Figure 3 For data transfer methods shown, see Figure 4 , Figure 4 This is a flowchart of another data transmission method disclosed in an embodiment of the present application, including steps 401 to 412.

[0085] 401. Control the tire pressure detection module to detect a target vehicle, obtain vehicle speed data detected by a vehicle speed sensor, and obtain engine operating status data detected by an engine status sensor.

[0086] In this embodiment, steps 401 to 402 are similar to the aforementioned Figure 3 The process is similar to step 301 in step 302. Specifically, the fusion device controls the tire pressure detection module to detect the target vehicle, obtains the vehicle speed data detected by the vehicle speed sensor, and obtains the engine running state data detected by the engine state sensor. It is not difficult to understand that the engine running state data includes the stop state and the running state. The stop state is used to indicate that the target vehicle is in a parking state, and the running state is used to indicate that the target vehicle is in a driving state. The vehicle speed data is used to describe the driving speed of the target vehicle.

[0087] In one specific embodiment, the tire pressure detection module includes a vehicle speed sensor and an engine status sensor, and may also include Figure 2 The pressure sensor, humidity sensor or acceleration sensor shown in the figure. Specifically, the anchor point device can detect the vehicle speed or engine status of the vehicle through the vehicle sensor (such as the vehicle speed sensor or the engine status sensor, etc.), thereby obtaining the engine running status data detected by the engine status sensor and the vehicle speed data detected by the vehicle speed sensor. Among them, the engine running status data can represent whether the target vehicle is in a stopped state or a running state (or a driving state), and the vehicle speed data can represent the current driving speed of the target vehicle (for example, 0-100km / h).

[0088] In another feasible technical solution, the tire pressure, tire humidity or tire acceleration of the target vehicle can be detected by a pressure sensor, a humidity sensor or an acceleration sensor respectively, so as to determine the tire pressure of the vehicle tires and thereby determine the vehicle status of the target vehicle.

[0089] 402. Determine the current vehicle driving state of the target vehicle according to the engine operating state data and the vehicle speed data.

[0090] Thus, the current vehicle driving state of the target vehicle is determined based on the engine operating state data and the vehicle speed data detected in step 401 .

[0091] In one specific embodiment, the vehicle sensor is used to analyze and determine various operating data of the target vehicle, thereby determining the vehicle driving state of the target vehicle, that is, determining whether the target vehicle is driving, whether it is parked, or other related states.

[0092] Therefore, based on different vehicle driving states, step 403, step 405 or step 407 may be executed respectively, which will be described in detail later.

[0093] 403. When the target vehicle is in a driving state and the driving speed of the target vehicle is not less than a first speed threshold, the control anchor point device adjusts the working mode of the digital key module to a local area network mode.

[0094] Thus, when the target vehicle is in the driving state and the driving speed of the target vehicle is not less than the first speed threshold, the anchor device can be controlled to adjust the working mode of the digital key module to the local area network mode. It is not difficult to understand that the local area network mode is used to describe the communication connection mode between the anchor device and the main control device.

[0095] In one specific embodiment, when detecting the vehicle status, if it is determined that the target vehicle's driving status is a driving status (generally described as a vehicle driving speed greater than 0km / h), and the target vehicle's driving speed is not less than 15km / h (i.e. ≥15km / h), the anchor point device can be controlled to adjust the working mode of the digital key module to CANFD mode, i.e. the local area network mode described above.

[0096] Furthermore, when the vehicle speed is ≥15km / h, the anchor device can use CAN-FD to transmit tire pressure detection data. The digital key anchor module continues UWB ranging. Furthermore, the ranging data can also be attached to the slave Bluetooth broadcast of the anchor device. It is not difficult to understand that the digital key data itself is transmitted via CAN-FD. For the specific format, please refer to Table 1. It can be simply understood as putting PackageID+PackageData into the CANFD package.

[0097]

[0098] Furthermore, the 15km / h described above can be understood as one of the cases of the first speed threshold. In other feasible technical solutions, the first speed threshold can also be 20km / h or 30km / h, etc., which is not limited here.

[0099] It should also be noted that, in this embodiment, when the vehicle speed exceeds the first speed threshold, the communication mode between the anchor device and the main control device can be directly switched to CANFD, which will not be described in detail here.

[0100] 404. Control the tire pressure detection module to detect the target vehicle at the current moment, obtain the tire pressure detection data at the current moment, and control the anchor point device to send the tire pressure detection data to the main control device through the local area network mode.

[0101] Therefore, the fusion device can continue to detect the target vehicle at the current moment in real time through the tire pressure detection module of the anchor device to obtain the tire pressure detection data at the current moment. Thus, the fusion device controls the anchor device and sends the tire pressure detection data to the main control device through the local area network mode.

[0102] In one specific embodiment, based on step 403, when it is determined that the driving speed of the target vehicle is greater than or equal to the first speed threshold, the tire pressure detection data transmitted between the anchor point device and the main control device can be switched to the CAN-FD communication mode.

[0103] Furthermore, after executing step 403 to step 404, it is necessary to detect the tire pressure detection data at the next moment, so as to re-determine the driving state of the vehicle, and then execute the optional steps after step 402.

[0104] 405. When the target vehicle is in a parking state, the anchor point device is controlled to adjust the working mode of the digital key module to the local area network mode. When the working mode of the digital key module is the local area network mode, the tire pressure detection module is controlled to detect the target vehicle at the current moment and obtain the tire pressure detection data at the current moment.

[0105] Corresponding to step 402, when the target vehicle is in a parking state, the anchor point device can be controlled to adjust the working mode of the digital key module to the local area network mode, so that when the working mode of the digital key module is the local area network mode, the tire pressure detection module is controlled to detect the target vehicle at the current moment and obtain the tire pressure detection data at the current moment.

[0106] In one specific embodiment, when the target vehicle is detected to be in a parking state, the anchor device can be controlled to use CAN-FD for digital key communication. Specifically, by adjusting the digital key module to the local area network mode (CAN-FD), the working mode can be switched. Therefore, when the anchor device communicates with the main control device via CAN-FD, the tire pressure detection module will continue to detect the tire status, thereby obtaining the tire pressure detection data at the current moment.

[0107] 406 : Send the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode.

[0108] Thus, based on step 405, the fusion device can control the tire pressure detection module to send the tire pressure detection data to the slave BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master device through the BLE broadcast mode. It is not difficult to understand that the vehicle broadcast data includes the tire pressure detection data, and the BLE broadcast mode is used to describe the communication connection mode between the anchor device and the master device.

[0109] In one specific embodiment, when the tire pressure detection module continues to detect the tire status, it will also attach the tire pressure detection data to the slave Bluetooth broadcast of the slave BLE module of the anchor device, thereby sending the vehicle broadcast data carrying the tire pressure detection data to the master BLE module of the main control device via BLE broadcast. At the same time, the vehicle broadcast data can also be sent to a mobile phone or other BLE keyfob via BLE broadcast.

[0110] It is not difficult to understand that from the above description, various sensors in the tire pressure detection module periodically detect information such as tire pressure, temperature and acceleration, and after data processing, send the data through BLE. The specific format is shown in Table 2 below:

[0111]

[0112]

[0113] It is not difficult to understand that the above is only one of the formats of tire pressure detection data during BLE transmission. The specific transmission format of tire pressure detection data is not restricted here, and it will not be elaborated in the following.

[0114] 407. When the target vehicle is in the driving state and the driving speed of the target vehicle is less than the first speed threshold, determine whether the driving speed of the target vehicle is greater than the second speed threshold.

[0115] Corresponding to step 402, when the target vehicle is in the driving state and the driving speed of the target vehicle is less than the first speed threshold, it can be determined whether the driving speed of the target vehicle is greater than the second speed threshold. It is not difficult to understand that the first speed threshold is greater than the second speed threshold.

[0116] In one specific embodiment, during the process of detecting the vehicle state, it is determined that the target vehicle is in the driving state, and it is also necessary to determine whether the target vehicle's driving speed is within the speed interval between the first speed threshold and the second speed threshold. Specifically, it is first determined whether the target vehicle's driving speed is less than the first speed threshold. If and only if the target vehicle's driving speed is less than the first speed threshold, it is then determined whether the target vehicle's driving speed is greater than the second speed threshold. And according to different determination conditions, step 408 or step 409 is executed respectively.

[0117] Furthermore, in another feasible technical solution, it is also possible to first determine whether the target vehicle is in a parking state. If the target vehicle is in a parking state, execute steps 405-406. If the target vehicle is not in a parking state, then determine whether the current driving speed of the target vehicle is greater than or equal to the first speed threshold (≥15km / h). If the driving speed of the target vehicle is greater than or equal to the first speed threshold, execute steps 403-404. If the driving speed of the target vehicle is less than the second speed threshold, then execute steps 408-412 respectively according to whether the driving speed is in the interval between the first speed threshold and the second speed threshold.

[0118] 408. When the driving speed of the target vehicle is not greater than the second speed threshold, the anchor device is controlled to adjust the working mode of the digital key module to the BLE mode, and the communication connection mode between the anchor device and the main control device is switched to the BLE broadcast mode.

[0119] Therefore, through the determination process of step 407, when the driving speed of the target vehicle is not greater than the second speed threshold, the anchor device can be controlled to adjust the working mode of the digital key module to the BLE mode, and the communication connection mode between the anchor device and the main control device can be switched to the BLE broadcast mode.

[0120] In one specific embodiment, when the target vehicle's speed is ≤5 km / h, the anchor device can be controlled to be adjusted to the BLE mode. Thus, the tire pressure detection data detected by the tire pressure detection module can be switched back to the BLE communication mode, i.e., the BLE broadcast mode described above. Then, step 410 is executed.

[0121] From the above description, it can be seen that at this time, the anchor device can use BLE to transmit tire pressure detection data. Correspondingly, the digital key anchor module continues UWB ranging, and the ranging data is attached to the anchor slave Bluetooth broadcast. It should also be noted that when the vehicle speed drops to 5km / h or stops, the communication mode between the anchor device and the main control device can be directly switched back to BLE mode.

[0122] 409. When the target vehicle is in the driving state and the driving speed of the target vehicle is greater than the second speed threshold, determine whether the communication connection mode between the anchor device and the main control device is the BLE broadcast mode.

[0123] Corresponding to step 407, when the target vehicle is in the driving state and the driving speed of the target vehicle is less than the second speed threshold, it is determined whether the communication connection mode between the anchor device and the master device is the BLE broadcast mode.

[0124] In one specific embodiment, when the target vehicle is in a driving state and the driving speed of the target vehicle is greater than 5 km / h, it is necessary to determine whether the communication method between the anchor device and the main control device is BLE communication.

[0125] It is not difficult to understand that after executing step 408, step 409 may also be executed to determine the current driving speed of the target vehicle in real time, which will not be described in detail here.

[0126] 410. Send the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode.

[0127] In this way, the tire pressure detection data can be sent to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode.

[0128] In one specific embodiment, the fusion device sends the tire pressure detection data detected by the tire pressure detection module to the slave BLE module of the anchor device, so that the slave BLE module can send the vehicle broadcast data to the master BLE module of the main control device via BLE broadcast. It is not difficult to understand that the vehicle broadcast data includes tire pressure detection data.

[0129] It is not difficult to understand that the main control MCU has a time-sharing scheduling algorithm. In this embodiment, the time-sharing scheduling algorithm can be used for the selection of BLE and CANFD.

[0130] 411. When the communication connection mode between the anchor device and the master device is the BLE broadcast mode, calculate a target packet loss rate threshold when the anchor device and the master device are in the BLE broadcast mode.

[0131] Therefore, based on step 410, when the communication connection mode between the anchor device and the master device is the BLE broadcast mode, the target packet loss rate threshold of the anchor device and the master device in the BLE broadcast mode is calculated. It is not difficult to understand that the target packet loss rate threshold is the ratio of the number of BLE broadcast data packets scanned within any time slice length to the number of lost data packets when the anchor device is in the BLE broadcast mode.

[0132] In one specific embodiment, the packet loss rate threshold can be calculated and step 412 can be performed according to the packet loss rate threshold. Specifically, the initial time slice length, the minimum time slice length and the maximum time slice length can be defined first; then the BLE broadcast data packet value and the lost data packet value scanned by the anchor device can be defined; wherein the BLE broadcast data packet value is used to describe the number of data packets corresponding to the BLE broadcast data, and the lost data packet value is used to describe the number of data packets corresponding to the lost BLE broadcast data; then, within the preset detection time slice length, it is detected whether the BLE broadcast data packet is received; thus, when the BLE broadcast data packet is received, the BLE broadcast data packet value is increased; when the BLE broadcast data packet is not received, the lost data packet value is increased; finally, the ratio of the BLE broadcast data packet value to the lost data packet value is calculated to obtain the target packet loss rate threshold.

[0133] In another feasible technical solution, step 411-step 412 specifically adjusts the communication mode of BLE and CAN-FD. Specifically, during operation, real-time communication quality monitoring is required to adjust the communication mode. Specifically, a sliding window method is used to estimate the packet loss rate, and the communication mode is dynamically adjusted according to the estimated packet loss rate.

[0134] From the above description, it can be seen that the initial time slot size is defined as initial_time_slot (700-800ms), and the minimum and maximum time slot sizes are defined as min_time_slot (100ms) and max_time_slot (2000ms). It is not difficult to understand that the specific values ​​of the above time slot sizes are only the values ​​of one of the feasible technical solutions, and this embodiment does not limit this. It should also be added that the time slot is a collection of multiple scans, which is just a time period that includes multiple scans.

[0135] Then, in one of the feasible technical solutions, the length of a time slice is the number of Bluetooth scan data in the time slice. Then, the number of scan data within the preset time (set to 6s) is continuously counted and defined as the sliding window size N, that is, the BLE broadcast data packet value, where the BLE broadcast data packet value represents the number of data packets received in the past M time slices. Then, the number of lost packets is defined as lost_packets, that is, the lost data packet value, which represents the number of data packets lost in the past M time slices. It is also necessary to define the packet loss rate threshold as threshold, that is, the target packet loss rate threshold.

[0136] Next, for each time slice, check whether a data packet is received. If a data packet is received, the number of received data packets is increased by 1. If a data packet is not received, the number of lost data packets is increased by 1.

[0137] Finally, calculate the packet loss rate threshold in the past M time slices: threshold = lost_packets / N.

[0138] 412. Adjust the initial time slice length to the target time slice length according to the target packet loss rate threshold, and adjust the communication connection mode between the anchor device and the master control device according to the target time slice length.

[0139] Therefore, based on step 412, the initial time slice length can be adjusted to the target time slice length according to the target packet loss rate threshold, and the communication connection mode between the anchor device and the master device can be adjusted according to the target time slice length.

[0140] In one specific embodiment, if the target packet loss rate threshold is less than the first packet loss rate threshold, the first time slice length is increased to the initial time slice length to obtain the target time length; if the target packet loss rate threshold is not less than the first packet loss rate threshold and is less than the second packet loss rate threshold, the second time slice length is reduced to the initial time slice length to obtain the target time length; wherein the first packet loss rate threshold is less than the second packet loss rate threshold; if the target packet loss rate threshold is not less than the second packet loss rate threshold, the third time slice length is reduced to the initial time slice length to obtain the target time length; wherein the third time length is greater than the second time slice length;

[0141] Then, the communication connection mode between the anchor device and the master device can be adjusted according to the target time slice length. Specifically, if the target time slice length is not greater than the minimum time slice length, the target time slice length will be maintained at the minimum time slice length, and the communication connection mode between the anchor device and the master device will be switched to the LAN mode; if the target time slice length is not less than the maximum time slice length, the target time slice length will be maintained at the maximum time slice length, and the communication connection mode between the anchor device and the master device will be switched to the BLE broadcast mode.

[0142] It is not difficult to understand that for the convenience of explaining the above conditions, a brief description is given below.

[0143] If threshold < 2%, the time slice is increased by 20%;

[0144] If 2%≤threshold<20%, the time slice is reduced by 5%;

[0145] If threshold ≥ 20%, the time slice is reduced by 10%;

[0146] If the time slice ≤ min_time_slot, the time slice maintains min_time_slot, and the CAN-FD channel switching action is initiated;

[0147] If the time slice ≥ max_time_slot, the time slice maintains max_time_slot and initiates a Bluetooth channel switching action.

[0148] It is not difficult to understand that in another feasible technical solution, it is also necessary to add that when the vehicle speed is ≥15km / h, it does not participate in dynamic adjustment and is forced to be a CAN-FD channel; when the vehicle speed is <15km / h, the response channel switching adjustment, the initial value of the channel is Bluetooth (vehicle speed ≤5km / h), CAN-FD (5km / h <vehicle speed <15km / h). Among them, the acceleration can be the setting of the sensor sampling period inside the device, and at the same time, it can also be set as a condition that is not used for external time-sharing scheduling. If time-sharing scheduling is used, it can be imagined that the acceleration is ≥6g and the vehicle speed is forced to adopt the processing method of ≥15km / h.

[0149] It can be seen from the above steps 411 to 412 that the above steps can be simplified, specifically:

[0150] Define the initial time slot size: initial_time_slot∈[700,800]ms

[0151] Define the minimum and maximum time slice sizes:

[0152] min_time_slot=100ms

[0153] max_time_slot=2000ms

[0154] Time slice length: The number of Bluetooth scan data in each time slice.

[0155] Sliding window size N:

[0156] N=numberofdatapacketsreceivedinthepast6seconds

[0157] Number of lost packets lost_packets:

[0158] lost_packets=numberofpacketslostinthepastMtimeslots

[0159] Packet loss rate threshold:

[0160] threshold = lost_packets / N

[0161] Time slice adjustment rules:

[0162] If threshold < 2%: time_slot = min(time_slot × 1.2, max_time_slot)

[0163] If 2%≤threshold<20%: time_slot=max(time_slot×0.95,min_time_slot)

[0164] If threshold ≥ 20%: time_slot = max(time_slot × 0.9, min_time_slot)

[0165] Time slice boundary conditions:

[0166] If time_slot≤min_time_slot:time_slot=min_time_slot, initiate CAN-FD channel switching action.

[0167] If time_slot≥max_time_slot: time_slot=max_time_slot, a Bluetooth channel switching action is initiated.

[0168] Through a data transmission method disclosed in this embodiment, the integration of digital key function and tire pressure detection function is realized, the volume and weight of the equipment are reduced, and the level of automobile intelligence is improved. At the same time, the function conflict is resolved through the time-sharing multiplexing algorithm, and resource sharing and function integration are realized. Moreover, the unified data transmission method ensures the safety and stability of the vehicle.

[0169] To understand the scanning time slot between the master BLE and the slave BLE, refer to Figure 5 , Figure 5 This is a flow chart of another data transmission method disclosed in an embodiment of the present application, including steps 501 to 504.

[0170] 501. Determine the number of slave modules of the slave Bluetooth BLE module of the anchor device and the connection interval between the slave Bluetooth BLE module and the master BLE module of the master control device.

[0171] In order to realize the time-sharing scheduling of the functions of the digital key module and the tire pressure detection module, it is necessary to determine the scanning time slot of the main BLE module to allocate the working time of the two. Figure 2 As described above, the main BLE module has the functions of digital key interconnection and scanning distance measurement or detecting broadcast data. For the convenience of understanding and description, this will not be described in detail later.

[0172] Specifically, the number of slave modules of the slave Bluetooth BLE module of the anchor device and the connection interval between the slave Bluetooth BLE module and the master BLE module of the master device are first determined. It is not difficult to understand that the connection interval includes a minimum interval or a maximum interval.

[0173] In one of the specific embodiments, it is necessary to limit the number of slave modules of all slave BLE modules in the anchor device, and at the same time, it is also necessary to determine the connection interval between each slave BLE module and the master BLE module of the master device. It is not difficult to understand that in this embodiment, the number of slave BLE modules can be set to 4. The corresponding connection interval time includes a minimum interval time and a maximum interval time, which can be set to 7.5ms and 20ms respectively. It is not difficult to understand that the above is only one of the minimum or maximum settings in the connection interval time, but it is not a limitation of this embodiment.

[0174] 502. Determine an effective connection interval time according to the number of slave modules and the connection interval time.

[0175] Thus, based on step 501, the effective connection interval can be determined according to the number of slave modules and the connection interval. It is easy to understand that the effective connection interval includes the minimum effective connection time corresponding to the minimum interval time and the maximum effective connection time corresponding to the maximum interval time.

[0176] In one specific embodiment, a calculation formula is first defined, specifically:

[0177] EffectiveConnectionInterval=(SlaveLatency+1)*ConnectionInterval

[0178] Wherein, EffectiveConnectionInterval=effective connection interval; SlaveLatency=slave latency, that is, the number of slave modules described above (four-way connection); ConnectionInterval=connection interval, used to describe the connection interval time.

[0179] Therefore, based on the above calculation formula, the minimum ConnectionInterval is 7.5ms and the maximum is 20ms. Therefore, the minimum EffectiveConnectionInterval is (4+1)*7.5=37.5ms and the maximum is (4+1)*20=100ms. It is not difficult to understand that 37.5ms corresponds to the minimum effective connection time and 100ms corresponds to the maximum effective connection time.

[0180] 503. Determine a broadcast duration value of a data packet of the BLE broadcast data according to a ratio of a data packet size value of the BLE broadcast data corresponding to the BLE broadcast mode to a propagation rate value.

[0181] Corresponding to step 501-step 502, at the same time, the broadcast duration value of the data packet of the BLE broadcast data can also be determined according to the ratio of the data packet size value of the BLE broadcast data corresponding to the BLE broadcast mode to the propagation rate value. It is not difficult to understand that the data packet size value is used to characterize the memory size of the data packet of the BLE broadcast data, and the propagation rate value is used to characterize the propagation rate of the data packet of the BLE broadcast data between the anchor device and the master device.

[0182] In one specific embodiment, the size of each broadcast data packet (data packet size value) and the transmission rate (propagation rate value) of the BLE broadcast data packet in the BLE broadcast are first determined. In this embodiment, for BLE, the transmission rate is usually 1Mbps, and the broadcast data packet is generally 31 bytes. Therefore, the broadcast duration value of each broadcast data packet is: (31bytes*8)1Mbps=248μs.

[0183] Since the broadcast at least supports three sets of multi-channel broadcasts: Intelligent Car Connectivity Industry Ecosystem Alliance (ICCE) + ibeacon, a communication protocol based on low-power Bluetooth + Car Connectivity Consortium (CCC). Specifically, ICCE, ibeacon or CCC can be understood as broadcast formats of different digital key protocol specifications, and the details are not repeated here.

[0184] Therefore, the total duration of the three broadcasts is: 3×248μs=744μs=0.74ms, which does not include the random delay. Figure 6 , Figure 6 A time slot allocation diagram disclosed in an embodiment of the present application. Figure 6 It can be seen that different services are time-sharingly scheduled through the allocation of service time slots on BLE. For example, the time slots for vehicle-side broadcasts, waiting for mobile-side scanning, connection time slots, and the scanning window for scanning TPSM in addition to these services. For example, for ICCE, ibeacon or CCC, the broadcast duration of each data packet is 248μs, and the random delay is set to 0-10ms. In the absence of delay, the broadcast duration of all data packets under the three sets of broadcasts is 744μs.

[0185] 504. Confirm the broadcast interval between two adjacent BLE broadcasts in the BLE broadcast mode, so as to determine the scanning time slot of the master device according to the broadcast interval, the broadcast duration, the effective connection interval and the peer scanning cycle.

[0186] Therefore, based on the above steps 501-503, after confirming the broadcast interval time of two adjacent BLE broadcasts in the BLE broadcast mode, the scanning time slot time of the master device can be determined according to the broadcast interval time, the broadcast duration value, the effective connection interval time and the peer scanning cycle. It is not difficult to understand that the peer scanning cycle is used to characterize the scanning cycle of the peer device with the master device, and the scanning time slot time includes the maximum available time slot time corresponding to the minimum effective connection time and the minimum available time slot time corresponding to the maximum effective connection time.

[0187] In one of the specific embodiments, it is first determined that the broadcast interval time of two adjacent BLE broadcasts is 120ms, and the broadcast interval is calculated according to 120ms, without considering the scan response scan response time and the connection pairing process. After multi-channel broadcasting and connection, the maximum available time is the broadcast interval time minus the minimum valid connection time, the broadcast duration value and the peer scan cycle, and the maximum available time is 120-37.5-0.74-1.25=80.51ms. Among them, the maximum available time is the maximum available time slot described above. Correspondingly, the minimum available time is the broadcast interval time minus the maximum valid connection time, the broadcast duration value and the peer scan cycle, and the minimum available time is 120-100-0.74-1.25=18.01ms. Among them, the minimum available time is the minimum available time slot described above. Therefore, it can be seen that the scan slot time is between 18.01ms and 80.51ms. It is not difficult to understand that the above values ​​are only one of the schemes that can be implemented in this embodiment, but are not limitations on the above values.

[0188] For ease of understanding and description, please refer to Figure 6 ,Depend on Figure 6 It can also be known that the peer's scan response time scanresponse is generally n*248μs. Among them, the response time is related to the peer's scan cycle, scan cycle*248μs, and in extreme cases it is 1.25ms. After scanning, the mobile phone will initiate the connection pairing process. The time is not counted in the broadcast interval. During this period, the scan needs to be stopped. Figure 6 The time between the peer scan response and the connection event.

[0189] For further information, see Figure 7 , Figure 7 Another time slot allocation diagram disclosed in the embodiment of the present application. Figure 7It can be seen that the duration of the scanning window and the scanning interval, that is, the scanning time slot time described above, is between 18.01ms and 80.51ms at most. Furthermore, the duration of the connection time and the connection interval, that is, the Effective ConnectionInterval, depends on the mobile phone settings, and is between 37.5ms and 100ms at least.

[0190] Through a data transmission method disclosed in this embodiment, during the BLE channel transmission process, the digital key and tire pressure detection functions are scheduled in time-sharing manner, so that they can share communication resources during non-conflicting time periods, thereby improving the feasibility of the solution.

[0191] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0192] See also Figure 8 , Figure 8 A structural diagram of a data transmission system disclosed in an embodiment of the present application.

[0193] The control unit 801 is used to control the tire pressure detection module to detect the target vehicle and obtain tire pressure detection data to determine the current vehicle driving state of the target vehicle according to the tire pressure detection data;

[0194] The adjustment unit 802 is used to adjust the working mode of the digital key module and switch the communication connection mode between the anchor device and the main control device when the current vehicle driving state is the target vehicle driving state, so that the anchor device and the main control device transmit data according to the communication connection mode.

[0195] Exemplarily, the system further includes: an acquisition unit 803 and a determination unit 804;

[0196] The acquisition unit 803 is used to acquire the vehicle speed data detected by the vehicle speed sensor; acquire the engine running state data detected by the engine state sensor; wherein the engine running state data includes a stop state and a running state, the stop state is used to indicate that the target vehicle is in a parked state, the running state is used to indicate that the target vehicle is in a driving state, and the vehicle speed data is used to describe the driving speed of the target vehicle;

[0197] The determination unit 804 is used to determine the current vehicle driving state of the target vehicle according to the engine running state data and the vehicle speed data.

[0198] Exemplarily, the system further includes: a sending unit 805;

[0199] The control unit 801 is specifically configured to control the anchor point device to adjust the working mode of the digital key module to the local area network mode when the driving state of the target vehicle is the parking state;

[0200] The control unit 801 is further used to control the tire pressure detection module to detect the target vehicle at the current moment and obtain the tire pressure detection data at the current moment when the working mode of the digital key module is the local area network mode;

[0201] The sending unit 805 is used to send the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the main control device through the BLE broadcast mode; wherein the vehicle broadcast data includes tire pressure detection data, and the BLE broadcast mode is used to describe the communication connection mode between the anchor device and the main control device.

[0202] Exemplarily, the system includes:

[0203] The control unit 801 is specifically configured to control the anchor device to adjust the working mode of the digital key module to the local area network mode when the driving state of the target vehicle is the driving state and the driving speed of the target vehicle is not less than the first speed threshold, wherein the local area network mode is used to describe the communication connection mode between the anchor device and the main control device;

[0204] The control unit 801 is further used to control the tire pressure detection module to detect the target vehicle at the current moment and obtain the tire pressure detection data at the current moment;

[0205] The control unit 801 is also used to control the anchor device and send the tire pressure detection data to the main control device through the local area network mode.

[0206] Exemplarily, the system further includes: a judgment unit 806;

[0207] The judging unit 806 is used to judge whether the driving speed of the target vehicle is greater than a second speed threshold when the driving state of the target vehicle is the driving state and the driving speed of the target vehicle is less than a first speed threshold; wherein the first speed threshold is greater than the second speed threshold;

[0208] The control unit 801 is further configured to control the anchor device to adjust the working mode of the digital key module to the BLE mode, and switch the communication connection mode between the anchor device and the master device to the BLE broadcast mode when the driving speed of the target vehicle is not greater than the second speed threshold;

[0209] The sending unit 805 is further used to send the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode;

[0210] Or, the judgment unit 806 is also used to judge whether the communication connection mode between the anchor device and the main control device is the BLE broadcast mode when the driving state of the target vehicle is the driving state and the driving speed of the target vehicle is greater than the second speed threshold, so that when the communication connection mode between the anchor device and the main control device is the BLE broadcast mode, the step of sending the tire pressure detection data to the slave Bluetooth BLE module of the anchor device is executed, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the main control device through the BLE broadcast mode.

[0211] Exemplarily, the system further includes: a calculation unit 807;

[0212] The calculation unit 807 is used to calculate the target packet loss rate threshold of the anchor device and the master device in the BLE broadcast mode when the communication connection mode between the anchor device and the master device is the BLE broadcast mode; wherein the target packet loss rate threshold is the ratio of the number of data packets of the BLE broadcast data scanned within any time slice length to the number of lost data packets when the anchor device is in the BLE broadcast mode;

[0213] The adjusting unit 802 is further configured to adjust the initial time slice length to a target time slice length according to a target packet loss rate threshold, and adjust the communication connection mode between the anchor device and the master device according to the target time slice length.

[0214] Exemplarily, the system further includes: a definition unit 808, an adding unit 809 and a detection unit 810;

[0215] A definition unit 808, used to define an initial time slice length, a minimum time slice length, and a maximum time slice length;

[0216] The definition unit 808 is further used to define the BLE broadcast data packet value and the lost data packet value scanned by the anchor device; wherein the BLE broadcast data packet value is used to describe the number of data packets corresponding to the BLE broadcast data, and the lost data packet value is used to describe the number of data packets corresponding to the lost BLE broadcast data;

[0217] The detection unit 810 is specifically used to detect whether a data packet of BLE broadcast data is received within a preset detection time slice length;

[0218] The increasing unit 809 is used to increase the BLE broadcast data packet value when receiving a data packet of BLE broadcast data;

[0219] The increasing unit 809 is further used to increase the lost data packet value when the data packet of the BLE broadcast data is not received;

[0220] The calculation unit 807 is specifically used to calculate the ratio of the BLE broadcast data packet value to the lost data packet value to obtain a target packet loss rate threshold.

[0221] Exemplarily, the system further includes: a reducing unit 811;

[0222] The increasing unit 809 is specifically configured to increase the first time slice length to the initial time slice length to obtain the target time length when the target packet loss rate threshold is less than the first packet loss rate threshold;

[0223] The reducing unit 811 is used to reduce the second time slice length to the initial time slice length to obtain the target time length when the target packet loss rate threshold is not less than the first packet loss rate threshold and less than the second packet loss rate threshold; wherein the first packet loss rate threshold is less than the second packet loss rate threshold;

[0224] The reducing unit 811 is further configured to reduce the third time slice length to the initial time slice length to obtain the target time slice length when the target packet loss rate threshold is not less than the second packet loss rate threshold; wherein the third time slice length is greater than the second time slice length;

[0225] The system further includes: a maintaining unit 812;

[0226] The maintaining unit 812 is used to maintain the target time slice length at the minimum time slice length when the target time slice length is not greater than the minimum time slice length, and switch the communication connection mode between the anchor device and the master device to the local area network mode;

[0227] The maintaining unit 812 is further configured to maintain the target time slot length at the maximum time slot length when the target time slot length is not less than the maximum time slot length, and switch the communication connection mode between the anchor device and the master device to the BLE broadcast mode.

[0228] Exemplarily, if the communication connection mode is the BLE broadcast mode, the system further includes:

[0229] The determination unit 804 is further used to determine the number of slave modules of the slave Bluetooth BLE module of the anchor device and the connection interval between the slave Bluetooth BLE module and the master BLE module of the master control device; wherein the connection interval includes a minimum interval or a maximum interval;

[0230] The determining unit 804 is further configured to determine the effective connection interval time according to the number of slave modules and the connection interval time; wherein the effective connection interval time includes a minimum effective connection time corresponding to the minimum interval time, and a maximum effective connection time corresponding to the maximum interval time;

[0231] The determination unit 804 is further used to determine the broadcast duration value of the data packet of the BLE broadcast data according to the ratio of the data packet size value of the BLE broadcast data corresponding to the BLE broadcast mode to the propagation rate value; wherein the data packet size value is used to characterize the memory size of the data packet of the BLE broadcast data, and the propagation rate value is used to characterize the propagation rate of the data packet of the BLE broadcast data between the anchor device and the master device;

[0232] The determination unit 804 is also used to confirm the broadcast interval time of two adjacent BLE broadcasts in the BLE broadcast mode, so as to determine the scanning time slot time of the master device according to the broadcast interval time, the broadcast duration value, the effective connection interval time and the peer scanning cycle; wherein, the peer scanning cycle is used to characterize the scanning cycle of the peer device with the master device, and the scanning time slot time includes the maximum available time slot time corresponding to the minimum effective connection time and the minimum available time slot time corresponding to the maximum effective connection time.

[0233] See below Fig. 9 , a structural diagram of a data transmission device disclosed in an embodiment of the present application includes:

[0234] CPU 901, memory 905, input / output interface 904, wired or wireless network interface 903 and power supply 902;

[0235] The memory 905 is a temporary storage memory or a permanent storage memory;

[0236] The CPU 901 is configured to communicate with the memory 905 and execute the instructions in the memory 905 to perform the aforementioned Figures 3 to 5 The data transmission method in any of the illustrated embodiments.

[0237] The embodiment of the present application also provides a chip system, characterized in that the chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through a line, and the at least one processor is used to run a computer program or instruction to execute the aforementioned Figures 3 to 5 The data transmission method in any of the illustrated embodiments.

[0238] The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes instructions, when the instructions are executed on a computer, the computer executes the aforementioned Figures 3 to 5 The data transmission method in any of the illustrated embodiments.

[0239] The present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the aforementioned Figures 3 to 5 The data transmission method in any of the illustrated embodiments.

[0240] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0241] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0242] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0243] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0244] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A data transmission method, characterized in that: Applied to a fusion device, the fusion device includes an anchor device and a main control device, the anchor device includes a tire pressure detection module and a digital key module, and the method includes: Controlling the tire pressure detection module to detect a target vehicle and obtain tire pressure detection data, so as to determine a current vehicle driving state of the target vehicle according to the tire pressure detection data; When the current vehicle driving state is the target vehicle driving state, the working mode of the digital key module is adjusted, and the communication connection mode between the anchor device and the main control device is switched, so that the anchor device and the main control device perform data transmission according to the communication connection mode.

2. The data transmission method according to claim 1, characterized in that: The tire pressure detection module includes a vehicle speed sensor and an engine state sensor, and the step of acquiring tire pressure detection data to determine the current vehicle driving state of the target vehicle according to the tire pressure detection data includes: Acquire vehicle speed data detected by the vehicle speed sensor; acquire engine running state data detected by the engine state sensor; wherein the engine running state data includes a stop state and a running state, the stop state is used to indicate that the target vehicle is in a parked state, the running state is used to indicate that the target vehicle is in a driving state, and the vehicle speed data is used to describe the driving speed of the target vehicle; The current vehicle driving state of the target vehicle is determined according to the engine operating state data and the vehicle speed data.

3. The data transmission method according to claim 1, characterized in that: The adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master control device includes: When the driving state of the target vehicle is a parking state, controlling the anchor point device to adjust the working mode of the digital key module to a local area network mode; When the working mode of the digital key module is the local area network mode, controlling the tire pressure detection module to detect the target vehicle at the current moment and obtaining the tire pressure detection data at the current moment; The tire pressure detection data is sent to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode; wherein the vehicle broadcast data includes the tire pressure detection data, and the BLE broadcast mode is used to describe the communication connection mode between the anchor device and the master control device.

4. The data transmission method according to claim 1, characterized in that: The adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master control device includes: When the driving state of the target vehicle is a driving state, and the driving speed of the target vehicle is not less than a first speed threshold, controlling the anchor device to adjust the working mode of the digital key module to a local area network mode; wherein the local area network mode is used to describe the communication connection mode between the anchor device and the master control device; Controlling the tire pressure detection module to detect the target vehicle at the current moment, and obtaining tire pressure detection data at the current moment; Control the anchor device to send the tire pressure detection data to the main control device through the local area network mode.

5. The data transmission method according to claim 4, characterized in that: The method further comprises: When the target vehicle is in a driving state and the driving speed of the target vehicle is less than the first speed threshold, determining whether the driving speed of the target vehicle is greater than a second speed threshold; wherein the first speed threshold is greater than the second speed threshold; If the driving speed of the target vehicle is not greater than the second speed threshold, controlling the anchor device to adjust the working mode of the digital key module to the BLE mode, and switching the communication connection mode between the anchor device and the master control device to the BLE broadcast mode; Sending the tire pressure detection data to the slave Bluetooth BLE module of the anchor device, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the master control device through the BLE broadcast mode; Or, if the driving state of the target vehicle is a driving state and the driving speed of the target vehicle is greater than the second speed threshold, it is determined whether the communication connection mode between the anchor device and the main control device is the BLE broadcast mode, so that when the communication connection mode between the anchor device and the main control device is the BLE broadcast mode, the step of sending the tire pressure detection data to the slave Bluetooth BLE module of the anchor device is performed, so that the slave BLE module sends the vehicle broadcast data to the master BLE module of the main control device through the BLE broadcast mode.

6. The data transmission method according to claim 1, characterized in that: After adjusting the working mode of the digital key module and switching the communication connection mode between the anchor device and the master device so that the anchor device and the master device perform data transmission according to the communication connection mode, the method further includes: When the communication connection mode between the anchor device and the master device is a BLE broadcast mode, a target packet loss rate threshold value when the anchor device and the master device are in the BLE broadcast mode is calculated; wherein the target packet loss rate threshold value is the ratio of the number of data packets of the BLE broadcast data scanned within any time slice length to the number of lost data packets when the anchor device is in the BLE broadcast mode; The initial time slice length is adjusted to the target time slice length according to the target packet loss rate threshold, and the communication connection mode between the anchor device and the master control device is adjusted according to the target time slice length.

7. The data transmission method according to claim 6, characterized in that: The calculating a target packet loss rate threshold value of the anchor device and the master device in the BLE broadcast mode includes: Defining the initial time slice length, the minimum time slice length and the maximum time slice length; Define the BLE broadcast data packet value and the lost data packet value scanned by the anchor device; wherein the BLE broadcast data packet value is used to describe the number of data packets corresponding to the BLE broadcast data, and the lost data packet value is used to describe the number of data packets corresponding to the lost BLE broadcast data; Detecting whether a data packet of the BLE broadcast data is received within a preset detection time slice length; If a data packet of the BLE broadcast data is received, increase the value of the BLE broadcast data packet; If the data packet of the BLE broadcast data is not received, increase the lost data packet value; The ratio of the BLE broadcast data packet value to the lost data packet value is calculated to obtain the target packet loss rate threshold.

8. The data transmission method according to claim 7, characterized in that: The adjusting the initial time slice length to the target time slice length according to the target packet loss rate threshold comprises: If the target packet loss rate threshold is less than the first packet loss rate threshold, increasing the first time slice length to the initial time slice length to obtain the target time length; If the target packet loss rate threshold is not less than the first packet loss rate threshold and is less than the second packet loss rate threshold, reduce the second time slice length to the initial time slice length to obtain the target time length; wherein the first packet loss rate threshold is less than the second packet loss rate threshold; If the target packet loss rate threshold is not less than the second packet loss rate threshold, reduce the third time slice length to the initial time slice length to obtain the target time slice length; wherein the third time slice length is greater than the second time slice length; The adjusting the communication connection mode between the anchor device and the master device according to the target time slice length includes: If the target time slice length is not greater than the minimum time slice length, maintaining the target time slice length at the minimum time slice length, and switching the communication connection mode between the anchor device and the master control device to a local area network mode; If the target time slice length is not less than the maximum time slice length, the target time slice length is maintained at the maximum time slice length, and the communication connection mode between the anchor device and the master control device is switched to a BLE broadcast mode.

9. The data transmission method according to claim 1, characterized in that: If the communication connection mode is a BLE broadcast mode, the method further includes: Determine the number of slave modules of the slave Bluetooth BLE module of the anchor device and the connection interval between the slave Bluetooth BLE module and the master BLE module of the master control device; wherein the connection interval includes a minimum interval or a maximum interval; Determine the effective connection interval time according to the number of slave modules and the connection interval time; wherein the effective connection interval time includes a minimum effective connection time corresponding to the minimum interval time, and a maximum effective connection time corresponding to the maximum interval time; Determine the broadcast duration value of the data packet of the BLE broadcast data according to the ratio of the data packet size value and the propagation rate value of the BLE broadcast data corresponding to the BLE broadcast mode; wherein the data packet size value is used to characterize the memory size of the data packet of the BLE broadcast data, and the propagation rate value is used to characterize the propagation rate of the data packet of the BLE broadcast data between the anchor device and the master control device; Confirm the broadcast interval time of two adjacent BLE broadcasts in the BLE broadcast mode, so as to determine the scanning time slot time of the master device according to the broadcast interval time, the broadcast duration value, the effective connection interval time and the peer scanning cycle; wherein the peer scanning cycle is used to characterize the scanning cycle of the peer device with the master device, and the scanning time slot time includes the maximum available time slot time corresponding to the minimum effective connection time and the minimum available time slot time corresponding to the maximum effective connection time.

10. A data transmission system, characterized in that: Applied to a fusion device, the fusion device includes an anchor device and a main control device, the anchor device includes a tire pressure detection module and a digital key module, and the system includes: A control unit, configured to control the tire pressure detection module to detect a target vehicle, obtain tire pressure detection data, and determine a current vehicle driving state of the target vehicle according to the tire pressure detection data; An adjustment unit is used to adjust the working mode of the digital key module and switch the communication connection mode between the anchor device and the main control device when the current vehicle driving state is the target vehicle driving state, so that the anchor device and the main control device transmit data according to the communication connection mode.

11. A data transmission device, characterized in that: The device comprises: CPU, memory, input and output interfaces, wired or wireless network interfaces, and power supply; The memory is a short-term storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instruction operations in the memory to perform the data transmission method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes instructions, and when the instructions are executed on a computer, the computer executes the data transmission method according to any one of claims 1 to 9.