Vehicle control method and device, terminal equipment and storage medium
By using the communication module in vehicle control to detect the distance of the device and switch the control mode, and identify user instructions for vehicle control, the problems of insufficient intelligence and waste of resources in vehicle control in the existing technology are solved, and the control efficiency is improved.
Patent Information
- Application Number
- CN202410604435.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-27
AI Technical Summary
Existing vehicle control methods cannot effectively switch control function modes, resulting in insufficient intelligence in vehicle control and a waste of resources.
The communication module detects the distance of the preset device, connects and switches the control mode when the threshold range is reached, recognizes the user's instructions based on the new mode and generates control instructions to achieve vehicle control.
It improves the intelligence and efficiency of vehicle control and avoids waste of resources.
Smart Images

Figure CN118550274A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle intelligent control, and in particular to a vehicle control method, device, terminal equipment and storage medium. Background Art
[0002] With the development of modern society, the use of vehicles has become more and more frequent. In the scenario of explosive growth in vehicle use, there are higher requirements for intelligent control of vehicles and resource conservation.
[0003] However, the current control of vehicles still relies more on manual execution of various operations, and some intelligent operations also rely on users to touch the central control screen for control, which cannot achieve good intelligent control of the vehicle. Not only that, turning on too many functions when the vehicle is not in use can easily lead to a waste of vehicle resources.
[0004] Therefore, a vehicle control method is needed to solve the problem that the vehicle control is not intelligent enough and resources are wasted due to the lack of corresponding mode switching of the vehicle control function during vehicle control.
[0005] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of the present invention is to provide a vehicle control method, device, terminal equipment and storage medium, aiming to solve the technical problem that the vehicle control is not intelligent enough and resources are wasted due to the lack of corresponding mode switching of the vehicle control function when controlling the vehicle.
[0007] To achieve the above object, the present invention provides a vehicle control method, which is applied to a vehicle, wherein the vehicle includes a communication module, including:
[0008] Performing distance detection on a preset communication device through the communication module to obtain a first device distance;
[0009] When the distance between the first device and the communication device is within a preset distance threshold, connecting with the communication device through the communication module, and switching the initial control mode of the communication module to the first control mode;
[0010] Based on the first control mode, a command recognition is performed on a user corresponding to the communication device to obtain a first recognition result;
[0011] A control instruction is generated according to the first recognition result, and the vehicle is controlled by the control instruction.
[0012] Optionally, before the step of performing distance detection on a preset communication device by the communication module to obtain the first device distance, the step further includes:
[0013] receiving a connection request from the communication device;
[0014] Respond to the connection request through the communication module to obtain a connection result;
[0015] If the connection result is successful, receiving the configuration information sent by the communication device, and reading the communication device to obtain the device information and user information of the communication device;
[0016] A file is generated according to the configuration information, device information and user information, a configuration file is obtained, and the configuration file is sent to a user database for storage.
[0017] Optionally, the communication module includes a first communication module and a second communication module, and the step of connecting with the communication device through the communication module and switching the initial control mode of the communication module to the first control mode includes:
[0018] According to the user database, connecting and verifying the communication device through the first communication module to obtain a connection result;
[0019] When the connection result is successful, enabling the radar function of the second communication module, and acquiring the second communication module with the radar function enabled;
[0020] The initial control mode of the communication module is switched to the first control mode according to the first communication module and the second communication module with the radar function enabled.
[0021] Optionally, the step of enabling the radar function of the second communication module and obtaining the second communication module with the radar function enabled includes:
[0022] Converting the transmission signal of the second communication module through the time division multiplexing (TDM) component of the second communication module to obtain a composite signal;
[0023] The radar function of the second communication module is enabled according to the composite signal, and the second communication module with the radar function enabled is acquired.
[0024] Optionally, the step of performing instruction recognition on a user corresponding to the communication device based on the first control mode to obtain a first recognition result includes:
[0025] Performing behavior detection on a user corresponding to the communication device through the radar function of the second communication module to obtain the user behavior, and performing action recognition on the user behavior through a preset action recognition model to obtain a second recognition result;
[0026] Collecting data of a user corresponding to the communication device through a preset microphone to obtain voice data, and performing semantic recognition on the voice data through a preset intention recognition model to obtain a third recognition result;
[0027] Data aggregation is performed according to the second recognition result and the third recognition result to obtain a first recognition result.
[0028] Optionally, the step of generating a control instruction according to the first recognition result and controlling the vehicle by using the control instruction includes:
[0029] Generate an instruction according to the first recognition result to obtain a control instruction;
[0030] According to the control instruction, performing authority analysis on the communication device through the user database to obtain analysis results;
[0031] When the analysis result is passed, the control instruction is sent to the controller of the vehicle, and the corresponding vehicle control is performed by the controller.
[0032] Optionally, after the step of generating a control instruction according to the first recognition result and controlling the vehicle by using the control instruction, the step further includes:
[0033] When the first communication module is disconnected from the communication device, performing distance detection on the communication device through the second communication module to obtain a distance of the second device;
[0034] When the distance between the second device and the vehicle is beyond the distance threshold, detecting a target object in the vehicle compartment through the second communication module;
[0035] If a target object is detected in the vehicle compartment, a vehicle ventilation function is turned on through the vehicle electronic control unit ECU, and an alarm message is generated and sent to the communication device;
[0036] If no target object is detected in the vehicle compartment, the transmission signal of the second communication module is converted through the TDM component after a preset waiting time, and the radar function of the second communication module is turned off.
[0037] An embodiment of the present invention further provides a vehicle control device, which is applied to a vehicle, and the vehicle includes a communication module, including:
[0038] A detection module, configured to perform distance detection on a preset communication device through the communication module to obtain a first device distance;
[0039] A switching module, configured to connect to the communication device through the communication module and switch the initial control mode of the communication module to the first control mode when the distance of the first device is within a preset distance threshold;
[0040] an identification module, configured to identify a command of a user corresponding to the communication device based on the first control mode, and obtain a first identification result;
[0041] A control module is used to generate a control instruction according to the first recognition result, and control the vehicle through the control instruction.
[0042] An embodiment of the present invention further proposes a terminal device comprising a memory, a processor, and a vehicle control program stored in the memory and executable on the processor, wherein the vehicle control program implements the steps of the vehicle control method described above when executed by the processor.
[0043] An embodiment of the present invention further provides a computer-readable storage medium, on which a vehicle control program is stored. When the vehicle control program is executed by a processor, the steps of the vehicle control method described above are implemented.
[0044] The embodiment of the present invention proposes a vehicle control method, device, terminal device and storage medium, wherein the communication module detects the distance of a preset communication device to obtain a first device distance; when the first device distance is within a preset distance threshold, the communication module is connected to the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user's command corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled by the control instruction. Thus, the distance between the communication module and the communication device is detected, and when the detection distance reaches the connection range, the connection is made and the control mode is switched, the user's command is identified using the switched control mode, and finally the vehicle is controlled based on the identification result, which solves the problem of insufficient intelligence and waste of resources caused by the lack of corresponding mode switching of the vehicle control function during vehicle control, and improves the efficiency of vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a schematic diagram of the functional modules of the terminal device to which the vehicle control device of the present invention belongs;
[0046] Figure 2A schematic flow chart of an exemplary embodiment of a vehicle control method of the present invention;
[0047] Figure 3 A schematic diagram of a communication module involved in a vehicle control method of the present invention;
[0048] Figure 4 A schematic flow chart of another exemplary embodiment of a vehicle control method of the present invention;
[0049] Figure 5 A schematic flow chart of another exemplary embodiment of a vehicle control method of the present invention;
[0050] Figure 6 This is a schematic diagram of specific control performed by the vehicle control method of the present invention.
[0051] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0053] The main solution of the embodiment of the present invention is: receiving a connection request of the communication device; responding to the connection request through the communication module to obtain a connection result; if the connection result is a successful connection, receiving the configuration information sent by the communication device, reading the communication device, and obtaining the device information and user information of the communication device; generating a file according to the configuration information, device information and user information, obtaining a configuration file, and sending the configuration file to a user database for storage. According to the user database, the communication device is connected and verified through the first communication module to obtain a connection result; when the connection result is a successful connection, the radar function of the second communication module is turned on, and the second communication module with the radar function turned on is obtained; according to the first communication module and the second communication module with the radar function turned on, the initial control mode of the communication module is switched to the first control mode. The transmission signal of the second communication module is converted through the time division multiplexing TDM component of the second communication module to obtain a composite signal; according to the composite signal, the radar function of the second communication module is turned on, and the second communication module with the radar function turned on is obtained. The radar function of the second communication module is used to detect the behavior of the user corresponding to the communication device, obtain the user behavior, and perform action recognition on the user behavior through a preset action recognition model to obtain a second recognition result; the preset microphone is used to collect data from the user corresponding to the communication device to obtain voice data, and the voice data is semantically recognized through a preset intention recognition model to obtain a third recognition result; data is aggregated according to the second recognition result and the third recognition result to obtain a first recognition result. Instructions are generated according to the first recognition result to obtain control instructions; according to the control instructions, the communication device is analyzed for permissions through the user database to obtain analysis results; when the analysis result is passed, the control instruction is sent to the controller of the vehicle, and the corresponding vehicle control is performed through the controller. When the first communication module is disconnected from the communication device, the second communication module performs distance detection on the communication device to obtain the distance of the second device; when the distance of the second device is beyond the distance threshold, the second communication module performs target object detection on the vehicle compartment; if a target object is detected in the compartment, the vehicle ventilation function is turned on by the vehicle's electronic control unit ECU, and an alarm message is generated and sent to the communication device; if no target object is detected in the compartment, the transmission signal of the second communication module is converted by the TDM component after a preset waiting time, and the radar function of the second communication module is turned off. This solves the problem of insufficient intelligence and waste of resources caused by the lack of corresponding mode switching of the vehicle control function during vehicle control, realizes vehicle control, and improves vehicle control efficiency.Based on the solution of the present invention, a vehicle control method is designed based on the fact that there are more and more control functions of vehicles in reality, and the transmission management of communication signals is becoming more and more important, but the existing vehicle control methods cannot switch the corresponding strategies for vehicle control functions, thus resulting in low efficiency. The effectiveness of the vehicle control method of the present invention is verified when controlling the vehicle, and finally the efficiency of vehicle control performed by the method of the present invention is significantly improved.
[0054] Technical terms involved in the embodiments of the present invention:
[0055] BLE: BLE is the abbreviation of Bluetooth Low Energy, which is translated into "low-power Bluetooth" in Chinese. It is a wireless communication technology specially designed for short-distance communication between low-power devices. Compared with traditional Bluetooth technology, BLE has lower power consumption and a simpler communication protocol, which makes it very suitable for IoT devices, wearable devices, health monitors, smart homes and other application scenarios that require long-term operation and low power consumption requirements. BLE technology consumes less energy when establishing a connection, and can use a fast connection method for data transmission to minimize power consumption. In addition, BLE also supports broadcast mode and point-to-point mode, which can flexibly meet the communication needs of different devices. The communication distance of BLE technology is relatively short, generally between 10 meters and 100 meters, which depends on the transmission power and receiving sensitivity of the device. Therefore, BLE is mainly used for short-range wireless communication, such as data transmission between devices in the same room or nearby.
[0056] UWB: UWB is the abbreviation of Ultra Wideband, which is translated into "ultra-wideband" in Chinese. It is a wireless communication technology with very large bandwidth and low energy consumption. UWB technology can achieve high-speed data transmission, high-precision positioning and radar detection in a short distance. UWB technology uses extremely narrow pulse signals to transmit a large amount of data in a very short time, thereby achieving high-speed data transmission. At the same time, UWB technology also has good anti-interference performance and is not easily affected by co-frequency interference, so it can provide safer and more reliable communication services. In addition, UWB technology can also achieve high-precision positioning and tracking functions through methods such as time difference measurement and phase measurement, which makes UWB technology widely used in scenes such as object tracking, indoor positioning, and personnel tracking. UWB technology can also be applied to the field of radar detection. Due to the short pulse width and high bandwidth characteristics of UWB signals, it can achieve high-resolution and high-precision target detection and imaging. Therefore, UWB radar has broad application prospects in drones, automobiles, security and other fields.
[0057] Time Division Multiplexing: Time Division Multiplexing (TDM) is a communication technology used to transmit multiple signals on the same transmission medium. It divides the transmission time into several time slots, each of which is used to transmit different signals. In time division multiplexing, each user or channel is assigned an independent time slot, and they take turns using the transmission medium for data transmission in a predetermined order. This rotational transmission method allows multiple signals to be transmitted in parallel on the same transmission medium, improving transmission efficiency and resource utilization. Time division multiplexing can be applied to various communication systems, including wired and wireless communication systems.
[0058] The embodiments of the present invention take into account that the related technology does not perform corresponding mode switching for the vehicle control function when controlling the vehicle, which may easily lead to insufficient intelligence of the vehicle control and waste of resources, so this method has the problem of low efficiency.
[0059] Therefore, in the embodiments of the present invention, based on the fact that there are more and more control functions of vehicles in reality, the transmission management of communication signals is becoming more and more important, but the existing vehicle control methods cannot switch the corresponding strategies of vehicle control functions, thus resulting in low efficiency, a vehicle control method is designed, and the effectiveness of the vehicle control method of the present invention is verified when controlling the vehicle. Finally, the efficiency of vehicle control performed by the method of the present invention is significantly improved.
[0060] Specifically, refer to Figure 1 , Figure 1 The functional block diagram of the terminal device to which the vehicle control device of the present invention belongs is shown in FIG. The vehicle control device can be a device that is independent of the terminal device and can control the vehicle, and can be carried on the terminal device in the form of hardware or software. The terminal device can be a smart mobile device with data processing function such as a mobile phone or a tablet computer, or a fixed terminal device or server with data processing function.
[0061] In this embodiment, the terminal device to which the vehicle control apparatus belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .
[0062] The memory 130 stores an operating system and a vehicle control program. The vehicle control device can detect the distance of a preset communication device through the communication module to obtain a first device distance; when the first device distance is within a preset distance threshold, the communication module is used to connect with the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled through the control instruction. The vehicle is controlled through the vehicle control program, and the control result and other information are stored in the memory 130; the output module 110 can be a display screen, etc. The communication module 140 can include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicates with an external device or server through the communication module 140.
[0063] When the vehicle control program in the memory 130 is executed by the processor, the following steps are implemented:
[0064] Performing distance detection on a preset communication device through the communication module to obtain a first device distance;
[0065] When the distance between the first device and the communication device is within a preset distance threshold, connecting with the communication device through the communication module, and switching the initial control mode of the communication module to the first control mode;
[0066] Based on the first control mode, a command recognition is performed on a user corresponding to the communication device to obtain a first recognition result;
[0067] A control instruction is generated according to the first recognition result, and the vehicle is controlled by the control instruction.
[0068] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0069] receiving a connection request from the communication device;
[0070] Respond to the connection request through the communication module to obtain a connection result;
[0071] If the connection result is successful, receiving the configuration information sent by the communication device, and reading the communication device to obtain the device information and user information of the communication device;
[0072] A file is generated according to the configuration information, device information and user information, a configuration file is obtained, and the configuration file is sent to a user database for storage.
[0073] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0074] According to the user database, connecting and verifying the communication device through the first communication module to obtain a connection result;
[0075] When the connection result is successful, enabling the radar function of the second communication module, and acquiring the second communication module with the radar function enabled;
[0076] The initial control mode of the communication module is switched to the first control mode according to the first communication module and the second communication module with the radar function enabled.
[0077] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0078] Converting the transmission signal of the second communication module through the time division multiplexing (TDM) component of the second communication module to obtain a composite signal;
[0079] The radar function of the second communication module is enabled according to the composite signal, and the second communication module with the radar function enabled is acquired.
[0080] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0081] Performing behavior detection on a user corresponding to the communication device through the radar function of the second communication module to obtain the user behavior, and performing action recognition on the user behavior through a preset action recognition model to obtain a second recognition result;
[0082] Collecting data of a user corresponding to the communication device through a preset microphone to obtain voice data, and performing semantic recognition on the voice data through a preset intention recognition model to obtain a third recognition result;
[0083] Data aggregation is performed according to the second recognition result and the third recognition result to obtain a first recognition result.
[0084] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0085] Generate an instruction according to the first recognition result to obtain a control instruction;
[0086] According to the control instruction, performing authority analysis on the communication device through the user database to obtain analysis results;
[0087] When the analysis result is passed, the control instruction is sent to the controller of the vehicle, and the corresponding vehicle control is performed by the controller.
[0088] Furthermore, when the vehicle control program in the memory 130 is executed by the processor, the following steps are also implemented:
[0089] When the first communication module is disconnected from the communication device, performing distance detection on the communication device through the second communication module to obtain a distance of the second device;
[0090] When the distance between the second device and the vehicle is beyond the distance threshold, detecting a target object in the vehicle compartment through the second communication module;
[0091] If a target object is detected in the vehicle compartment, a vehicle ventilation function is turned on through the vehicle electronic control unit ECU, and an alarm message is generated and sent to the communication device;
[0092] If no target object is detected in the vehicle compartment, the transmission signal of the second communication module is converted through the TDM component after a preset waiting time, and the radar function of the second communication module is turned off.
[0093] This embodiment uses the above scheme, specifically, the communication module detects the distance of the preset communication device to obtain the first device distance; when the first device distance is within the preset distance threshold, the communication module is connected to the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user's command corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled by the control instruction. The distance between the communication module and the communication device is detected, and when the detection distance reaches the connection range, the connection is made and the control mode is switched, the user's command is identified using the switched control mode, and finally the vehicle is controlled based on the identification result. This can solve the problem of insufficient intelligence of vehicle control and waste of resources due to the lack of corresponding mode switching of the vehicle control function when controlling the vehicle. Based on the solution of the present invention, a vehicle control method is designed based on the fact that there are more and more control functions of vehicles in reality, and the transmission management of communication signals is becoming more and more important, but the existing vehicle control methods cannot switch the corresponding strategies for vehicle control functions, thus resulting in low efficiency. The effectiveness of the vehicle control method of the present invention is verified when controlling the vehicle, and finally the efficiency of vehicle control performed by the method of the present invention is significantly improved.
[0094] Based on the above terminal device architecture but not limited to the above framework, an embodiment of the method of the present invention is proposed.
[0095] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of an exemplary embodiment of a vehicle control method of the present invention. The vehicle control method comprises:
[0096] Step S05, performing distance detection on a preset communication device through the communication module to obtain a first device distance;
[0097] Step S06, when the distance between the first device and the communication device is within a preset distance threshold, connecting with the communication device through the communication module, and switching the initial control mode of the communication module to the first control mode;
[0098] Step S07, performing command recognition on a user corresponding to the communication device based on the first control mode to obtain a first recognition result;
[0099] Step S08: generating a control instruction according to the first recognition result, and controlling the vehicle through the control instruction.
[0100] The execution subject of the method of this embodiment can be a vehicle control device, or a vehicle control terminal device or server. This embodiment takes a vehicle control device as an example, and the vehicle control device can be integrated in a terminal device with data processing function.
[0101] It should be clear that the problem to be solved by the solution of this embodiment is that the vehicle control is not intelligent enough and resources are wasted because the vehicle control function is not switched to the corresponding mode when the vehicle is controlled;
[0102] After understanding the problem to be solved by this embodiment, this embodiment adopts a method of time-division multiplexing of the communication module. The communication module described in this embodiment is a DKAM module, such as Figure 3 As shown, Figure 3The present invention is a schematic diagram of a communication module involved in the vehicle control method, which mainly includes a BLE module (first communication module) and an UWB module (second communication module), wherein BLE is the abbreviation of Bluetooth Low Energy, which is translated into "low-power Bluetooth" in Chinese. It is a wireless communication technology specially designed for short-distance communication between low-power devices. Compared with traditional Bluetooth technology, BLE has lower power consumption and a simpler communication protocol, which makes it very suitable for application scenarios such as IoT devices, wearable devices, health monitors, smart homes, etc. that require long-term operation and low power consumption requirements. BLE technology consumes less energy when establishing a connection, and a fast connection method can be used for data transmission to minimize power consumption. In addition, BLE also supports broadcast mode and point-to-point mode, which can flexibly meet the communication needs of different devices. The communication distance of BLE technology is relatively short, generally between 10 meters and 100 meters, which depends on the transmission power and receiving sensitivity of the device. Therefore, BLE is mainly used for short-distance wireless communication, such as data transmission between devices in the same room or nearby, and UWB is the abbreviation of UltraWideband, which is translated into "Ultra Wideband" in Chinese. "Broadband", it is a wireless communication technology with very large bandwidth and low energy consumption. UWB technology can achieve high-speed data transmission, high-precision positioning and radar detection in a short distance. UWB technology uses extremely narrow pulse signals to transmit a large amount of data in a very short time, thereby achieving high-speed data transmission. At the same time, UWB technology also has good anti-interference performance and is not easily affected by co-frequency interference, so it can provide safer and more reliable communication services. In addition, UWB technology can also achieve high-precision positioning and tracking functions through methods such as time difference measurement and phase measurement, which makes UWB technology widely used in scenes such as object tracking, indoor positioning, and personnel tracking. UWB technology can also be applied to the field of radar detection. Due to the short pulse width and high bandwidth characteristics of UWB signals, it can achieve high-resolution and high-precision target detection and imaging. Therefore, UWB radar has broad application prospects in the fields of drones, automobiles, security, etc.
[0103] After understanding the structure of the communication module in this embodiment, the communication module is used to control the vehicle. Specifically, the communication module detects the distance of the communication device, obtains the first device distance, and sends the first device distance to the communication device. The communication device in this embodiment can be a mobile phone, a computer, a smart watch, a tablet, and other devices with mobile communication functions;
[0104] Since the communication module in this embodiment includes a BLE module, that is, a Bluetooth communication function, after detecting that the distance of the first device has entered the connection range of the communication module, the communication device can be connected, and the control mode of the communication module can be switched to obtain the first control mode. It should be understood that the initial control mode is a control mode in which the radar function is not turned on, and it only provides positioning and ranging modes. Among them, since the communication module proposed in this embodiment has ranging, living thing detection and semantic detection functions, in order to realize intelligent and energy-saving vehicle control, a time-division multiplexing method is adopted for these functions, that is, the control mode of the communication module is managed;
[0105] Finally, based on the control mode of the communication module, the user's command corresponding to the communication device is recognized to obtain a recognition result, and a control command is generated according to the recognition result to control the vehicle through the control command.
[0106] Specifically, the above step S06, the step of connecting with the communication device through the communication module and switching the initial control mode of the communication module to the first control mode includes:
[0107] Step S061, connecting and verifying the communication device through the first communication module according to the user database to obtain a connection result;
[0108] Step S062, when the connection result is successful, the radar function of the second communication module is enabled, and the second communication module with the radar function enabled is obtained;
[0109] Step S063: Switching the initial control mode of the communication module to the first control mode according to the first communication module and the second communication module with the radar function turned on.
[0110] Before switching the corresponding control mode, the communication device needs to be connected to the communication module. It should be clear that the communication device described in this embodiment is held by the user, and the device at least includes records such as the communication address, user information, and user authority. In other embodiments, the user information can also be encrypted and read through the communication module. Based on the user database, the authority information, user information, and device information of the user corresponding to the current communication device can be obtained;
[0111] When the connection result is successful, it means that the communication device has been connected to the vehicle, and the communication module in the vehicle has learned the specific authority function of the communication device, and turned on the radar function of the second communication module according to the obtained authority function, and obtained the second communication module with the radar function turned on, wherein the turning on of the radar function can be understood as scanning the user behavior around the vehicle body, and obtaining the corresponding action recognition result, for example, the trunk will be opened when the rear trunk is kicked, not only that, the radar function of the second communication module can also be used in the vehicle, for example, when the user in the vehicle makes a corresponding operation gesture, the vehicle will respond to the user's operation gesture and trigger the corresponding function;
[0112] After the second communication module turns on the radar function, it means that the communication module can switch the current control mode according to the first communication module and the second communication module with the radar function turned on to obtain the first control mode, wherein the control mode here can be understood as the current communication module supports more functions, and the communication module that originally did not turn on the radar function can only perform the positioning function.
[0113] More specifically, in the above step S062, the step of enabling the radar function of the second communication module, obtaining the second communication module with the radar function enabled includes:
[0114] Step S0621, converting the transmission signal of the second communication module through the time division multiplexing TDM component of the second communication module to obtain a composite signal;
[0115] Step S0622: Turn on the radar function of the second communication module according to the composite signal, and obtain the second communication module with the radar function turned on.
[0116] The mode switching method adopted in this embodiment is multiplexing technology, namely time division multiplexing. Time division multiplexing is a communication technology used to transmit multiple signals on the same transmission medium. It divides the transmission time into several time slots, each time slot is used to transmit different signals. In time division multiplexing, each user or channel is assigned an independent time slot, and they use the transmission medium in turn for data transmission in a predetermined order. This rotation transmission method allows multiple signals to be transmitted in parallel on the same transmission medium, thereby improving transmission efficiency and resource utilization. Time division multiplexing can be applied to various communication systems, including wired and wireless communication systems.
[0117] After the radar function of the second communication module is turned on, the data signal to be transmitted also changes. At this time, the transmission signal in the second communication module is converted through the time division multiplexing component TDM in the second communication module to obtain a composite signal. Specifically, it can be shown as follows: the previous signal is positioning data, but positioning data and radar data are needed in subsequent use. Therefore, a transmission signal is divided into multiple time slots at this time, and each time slot can reasonably allocate the transmission of multiple signals. At this time, the signal conversion is completed;
[0118] Finally, after the transmission of the composite signal is turned on, it means that the current second communication module has the function of transmitting the radar signal, that is, the radar function is turned on, and the first communication module after the radar function is turned on is obtained.
[0119] This embodiment uses the above scheme, specifically, the communication module detects the distance of the preset communication device to obtain the first device distance; when the first device distance is within the preset distance threshold, the communication module is connected to the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user's command corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled by the control instruction. Thus, the distance between the communication module and the communication device is detected, and when the detection distance reaches the connection range, the connection is made and the control mode is switched, the user's command is identified using the switched control mode, and finally the vehicle is controlled based on the identification result, which solves the problem of insufficient intelligence and waste of resources caused by the lack of corresponding mode switching of the vehicle control function when controlling the vehicle, and improves the efficiency of vehicle control.
[0120] Reference Figure 4 , Figure 4 The figure is a flow chart of another exemplary embodiment of the vehicle control method of the present invention.
[0121] Based on the above Figure 2 In the embodiment shown, the step S07, based on the first control mode, the step of performing instruction recognition on the user corresponding to the communication device to obtain a first recognition result includes:
[0122] Step S071, performing behavior detection on a user corresponding to the communication device through the radar function of the second communication module to obtain the user behavior, and performing action recognition on the user behavior through a preset action recognition model to obtain a second recognition result;
[0123] Step S072, collecting data from a user corresponding to the communication device through a preset microphone to obtain voice data, and performing semantic recognition on the voice data through a preset intention recognition model to obtain a third recognition result;
[0124] Step S073, performing data aggregation according to the second recognition result and the third recognition result to obtain a first recognition result.
[0125] After the radar function of the vehicle is turned on, the vehicle can now identify the user's operation instructions. At this time, the radar function of the second communication module is used to detect the behavior of the user corresponding to the communication device to obtain the user behavior, wherein the user behavior in this embodiment refers to the operation performed by the user around the vehicle, which may specifically include kicking the legs in the rear trunk to open the rear trunk, waving the palm around the rearview mirror to open the rearview mirror, and in other embodiments, corresponding gesture operations can also be performed in the vehicle, which are set according to the actual business needs of the specific application;
[0126] After obtaining the user behavior, the user behavior is recognized through the pre-built action recognition model to obtain a second recognition result, wherein the action recognition model is pre-built and trained, and can recognize human body actions to obtain corresponding recognition results, such as analyzing operations such as kicking, waving the left hand, waving the right hand, and putting both hands together. In addition, the action recognition model can not only complete the three-dimensional action determination of the user, but also analyze and determine the two-dimensional action of the user. For example, when the user only raises his hand, only two-axis actions are involved. At this time, compared with the determination of three-dimensional actions, it has a faster determination effect. The specific action can be set by the user, and the recognition of three-dimensional actions and two-dimensional actions can be set to switch according to actual business needs, that is, switching between the two recognition methods;
[0127] In addition, in order to more accurately complete the user's control of the vehicle, the present embodiment also uses a microphone to collect data from the user, specifically collecting the user's language data. For example, after the user approaches the vehicle, if he says "I bought a lot of things today", semantic recognition can be performed, and it can be obtained that the user may need to open the trunk. For example, "the lip is cracked" means that the user may need to open the rearview mirror. The specific operation needs to be combined with the user's behavioral operation for processing. In other embodiments, it can also be set as a specific call command, such as "Xiao P (the name given to the vehicle by the owner), open the trunk", etc.
[0128] Finally, since the current data collection includes semantic recognition results (the third recognition result) and behavioral recognition results (the second recognition result), data aggregation is performed on them to obtain the first recognition result.
[0129] Specifically, Figure 2 In the embodiment shown, the step S08 of generating a control instruction according to the first recognition result and controlling the vehicle by using the control instruction includes:
[0130] Step S081, generating an instruction according to the first recognition result to obtain a control instruction;
[0131] Step S082, performing authority analysis on the communication device through the user database according to the control instruction to obtain analysis results;
[0132] Step S083, when the analysis result is passed, the control instruction is sent to the controller of the vehicle, and the corresponding vehicle control is performed by the controller.
[0133] After obtaining the recognition results, corresponding strategies are required for permission analysis. For example, when the owner of the vehicle is loaned out, if he does not want anyone to open the hood of the vehicle, he can set permissions for the user who is assigned a temporary key. At this time, the vehicle will perform operations: generate instructions based on the obtained recognition results to obtain corresponding control instructions;
[0134] Then, the authority analysis of the user corresponding to the current communication device is performed through the user database that records the user information when previously connecting to the communication device, and the analysis result is obtained;
[0135] It should be clear that there are two types of analysis results, namely, pass and fail. This embodiment has corresponding processing strategies for both forms. When the analysis result is pass, the control instruction is sent to the vehicle body controller, and the corresponding vehicle control is completed by the vehicle body controller. When the analysis result is fail, the user currently controlling and the owner of the vehicle record will be notified to obtain the owner's opening intention;
[0136] In this embodiment, the control of the vehicle should be understood as follows: when the analysis result is passed, the control instruction is sent to the corresponding vehicle, but the vehicle has multiple controllers, such as a body controller, a vehicle central control controller, and a vehicle seat controller, etc. Therefore, when the control instruction is received, the vehicle transmits it to the corresponding controller and completes the corresponding operation, such as turning on the ventilation system, unlocking the vehicle, opening the trunk, and turning on the vehicle camera function, etc.
[0137] This embodiment uses the above scheme to specifically detect the behavior of the user corresponding to the communication device through the radar function of the second communication module, obtain the user behavior, and perform action recognition on the user behavior through a preset action recognition model to obtain a second recognition result; collect data from the user corresponding to the communication device through a preset microphone to obtain voice data, and perform semantic recognition on the voice data through a preset intention recognition model to obtain a third recognition result; perform data aggregation based on the second recognition result and the third recognition result to obtain the first recognition result. Therefore, the user's behavior recognition and semantic recognition are completed through the communication module, which solves the problem of insufficient intelligence of vehicle control and waste of resources, and improves the efficiency of vehicle control.
[0138] Reference Figure 5 , Figure 5 The figure is a flow chart of another exemplary embodiment of the vehicle control method of the present invention.
[0139] Based on the above Figure 2 In the embodiment shown, the step S05, before the step of performing distance detection on a preset communication device by the communication module to obtain the first device distance, further includes:
[0140] Step S01, receiving a connection request from the communication device;
[0141] Step S02, responding to the connection request through the communication module to obtain a connection result;
[0142] Step S03, if the connection result is successful, receiving the configuration information sent by the communication device, and reading the communication device to obtain the device information and user information of the communication device;
[0143] Step S04, generating a file according to the configuration information, device information and user information, obtaining a configuration file, and sending the configuration file to a user database for storage.
[0144] Before the vehicle performs specific control, due to the authorized control, the specific owner information and other controller information are required, so at this time, the communication module accepts the connection request of the communication device. The communication device in this embodiment does not refer to the owner, but the owner's partner, children, parents, etc. At this time, the vehicle will reconnect to it. When the connection is successful, the corresponding user information will be generated for the owner to set permissions and limit functions;
[0145] When the connection is successful, the configuration information, device information and user information sent by the current communication device will be received, which may include the user's height, weight, age, serial number of the communication device, communication number and device information, etc. The configuration information may include the vehicle configuration required by the current communication device corresponding to the user, such as seat adjustment, etc., so that the vehicle can provide a more comfortable driving experience;
[0146] Finally, a file is generated based on the acquired configuration information, device information, and user information, and a corresponding configuration file, that is, the overall settings corresponding to the communication device user, is acquired and sent to a user database for storage.
[0147] Specifically, the above Figure 2 In the embodiment shown, the step S08, generating a control instruction according to the first recognition result, and controlling the vehicle by the control instruction, further includes:
[0148] Step S09, when the first communication module is disconnected from the communication device, performing distance detection on the communication device through the second communication module to obtain a second device distance;
[0149] Step S10, when the distance between the second device and the vehicle is beyond the distance threshold, performing target object detection on the vehicle compartment through the second communication module;
[0150] Step S11, if a target object is detected in the vehicle compartment, the vehicle ventilation function is turned on by the vehicle electronic control unit ECU, and an alarm message is generated and sent to the communication device;
[0151] Step S12: If no target object is detected in the vehicle compartment, the transmission signal of the second communication module is converted through the TDM component after a preset waiting time, and the radar function of the second communication module is turned off.
[0152] After the user completes the control of the vehicle and leaves the vehicle, a corresponding strategy is required to shut down and detect the vehicle's functions;
[0153] In order to prevent the elderly or children in the car from being forgotten in the car, the corresponding time can also be set to detect the target object. At this time, the specific operation can be: when the first communication module is disconnected from the communication device, the positioning function of the second communication module performs distance detection to obtain the distance of the second device;
[0154] When the distance of the second device shows that the user is beyond the distance threshold, the target object is detected in the vehicle compartment through the radar function of the second communication module of the vehicle. When the target object is detected in the vehicle, the ventilation function of the vehicle is turned on and the user corresponding to the communication device is notified to avoid casualties;
[0155] When no target object information is detected in the vehicle, the transmission signal of the second communication module is converted through the time-division multiplexing TDM component after a preset time, and the radar function of the second communication module is turned off to avoid resource waste;
[0156] It should be clear that the target object in this embodiment can be set to the vehicle's living object detection, that is, the detection of moving objects, or it can be a specific target detection. For example, the user sets it to detect items in the vehicle (such as tool boxes, water cups, etc.). When the water cup falls, it will be considered that the target object has moved. At this time, the alarm information can be sent to the user (communication device), and the user can perform corresponding vehicle control.
[0157] This embodiment adopts the above scheme, specifically by receiving the connection request of the communication device; responding to the connection request through the communication module to obtain the connection result; if the connection result is a successful connection, receiving the configuration information sent by the communication device, and reading the communication device to obtain the device information and user information of the communication device; generating a file according to the configuration information, device information and user information, obtaining the configuration file, and sending the configuration file to the user database for storage. Thus, through the vehicle's communication device binding and control mode switching, the problem of insufficient intelligence of vehicle control and waste of resources due to the lack of corresponding mode switching of the vehicle control function during vehicle control is solved, and the efficiency of vehicle control is improved.
[0158] The scheme of the present invention is further described as follows: Figure 6 As shown, Figure 6 This is a schematic diagram of specific control performed by the vehicle control method of the present invention.
[0159] First, the communication module consists of UWB and BLE modules, and the time-division multiplexing components only work on the UWB module;
[0160] Then, the distance of the communication device is determined through the communication module;
[0161] When the communication device is within the preset distance threshold, the transmission signal is switched through the time-division multiplexing component to achieve the change of control mode, including functions such as living thing detection, command recognition and non-sensing unlocking;
[0162] When the communication device is not within the preset distance threshold, the communication module will continue to provide ranging and positioning functions, and provide target object detection for a certain period of time. When the preset detection time is exceeded, the control mode will be switched to turn off the vehicle's non-sensing unlocking and other functions.
[0163] This embodiment uses the above scheme, specifically, the communication module detects the distance of the preset communication device to obtain the first device distance; when the first device distance is within the preset distance threshold, the communication module is connected to the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user's command corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled by the control instruction. Thus, the distance between the communication module and the communication device is detected, and when the detection distance reaches the connection range, the connection is made and the control mode is switched, the user's command is identified using the switched control mode, and finally the vehicle is controlled based on the identification result, which solves the problem of insufficient intelligence and waste of resources caused by the lack of corresponding mode switching of the vehicle control function when controlling the vehicle, and improves the efficiency of vehicle control.
[0164] In addition, an embodiment of the present invention further provides a vehicle control device, which is applied to a vehicle, and the vehicle includes a communication module, including:
[0165] A detection module, configured to perform distance detection on a preset communication device through the communication module to obtain a first device distance;
[0166] A switching module, configured to connect to the communication device through the communication module and switch the initial control mode of the communication module to the first control mode when the distance of the first device is within a preset distance threshold;
[0167] an identification module, configured to identify a command of a user corresponding to the communication device based on the first control mode, and obtain a first identification result;
[0168] A control module is used to generate a control instruction according to the first recognition result, and control the vehicle through the control instruction.
[0169] In addition, an embodiment of the present invention also proposes a terminal device, which includes a memory, a processor, and a vehicle control program stored in the memory and executable on the processor, and the vehicle control program implements the steps of the vehicle control method described above when executed by the processor.
[0170] Since all the technical solutions of all the aforementioned embodiments are adopted when the vehicle control program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0171] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a vehicle control program is stored. When the vehicle control program is executed by a processor, the steps of the vehicle control method described above are implemented.
[0172] Since all the technical solutions of all the aforementioned embodiments are adopted when the vehicle control program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0173] Compared with the prior art, the vehicle control method, device, terminal device and storage medium proposed in the embodiment of the present invention detect the distance of the preset communication device through the communication module to obtain the first device distance; when the first device distance is within the preset distance threshold, the communication module is connected to the communication device, and the initial control mode of the communication module is switched to the first control mode; based on the first control mode, the user corresponding to the communication device is identified to obtain a first identification result; a control instruction is generated according to the first identification result, and the vehicle is controlled by the control instruction. Thus, the problem of insufficient intelligence and waste of resources caused by the lack of corresponding mode switching of the vehicle control function when controlling the vehicle is solved, the control of the vehicle is realized, and the efficiency of vehicle control is improved. Based on the scheme of the present invention, starting from the problem that there are more and more control functions of vehicles in reality, the transmission management of communication signals becomes more and more important, but the existing vehicle control method cannot switch the corresponding strategy of the vehicle control function, resulting in low efficiency, a vehicle control method is designed, and the effectiveness of the vehicle control method of the present invention is verified when controlling the vehicle, and finally the efficiency of vehicle control by the method of the present invention is significantly improved.
[0174] Compared with the existing technology, the embodiment of the present invention has the following advantages:
[0175] 1. Provides a time-division multiplexing signal transmission method to avoid wasting vehicle resources;
[0176] 2. Realize intelligent control of the vehicle.
[0177] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0178] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present invention.
[0180] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A vehicle control method, characterized in that: The vehicle control method is applied to a vehicle, the vehicle including a communication module, and includes the following steps: Performing distance detection on a preset communication device through the communication module to obtain a first device distance; When the distance between the first device and the communication device is within a preset distance threshold, connecting with the communication device through the communication module, and switching the initial control mode of the communication module to the first control mode; Based on the first control mode, a command recognition is performed on a user corresponding to the communication device to obtain a first recognition result; A control instruction is generated according to the first recognition result, and the vehicle is controlled by the control instruction.
2. The vehicle control method according to claim 1, characterized in that: Before the step of detecting the distance of a preset communication device by the communication module to obtain the distance of the first device, the step further includes: receiving a connection request from the communication device; Respond to the connection request through the communication module to obtain a connection result; If the connection result is successful, receiving the configuration information sent by the communication device, and reading the communication device to obtain the device information and user information of the communication device; A file is generated according to the configuration information, device information and user information, a configuration file is obtained, and the configuration file is sent to a user database for storage.
3. The vehicle control method according to claim 2, characterized in that: The communication module includes a first communication module and a second communication module, and the step of connecting with the communication device through the communication module and switching the initial control mode of the communication module to the first control mode includes: According to the user database, connecting and verifying the communication device through the first communication module to obtain a connection result; When the connection result is successful, enabling the radar function of the second communication module, and acquiring the second communication module with the radar function enabled; The initial control mode of the communication module is switched to the first control mode according to the first communication module and the second communication module with the radar function enabled.
4. The vehicle control method according to claim 3, characterized in that: The step of enabling the radar function of the second communication module and obtaining the second communication module with the radar function enabled comprises: Converting the transmission signal of the second communication module through the time division multiplexing (TDM) component of the second communication module to obtain a composite signal; The radar function of the second communication module is enabled according to the composite signal, and the second communication module with the radar function enabled is acquired.
5. The vehicle control method according to claim 3, characterized in that: The step of performing instruction recognition on the user corresponding to the communication device based on the first control mode to obtain a first recognition result includes: Performing behavior detection on a user corresponding to the communication device through the radar function of the second communication module to obtain the user behavior, and performing action recognition on the user behavior through a preset action recognition model to obtain a second recognition result; Collecting data of a user corresponding to the communication device through a preset microphone to obtain voice data, and performing semantic recognition on the voice data through a preset intention recognition model to obtain a third recognition result; Data aggregation is performed according to the second recognition result and the third recognition result to obtain a first recognition result.
6. The vehicle control method according to claim 2, characterized in that: The step of generating a control instruction according to the first recognition result and controlling the vehicle by using the control instruction comprises: Generate an instruction according to the first recognition result to obtain a control instruction; According to the control instruction, performing authority analysis on the communication device through the user database to obtain analysis results; When the analysis result is passed, the control instruction is sent to the controller of the vehicle, and the corresponding vehicle control is performed by the controller.
7. The vehicle control method according to claim 4, characterized in that: After the step of generating a control instruction according to the first recognition result and controlling the vehicle by using the control instruction, the following step further comprises: When the first communication module is disconnected from the communication device, performing distance detection on the communication device through the second communication module to obtain a distance of the second device; When the distance between the second device and the vehicle is beyond the distance threshold, detecting a target object in the vehicle compartment through the second communication module; If a target object is detected in the vehicle compartment, a vehicle ventilation function is turned on through the vehicle electronic control unit ECU, and an alarm message is generated and sent to the communication device; If no target object is detected in the vehicle compartment, the transmission signal of the second communication module is converted through the TDM component after a preset waiting time, and the radar function of the second communication module is turned off.
8. A vehicle control device, characterized in that: The vehicle control device is applied to a vehicle, and the vehicle includes a communication module, including: A detection module, configured to perform distance detection on a preset communication device through the communication module to obtain a first device distance; A switching module, configured to connect to the communication device through the communication module and switch the initial control mode of the communication module to the first control mode when the distance of the first device is within a preset distance threshold; an identification module, configured to identify a command of a user corresponding to the communication device based on the first control mode, and obtain a first identification result; A control module is used to generate a control instruction according to the first recognition result, and control the vehicle through the control instruction.
9. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a vehicle control program stored in the memory and executable on the processor. When the vehicle control program is executed by the processor, the steps of the vehicle control method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle control program, and when the vehicle control program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 7 are implemented.
