A vehicle alarm control method, device, electronic device and storage medium
By obtaining vehicle location and historical work and rest data, actively pushing and setting alarm clocks, the intelligence and convenience of vehicle alarm clocks in camping and watching sunrise scenes are solved, and the experience of drivers and passengers is improved.
Patent Information
- Application Number
- CN202211719954.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The existing vehicle alarm clock cannot meet the intelligent and convenient needs of drivers and passengers in camping and watching sunrise scenes, and only supports basic wake-up service for regular ringing.
By obtaining the sunrise information of the current location of the vehicle, combining the car owner's historical work and rest data, determine whether the conditions and willingness to watch the sunrise are met, actively push the sunrise information and set the alarm clock, control the alarm clock to ring at the appropriate time, and open the sunroof and sunshade when visibility allows.
The vehicle alarm clock is intelligent and convenient, and the alarm clock is set according to the weather and the habits of the owner, improving the experience of watching the sunrise in camping.
Smart Images

Figure CN116449673B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of new energy vehicles, and more specifically, to a vehicle alarm control method, device, electronic device, and storage medium. Background Art
[0002] With the vigorous development of new energy vehicles, cars have gradually transformed from traditional means of transportation into new "mobile third spaces". More and more people choose to drive new energy vehicles for self-driving tours, and the demand of drivers and passengers for in-vehicle infotainment system functions is also increasing, such as listening to music, watching movies, etc. Camping to watch the sunrise is a relatively common self-driving tour scenario, but the current in-vehicle infotainment system functions do not provide rich function support for camping to watch the sunrise.
[0003] Currently, in the scenario of camping to watch the sunrise, the in-vehicle infotainment system only supports the basic wake-up service of timed ringing, which cannot meet the intelligent and convenient needs of drivers and passengers during camping. Summary of the Invention
[0004] In view of this, the purpose of the present application is to provide a vehicle alarm control method, device, electronic device, and storage medium to solve the problem that the vehicle alarm in the prior art cannot meet the intelligent and convenient needs of drivers and passengers during camping.
[0005] In a first aspect, an embodiment of the present application provides a vehicle alarm control method, and the method includes:
[0006] Obtain the sunrise information of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the conditions for watching the sunrise based on the sunrise information;
[0007] If the conditions for watching the sunrise are met, determine whether the vehicle owner has the intention to watch the sunrise based on the vehicle owner's historical work and rest data;
[0008] If there is an intention to watch the sunrise, push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm;
[0009] In response to the alarm setting instruction, set a sunrise alarm based on the sunrise information, and control the alarm to ring when the current time reaches the time point indicated by the sunrise alarm.
[0010] Optionally, controlling the alarm to ring when the current time reaches the time point indicated by the sunrise alarm includes: when the current time reaches the time point indicated by the sunrise alarm, obtain the current weather data; determine whether the sunrise can be seen currently based on the current weather data and the rainfall intensity collected by the rain sensor; if the sunrise can be seen, control the alarm to ring; if the sunrise cannot be seen, pause the alarm function.
[0011] Optionally, the historical schedule data includes multiple historical wake-up times and multiple historical sunrise times of the vehicle owner; determining whether the vehicle owner has the intention to watch the sunrise based on the historical schedule data of the vehicle owner includes: for each historical wake-up time, comparing the historical wake-up time with the corresponding historical sunrise time; if the historical wake-up time is less than the corresponding historical sunrise time, and the weather corresponding to the historical sunrise time meets the conditions for watching the sunrise, taking the historical wake-up time as the target historical wake-up time; determining the proportion of the target historical wake-up time in the multiple historical wake-up times; if the proportion is greater than the set threshold, determining that the vehicle owner has the intention to watch the sunrise.
[0012] Optionally, setting a sunrise alarm based on the sunrise information includes: determining the alarm time difference based on the historical schedule data of the vehicle owner; taking the difference between the sunrise time in the sunrise information and the alarm time difference as the ringing time of the sunrise alarm.
[0013] Optionally, determining whether the sunrise can be seen currently based on the current weather data and the rainfall intensity collected by the rain sensor includes: if the rainfall intensity is greater than the first set threshold, determining that the probability of seeing the sunrise is low and the sunrise cannot be seen currently; if the rainfall intensity is less than the second set threshold and the weather in the current weather data is sunny, determining that the probability of seeing the sunrise is high and the sunrise can be seen currently.
[0014] Optionally, after controlling the alarm to ring if the sunrise can be seen, it further includes: controlling the sunroof and the window sunshade to open.
[0015] Optionally, after determining whether the weather of the next day meets the conditions for watching the sunrise, it further includes: if the conditions for watching the sunrise are not met, not asking the vehicle owner whether to set an alarm.
[0016] In a second aspect, an embodiment of the present application further provides a vehicle alarm control device, and the device includes:
[0017] A first judgment module, configured to obtain the sunrise information of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the conditions for watching the sunrise based on the sunrise information;
[0018] A second judgment module, configured to determine whether the vehicle owner has the intention to watch the sunrise based on the historical schedule data of the vehicle owner if the conditions for watching the sunrise are met;
[0019] An information push module, configured to push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm if the vehicle owner has the intention to watch the sunrise;
[0020] An alarm setting module, configured to set a sunrise alarm based on the sunrise information in response to a set alarm instruction, and control the alarm to ring when the current time reaches the time point indicated by the sunrise alarm.
[0021] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the vehicle alarm control method as described above are executed.
[0022] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the vehicle alarm control method as described above are executed.
[0023] The embodiments of the present application bring the following beneficial effects:
[0024] A vehicle alarm control method, device, electronic device, and storage medium provided by an embodiment of the present application can determine whether the condition for watching the sunrise is met according to the sunrise information of the next day. When the condition for watching the sunrise is met, it can also determine whether the vehicle owner has the will to watch the sunrise according to the vehicle owner's historical work and rest information. When it is determined that the vehicle owner has the will to watch the sunrise, it will actively ask and set the corresponding sunrise alarm. Compared with the vehicle alarm control method in the prior art, it solves the problem that the vehicle alarm cannot meet the intelligent and convenient needs of the driver and passengers during camping.
[0025] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specific preferred embodiments are given below and are described in detail in conjunction with the accompanying drawings. Description of the Drawings
[0026] To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 Shows the flowchart of the vehicle alarm control method provided by the embodiment of the present application;
[0028] Figure 2 Shows the structural schematic diagram of the vehicle alarm control device provided by the embodiment of the present application;
[0029] Figure 3 Shows the structural schematic diagram of the electronic device provided by the embodiment of the present application. Detailed Embodiments
[0030] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only some, but not all, of the embodiments of this application. Components of the embodiments of this application described and illustrated in the accompanying drawings here can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without creative efforts falls within the scope of protection of this application.
[0031] As used in this specification, the terms "a", "an", "the", and "said" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising" and "having" are used to mean an open inclusion and mean that there may be additional elements / components / etc. in addition to the listed elements / components / etc.; the terms "first", "second", etc. are used only as labels and are not a limitation on the quantity of their objects.
[0032] It should be understood that in the embodiments of this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally means that the associated objects before and after are in an "or" relationship. "Including A, B, and / or C" means including any one, any two, or all three of A, B, and C.
[0033] It should be understood that in the embodiments of this application, "B corresponding to A", "B corresponding to A correspondingly", "A corresponding to B", or "B corresponding to A" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean determining B only according to A. B can also be determined according to A and / or other information.
[0034] It is worth noting that before this application was proposed, with the vigorous development of new energy vehicles, cars have gradually transformed from traditional means of transportation into a new "mobile third space". More and more people choose to drive new energy vehicles for self-driving tours, and the demand for in-vehicle infotainment system functions from drivers and passengers is also increasing, such as listening to music, watching movies, etc. Camping and watching the sunrise is a relatively common self-driving tour scenario, but the current in-vehicle infotainment system functions do not provide rich function support for camping and watching the sunrise. Currently, in the scenario of camping and watching the sunrise, the in-vehicle infotainment system only supports basic wake-up services such as timed ringing, which cannot meet the intelligent and convenient needs of drivers and passengers during camping.
[0035] Based on this, the embodiments of the present application provide a vehicle alarm control method to improve the intelligence and convenience of vehicle alarms.
[0036] To facilitate better understanding of the present application by those skilled in the art, the following provides a detailed introduction to a vehicle alarm control method, device, electronic device, and storage medium provided by the embodiments of the present application.
[0037] Please refer to Figure 1 , which is a vehicle alarm control method provided by the embodiments of the present application. Specifically, the vehicle alarm control method provided by the embodiments of the present application includes:
[0038] Step S101: Obtain the sunrise information of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the condition for watching the sunrise based on the sunrise information.
[0039] In this step, the vehicle may refer to a new energy vehicle, and a vehicle-mounted system is installed on the vehicle.
[0040] The current position may refer to the geographical location where the vehicle is currently located.
[0041] The sunrise information is information used to determine whether the condition for watching the sunrise is met. The sunrise information includes, but is not limited to: weather data, sunrise time.
[0042] In the embodiments of the present application, the vehicle alarm control method is applied to the vehicle-mounted system. When it is confirmed that the vehicle owner is about to go to sleep, obtain the geographical location information and the current time where the vehicle is currently located, and determine the corresponding sunrise information according to the geographical location information and the current time.
[0043] Taking the current position as Area A and the current time as January 1, 2023 as an example, when the vehicle owner issues a voice control command "enter sleep mode" to the vehicle, obtain the current position and the current time, and at the same time obtain the sunrise information of Area A on January 2, 2023.
[0044] According to the weather data and sunrise time of the next day, determine whether the weather conditions can see the sunrise at sunrise. For example: if it is sunny at sunrise the next day, it means that the condition for watching the sunrise is met; if it is a heavy rain or heavy snow or other weather at sunrise the next day, it means that the condition for watching the sunrise is not met.
[0045] Step S102: If the condition for watching the sunrise is met, determine whether the vehicle owner has the will to watch the sunrise based on the vehicle owner's historical work and rest data.
[0046] In this step, the historical work and rest data may refer to the data of the vehicle owner getting up and going to sleep in the vehicle in the past.
[0047] Historical sleep and wake data includes, but is not limited to: wake-up time, sleep time, set alarm time, and sunrise time.
[0048] In an embodiment of the present application, if the conditions for watching the sunrise are met at sunrise the next day, it is necessary to determine whether the vehicle owner is willing to watch the sunrise the next day according to the vehicle owner's past sleep and wake habits. First, obtain the vehicle owner's historical sleep and wake data, and analyze the willingness of the vehicle owner to watch the sunrise the next day through this historical sleep and wake data. If it is analyzed that the vehicle owner is willing to watch the sunrise, a reminder to set an alarm will be pushed to the vehicle owner.
[0049] In an optional embodiment, the historical sleep and wake data includes multiple historical wake-up times and multiple historical sunrise times of the vehicle owner; determining whether the vehicle owner has the willingness to watch the sunrise based on the vehicle owner's historical sleep and wake data includes: for each historical wake-up time, comparing the historical wake-up time with the corresponding historical sunrise time; if the historical wake-up time is less than the corresponding historical sunrise time, and the weather corresponding to the corresponding historical sunrise time meets the conditions for watching the sunrise, taking the historical wake-up time as the target historical wake-up time; determining the proportion of the target historical wake-up time in the multiple historical wake-up times; if the proportion is greater than the set threshold, determining that the vehicle owner has the willingness to watch the sunrise.
[0050] Specifically, if the vehicle owner often sleeps in the vehicle, it can be analyzed from the historical sleep and wake data whether the vehicle owner has the habit of watching the sunrise in the vehicle. If there is a habit of watching the sunrise in the vehicle, the vehicle owner can be reminded to set an alarm.
[0051] Here, first compare the morning and evening of the wake-up time and the sunrise time. If the wake-up time is earlier than the sunrise time, and the weather condition corresponding to this sunrise time meets the conditions for watching the sunrise, it means that the vehicle owner can see the sunrise at this time, and mark this wake-up time. When the proportion of the multiple marked wake-up times in all historical wake-up times exceeds a certain threshold, it means that the vehicle owner has the habit of watching the sunrise in the vehicle, and then it is determined that the vehicle owner has the willingness to watch the sunrise the next day.
[0052] Step S103, if there is a willingness to watch the sunrise, push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm.
[0053] In this step, when it is determined that the vehicle owner has the willingness to watch the sunrise the next day, the vehicle owner can be reminded to set an alarm. Then, the sunrise information of the next day is pushed to the vehicle owner, and the vehicle owner is asked whether to set a sunrise alarm. For example: "The weather conditions will be good tomorrow, and there will be a sunrise at 4:30 in the morning. Do you want to set a reminder alarm to watch the sunrise?"
[0054] In an optional embodiment, after determining whether the weather of the next day meets the conditions for watching the sunrise, it further includes: if the conditions for watching the sunrise are not met, do not ask the vehicle owner whether to set an alarm.
[0055] Specifically, if it is determined that the weather condition of the next day does not meet the condition for watching the sunrise, for example, the sunrise cannot be seen on a cloudy day or in a heavy rain, the sunrise information of the next day will not be pushed to the vehicle owner, and the vehicle owner will not be asked whether to set an alarm clock.
[0056] Step S104, in response to the alarm clock setting instruction, set the sunrise alarm clock based on the sunrise information, and control the alarm clock to ring when the current time reaches the time point indicated by the sunrise alarm clock.
[0057] In this step, after pushing the sunrise information of the next day to the vehicle owner and asking the vehicle owner whether to set an alarm clock, if the vehicle owner determines to set an alarm clock through voice or manual operation, then according to the alarm clock setting instruction issued by the vehicle owner, automatically set the sunrise alarm clock of the next day according to the sunrise time. As time goes by, when the current time reaches the time point indicated by the sunrise alarm clock, the alarm clock automatically rings to remind the vehicle owner to watch the sunrise. Among them, the time indicated by the sunrise alarm clock is earlier than the sunrise time in the sunrise information.
[0058] In an optional embodiment, setting the sunrise alarm clock based on the sunrise information includes: determining the alarm clock time difference based on the historical work and rest data of the vehicle owner; determining the ringing time of the sunrise alarm clock as the difference between the sunrise time in the sunrise information and the alarm clock time difference.
[0059] Specifically, from the historical work and rest data of the vehicle owner, obtain the historical alarm clock time set by the vehicle owner in the past and the corresponding historical sunrise time, calculate the difference between the historical alarm clock time and the historical sunrise time, and use this difference as the alarm clock time difference. If there are multiple differences between the historical alarm clock time and the historical sunrise time, then use the average value of the multiple differences as the alarm clock time difference. Then, use the difference between the sunrise time in the sunrise information of the next day and the alarm clock time difference as the ringing time of the newly set alarm clock.
[0060] In an optional embodiment, controlling the alarm clock to ring when the current time reaches the time point indicated by the sunrise alarm clock includes: when the current time reaches the time point indicated by the sunrise alarm clock, obtain the current weather data; determine whether the sunrise can be seen currently based on the current weather data and the rainfall intensity collected by the rainfall sensor; if the sunrise can be seen, control the alarm clock to ring; if the sunrise cannot be seen, pause the alarm clock function.
[0061] Specifically, since the weather changes in real time and there may be problems with inaccurate weather forecasts, when the current time reaches the time indicated by the sunrise alarm, it is necessary to further confirm whether the sunrise can be seen. Here, when the current time reaches the time indicated by the sunrise alarm, it is necessary to obtain the current weather data in real time, and at the same time collect the rainfall intensity through the rain sensor on the vehicle, and determine whether the sunrise can be seen based on the current weather data and the current rainfall intensity. If it is determined that the sunrise can be seen currently, the alarm is controlled to ring; if it is determined that the sunrise cannot be seen currently, the alarm function is suspended and the alarm is not allowed to ring.
[0062] In an alternative embodiment, determining whether the sunrise can be seen currently based on the current weather data and the rainfall intensity collected by the rain sensor includes: if the rainfall intensity is greater than the first set threshold, determining that the probability of seeing the sunrise is low and the sunrise cannot be seen currently; if the rainfall intensity is less than the second set threshold and the weather in the current weather data is sunny, determining that the probability of seeing the sunrise is high and the sunrise can be seen currently.
[0063] Specifically, if the rainfall intensity collected by the rain sensor is greater than the first set threshold, it means that the current rainfall intensity is relatively large, the sky is covered with thick clouds and the conditions for seeing the sunrise are not available or the probability of seeing the sunrise is relatively low. If the rainfall intensity is less than the second set threshold and the weather in the current weather data is sunny, it means that the current weather condition is good, the conditions for seeing the sunrise are available or the probability of seeing the sunrise is relatively high. If the rainfall intensity is less than the second set threshold and the weather in the current weather data is cloudy, it means that the current weather condition is average and the probability of seeing the sunrise is average, and it can be determined that the sunrise can be seen.
[0064] In an alternative embodiment, after controlling the alarm to ring if the sunrise can be seen, it further includes: controlling the sunroof and the window sunshade to open.
[0065] Specifically, if the sunrise can be seen, after controlling the sunrise alarm to ring, the sunroof can also be controlled to open automatically, and the window sunshade can also be controlled to open automatically.
[0066] Based on the same inventive concept, the embodiments of the present application also provide a vehicle alarm control device corresponding to the vehicle alarm control method. Since the principle of solving problems by the device in the embodiments of the present application is similar to the above vehicle alarm control method in the embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be elaborated.
[0067] Please refer to Figure 2 , Figure 2 which shows the structural schematic diagram of the vehicle alarm control device provided by the embodiments of the present application. As Figure 2 shown in
[0068] The first judgment module 201 is configured to obtain the sunrise of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the condition for watching the sunrise based on the sunrise information;
[0069] The second judgment module 202 is configured to, if the condition for watching the sunrise is met, determine whether the vehicle owner has the intention to watch the sunrise based on the historical work and rest data of the vehicle owner;
[0070] The information push module 203 is configured to, if there is an intention to watch the sunrise, push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm;
[0071] The alarm setting module 204 is configured to, in response to the alarm setting instruction, set a sunrise alarm based on the sunrise information, and control the alarm to ring when the current time reaches the time point indicated by the sunrise alarm.
[0072] Please refer to Figure 3 , Figure 3 which shows the structural diagram of an electronic device provided by an embodiment of the present application. As
[0073] shown in Figure 3 , the electronic device 300 includes a processor 310, a memory 320, and a bus 330.
[0074] The memory 320 stores machine-readable instructions executable by the processor 310. When the electronic device 300 runs, the processor 310 communicates with the memory 320 through the bus 330. When the machine-readable instructions are executed by the processor 310, the steps of vehicle alarm control in the method embodiment as described above can be executed. Figure 1 shown.
[0075] An embodiment of the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the vehicle alarm control method in the method embodiment as described above can be executed. The specific implementation manner can refer to the method embodiment and will not be elaborated herein. Figure 1 shown.
[0076] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0077] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative.
[0078] For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into
[0079] another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed between each other can be through some communication interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0080] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0082] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0083] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the technical field of the present application can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A vehicle alarm control method, characterized in that, Including: Obtain the sunrise information of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the conditions for watching the sunrise based on the sunrise information; If the conditions for watching the sunrise are met, determine whether the vehicle owner has the will to watch the sunrise based on the vehicle owner's historical work and rest data; If there is a will to watch the sunrise, push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm; In response to the alarm setting instruction, set a sunrise alarm based on the sunrise information, and control the alarm to ring when the current time reaches the time point indicated by the sunrise alarm.
2. The method according to claim 1, characterized in that The controlling the alarm to ring when the current time reaches the time point indicated by the sunrise alarm includes: When the current time reaches the time point indicated by the sunrise alarm, obtain the current weather data; Based on the current weather data and the rainfall intensity collected by the rainfall sensor, determine whether the sunrise can be seen currently; If the sunrise can be seen, control the alarm to ring; If the sunrise cannot be seen, pause the alarm function.
3. The method according to claim 1, characterized in that, The historical work and rest data includes multiple historical wake-up times and multiple historical sunrise times of the vehicle owner; The determining whether the vehicle owner has the will to watch the sunrise based on the vehicle owner's historical work and rest data includes: For each historical wake-up time, compare the historical wake-up time with the corresponding historical sunrise time; If the historical wake-up time is less than the corresponding historical sunrise time, and the weather corresponding to the corresponding historical sunrise time meets the conditions for watching the sunrise, use the historical wake-up time as the target historical wake-up time; Determine the proportion of the target historical wake-up time in the multiple historical wake-up times; If the proportion is greater than the set threshold, determine that the vehicle owner has the will to watch the sunrise.
4. The method according to claim 1, characterized in that, The setting the sunrise alarm based on the sunrise information includes: Based on the vehicle owner's historical work and rest data, determine the alarm time difference; Determine the ringing time of the sunrise alarm as the difference between the sunrise time in the sunrise information and the alarm time difference.
5. The method according to claim 2, characterized in that The determining whether the sunrise can be seen currently based on the current weather data and the rainfall intensity collected by the rainfall sensor includes: If the rainfall intensity is greater than the first set threshold, determine that the probability of seeing the sunrise is low and the sunrise cannot be seen currently; If the rainfall intensity is less than the second set threshold and the weather in the current weather data is sunny, determine that the probability of seeing the sunrise is high and the sunrise can be seen currently.
6. The method according to claim 2, wherein After the if the sunrise can be seen, control the alarm to ring, it further includes: Control the sunroof and the window sunshade to open.
7. The method according to claim 1, wherein After the determining whether the weather of the next day meets the conditions for watching the sunrise, it further includes: If the conditions for watching the sunrise are not met, do not ask the vehicle owner whether to set an alarm.
8. A vehicle alarm control device, characterized in that, The device includes: A first judgment module, configured to obtain the sunrise information of the next day corresponding to the current position of the vehicle, and determine whether the weather of the next day meets the conditions for watching the sunrise based on the sunrise information; A second judgment module, configured to determine whether the vehicle owner has the will to watch the sunrise based on the vehicle owner's historical work and rest data if the conditions for watching the sunrise are met; An information push module, configured to push the sunrise information of the next day to the vehicle owner and ask the vehicle owner whether to set an alarm if there is a will to watch the sunrise; An alarm clock setting module, configured to respond to an alarm clock setting instruction, set a sunrise alarm based on the sunrise information, and control the alarm clock to ring when the current time reaches the time point indicated by the sunrise alarm.
9. An electronic device, characterized in that, It includes: A processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle alarm clock control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by the processor, it performs the steps of the vehicle alarm clock control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for dynamic setting of alarm clock time
CN102438054A
Media content enhancement systems and method of composing media products
CN112530471A