Vehicle and air conditioner control system and control method thereof

文档序号:1474175 发布日期:2020-02-25 浏览:11次 中文

阅读说明:本技术 车辆及其空调控制系统、控制方法 (Vehicle and air conditioner control system and control method thereof ) 是由 张路 丁金卫 于 2018-08-15 设计创作,主要内容包括:本发明提出一种车辆及其空调控制系统、控制方法,其中,空调控制系统包括:检测模块、车载多媒体和空调模块,检测模块检测车内的环境以生成车内的环境数据,并发送至车上通信总线;车载多媒体通过车上通信总线获取车内的环境数据,并与预设环境数据进行匹配,在车内的环境数据与预设环境数据未匹配时,向车上通信总线发送预设环境数据;空调模块通过车上通信总线获取预设环境数据,并对车内环境进行调节,以使在车内的环境数据与预设环境数据相匹配。该系统可以在车内的环境数据与预设环境数据不匹配时,通过车载多媒体自动控制车载空调对车内环境进行调节,从而可以为驾乘人员提供更舒适、健康的车内环境,且不会分散驾驶员的注意力。(The invention provides a vehicle and an air conditioner control system and a control method thereof, wherein the air conditioner control system comprises: the system comprises a detection module, a vehicle-mounted multimedia and air conditioning module and a vehicle-mounted communication bus, wherein the detection module detects the environment in the vehicle to generate environment data in the vehicle and sends the environment data to the vehicle-mounted communication bus; the vehicle-mounted multimedia acquires environment data in the vehicle through the vehicle-mounted communication bus, matches the environment data with preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data; the air conditioning module acquires preset environment data through the vehicle-mounted communication bus and adjusts the environment in the vehicle so that the environment data in the vehicle is matched with the preset environment data. The system can adjust the environment in the vehicle through the vehicle-mounted multimedia automatic control vehicle-mounted air conditioner when the environmental data in the vehicle is not matched with the preset environmental data, so that the more comfortable and healthy environment in the vehicle can be provided for drivers and passengers, and the attention of drivers can not be dispersed.)

1. An air conditioning control system of a vehicle, comprising a detection module, a vehicle-mounted multimedia and an air conditioning module, wherein the vehicle-mounted multimedia is communicated with the detection module and the air conditioning module through an on-vehicle communication bus,

the detection module detects the environment in the vehicle to generate the environment data in the vehicle and sends the environment data in the vehicle to the on-vehicle communication bus;

the vehicle-mounted multimedia acquires environment data in a vehicle through the vehicle-mounted communication bus, matches the environment data in the vehicle with preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data;

the air conditioning module acquires the preset environment data through the on-vehicle communication bus and adjusts the environment in the vehicle according to the preset environment data so that the environment data in the vehicle is matched with the preset environment data.

2. The air conditioning control system of a vehicle according to claim 1, wherein the in-vehicle environment data includes a current temperature and/or a current humidity in the vehicle, and the preset environment data includes a preset temperature and/or a preset humidity, wherein,

and when the difference value between the current temperature in the vehicle and the preset temperature is greater than a preset temperature threshold value, or the difference value between the current humidity in the vehicle and the preset humidity is greater than a preset humidity threshold value, determining that the environmental data in the vehicle is not matched with the preset environmental data.

3. The air conditioning control system of a vehicle according to claim 1, characterized by further comprising:

and the processing module is connected with the detection module and used for processing the environmental data in the vehicle and uploading the processed environmental data in the vehicle to the on-vehicle communication bus.

4. The air conditioning control system of a vehicle according to claim 1, wherein the on-vehicle communication bus has a plurality of communication networks, wherein,

when the air conditioning module and the vehicle-mounted multimedia are in the same communication network, the air conditioning module acquires the preset environment data through the same communication network;

and when the air conditioning module and the vehicle-mounted multimedia are not in the same communication network, the air conditioning module acquires the preset environment data through a gateway.

5. The air conditioning control system of a vehicle according to claim 1,

the air conditioning module also generates a control result after adjusting the environment in the vehicle and sends the control result to the on-vehicle communication bus;

and the vehicle-mounted multimedia receives the control result through the vehicle-mounted communication bus and displays the control result according to the control result.

6. A vehicle characterized by comprising the air conditioning control system of the vehicle according to any one of claims 1 to 5.

7. An air conditioning control method of a vehicle, characterized by comprising the steps of:

detecting the environment in the vehicle to generate environment data in the vehicle, and sending the environment data in the vehicle to a vehicle communication bus;

the vehicle-mounted multimedia acquires environment data in a vehicle through the vehicle-mounted communication bus, matches the environment data in the vehicle with preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data;

the air conditioning module acquires the preset environment data through the on-vehicle communication bus and adjusts the environment in the vehicle according to the preset environment data so that the environment data in the vehicle is matched with the preset environment data.

8. The air conditioning control method of a vehicle according to claim 7, wherein the in-vehicle environment data includes a current temperature and/or a current humidity in the vehicle, and the preset environment data includes a preset temperature and/or a preset humidity, wherein the matching the in-vehicle environment data with the preset environment data includes:

and when the difference value between the current temperature in the vehicle and the preset temperature is greater than a preset temperature threshold value, or the difference value between the current humidity in the vehicle and the preset humidity is greater than a preset humidity threshold value, determining that the environmental data in the vehicle is not matched with the preset environmental data.

9. The air conditioning control method of a vehicle according to claim 7, further comprising, after detecting an environment in a vehicle to generate the in-vehicle environment data:

processing environmental data in the vehicle;

and uploading the processed environment data in the vehicle to the on-vehicle communication bus.

10. The air conditioning control method of the vehicle according to claim 7, wherein the on-vehicle communication bus has a plurality of communication networks, the method further comprising:

judging whether the air conditioning module and the vehicle-mounted multimedia are in the same communication network;

if the air conditioning module and the vehicle-mounted multimedia are in the same communication network, the air conditioning module acquires the preset environment data through the same communication network;

and if the air conditioning module and the vehicle-mounted multimedia are not in the same communication network, the air conditioning module acquires the preset environment data through a gateway.

11. The air conditioning control method of the vehicle according to claim 7, characterized by further comprising:

the air conditioning module also generates a control result after adjusting the environment in the vehicle and sends the control result to the on-vehicle communication bus;

and the vehicle-mounted multimedia receives the control result through the vehicle-mounted communication bus and displays the control result according to the control result.

12. A non-transitory computer-readable storage medium, characterized in that an air-conditioning control program of a vehicle is stored thereon, which when executed by a processor, implements an air-conditioning control method of a vehicle according to any one of claims 7 to 11.

Technical Field

The present invention relates to the field of automotive technologies, and in particular, to an air conditioning control system for a vehicle, an air conditioning control method for a vehicle, and a non-transitory computer-readable storage medium.

Background

Currently, the air conditioner temperature of the vehicle is generally regulated by the driver and the passenger through the following three ways: voice recognition, manual operation, App (Application program) remote control.

However, the above methods all have certain disadvantages, and in the driving process, if the driver adjusts the air-conditioning temperature of the vehicle through voice recognition, manual operation and App remote control, the attention of the driver on driving is affected, and especially under the condition of complex road conditions, the method has great potential safety hazards. Moreover, the existing voice recognition technology is difficult to achieve the expected temperature comfortable and ideal for the vehicle owner, for example, the vehicle owner issues a turn-down instruction, which actually corresponds to the lowest temperature of the air conditioner, if the driver and the passenger have nonstandard Mandarin, the air conditioner is difficult to control through the voice technology recognition, the expected recognition result is difficult to achieve, and the user experience is seriously influenced.

Disclosure of Invention

The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.

Therefore, a first objective of the present invention is to provide an air conditioning control system for a vehicle, which can automatically control a vehicle air conditioner to adjust an environment in the vehicle through a vehicle-mounted multimedia when the environment data in the vehicle does not match with preset environment data, so as to provide a more comfortable and healthy environment in the vehicle for a driver and a passenger without distracting the driver.

A second object of the invention is to propose a vehicle.

A third object of the present invention is to provide an air conditioning control method of a vehicle.

A fourth object of the invention is to propose a non-transitory computer-readable storage medium.

In order to achieve the above object, an embodiment of a first aspect of the present invention provides an air conditioning control system for a vehicle, including a detection module, a vehicle-mounted multimedia and an air conditioning module, where the vehicle-mounted multimedia is communicated with the detection module and the air conditioning module through an on-vehicle communication bus, and the detection module detects an environment in the vehicle to generate environmental data in the vehicle and sends the environmental data in the vehicle to the on-vehicle communication bus; the vehicle-mounted multimedia acquires environment data in a vehicle through the vehicle-mounted communication bus, matches the environment data in the vehicle with preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data; the air conditioning module acquires the preset environment data through the on-vehicle communication bus and adjusts the environment in the vehicle according to the preset environment data so that the environment data in the vehicle is matched with the preset environment data.

According to the air-conditioning control system of the vehicle, the environment in the vehicle is detected through the detection module to generate the environment data in the vehicle, the environment data in the vehicle is sent to the on-vehicle communication bus, the on-vehicle multimedia obtains the environment data in the vehicle through the on-vehicle communication bus, the environment data in the vehicle is matched with the preset environment data, when the environment data in the vehicle is not matched with the preset environment data, the preset environment data is sent to the on-vehicle communication bus, the air-conditioning module obtains the preset environment data through the on-vehicle communication bus, and the environment in the vehicle is adjusted according to the preset environment data, so that the environment data in the vehicle is matched with the preset environment data. From this, this system can adjust the car internal environment through on-vehicle multimedia automatic control vehicle-mounted air conditioner when the environmental data in the car and preset the environmental data and mismatch to can provide more comfortable, healthy car internal environment for driver and crew, and can not disperse driver's attention.

In addition, the air conditioning control system for a vehicle according to the above embodiment of the present invention may further have the following additional technical features:

according to an embodiment of the present invention, the environment data in the vehicle includes a current temperature and/or a current humidity in the vehicle, and the preset environment data includes a preset temperature and/or a preset humidity, wherein when a difference between the current temperature and the preset temperature in the vehicle is greater than a preset temperature threshold, or a difference between the current humidity and the preset humidity in the vehicle is greater than a preset humidity threshold, it is determined that the environment data in the vehicle is not matched with the preset environment data.

According to an embodiment of the present invention, the air conditioning control system of the vehicle described above further includes: and the processing module is connected with the detection module and used for processing the environmental data in the vehicle and uploading the processed environmental data in the vehicle to the on-vehicle communication bus.

According to one embodiment of the invention, the on-vehicle communication bus is provided with a plurality of communication networks, wherein when the air conditioning module and the on-vehicle multimedia are in the same communication network, the air conditioning module acquires the preset environment data through the same communication network; and when the air conditioning module and the vehicle-mounted multimedia are not in the same communication network, the air conditioning module acquires the preset environment data through a gateway.

According to one embodiment of the invention, after the air conditioning module regulates the environment in the vehicle, a control result is generated and sent to the on-vehicle communication bus; and the vehicle-mounted multimedia receives the control result through the vehicle-mounted communication bus and displays the control result according to the control result.

In order to achieve the above object, an embodiment of a second aspect of the present invention provides a vehicle including the air conditioning control system of the vehicle according to the embodiment of the first aspect of the present invention.

According to the vehicle provided by the embodiment of the invention, through the air conditioner control system of the vehicle, when the environmental data in the vehicle is not matched with the preset environmental data, the vehicle-mounted air conditioner can be automatically controlled through the vehicle-mounted multimedia to regulate the environment in the vehicle, so that a more comfortable and healthy environment in the vehicle can be provided for drivers and passengers, and the attention of the driver cannot be dispersed.

To achieve the above object, a third aspect of the present invention provides an air conditioning control method for a vehicle, including: detecting the environment in the vehicle to generate environment data in the vehicle, and sending the environment data in the vehicle to a vehicle communication bus; the vehicle-mounted multimedia acquires environment data in a vehicle through the vehicle-mounted communication bus, matches the environment data in the vehicle with preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data; the air conditioning module acquires the preset environment data through the on-vehicle communication bus and adjusts the environment in the vehicle according to the preset environment data so that the environment data in the vehicle is matched with the preset environment data.

According to the air-conditioning control method of the vehicle, the environment in the vehicle is detected to generate the environment data in the vehicle, the environment data in the vehicle is sent to the vehicle-mounted communication bus, the vehicle-mounted multimedia obtains the environment data in the vehicle through the vehicle-mounted communication bus, the environment data in the vehicle is matched with the preset environment data, the preset environment data is sent to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data, and finally the air-conditioning module obtains the preset environment data through the vehicle-mounted communication bus and adjusts the environment in the vehicle according to the preset environment data, so that the environment data in the vehicle is matched with the preset environment data. Therefore, the method can automatically control the vehicle-mounted air conditioner to adjust the environment in the vehicle through the vehicle-mounted multimedia when the environmental data in the vehicle is not matched with the preset environmental data, so that a more comfortable and healthy environment in the vehicle can be provided for drivers and passengers, and the attention of a driver cannot be dispersed.

In addition, the air conditioning control method for the vehicle according to the above embodiment of the present invention may further have the following additional technical features:

according to an embodiment of the present invention, the in-vehicle environment data includes a current temperature and/or a current humidity in the vehicle, and the preset environment data includes a preset temperature and/or a preset humidity, wherein the matching the in-vehicle environment data with the preset environment data includes: and when the difference value between the current temperature in the vehicle and the preset temperature is greater than a preset temperature threshold value, or the difference value between the current humidity in the vehicle and the preset humidity is greater than a preset humidity threshold value, determining that the environmental data in the vehicle is not matched with the preset environmental data.

According to one embodiment of the invention, after detecting the environment in the vehicle to generate the environment data in the vehicle, the method further comprises the following steps: processing environmental data in the vehicle; and uploading the processed environment data in the vehicle to the on-vehicle communication bus.

According to one embodiment of the invention, the on-board communication bus has a plurality of communication networks, the method further comprising: judging whether the air conditioning module and the vehicle-mounted multimedia are in the same communication network; if the air conditioning module and the vehicle-mounted multimedia are in the same communication network, the air conditioning module acquires the preset environment data through the same communication network; and if the air conditioning module and the vehicle-mounted multimedia are not in the same communication network, the air conditioning module acquires the preset environment data through a gateway.

According to an embodiment of the present invention, the air conditioning control method of a vehicle described above further includes: the air conditioning module also generates a control result after adjusting the environment in the vehicle and sends the control result to the on-vehicle communication bus; and the vehicle-mounted multimedia receives the control result through the vehicle-mounted communication bus and displays the control result according to the control result.

In order to achieve the above object, a fourth aspect embodiment of the present invention proposes a non-transitory computer-readable storage medium having stored thereon an air-conditioning control program of a vehicle, which when executed by a processor implements an air-conditioning control method of a vehicle as described in the third aspect embodiment of the present invention.

The non-transitory computer readable storage medium of an embodiment of the present invention, when an air conditioner control program of a vehicle stored thereon is executed by a processor, first detects an environment in the vehicle to generate environment data in the vehicle, and transmits the environment data in the vehicle to an onboard communication bus, then a vehicle-mounted multimedia acquires the environment data in the vehicle through the onboard communication bus, and matches the environment data in the vehicle with preset environment data, and when the environment data in the vehicle is not matched with the preset environment data, transmits the preset environment data to the onboard communication bus, and finally an air conditioner module acquires the preset environment data through the onboard communication bus, and adjusts an environment in the vehicle according to the preset environment data to match the environment data in the vehicle with the preset environment data, so that the vehicle-mounted air conditioner automatically controls the vehicle-mounted air conditioner to adjust the environment in the vehicle when the environment data in the vehicle is not matched with the preset environment data, provides more comfortable and healthy environment in the automobile for drivers and passengers, and does not distract the drivers.

Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Drawings

The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a block schematic diagram of an air conditioning control system of a vehicle according to one embodiment of the present invention;

2a-2b are block schematic diagrams of an air conditioning control system of a vehicle according to another embodiment of the present invention;

fig. 3 is a flowchart of an air conditioning control method of a vehicle according to an embodiment of the present invention; and

fig. 4 is a flowchart of an air conditioning control method of a vehicle according to another embodiment of the present invention.

Detailed Description

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.

An air conditioning control system of a vehicle, an air conditioning control method of a vehicle, and a non-transitory computer-readable storage medium according to embodiments of the present invention are described below with reference to the drawings.

Fig. 1 is a block schematic diagram of an air conditioning control system of a vehicle according to one embodiment of the present invention. As shown in fig. 1, the control system includes: a detection module 10, an in-vehicle multimedia 20, and an air conditioning module 30.

Wherein, the multimedia 20 communicates with the detection module 10 and the air conditioning module 20 through the communication bus on the vehicle. The detection module 10 detects an environment in the vehicle to generate environment data in the vehicle, and transmits the environment data in the vehicle to the on-vehicle communication bus. The vehicle-mounted multimedia 20 acquires the in-vehicle environment data through the in-vehicle communication bus, matches the in-vehicle environment data with the preset environment data, and sends the preset environment data to the in-vehicle communication bus when the in-vehicle environment data is not matched with the preset environment data. The air conditioning module 30 acquires preset environmental data through the on-vehicle communication bus, and adjusts the in-vehicle environment according to the preset environmental data, so that the environmental data in the vehicle matches with the preset environmental data.

Specifically, the on-vehicle communication bus may be a CAN (Controller Area Network) bus, the detection module 10 may include a temperature and humidity sensor, and the in-vehicle environment data may include a temperature and a humidity in the vehicle. The default value of the preset environment data can be preset in the vehicle-mounted multimedia 20 according to the medical temperature and humidity health value of the human body, and certainly, the user can also automatically set the preset environment data by operating a touch screen, a key or a knob of the vehicle-mounted multimedia 20 according to the preference of the user.

The detection module 10 detects environmental data in the vehicle in real time and uploads it to the on-board communication bus. The vehicle-mounted multimedia 20 can acquire the environmental data in the vehicle through the vehicle-mounted communication bus and compare the environmental data with the preset environmental data, if the environmental data in the vehicle is not matched with the preset environmental data, the vehicle-mounted multimedia 20 sends the preset environmental data to the vehicle-mounted communication bus, so that the air conditioning module 30 acquires the preset environmental data through the vehicle-mounted communication bus and controls the vehicle-mounted air conditioner according to the preset environmental data, and the temperature and humidity value in the vehicle can reach the preset values as soon as possible. If the in-vehicle environment data matches the preset environment data, the in-vehicle multimedia 20 does not need to transmit the preset environment data to the in-vehicle communication bus. From this, this system can adjust the car internal environment through on-vehicle multimedia automatic control vehicle-mounted air conditioner when the environmental data in the car and preset the environmental data and mismatch to can provide more comfortable, healthy car internal environment for driver and crew, and can not disperse driver's attention.

According to an embodiment of the present invention, as shown in fig. 2a-2b, the air conditioning control system of the vehicle may further include: a processing module 40. The processing module 40 is connected to the detection module 10, and the processing module 40 is configured to process the in-vehicle environment data and upload the processed in-vehicle environment data to the in-vehicle communication bus.

Specifically, the processing module 40 may convert the environmental data in the vehicle detected by the detecting module into a CAN packet format, and upload the data to a vehicle communication bus (CAN bus) of the vehicle according to a CAN protocol.

According to one embodiment of the invention, the environment data in the vehicle comprises a current temperature and/or a current humidity in the vehicle, and the preset environment data comprises a preset temperature and/or a preset humidity, wherein when a difference value between the current temperature and the preset temperature in the vehicle is greater than a preset temperature threshold value, or a difference value between the current humidity and the preset humidity in the vehicle is greater than a preset humidity threshold value, it is determined that the environment data in the vehicle is not matched with the preset environment data.

Specifically, if | the current temperature-preset temperature | in the vehicle is greater than a preset temperature threshold, or | the current humidity-preset humidity | in the vehicle is greater than a preset humidity threshold, it indicates that the difference between the current temperature in the vehicle and the preset temperature is large, or the difference between the humidity in the vehicle and the preset humidity is large, and it is determined that the environmental data in the vehicle is not matched with the preset environmental data. The preset temperature and the preset humidity can be preset according to actual conditions.

According to one embodiment of the present invention, the on-vehicle communication bus has a plurality of communication networks, wherein, when the air conditioning module 30 is in the same communication network as the on-vehicle multimedia 20, the air conditioning module 30 acquires the preset environment data through the same communication network (fig. 2 a); when the air conditioning module 30 and the in-vehicle multimedia 02 are not in the same communication network, the air conditioning module 30 acquires the preset environment data through the gateway 50 (fig. 2 b).

Specifically, in modules in different communication networks, the baud laws of the CAN messages are different, so that the messages of another network cannot be received; and CAN messages CAN be processed among modules in the same communication network. Therefore, in the present invention, as shown in fig. 2a, when the environment data in the vehicle is not matched with the preset environment data, the vehicle-mounted multimedia 20 may directly send the preset environment data to a corresponding communication network, such as a comfort network, in the form of a CAN message, and if the air conditioning module 30 is also under the comfort network, the air conditioning module 30 may directly obtain the message sent by the vehicle-mounted multimedia 20 through the comfort network (fig. 2 a); if the air conditioning module 30 is not under the comfort network, the gateway 50 is required to forward the message, and the air conditioning module 30 obtains the message sent by the multimedia 20 through the gateway (fig. 2 b).

According to an embodiment of the present invention, after the air conditioning module 30 adjusts the environment inside the vehicle, it also generates a control result and sends the control result to the on-vehicle communication bus; the on-vehicle multimedia 20 receives the control result through the on-vehicle communication bus and displays according to the control result.

Specifically, if the temperature and humidity values in the vehicle are not matched with the preset temperature and humidity values, the vehicle-mounted multimedia 20 sends the preset temperature and humidity values to the vehicle-mounted communication bus, so that the air conditioning module 30 obtains the preset temperature and humidity values through the vehicle-mounted communication bus, and controls the vehicle-mounted air conditioner according to the preset temperature and humidity values, so that the temperature and humidity values in the vehicle reach the preset temperature and humidity values as soon as possible. After the air conditioning module 30 adjusts the environment in the vehicle, a corresponding control result is generated and sent to the on-vehicle communication bus, and the on-vehicle multimedia 20 obtains the control result through the on-vehicle communication bus and displays the control result according to a control on-vehicle UI (User Interface).

In summary, according to the air conditioning control system of the vehicle in the embodiment of the present invention, the detection module detects the environment in the vehicle to generate the environment data in the vehicle, and sends the environment data in the vehicle to the vehicle communication bus, the vehicle-mounted multimedia acquires the environment data in the vehicle through the vehicle communication bus, and matches the environment data in the vehicle with the preset environment data, and when the environment data in the vehicle is not matched with the preset environment data, the air conditioning module sends the preset environment data to the vehicle communication bus, and acquires the preset environment data through the vehicle communication bus, and adjusts the environment in the vehicle according to the preset environment data, so that the environment data in the vehicle is matched with the preset environment data. From this, this system can adjust the car internal environment through on-vehicle multimedia automatic control vehicle-mounted air conditioner when the environmental data in the car and preset the environmental data and mismatch to can provide more comfortable, healthy car internal environment for driver and crew, and can not disperse driver's attention.

In addition, the invention also provides a vehicle, which comprises the air conditioning control system of the vehicle.

According to the vehicle provided by the embodiment of the invention, through the air conditioner control system of the vehicle, when the environmental data in the vehicle is not matched with the preset environmental data, the vehicle-mounted air conditioner can be automatically controlled through the vehicle-mounted multimedia to regulate the environment in the vehicle, so that a more comfortable and healthy environment in the vehicle can be provided for drivers and passengers, and the attention of the driver cannot be dispersed.

Fig. 3 is a flowchart of an air conditioning control method of a vehicle according to one embodiment of the present invention. As shown in fig. 3, the method comprises the steps of:

and S1, detecting the environment in the vehicle to generate environment data in the vehicle, and sending the environment data in the vehicle to the on-vehicle communication bus.

And S2, the vehicle-mounted multimedia acquires the environment data in the vehicle through the vehicle-mounted communication bus, matches the environment data in the vehicle with the preset environment data, and sends the preset environment data to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data.

Further, according to an embodiment of the present invention, the environment data in the vehicle includes a current temperature and/or a current humidity in the vehicle, and the preset environment data includes a preset temperature and/or a preset humidity, wherein matching the environment data in the vehicle with the preset environment data may include: and when the difference value between the current temperature in the vehicle and the preset temperature is greater than a preset temperature threshold value, or the difference value between the current humidity in the vehicle and the preset humidity is greater than a preset humidity threshold value, determining that the environmental data in the vehicle is not matched with the preset environmental data.

Specifically, if | the current temperature-preset temperature | in the vehicle is greater than the preset temperature threshold, or | the current humidity-preset humidity | in the vehicle is greater than the preset humidity threshold, it indicates that the difference between the current temperature in the vehicle and the preset temperature is large, or the difference between the humidity in the vehicle and the preset humidity is large, and it is determined that the environmental data in the vehicle is not matched with the preset environmental data. The preset temperature and the preset humidity can be preset according to actual conditions.

And S3, the air conditioning module acquires preset environment data through the vehicle-mounted communication bus and adjusts the environment in the vehicle according to the preset environment data so that the environment data in the vehicle is matched with the preset environment data.

Specifically, the on-vehicle communication bus may be a CAN (Controller Area Network) bus, and the in-vehicle environment data may include temperature and humidity in the vehicle. The default value of the preset environment data can be preset in the vehicle-mounted multimedia according to the medical temperature and humidity health value of a human body, and certainly, the user can also automatically set the preset environment data by operating a touch screen, a key or a knob and the like of the vehicle-mounted multimedia according to own favor.

And detecting the temperature and humidity values in the vehicle in real time and uploading the temperature and humidity values to an on-vehicle communication bus. The vehicle-mounted multimedia can acquire the temperature and the humidity value in the vehicle through the vehicle-mounted communication bus, and compare the temperature and the humidity value with the preset temperature and humidity value, if the temperature and the humidity value in the vehicle are not matched with the preset temperature and humidity value, the vehicle-mounted multimedia sends the preset temperature and humidity value to the vehicle-mounted communication bus, so that the air conditioning module acquires the preset temperature and humidity value through the vehicle-mounted communication bus, and controls the vehicle-mounted air conditioner according to the preset temperature and humidity value, so that the temperature and the humidity value in the vehicle reach the preset temperature and humidity value as soon as possible. If the temperature and humidity value in the vehicle are matched with the preset temperature and humidity value, the vehicle-mounted multimedia does not need to send the preset temperature and humidity value to the vehicle-mounted communication bus. From this, can be when environmental data in the car and predetermine the environmental data and mismatch, adjust the car internal environment through on-vehicle multimedia automatic control vehicle-mounted air conditioner to can provide more comfortable, healthy car internal environment for driver and crew, and can not disperse driver's attention.

According to an embodiment of the present invention, after detecting the environment inside the vehicle to generate the environment data inside the vehicle, the method may further include: processing environmental data in the vehicle; and uploading the processed environment data in the vehicle to an on-vehicle communication bus.

Specifically, the detected environmental data in the vehicle CAN be converted into a CAN message format packet and uploaded to a vehicle communication bus (CAN bus) of the vehicle according to a CAN protocol.

According to an embodiment of the present invention, the on-board communication bus has a plurality of communication networks, as shown in fig. 4, and the method may further include:

and S10, judging whether the air conditioning module and the vehicle-mounted multimedia are in the same communication network.

And S20, if the air conditioning module and the vehicle-mounted multimedia are in the same communication network, the air conditioning module acquires preset environment data through the same communication network.

And S30, if the air conditioning module and the vehicle-mounted multimedia are not in the same communication network, the air conditioning module acquires preset environment data through the gateway.

Specifically, in modules in different communication networks, the baud laws of the CAN messages are different, so that the messages of another network cannot be received; and CAN messages CAN be processed among modules in the same communication network. Therefore, in the present invention, as shown in fig. 2a, when the environment data of the vehicle-mounted multimedia is not matched with the preset environment data, the preset environment data CAN be directly sent to the comfort network in the form of a CAN message, and if the air-conditioning module is also under the comfort network, the air-conditioning module CAN directly obtain the message sent by the vehicle-mounted multimedia through the comfort network (fig. 2 a); if the air conditioning module is not under the comfort network, the gateway is required to forward the message, and the air conditioning module acquires the message sent by the multimedia through the gateway (fig. 2 b).

According to an embodiment of the present invention, the method described above may further include: the air conditioning module also generates a control result after adjusting the environment in the vehicle and sends the control result to the on-vehicle communication bus; the vehicle-mounted multimedia receives the control result through the vehicle-mounted communication bus and displays the control result according to the control result.

Specifically, if the temperature and the humidity value in the vehicle are not matched with the preset temperature and humidity value, the vehicle-mounted multimedia sends the preset temperature and humidity value to the vehicle-mounted communication bus, so that the air conditioning module obtains the preset temperature and humidity value through the vehicle-mounted communication bus, and controls the vehicle-mounted air conditioner according to the preset temperature and humidity value, and the temperature and the humidity value in the vehicle reach the preset temperature and humidity value as soon as possible. After the air conditioning module regulates the environment in the vehicle, a corresponding control result is generated and sent to the on-vehicle communication bus, and the on-vehicle multimedia acquires the control result through the on-vehicle communication bus and displays the control result according to the control on-vehicle UI (U).

According to the air-conditioning control method of the vehicle, the environment in the vehicle is detected to generate the environment data in the vehicle, the environment data in the vehicle is sent to the vehicle-mounted communication bus, the vehicle-mounted multimedia obtains the environment data in the vehicle through the vehicle-mounted communication bus, the environment data in the vehicle is matched with the preset environment data, the preset environment data is sent to the vehicle-mounted communication bus when the environment data in the vehicle is not matched with the preset environment data, and finally the air-conditioning module obtains the preset environment data through the vehicle-mounted communication bus and adjusts the environment in the vehicle according to the preset environment data, so that the environment data in the vehicle is matched with the preset environment data. Therefore, the method can automatically control the vehicle-mounted air conditioner to adjust the environment in the vehicle through the vehicle-mounted multimedia when the environmental data in the vehicle is not matched with the preset environmental data, so that a more comfortable and healthy environment in the vehicle can be provided for drivers and passengers, and the attention of a driver cannot be dispersed.

Further, an embodiment of the present invention proposes a non-transitory computer-readable storage medium having stored thereon an air conditioning control program of a vehicle, which when executed by a processor implements the above-described air conditioning control method of the vehicle.

The non-transitory computer readable storage medium of an embodiment of the present invention, when an air conditioner control program of a vehicle stored thereon is executed by a processor, first detects an environment in the vehicle to generate environment data in the vehicle, and transmits the environment data in the vehicle to an onboard communication bus, then a vehicle-mounted multimedia acquires the environment data in the vehicle through the onboard communication bus, and matches the environment data in the vehicle with preset environment data, and when the environment data in the vehicle is not matched with the preset environment data, transmits the preset environment data to the onboard communication bus, and finally an air conditioner module acquires the preset environment data through the onboard communication bus, and adjusts an environment in the vehicle according to the preset environment data to match the environment data in the vehicle with the preset environment data, so that the vehicle-mounted air conditioner automatically controls the vehicle-mounted air conditioner to adjust the environment in the vehicle when the environment data in the vehicle is not matched with the preset environment data, provides more comfortable and healthy environment in the automobile for drivers and passengers, and does not distract the drivers.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.

The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.

It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种控制指示灯状态的方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!