A vehicle control method and system
By obtaining and analyzing vehicle data at the kernel layer and framework layer, and generating control instructions, the problem of difficulty in linking terminals and vehicles in the prior art is solved, and precise control effect is achieved without the need for additional sensors and controllers.
Patent Information
- Application Number
- CN202011229241.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-06
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2040-11-06
AI Technical Summary
The existing vehicle control method requires the introduction of a controller, and data transmission can only be carried out through Bluetooth, and effective linkage between the terminal and the vehicle cannot be achieved.
The terminal obtains the vehicle data collected by the sensor at the kernel layer, and receives the vehicle data through the wireless network at the framework layer, analyzes and generates control instructions, and realizes the linkage between the terminal and the vehicle.
There is no need to add additional sensors and controllers, which realizes precise control and linkage between the terminal and the vehicle, and improves the timeliness and safety of responding to emergencies.
Smart Images

Figure CN114449493B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of autonomous driving technology, and in particular, to a vehicle control method and system. Background Art
[0002] With the popularization of automobiles, the problem of vehicle safety has become increasingly prominent. When a driver encounters an accident or emergency situation while driving a vehicle, such as a collision or falling into water, the driver needs to make multiple timely responses, such as stepping on the brakes, unlocking the doors, opening the sunroof, etc., in order to maximize the protection of the personnel and property on the vehicle. However, in such emergency situations, the driver often cannot respond in time, which will seriously damage the safety of personnel and property.
[0003] In order to improve the timeliness of actions in response to emergency situations, a vehicle can be controlled by a controller. A controller is installed on the vehicle, and various vehicle data, such as the pressure inside the vehicle, air temperature, humidity, etc., are monitored by the controller. Then, the controller generates corresponding control instructions based on these vehicle data and sends these control instructions to the in-vehicle computer via Bluetooth, so that the in-vehicle computer makes corresponding responses, thereby completing the timely response to emergency situations of the vehicle.
[0004] However, the above vehicle control method requires the introduction of a controller, and can only transmit data via Bluetooth, and cannot achieve the linkage between the terminal and the vehicle. Summary of the Invention
[0005] This application provides a vehicle control method and system, which can effectively achieve the linkage between the terminal and the vehicle, and can effectively control the vehicle by the terminal without introducing an additional controller to cope with various vehicle situations.
[0006] In a first aspect, this application provides a vehicle control method, and the method includes: the terminal obtains first vehicle data collected by the sensors of the terminal at the kernel layer; the terminal receives second vehicle data collected by the sensors of the vehicle via a wireless network at the framework layer; the terminal analyzes the first vehicle data and the second vehicle data at the application layer to determine the vehicle environment of the vehicle; the terminal generates a terminal instruction and a vehicle instruction according to the vehicle environment of the vehicle at the application layer; the terminal responds to the terminal instruction and sends the vehicle instruction to the vehicle via a wireless network, so that the vehicle responds to the vehicle instruction.
[0007] In this way, vehicle data can be collected through the terminal and the sensors built into the vehicle, providing an accurate and comprehensive data basis for judging the vehicle environment without the need to add additional sensors. At the same time, the processor built into the terminal can analyze the vehicle data to generate corresponding control instructions to precisely control the responses of the vehicle and the terminal, without the need to introduce additional controllers on the vehicle, achieving the linkage between the terminal and the vehicle.
[0008] In one implementation, the method further includes: the terminal detecting in the framework layer whether it is connected to the vehicle through a wireless network.
[0009] In this way, it can be determined whether the vehicle is in a state that requires automatic control through the terminal, so that the terminal can effectively control the actions of the vehicle according to the connection state.
[0010] In one implementation, the terminal performs noise reduction processing on the first vehicle data and the second vehicle data in the framework layer.
[0011] In this way, invalid data in the vehicle data can be effectively removed, making the vehicle data more referenceable and improving the accuracy of subsequent instructions.
[0012] In one implementation, the sensors of the terminal include an acceleration sensor, a pressure sensor, a gas sensor, a temperature sensor, and a humidity sensor; the sensors of the vehicle include a collision sensor.
[0013] In this way, vehicle data can be collected more comprehensively through various sensors set on the terminal and the vehicle, providing a more accurate data basis for generating subsequent control instructions.
[0014] In one implementation, the terminal instructions include an alarm instruction, and the terminal's response to the terminal instruction includes: the terminal responding to the alarm instruction, emitting a sound warning, and sending an alarm message.
[0015] In this way, the terminal can give an alarm in time when the vehicle breaks down or is in danger, so as to carry out effective rescue, while reminding the surrounding people to avoid in time and actively carry out rescue.
[0016] In one implementation, before the terminal responds to the alarm instruction, it further includes: generating a response inquiry prompt; if the terminal receives a cancellation response instruction within a preset time, cancel the emission of the sound warning and the sending of the alarm message.
[0017] In this way, it can not only respond to the alarm instruction in time within an effective time, but also avoid the problem of directly responding to the alarm instruction in a situation where there is actually no need to give an alarm, wasting police resources.
[0018] In one implementation, the terminal instructions include recording instructions, positioning instructions and uploading instructions, and the terminal responds to the terminal instructions including: the terminal responds to the recording instructions, the positioning instructions and the uploading instructions, starts the audio and video recording module to record the audio and video data of the vehicle, obtains the geographic location of the vehicle, and uploads the audio and video data and the geographic location.
[0019] In this way, these audio and video data can provide rescuers with a clearer picture of the accident scene, casualties, and the cause of the accident, so that rescuers can accurately reach the accident site and launch rescue operations in a timely manner. Uploading the above-collected audio and video data and the geographic location of the vehicle to the network can enable rescuers and case-handling agencies to obtain accurate information.
[0020] In one implementation, the vehicle instructions include vehicle hardware control instructions.
[0021] In a second aspect, an embodiment of the present application provides a vehicle control method, the method comprising: the vehicle obtains second vehicle data collected by a sensor of the vehicle; the vehicle sends the second vehicle data to a terminal via a wireless network, so that the terminal generates a vehicle instruction based on the second vehicle data and the first vehicle data collected by the sensor of the terminal; the vehicle receives the vehicle instruction sent by the terminal; and the vehicle responds to the vehicle instruction.
[0022] In this way, vehicle data can be collected through the sensors on the terminal and the vehicle to provide an accurate and comprehensive data basis for judging the vehicle environment without adding additional sensors. At the same time, the vehicle data can be analyzed using the processor on the terminal to generate corresponding control instructions to accurately control the response of the vehicle and the terminal. There is no need to introduce additional controllers on the vehicle, thus realizing the linkage between the terminal and the vehicle.
[0023] In a third aspect, an embodiment of the present application provides a vehicle control system, the system comprising a terminal and a vehicle; the terminal is used to execute the method described above, and the vehicle is used to execute the method described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0025] Figure 1 A schematic diagram of the structure of a vehicle control system provided in an embodiment of the present application;
[0026] Figure 2A schematic structural diagram of a terminal provided by an embodiment of the present application;
[0027] Figure 3 A schematic structural diagram of a vehicle provided by an embodiment of the present application;
[0028] Figure 4 A schematic flowchart of a vehicle control method provided by an embodiment of the present application;
[0029] Figure 5 A schematic structural diagram of a terminal system level provided by an embodiment of the present application. Detailed implementation manners
[0030] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0031] When a vehicle with an autonomous driving function performs automatic control, corresponding instructions need to be generated according to vehicle data. Among them, vehicle data usually includes in-vehicle environment data and out-of-vehicle environment data. It can be seen that the premise for a vehicle to accurately issue various instructions is that it can accurately collect various vehicle data. That is to say, the vehicle needs to install sensors corresponding to collecting various vehicle data, such as temperature sensors, gas sensors, light sensors, etc. At the same time, a controller needs to be installed in the vehicle to generate corresponding instructions for various vehicle data, and these instructions need to be transmitted to the corresponding controllers of vehicle components through methods such as Bluetooth transmission, so as to make the vehicle complete corresponding responses. It can be seen that if a vehicle does not have a large number of sensors and controllers, it is impossible to achieve the autonomous driving function. Obviously, the vehicle's ability to have the autonomous driving function will be greatly restricted.
[0032] With the widespread application of mobile phones, and mobile phones come with processors that can be used to process various data and generate corresponding instructions, which provides a control basis for controlling vehicles through mobile phones. Moreover, today's mobile phones are equipped with a variety of sensors, such as gravity, acceleration, gas, temperature, etc., to collect mobile phone status and the surrounding environment data of the mobile phone. If the mobile phone is inside the vehicle, then these sensors will also provide a sensor basis for collecting vehicle data.
[0033] Figure 1 A schematic structural diagram of a vehicle control system provided by an embodiment of the present application, the system includes at least one terminal and a vehicle, as Figure 1As shown, taking a terminal 1 and a vehicle 2 as an example, the terminal 1 is arranged inside the vehicle 2. For example, it can be at the front, body or rear of the vehicle 2 and can be installed in the vehicle 2 in the required manner, such as on a bracket or the like.
[0034] In the embodiments of the present application, the terminal 1 can be a device with data processing functions and instruction sending functions, such as a mobile phone, a tablet computer, a smart watch, etc. Figure 2 This is a schematic structural diagram of a terminal provided by an embodiment of the present application. As Figure 2 shown, the terminal 1 includes: at least one sensor 101, a processor 102, a memory 103, a receiver 104, and a transmitter 105. Among them, the sensor 101, the processor 102, the memory 103, the receiver 104, and the transmitter 105 are coupled to each other.
[0035] In the embodiments of the present application, the sensor 101 mentioned can be an acceleration sensor, a pressure sensor, a gas sensor, a temperature sensor, a humidity sensor, etc. Usually, terminals such as mobile phones are equipped with the above sensors.
[0036] In the embodiments of the present application, the processor 102 mentioned can include one or more processing units, such as a system on a chip (SoC), a central processing unit (CPU), a microcontroller (MCU), a memory controller, etc. Among them, different processing units can be independent devices or integrated in one or more processors.
[0037] In the embodiments of the present application, the memory 103 mentioned can include one or more storage units. For example, it can include volatile memory, such as dynamic random access memory (DRAM), static random access memory (SRAM), etc.; it can also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, etc. Among them, different storage units can be independent devices or integrated or packaged in one or more processors or communication interfaces to become part of the processor or communication interface.
[0038] In the embodiments of the present application, the receiver 104 and the transmitter 105 mentioned may be communication interfaces on a terminal device. The communication interface may be one or more optical fiber link interfaces, Ethernet interfaces, microwave link interfaces, or copper wire interfaces, etc., including network adapters, network interface cards, LAN adapters, network interface controllers (NICs), modems, etc. Among them, the communication interface may be an independent device, or may be partially or fully integrated or encapsulated in the processor and become a part of the processor.
[0039] In the embodiments of the present application, the vehicle 2 may be of any brand and model. Figure 3 FIG. 5 is a schematic structural diagram of a vehicle provided in an embodiment of the present application. The vehicle 2 includes at least one sensor 201, a transmitter 202, and a receiver 203. Among them, the sensor 201, the transmitter 202, and the receiver 203 are coupled.
[0040] The sensor 201 mentioned in the embodiments of the present application may be a collision sensor, etc. Generally, vehicles are equipped with the above sensors.
[0041] The receiver 202 and the transmitter 203 mentioned in the embodiments of the present application may be communication interfaces on the vehicle. The communication interface may be one or more optical fiber link interfaces, Ethernet interfaces, microwave link interfaces, or copper wire interfaces, etc., including network adapters, network interface cards, LAN adapters, network interface controllers (NICs), modems, etc. Among them, the communication interface may be an independent device, or may be partially or fully integrated or encapsulated in the processor and become a part of the processor.
[0042] In the embodiments of the present application, the terminal 1 and the vehicle 2 can perform data transmission through wired, Bluetooth, wireless network, Internet of Things, etc., such as Hi Car, Car Play, etc. Specifically, the terminal 1 can be connected to the vehicle 2 through a data cable and perform data transmission; or both the terminal 1 and the vehicle 2 turn on the Bluetooth search function, connect through Bluetooth, and perform data transmission; or both the terminal 1 and the vehicle 2 turn on the wireless network communication function and perform data transmission through the wireless network. For example, the same vehicle control App, such as Hi Car, can be downloaded on both the terminal 1 and the vehicle 2. When in use, both the terminal 1 and the vehicle 2 turn on the App and perform identity authentication to ensure the controllability of the terminal 1 over the vehicle 2 (the specific process will not be elaborated). After the identity authentication between the terminal 1 and the vehicle 2 is passed, the terminal 1 and the vehicle 2 can perform data synchronization, instruction transmission, etc. through the App.
[0043] Figure 4 It is a schematic flowchart of a vehicle control method provided by an embodiment of the present application, as Figure 4 shown, the method includes:
[0044] S1. The terminal obtains first vehicle data collected by sensors of the terminal at the kernel layer;
[0045] S2. The terminal receives second vehicle data collected by sensors of the vehicle through a wireless network at the framework layer;
[0046] S3. The terminal analyzes the first vehicle data and the second vehicle data at the application layer to determine the vehicle environment of the vehicle;
[0047] S4. The terminal generates a terminal instruction and a vehicle instruction according to the vehicle environment of the vehicle at the application layer;
[0048] S5. The terminal responds to the terminal instruction and sends the vehicle instruction to the vehicle through a wireless network, so that the vehicle responds to the vehicle instruction.
[0049] Figure 5 It is a schematic structural diagram of a terminal system level provided by an embodiment of the present application, as Figure 5As shown in the figure, the terminal includes a kernel layer 111, a framework layer 112, and an application layer 113. Correspondingly, the kernel layer 111 corresponds to the sensor 101 of the terminal 1 and is used to obtain the data collected by the sensor 101. In the embodiment of the present application, the data collected by the sensor 101 of the terminal 1 is defined as the first vehicle data. The framework layer 112 corresponds to the vehicle 2 and is used to receive the data collected by the sensor 201 of the vehicle 2. In the embodiment of the present application, the data collected by the sensor 201 of the vehicle 2 is defined as the second vehicle data. Further, the framework layer 112 will judge the connection state between the terminal 1 and the vehicle 2. Of course, the identity of the terminal 1 and the vehicle 2 can also be authenticated in the framework layer 112. When the terminal 1 and the vehicle 2 are in a connected state, it means that the vehicle 2 is in a state where it needs to be controlled for autonomous driving through the terminal 1. At this time, the framework layer 112 will continue to transfer the first vehicle data and the second vehicle data to the application layer 113. Otherwise, the framework layer 112 will not continue to transfer the first vehicle data and the second vehicle data to the application layer 113. Of course, the framework layer 112 can only prevent the second vehicle data from being transferred to the application layer 113, while the first vehicle data can continue to be transferred to the application layer 113 to ensure that the terminal 1 can continue to execute its own functions.
[0050] In another possible implementation, the framework layer 112 can judge the connection state between the terminal 1 and the vehicle 2 before receiving the second vehicle data sent by the vehicle 2. If the terminal 1 and the vehicle 2 are in a connected state, it will continue to receive the second vehicle data sent by the vehicle 2. Otherwise, it will refuse to receive the second vehicle data sent by the vehicle 2, thereby effectively reducing the data interaction between the terminal 1 and the vehicle 2.
[0051] Further, the framework layer 112 can also perform noise reduction processing on the first vehicle data and the second vehicle data to eliminate invalid data in the first vehicle data and the second vehicle data, such as individual jumping data, etc. The first vehicle data and the second vehicle data after noise reduction processing can improve the accuracy of the subsequent corresponding issued instructions to accurately control the vehicle 2.
[0052] The Framework layer 112 transfers the first vehicle data and the second vehicle data to the Application layer 113. The Application layer 113 is used to analyze the above first vehicle data and second vehicle data to determine the vehicle environment of vehicle 2, such as the in-vehicle environment (temperature, air pressure, etc.) and the out-of-vehicle environment (collision, etc.), and generate corresponding instructions according to the vehicle environment, such as terminal instructions (alarm, sending out an alert, etc.) and vehicle instructions (braking, refueling, opening and closing the sunroof, etc.).
[0053] Specifically, the control of vehicle 2 by terminal 1 can correspond to the following scenarios:
[0054] Scenario 1
[0055] Terminal 1 obtains the acceleration data collected by the acceleration sensor in the kernel layer 111. This acceleration data is the first vehicle data. The kernel layer 111 transfers the acceleration data to the framework layer 112. Vehicle 2 collects the collision data of vehicle 2 through the collision sensor. This collision data is the second vehicle data. Vehicle 2 transmits the second vehicle data to the framework layer 112. If the framework layer 112 determines that terminal 1 and vehicle 2 are in a connected state, it performs noise reduction processing on the acceleration data and the collision data, and transfers the noise-reduced acceleration data and collision data to the Application layer 113. At this time, the Application layer 113 starts to analyze the acceleration data and the collision data. Specifically, if the acceleration data undergoes a sudden change and the amplitude of the sudden change is greater than or equal to the preset sudden change amplitude threshold, it indicates that there is a sudden acceleration change in terminal 1 itself, such as a fall, or there is a sudden acceleration change in the environment where terminal 1 is located (vehicle 2), such as a collision. In practical applications, if the device for fixing terminal 1, such as a bracket, is unstable, or there is an accidental human touch, it will cause terminal 1 to fall, resulting in a sudden acceleration change in terminal 1, and these situations obviously do not belong to the collision situation of vehicle 2, and usually vehicle 2 does not need to perform corresponding actions (such as braking). If vehicle 2 is controlled to brake, etc. only because of the sudden acceleration change of terminal 1, it will affect the normal driving of vehicle 2 and even cause an accident.
[0056] To prevent the above situation, it is also necessary to make a comprehensive judgment based on the collision data of vehicle 2. If collision data is generated, it indicates that vehicle 2 has indeed collided with surrounding objects, and corresponding control needs to be carried out. At this time, the Application layer 113 can analyze the collision force of vehicle 2 based on the collision data and generate corresponding vehicle instructions. The vehicle instructions mainly include vehicle hardware control instructions for controlling each hardware of vehicle 2 to make responses. For example, if the collision force is greater than or equal to the first collision threshold, vehicle instructions such as emergency braking, engine shutdown, airbag deployment, and door and window unlocking are generated; if the collision force is between the first collision threshold and the second collision threshold, where the first collision threshold is greater than the second collision threshold, vehicle instructions such as emergency braking, engine shutdown, and door and window unlocking are generated; if the collision force is less than the second collision threshold, a braking instruction is generated. The Application layer 113 sends the vehicle instructions to vehicle 2 to control the corresponding components to work, such as controlling the braking device, adjusting the door and window locks, shutting down the engine, and deploying the airbag.
[0057] Correspondingly, the Application layer 113 also needs to generate corresponding terminal instructions according to the collision force. For example, if the collision force is greater than or equal to the first collision threshold, an alarm instruction is generated. The alarm instruction includes two parts: an automatic alarm instruction and a sound warning instruction. Among them, in response to the automatic alarm instruction, the terminal 1 can make an active call through a preset emergency number, such as 110, 119, close contacts, etc.; in response to the sound warning instruction, the terminal 1 can beep through a preset warning ringtone of the terminal 1 to promptly inform surrounding people that vehicle 2 is in danger and pay attention to avoiding it and implementing rescue. Further, before the terminal 1 responds to the alarm instruction, the terminal 1 can also generate a response inquiry prompt. The terminal 1 will not directly respond to the alarm instruction, but will generate a response inquiry prompt to allow the user to make a choice on whether to alarm within a preset time. If there is no need to alarm, the user can select the option to cancel the response. Correspondingly, the terminal 1 will receive the cancellation response instruction and cancel the sound warning and send the alarm information; if the terminal 1 does not receive the cancellation response instruction within the preset time, it will immediately issue the sound warning and send the alarm information. Among them, the preset time can be set by itself or generated by the Application layer 113 according to the collision force. For example, if the collision force is relatively large, the preset time can be set shorter; if the collision force is relatively small, the preset time can be set relatively longer. In this way, not only can the alarm be given in a timely manner, but also the problem of wasting police resources can be avoided.
[0058] In the embodiments of the present application, the terminal instructions may further include a recording instruction, a positioning instruction, and an uploading instruction. In order to effectively record the specific situation when the vehicle 2 has an accident for rescue personnel to make rescue judgments and for law enforcement agencies to conduct post-event accountability, etc., once the vehicle 2 has a collision, the Application layer 113 generates a recording instruction, a positioning instruction, and an uploading instruction. Specifically, the terminal 1 responds to the recording instruction, activates the audio-video recording module to collect the audio-video data inside or outside the vehicle 2, or sends the recording instruction to the vehicle 2 to obtain the audio-video data recorded by the vehicle recorder on the vehicle 2. These audio-video data can provide rescue personnel with a relatively clear picture of the accident scene, the casualty situation, and the cause of the accident, etc.; the terminal 1 responds to the positioning instruction, activates the positioning module to obtain the geographical location of the vehicle 2, so that rescue personnel can accurately reach the accident location and promptly launch rescue operations; the terminal 1 responds to the uploading instruction to upload the above-mentioned collected audio-video data and the geographical location of the vehicle 2 to the network, enabling rescue personnel and law enforcement agencies to accurately obtain them.
[0059] It can be seen that in this scenario, the acceleration sensor built in the terminal 1 and the collision sensor built in the vehicle 2 cooperate with each other to effectively collect the collision data of the vehicle 2, thereby accurately judging the situation of a collision accident of the vehicle 2, and generating corresponding control instructions through the terminal 1 to precisely control the terminal 1 and the vehicle 2 to respond to the collision accident. Through the collaborative work of the terminal 1 and the vehicle 2, personal safety can be ensured without the need to add additional sensors and controllers, which can effectively improve the applicability of the vehicle 2.
[0060] Scenario Two
[0061] The terminal 1 obtains the gas data collected by the gas sensor in the kernel layer 111. This gas data is the first vehicle data, and the gas data may include gas components, gas density, etc. The kernel layer 111 transmits the gas data to the framework layer 112. If the framework layer 112 determines that the terminal 1 is in a connected state with the vehicle 2, it performs noise reduction processing on the gas data and transmits the noise-reduced gas data to the Application layer 113. At this time, the Application layer 113 starts to analyze the gas data. Specifically, if there is a harmful gas component, such as CO, and the density of this gas component exceeds the standard, it indicates that the air inside the vehicle 2 has changed, and there may be vehicle faults such as abnormal air conditioning or gasoline combustion.
[0062] The Framework layer 112 transfers the gas data to the Application layer 113. At this time, the Application layer 113 can analyze the vehicle conditions corresponding to the vehicle 2 based on the gas data. For example, if the component of CO2 increases significantly, it is possible that someone or an animal is trapped inside the vehicle 2 when the vehicle 2 is closed; if the component of CO increases significantly, it is possible that the gasoline burns abnormally; if a certain toxic gas appears, it is possible that illegal elements are carrying out illegal acts inside the vehicle 2, etc. At this time, the Application layer 113 generates corresponding vehicle instructions according to the vehicle conditions. The vehicle instructions mainly include vehicle hardware control instructions for controlling each hardware of the vehicle 2 to make responses. For example, vehicle instructions such as emergency braking, engine shutdown, and opening doors and windows are generated. The Application layer 113 sends the vehicle instructions to the vehicle 2 to control the corresponding hardware to work, such as controlling the braking device, opening doors and windows, and engine shutdown.
[0063] Correspondingly, the Application layer 113 also needs to generate corresponding terminal instructions according to the gas data. For example, an alarm instruction is generated. The alarm instruction generated in this scenario can refer to the alarm instruction mentioned in Scenario 1 and will not be elaborated here.
[0064] In the embodiment of the present application, the terminal instructions may further include a recording instruction, a positioning instruction, and an upload instruction to record and upload the situation of gas abnormality inside the vehicle 2. The recording instruction, the positioning instruction, and the upload instruction can refer to the recording instruction, the positioning instruction, and the upload instruction disclosed in Scenario 1 and will not be elaborated here.
[0065] It can be seen that in this scenario, the gas sensor built in the terminal 1 can effectively collect the gas data inside the vehicle 2, thereby accurately judging the gas abnormality and vehicle fault conditions of the vehicle 2, and generating corresponding control instructions through the terminal 1 to accurately control the terminal 1 and the vehicle 2 to respond to the fault conditions of gas abnormality inside the vehicle 2. Through the collaborative work of the terminal 1 and the vehicle 2, personal safety can be ensured without adding additional sensors and controllers, which can effectively improve the applicability of the vehicle 2.
[0066] Scenario 3
[0067] The terminal 1 obtains the temperature data collected by the temperature sensor at the kernel layer 111. This temperature data is the first vehicle data, and the temperature data is used to reflect the temperature inside the vehicle 2. The kernel layer 111 transfers the temperature data to the framework layer 112. If the framework layer 112 determines that the terminal 1 is connected to the vehicle 2, it performs noise reduction processing on the temperature data and transfers the noise-reduced temperature data to the Application layer 113. At this time, the Application layer 113 starts to analyze the temperature data. Specifically, if the temperature changes suddenly, it means that the temperature inside the vehicle 2 has changed, and vehicle faults such as air conditioner anomalies and gasoline combustion may occur.
[0068] The Framework layer 112 transfers the temperature data to the Application layer 113. At this time, the Application layer 113 can analyze the vehicle conditions corresponding to the vehicle 2 based on the temperature data. For example, if the temperature drops or rises significantly, it may be an air conditioner anomaly. Among them, for the case where the temperature rises significantly, it is also necessary to combine gas data, etc. for judgment. For example, if the CO2 component in the gas increases significantly, it may be that someone or an animal is trapped inside the vehicle 2 in a closed state of the vehicle 2, resulting in a temperature rise; of course, if the temperature changes smoothly, it means that the temperature outside the vehicle 2 has changed. At this time, the Application layer 113 generates corresponding vehicle instructions according to the vehicle conditions. The vehicle instructions mainly include vehicle hardware control instructions for controlling each hardware of the vehicle 2 to make responses. For example, vehicle instructions such as emergency braking, engine shutdown, air conditioner adjustment, and air conditioner shutdown are generated. The Application layer 113 sends the vehicle instructions to the vehicle 2 to control the corresponding hardware to work, such as controlling the braking device, adjusting the air conditioner, shutting down the air conditioner, and shutting down the engine.
[0069] Correspondingly, the Application layer 113 also needs to generate corresponding terminal instructions according to the temperature data, especially for the case of sudden temperature changes. For example, an alarm instruction is generated. The alarm instruction generated in this scenario can refer to the alarm instruction mentioned in Scenario 1 and will not be elaborated here.
[0070] In the embodiment of the present application, the terminal instructions may further include a recording instruction, a positioning instruction, and an upload instruction to record and upload the situation of temperature anomalies inside the vehicle 2. The recording instruction, positioning instruction, and upload instruction can refer to the recording instruction, positioning instruction, and upload instruction disclosed in Scenario 1 and will not be elaborated here.
[0071] It can be seen that in this scenario, the temperature sensor built into the terminal 1 can effectively collect the temperature data inside the vehicle 2, thereby accurately judging the vehicle fault situation of the abnormal temperature of the vehicle 2, and generating corresponding control instructions through the terminal 1 to precisely control the terminal 1 and the vehicle 2 to respond to the fault situation of the abnormal temperature inside the vehicle 2. Through the collaborative work of the terminal 1 and the vehicle 2, personal comfort and safety can be ensured without adding extra sensors and controllers, which can effectively improve the applicability of the vehicle 2.
[0072] Scenario Four
[0073] The terminal 1 obtains the pressure data collected by the pressure sensor in the kernel layer 111. This pressure data is the first vehicle data, and the pressure data is used to reflect the air pressure inside the vehicle 2. The kernel layer 111 transfers the pressure data to the framework layer 112. If the framework layer 112 determines that the terminal 1 and the vehicle 2 are in a connected state, it performs noise reduction processing on the pressure data and transfers the pressure data after noise reduction processing to the Application layer 113. At this time, the Application layer 113 starts to analyze the pressure data. Specifically, if the pressure exceeds the preset safety range, it indicates that the vehicle 2 may have an accident such as falling into water.
[0074] The Framework layer 112 transfers the pressure data to the Application layer 113. At this time, the Application layer 113 can analyze the vehicle situation corresponding to the vehicle 2 based on the pressure data. For example, if the pressure increases and exceeds the preset safety range, it may be the situation that the vehicle 2 falls into a river. At this time, the Application layer 113 generates corresponding vehicle instructions according to the vehicle situation. The vehicle instructions mainly include vehicle hardware control instructions for controlling each hardware of the vehicle 2 to make responses. For example, vehicle instructions such as opening the sunroof and turning off the engine are generated. The Application layer 113 sends the vehicle instructions to the vehicle 2 to control the corresponding hardware to work, such as controlling the opening of the sunroof and turning off the engine.
[0075] Correspondingly, the Application layer 113 also needs to generate corresponding terminal instructions according to the pressure data. For example, an alarm instruction is generated. The alarm instruction generated in this scenario can refer to the alarm instruction mentioned in Scenario One, which will not be elaborated here.
[0076] In the embodiment of the present application, the terminal instructions can also include a recording instruction, a positioning instruction, and an upload instruction to record and upload the situation of abnormal air pressure inside the vehicle 2. The recording instruction, the positioning instruction, and the upload instruction can refer to the recording instruction, the positioning instruction, and the upload instruction disclosed in Scenario One, which will not be elaborated here.
[0077] It can be seen that in this scenario, the pressure sensor built into the terminal 1 can effectively collect the pressure data inside the vehicle 2, thereby accurately judging the vehicle fault situation of abnormal air pressure in the vehicle 2, and generating corresponding control instructions through the terminal 1 to precisely control the terminal 1 and the vehicle 2 to respond to the fault situation of abnormal air pressure inside the vehicle 2. Through the collaborative work of the terminal 1 and the vehicle 2, personal comfort and safety can be ensured without the need to additionally add sensors and controllers, which can effectively improve the applicability of the vehicle 2.
[0078] Only a few examples are given in the embodiments of this application. It is also possible to monitor more types of vehicle conditions of the vehicle 2 by combining the sensor 101 of the terminal 1 and the sensor 201 of the vehicle 2. At the same time, as the functions of the terminal 1 are improved, the types of the sensor 101 will gradually increase, and the data analysis ability can be significantly improved, so that the vehicle control method provided by this application can achieve more accurate and effective effects.
[0079] The above specific implementation manners further elaborate on the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only the specific implementation manners of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention shall be included in the protection scope of the present invention.
Claims
1. A vehicle control method, characterized in that, The method includes: The terminal obtains first vehicle data collected by the sensors of the terminal at the kernel layer; The terminal receives second vehicle data collected by the sensors of the vehicle through a wireless network at the framework layer; The terminal analyzes the first vehicle data and the second vehicle data at the application layer to determine the vehicle environment of the vehicle; The terminal generates a terminal instruction and a vehicle instruction according to the vehicle environment of the vehicle at the application layer; The terminal responds to the terminal instruction and sends the vehicle instruction to the vehicle through a wireless network, so that the vehicle responds to the vehicle instruction; there is no controller on the vehicle for generating vehicle instructions based on vehicle data, and the terminal is a mobile terminal.
2. The method according to claim 1, wherein The method further includes: The terminal detects whether it is connected to the vehicle through a wireless network at the framework layer.
3. The method according to claim 1, wherein The terminal performs noise reduction processing on the first vehicle data and the second vehicle data at the framework layer.
4. The method according to claim 1, wherein The sensors of the terminal include an acceleration sensor, a pressure sensor, a gas sensor, a temperature sensor, and a humidity sensor; the sensors of the vehicle include a collision sensor.
5. The method according to claim 1, wherein The terminal instruction includes an alarm instruction, and the terminal's response to the terminal instruction includes: The terminal responds to the alarm instruction, emits a sound warning, and sends an alarm message.
6. The method according to claim 5, characterized in that, Before the terminal responds to the alarm instruction, it further includes: Generating a response inquiry prompt; If the terminal receives a cancellation response instruction within a preset time, it cancels emitting a sound warning and sending an alarm message.
7. The method according to claim 1, wherein The terminal instructions include a recording instruction, a positioning instruction, and an upload instruction, and the terminal's response to the terminal instructions includes: The terminal responds to the recording instruction, the positioning instruction, and the upload instruction, turns on the audio-video recording module to record the audio-video data of the vehicle, obtains the geographical location of the vehicle, and uploads the audio-video data and the geographical location.
8. The method according to claim 1, wherein The vehicle instruction includes a vehicle hardware control instruction.
9. A vehicle control method, characterized in that, The method includes: The vehicle obtains second vehicle data collected by the sensors of the vehicle; The vehicle sends the second vehicle data to the terminal through a wireless network, so that the terminal generates a vehicle instruction according to the second vehicle data and the first vehicle data collected by the sensors of the terminal; The vehicle receives the vehicle instruction sent by the terminal; The vehicle responds to the vehicle instruction; there is no controller on the vehicle for generating vehicle instructions based on vehicle data, and the terminal is a mobile terminal.
10. A vehicle control system, characterized in that, The system includes a terminal and a vehicle; The terminal is used to execute the method described in any one of claims 1-8, and the vehicle is used to execute the method described in claim 9.
Citation Information
Patent Citations
Vehicle early warning method, device and system
CN108243217A
Control method and control device of vehicle, vehicle-mounted chip and computer storage medium
CN110329261A