Method and device for reminding rain gear in automobile and automobile

文档序号:1680884 发布日期:2020-01-03 浏览:14次 中文

阅读说明:本技术 一种车内雨具提醒方法、装置及汽车 (Method and device for reminding rain gear in automobile and automobile ) 是由 田崇河 于 2019-09-11 设计创作,主要内容包括:本发明公开一种车内雨具提醒方法、装置及汽车,包括:确定本车的当前行程的终点;获取与所述当前行程的终点对应的天气状态;根据所述天气状态获取车内的雨具状态;根据所述雨具状态和所述天气状态生成提示信息。利用本申请提供的技术方案能够根据综合天气信息、本车启动时间、本车行程信息、雨具盒有无雨具等等信息,给出驾驶员适当的提醒。当检测到车内没有雨具又有降水可能的时候给予驾驶员带伞提醒,当车内有雨具有降水可能,则根据淋雨可能性的大小在下车时给予不同层级的提醒,提升用户好感度。(The invention discloses a method and a device for reminding rain gear in a vehicle and the vehicle, comprising the following steps: determining the end point of the current travel of the vehicle; acquiring a weather state corresponding to the terminal of the current journey; acquiring the state of rain gears in the vehicle according to the weather state; and generating prompt information according to the rain gear state and the weather state. By using the technical scheme provided by the application, the driver can be reminded appropriately according to the comprehensive weather information, the starting time of the vehicle, the travel information of the vehicle, the existence of rain gears in a rain gear box and other information. When it is detected that no rain gear exists in the vehicle and precipitation is possible, the driver is reminded of taking the umbrella, and when rain is possible, the driver is reminded of taking the umbrella according to different levels when getting off the vehicle according to the rain possibility, so that the user friendliness is improved.)

1. A method for reminding a rain gear in a vehicle is characterized by comprising the following steps:

determining the end point of the current travel of the vehicle;

acquiring a weather state corresponding to the terminal of the current journey;

acquiring the state of rain gears in the vehicle according to the weather state;

and generating prompt information according to the rain gear state and the weather state.

2. The method of claim 1, wherein determining the end of the current travel of the host vehicle comprises:

acquiring vehicle history state information of a history period, wherein the vehicle history state information comprises: a historical trip and a historical time corresponding to the historical trip;

acquiring current state information of the vehicle, wherein the current state information comprises: a current location and a current time;

and determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

3. The method of claim 2, wherein the historical trip comprises: the starting point of the historical trip and the end point of the historical trip; the historical time includes: a historical trip start time corresponding to a start of the historical trip and a historical trip end time corresponding to an end of the historical trip;

the determining an end point of the current travel of the host vehicle according to the historical travel, the historical time, the current position, and the current time includes:

and if the difference value between the current time and the historical travel starting point time is smaller than a preset time threshold value and the distance deviation between the current position and the historical travel starting point is smaller than a preset distance threshold value, determining that the historical travel end point corresponding to the historical travel starting point is the current travel end point.

4. The method of claim 1, wherein generating a prompt based on the rain gear status and the weather status comprises:

and when the rain gear is in the vehicle and the weather state is rainfall or snowfall, generating first prompt information.

5. The method of claim 1, wherein generating a prompt based on the rain gear status and the weather status further comprises:

and when the rain gear is not in the vehicle and the weather state is a rainfall or snowfall state, generating second prompt information.

6. The utility model provides a device that rain gear reminded in car which characterized in that includes:

the current travel determining module is used for determining the end point of the current travel of the vehicle;

the weather state acquisition module is used for acquiring a weather state corresponding to the end point of the current journey;

the rain gear state acquisition module is used for acquiring the state of rain gears in the vehicle according to the weather state;

and the prompt information generating module is used for generating prompt information according to the rain gear state and the weather state.

7. The apparatus of claim 6, wherein the current trip determination module further comprises:

a history state information acquisition unit configured to acquire vehicle history state information of a vehicle history cycle, the vehicle history state information including: a historical trip and a historical time corresponding to the historical trip;

a current state information obtaining unit, configured to obtain current state information of a host vehicle, where the current state information includes: a current location and a current time;

and the current travel determining unit is used for determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

8. The utility model provides an electronic equipment that rain gear reminded in car which characterized in that includes:

a memory for storing a computer program;

a processor for implementing the in-vehicle rain gear alert method of any one of claims 1 to 5 when executing the computer program.

9. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and is loaded and executed by a processor to implement the in-vehicle rain gear alert method according to any one of claims 1 to 5.

10. A vehicle, characterized in that the vehicle is provided with a reminder assembly provided with a device according to claim 6 or 7.

Technical Field

The invention relates to the field of automobile reminding, in particular to a method and a device for reminding a rain gear in an automobile and the automobile.

Background

The rain gear box is designed on the front door of a part of the vehicle on the market, which is measured by a driver, can be used for accommodating a short-handle umbrella, and is provided with a water chute, rain water on the umbrella flows out of the vehicle to prevent wetting the interior of the vehicle.

The rain gear boxes in the market are not provided with sensors for detecting whether rain gears are stored or not, even if the rain gears are stored in the rain gear boxes in the automobile, most people do not care about weather conditions if the rain gears are not rained at that time, but the umbrella is forgotten in the automobile or other places in case of going to work or raining midway, and the rain gear boxes cannot play a role in sheltering from wind and rain.

Therefore, it is highly desirable to provide a technical solution for reminding the driver of the rain gear in the vehicle, which can give a suitable reminder to the driver according to the information such as the comprehensive weather information, the starting time of the vehicle, the travel information of the vehicle, the presence or absence of the rain gear in the rain gear box, and the like. When it is detected that no rain gear exists in the vehicle and precipitation is possible, the driver is reminded to take the umbrella, and when rain is possible, different levels of reminding are given when the driver gets off the vehicle according to the possibility of rain.

Disclosure of Invention

The specific technical scheme of the invention is as follows:

the invention provides a reminding method of rain gears in a vehicle, which comprises the following steps: determining the end point of the current travel of the vehicle;

acquiring a weather state corresponding to the terminal of the current journey;

acquiring the state of rain gears in the vehicle according to the weather state;

and generating prompt information according to the rain gear state and the weather state.

Further, the determining the end point of the current travel of the host vehicle includes:

acquiring vehicle history state information of a history period, wherein the vehicle history state information comprises: a historical trip and a historical time corresponding to the historical trip;

acquiring current state information of the vehicle, wherein the current state information comprises: a current location and a current time;

and determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

Further, the historical trip comprises: the starting point of the historical trip and the end point of the historical trip; the historical time includes: a historical trip start time corresponding to a start of the historical trip and a historical trip end time corresponding to an end of the historical trip;

the determining an end point of the current travel of the host vehicle according to the historical travel, the historical time, the current position, and the current time includes:

and if the difference value between the current time and the historical travel starting point time is smaller than a preset time threshold value and the distance deviation between the current position and the historical travel starting point is smaller than a preset distance threshold value, determining that the historical travel end point corresponding to the historical travel starting point is the current travel end point.

Further, the generating a prompt message according to the rain gear state and the weather state includes:

and when the rain gear is in the vehicle and the weather state is rainfall or snowfall, generating first prompt information.

Further, the generating a prompt message according to the rain gear state and the weather state further includes:

and when the rain gear is not in the vehicle and the weather state is a rainfall or snowfall state, generating second prompt information.

In another aspect, the present invention provides a device for reminding a rain gear in a vehicle, comprising:

the current travel determining module is used for determining the end point of the current travel of the vehicle;

the weather state acquisition module is used for acquiring a weather state corresponding to the end point of the current journey;

the rain gear state acquisition module is used for acquiring the state of rain gears in the vehicle according to the weather state;

and the prompt information generating module is used for generating prompt information according to the rain gear state and the weather state.

Further, the current trip determining module includes:

a history state information acquisition unit configured to acquire vehicle history state information of a vehicle history cycle, the vehicle history state information including: a historical trip and a historical time corresponding to the historical trip;

a current state information obtaining unit, configured to obtain current state information of a host vehicle, where the current state information includes: a current location and a current time;

and the current travel determining unit is used for determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

In another aspect, the present invention provides an electronic device for reminding a vehicle rain gear, including: a memory for storing a computer program; and the processor is used for realizing the steps of the in-vehicle rain gear reminding method when the computer program is executed.

In another aspect, the present invention provides a computer-readable storage medium, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and when the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor, the steps of the in-vehicle rain gear reminding method are implemented.

In another aspect, the invention provides an automobile provided with a prompting assembly, wherein the prompting assembly is provided with the device.

By adopting the technical scheme, the method and the device for reminding the rain gear in the automobile and the automobile have the following beneficial effects that:

1) the rain gear box is additionally provided with a sensor for sensing whether the rain gear is arranged in the rain gear box or not.

2) Under the condition of rain gear, the corresponding prompt information is generated by combining information such as precipitation possibility, the vehicle journey and the like, the driver and the passenger are reminded to carry the rain gear, the journey change caused by the precipitation is avoided, and the time utilization rate of the driver is improved.

Drawings

In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.

Fig. 1 is a flowchart of a method for reminding an in-vehicle rain gear according to an embodiment of the present invention;

fig. 2 is a schematic structural view of a vehicle interior rain gear reminding device according to an embodiment of the present invention;

fig. 3 is a schematic structural view of another in-vehicle rain gear reminding device according to an embodiment of the present invention;

fig. 4 is a structural diagram of an electronic device for reminding a rain gear in a vehicle according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.

The following describes a specific embodiment of an in-vehicle rain gear reminding method in this specification with a host vehicle as an execution subject, and fig. 1 is a flowchart of the in-vehicle rain gear reminding method provided by the embodiment of the present invention, as shown in fig. 1, the execution subject of the method may be the host vehicle, or may be an Electronic Control Unit (ECU) or a vehicle computer (Electronic Control Unit) of the host vehicle, and the present invention provides an in-vehicle rain gear reminding method, which includes:

s102, determining the end point of the current travel of the vehicle;

specifically, the end point of the current trip may directly reflect the end point position reached by the host vehicle. The terminal of the current journey can be confirmed according to the navigation system of the vehicle or an external navigation system, or can be confirmed according to the historical journey of the vehicle, wherein the external navigation system can be a terminal with a navigation function connected through wires or wireless, and the terminal can be a mobile phone and the like.

In some possible embodiments, the determining the end point of the current travel of the host vehicle may include:

s1022, obtaining vehicle history state information of the vehicle history cycle, where the vehicle history state information includes: a historical trip and a historical time corresponding to the historical trip;

specifically, the time length of the history period is not specifically limited in the embodiments of the present specification, and may be set according to a time requirement. Preferably, one day, one week or one month.

The ECU may acquire the entire history state information before the current time of the host vehicle or the host vehicle history state information in the history period, where the host vehicle history state information may include, but is not limited to: historical trips and historical times corresponding to the historical trips, wherein historical trips may include: the starting point of the historical trip and the ending point of the historical trip.

S1024, obtaining current state information of the vehicle, wherein the current state information comprises: a current location and a current time;

specifically, the current state information may include, but is not limited to: the current location and the current time. Wherein the current position may be determined by a positioning system or a navigation system of the host vehicle, etc.

And S1026, determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

Specifically, the ECU may determine the end point of the current course of the host vehicle from the history course, the history time, the current position, and the current time.

In some possible embodiments, the historical trip comprises: the starting point of the historical trip and the end point of the historical trip; the historical time includes: a historical trip start time corresponding to a start of the historical trip and a historical trip end time corresponding to an end of the historical trip;

the determining an end point of the current travel of the host vehicle according to the historical travel, the historical time, the current position, and the current time includes:

and if the difference value between the current time and the historical travel starting point time is smaller than a preset time threshold value and the distance deviation between the current position and the historical travel starting point is smaller than a preset distance threshold value, determining that the historical travel end point corresponding to the historical travel starting point is the current travel end point.

Specifically, the preset time threshold and the preset distance threshold are not specifically limited in this specification, and may be set according to actual needs.

The ECU may match the current position and the current time information with the history state information one by one, and suggest an evaluation rule of accumulating one score for an end point a3 of the history trip corresponding to a start point a2 of the history trip when a difference between the current time information and the history time information a1 is less than a preset time threshold and a deviation of the current position from a start point a2 of the history trip is less than a preset distance threshold, accumulating zero score for an end point a3 of the history trip corresponding to a start point a2 of the history trip if a difference between the previous time information and the history time information a1 is greater than a preset time threshold and a deviation of the current position from a start point a2 of the history trip is less than a preset distance threshold or a difference between the previous time information and the history time information a1 is less than a preset time threshold and a deviation of the current position from a start point a2 of the history trip is greater than a preset distance threshold, after the ECU compares the historical state information of each group one by one, the end point a3 of the historical travel with the highest score is selected as the end point of the current travel.

Illustratively, if the host vehicle is all 8: 00-8: 10 from the a location toward the B location and 8:30-8:40 to the B location, the ECU may determine that the host vehicle is about to drive toward the B location if the current time is 8:02 and the host vehicle is within a preset distance threshold from the a location.

S104, acquiring a weather state corresponding to the end point of the current journey;

specifically, the ECU may obtain a weather state corresponding to the end point of the current trip, where the weather state may reflect a weather condition of the end point of the current trip, and of course, the weather state may include: the weather is defined by meteorology such as rainfall, snowfall, etc. The weather state can be determined by a weather module of the vehicle or an external terminal. The weather condition may include a probability of precipitation per time period.

S106, acquiring the state of rain gears in the vehicle according to the weather state;

specifically, the rain gear in the vehicle may be disposed at any position in the vehicle, and the present specification is not particularly limited, and a preferred vehicle door is an interior of the vehicle. The rain gear state in the vehicle may include: the rain gear is arranged in the vehicle or the rain gear is not arranged in the vehicle. The rain gear status in the vehicle may be determined by a sensor in the rain gear box. The sensor may be a pressure sensor, or other sensor having interaction with rain, etc.

And S108, generating prompt information according to the rain gear state and the weather state.

Specifically, the prompt information can prompt the driver through one or more of a display screen, a light alarm unit or a sound alarm unit.

In some possible embodiments, the generating a prompt message according to the rain gear state and the weather state includes:

and when the rain gear is in the vehicle and the weather state is rainfall or snowfall, generating first prompt information.

In some possible embodiments, the generating a prompt message according to the engine start-stop state, the rain gear state, and the weather state further includes:

and when the rain gear is not in the vehicle and the weather state is a rainfall or snowfall state, generating second prompt information.

Specifically, the ECU may generate corresponding prompt information according to an engine start-stop state, the rain gear state, and the weather state.

Illustratively, if the host vehicle is all 8: 00-8: 10 from the a position to the B position, and from 8:30 to 8:40 to the B position, if the current time is 8:02 and the host vehicle is within the preset distance threshold from the a position, the ECU may determine that the host vehicle is about to drive to the B position, if the obtained weather conditions are 8: when the vehicle reaches the position B, the ECU generates first prompt information when the engine of the vehicle is changed from the original starting state to the stopped state, and the first prompt information can be used for prompting a driver to carry the rain gear when getting off the vehicle. Of course, the first prompt message may be generated after the host vehicle reaches the preset distance of the current journey. The preset distance can be set according to actual needs. Illustratively, the predetermined distance is 100 meters.

Illustratively, if the host vehicle is all 8: 00-8: 10 from the a position to the B position, and from 8:30 to 8:40 to the B position, if the current time is 8:02 and the host vehicle is within the preset distance threshold from the a position, the ECU may determine that the host vehicle is about to drive to the B position, if the obtained weather conditions are 8: and 35, when the rain gear is raining, generating second prompt information by the ECU if the rain gear is not in the vehicle, wherein the second prompt information can be used for prompting a driver to carry the rain gear. Of course, the second prompt message may be generated at a preset time after the engine is started. The preset time can be set according to actual needs. Illustratively, the preset time is 5 seconds.

The invention determines the end point of the current travel through the historical travel information in the historical period, acquires the weather state of the end point of the current travel, and prompts a driver to carry rain gear when the weather state is rainfall or snowfall, thereby avoiding the good sensitivity of the driver or accompanying personnel caused by rainfall.

Correspondingly, an embodiment of the present invention provides an in-vehicle rain gear reminding device, fig. 2 is a schematic structural view of the in-vehicle rain gear reminding device provided by the embodiment of the present invention, and as shown in fig. 2, the device may include:

the current travel determining module is used for determining the end point of the current travel of the vehicle;

the weather state acquisition module is used for acquiring a weather state corresponding to the end point of the current journey;

the rain gear state acquisition module is used for acquiring the state of rain gears in the vehicle according to the weather state;

and the prompt information generating module is used for generating prompt information according to the rain gear state and the weather state.

On the basis of the above embodiments, in an embodiment of this specification, fig. 3 is a schematic structural view of another device for reminding a rain gear in a vehicle according to an embodiment of the present invention, and as shown in fig. 3, the current trip determining module includes:

a history state information acquisition unit configured to acquire vehicle history state information of a vehicle history cycle, the vehicle history state information including: a historical trip and a historical time corresponding to the historical trip;

a current state information obtaining unit, configured to obtain current state information of a host vehicle, where the current state information includes: a current location and a current time;

and the current travel determining unit is used for determining the end point of the current travel of the vehicle according to the historical travel, the historical time, the current position and the current time.

On the basis of the above embodiments, in an embodiment of the present specification, the historical itinerary includes: the starting point of the historical trip and the end point of the historical trip; the historical time includes: a historical trip start time corresponding to a start of the historical trip and a historical trip end time corresponding to an end of the historical trip;

the current trip determining unit is specifically configured to determine that the end point of the historical trip corresponding to the start point of the historical trip is the end point of the current trip if a difference between the current time and the historical trip start point time is smaller than a preset time threshold and a distance deviation between the current position and the start point of the historical trip is smaller than a preset distance threshold.

On the basis of the above embodiment, in an embodiment of this specification, the prompt information generating module includes:

and the first prompt information generating unit is used for generating first prompt information when the rain gear is in the vehicle and the weather state is rainfall or snowfall.

On the basis of the above embodiment, in an embodiment of this specification, the prompt information generating module further includes:

and the second prompt information generating unit is used for generating second prompt information when the rain gear is not in the vehicle and the weather state is a rainfall or snowfall state.

The device and method embodiments in the device embodiment described are based on the same inventive concept. And will not be described in detail herein.

Accordingly, the present invention provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded by a processor and executed to implement the steps of the in-vehicle rain gear reminding method.

Correspondingly, the present invention further discloses an electronic device for reminding the rain gear in the vehicle, and fig. 4 is a structural diagram of the electronic device for reminding the rain gear in the vehicle provided in the embodiment of the present invention, as shown in fig. 4, including:

a memory for storing a computer program;

a processor for implementing the steps of the in-vehicle rain gear reminding method as disclosed in the foregoing when executing the computer program.

In another aspect, an embodiment of the present invention provides an automobile, where the automobile is provided with a prompting component, and the prompting component is provided with the apparatus as described above.

The embodiments in the present specification are described in a progressive manner, and the same and similar parts in the embodiments may be joined together, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.

The embodiments of this specification are not limited to what must be in compliance with industry communication standards, standard computer data processing and data storage rules, or the description of one or more embodiments of this specification. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The embodiments using the modified or transformed data acquisition, storage, judgment, processing and the like can still fall within the scope of the alternative embodiments of the embodiments in this specification. In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种车辆自燃预警系统及预警方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!