Recommendation method, electronic equipment, storage medium and vehicle

By monitoring the user's physiological data in real time and obtaining location and vehicle information, it recommends the optimal sleeping location, which solves the user's time waste and sleep quality problems when choosing a sleeping location, and enables users to fall asleep quickly and sleep longer.

CN118656554APending Publication Date: 2024-09-17GREAT WALL MOTOR CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410833644.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Users need to consider the sleep environment and time when choosing a sleeping place, which results in increased wakefulness and reduced sleepiness, hindering rapid falling asleep, and reducing sleep time.

Method used

By monitoring the user's physiological data in real time, it determines whether there is a need for sleep, obtains location information, vehicle information and historical sleep data, determines sleep duration based on these data, and generates recommended sleeping locations, giving priority to recommending vehicle areas or non-vehicle areas to improve sleep quality.

Benefits of technology

It saves users time to consider when choosing a sleeping place, avoids increased wakefulness, reduced drowsiness, and obstacles to falling asleep quickly, and improves the efficiency and quality of sleep time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656554A
    Figure CN118656554A
Patent Text Reader

Abstract

The invention provides a recommendation method, an electronic device, a storage medium and a vehicle, the method is applied to a mobile terminal, physiological data of a user is monitored in real time, whether the user has a sleep demand is judged according to the physiological data, and when it is determined that the user has the sleep demand, position information, vehicle information and historical sleep data are acquired, so that the user experience is improved. And the mobile terminal can recommend an optimal sleep place for the user according to the historical sleep data in combination with the position information and the vehicle information. Specifically, firstly, sleep duration is determined according to position information, vehicle information and historical sleep data, an optimal sleep place can be recommended for a user according to the sleep duration, the position information, the vehicle information and the historical sleep data, and the user can select according to the recommended sleep place. Therefore, the time for the user to select the sleeping place is saved, and the problems that the sober degree of the user is increased, drowsiness is reduced, rapid falling asleep is hindered, and the sleeping time is shortened are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a recommendation method, electronic equipment, storage medium and vehicle. Background Art

[0002] With the increase of work and life pressure, short sleep has become an effective way for many modern people to restore their energy. However, when users are out or in between work and feel sleepy, they need to choose a suitable place to sleep. In the prior art, when choosing a suitable place to sleep, users need to consider the sleeping environment and whether the sleep time is sufficient, which will take several minutes to consider. In this way, the user's wakefulness will increase, sleepiness will decrease, and it will be difficult to fall asleep quickly, reducing the sleep time. Summary of the invention

[0003] In view of this, the purpose of this application is to propose a recommendation method, electronic device, storage medium and vehicle to solve the problem in the prior art that users consider choosing a sleeping place, which leads to increased alertness, reduced sleepiness, obstruction of falling asleep quickly, and reduced sleep time.

[0004] Based on the above objectives, this application provides a recommended method, including:

[0005] Real-time monitoring of user physiological data;

[0006] Determining whether the user has a need for sleep based on the physiological data;

[0007] In response to determining that the user has a need for sleep, acquiring location information, vehicle information, and historical sleep data;

[0008] Determine the sleep duration based on the location information, vehicle information and historical sleep data;

[0009] A recommended sleeping location is generated based on the sleeping duration, location information, vehicle information and historical sleeping data.

[0010] Optionally, the historical sleep data includes historical sleep locations, and the historical sleep locations include vehicle areas and non-vehicle areas;

[0011] The generating a recommended sleeping location according to the sleeping duration, location information, vehicle information and historical sleeping data includes:

[0012] In response to the vehicle information meeting a preset sleep determination condition and the sleep duration being greater than a preset sleep duration, taking the vehicle area as a recommended sleeping location;

[0013] In response to the vehicle information not meeting a preset sleep determination condition and the sleep duration being greater than a preset sleep duration, the non-vehicle area is used as a recommended sleeping location.

[0014] Optionally, the vehicle information includes: in-vehicle environment information, out-vehicle environment information and a lower limit value of the vehicle seat angle adjustment;

[0015] The vehicle information meets the preset sleep judgment conditions, including:

[0016] In response to the in-vehicle environment information satisfying preset in-vehicle environment information, the out-vehicle environment information satisfying preset out-vehicle environment information and the vehicle seat angle adjustment lower limit value being less than a preset angle adjustment threshold, it is determined that the vehicle meets the preset sleep judgment condition.

[0017] Optionally, the historical sleep data includes historical adjustment data; the location information includes the current location information of the user; the vehicle information includes the current location information of the vehicle;

[0018] After considering the vehicle area as a recommended sleeping spot, include:

[0019] generating an unlocking instruction in response to receiving a user's confirmation instruction for taking the vehicle area as a recommended sleeping place; generating a control instruction based on the historical adjustment data;

[0020] Determining the time when the user arrives at the location of the vehicle according to the current location information of the user and the current location information of the vehicle;

[0021] Determining a start time for executing a control instruction and a start time for executing an unlock instruction according to a time when the user arrives at the location of the vehicle;

[0022] The control instruction, the start execution time of the control instruction, the unlock instruction and the start execution time of the unlock instruction are sent to the vehicle, so that the vehicle controls the operation of the vehicle according to the control instruction and the unlock instruction according to the start execution time of the control instruction and the start execution time of the unlock instruction.

[0023] Optionally, the historical adjustment data includes: seat position, air conditioning temperature and window opening; the vehicle information includes the type of vehicle; the control instruction includes a first control instruction and a second control instruction;

[0024] The step of generating a control instruction according to the historical adjustment data comprises:

[0025] Determining whether the type of the vehicle is a new energy vehicle;

[0026] In response to the type of the vehicle being a new energy vehicle, generating the first control instruction according to the position of the seat and the air conditioning temperature;

[0027] In response to the type of the vehicle not being a new energy vehicle, the second control instruction is generated according to the position of the seat, air conditioning temperature control and window opening.

[0028] Optionally, the location information includes the user's current location information and destination location information; the vehicle information includes the vehicle's current location information; the historical sleep data includes: historical sleep locations, historical sleep time periods, and historical sleep durations corresponding to the historical sleep time periods; wherein the historical sleep locations include vehicle areas and non-vehicle areas; the sleep durations include: first sleep durations and second sleep durations;

[0029] The determining of the sleep duration according to the location information, the vehicle information and the historical sleep data includes:

[0030] taking the historical sleep time period corresponding to the current moment in the historical sleep time period as the target historical sleep time period;

[0031] Determining a target historical sleeping location corresponding to the current moment from among the historical sleeping locations according to the target historical sleeping time period;

[0032] In response to the target historical sleeping location being a vehicle area, determining a first duration according to the current location information of the user, the current location information of the vehicle, and the destination location information;

[0033] Searching for a historical sleep duration corresponding to the current moment in the target historical sleep time period as a first target historical sleep duration, and taking a difference between the first target historical sleep duration and the first duration as the first sleep duration;

[0034] In response to the historical sleeping location being a non-vehicle area, determining a second duration according to the user's current location information, the location information of the non-vehicle area, and the destination location information;

[0035] A historical sleep duration corresponding to the current moment is searched in the target sleep time period as a second target historical sleep duration, and a difference between the second target historical sleep duration and the second duration is used as the second sleep duration.

[0036] Optionally, the physiological data includes: heart rate value, respiratory rate value and skin conductance value;

[0037] The determining, based on the physiological data, whether the user has a need for sleep includes:

[0038] In response to the heart rate value being less than a preset heart rate value, the breathing rate value being less than a preset breathing rate value, and the skin conductance value being less than a preset skin conductance value, confirming that the user has a need for sleep;

[0039] In response to the heart rate value being greater than or equal to a preset heart rate value, the breathing rate value being greater than or equal to a preset breathing rate value, and the skin conductance value being greater than or equal to a preset skin conductance value, it is confirmed that the user does not have a need for sleep.

[0040] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.

[0041] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method as described above.

[0042] Based on the same inventive concept, the present application also provides a vehicle, comprising the above-mentioned electronic device.

[0043] From the above, it can be seen that the present application provides a recommendation method, electronic device, storage medium and vehicle. The method is applied to a mobile terminal, and through real-time monitoring of the user's physiological data, it is determined whether the user has a need for sleep based on the physiological data. When it is determined that the user has a need for sleep, the location information, vehicle information and historical sleep data are obtained. In this way, the mobile terminal can recommend the best sleeping place for the user based on the historical sleep data combined with the location information and vehicle information. Specifically, firstly, the sleep duration is determined based on the location information, vehicle information and historical sleep data, and the best sleeping place can be recommended to the user based on the sleep duration, location information, vehicle information and historical sleep data. The user can choose according to the recommended sleeping place, thereby saving the user's consideration time for choosing a sleeping place, avoiding the problem of increased user wakefulness, reduced sleepiness, and obstacles to falling asleep quickly, and reducing sleep time. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic diagram of a recommended method flow in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a process for generating a recommended sleeping location according to an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the flow of generating control instructions according to an embodiment of the present application;

[0048] Figure 4 This is a schematic diagram of the process of determining sleep duration in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of a recommended device structure framework of an embodiment of the present application;

[0050] Figure 6 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0053] Based on the background technology, users need to consider the sleeping environment when choosing a sleeping place. For example, if the sleeping place is a vehicle area, then the user needs to predict the temperature and air comfort level in the vehicle at the current moment, whether the air conditioner needs to be turned on, whether ventilation is needed, etc. For vehicles that are not new energy, whether there are safety hazards when sleeping with the air conditioner on, and whether the environment around the vehicle is suitable for sleeping. It can be seen that different sleeping places will lead to different sleeping times and comfort levels. It is difficult for users to consider all the reasons, and it is difficult to choose a sleeping place. Since there are many factors to consider when choosing a sleeping place, it will lead to problems such as concentration, increased wakefulness, reduced sleepiness, and obstacles to falling asleep quickly.

[0054] In order to solve the above technical problems, Figure 1 As shown, the present application provides a recommendation method, which is applied on a mobile terminal and includes the following steps:

[0055] Step 102: Monitor the user's physiological data in real time.

[0056] In this step, the user's physiological data is obtained in real time by using a smart wearable device, and the obtained user's physiological data is transmitted to the mobile terminal, and the mobile terminal monitors the user's physiological data in real time. Exemplarily, the smart wearable device can be a smart bracelet. The user obtains his own physiological data in real time by wearing the smart bracelet, so that the mobile terminal can monitor the user's physiological data in real time.

[0057] Step 104: Determine whether the user has a need for sleep based on the physiological data.

[0058] In this step, illustratively, the physiological data includes: heart rate value, respiratory rate value and skin conductance value. The mobile terminal can judge whether the user has a need for sleep based on the changes in the physiological data. Specifically, an APP for monitoring the user's physiological data is provided inside the mobile terminal. The standard data value of the relevant data in the physiological data is set by the APP. After receiving the physiological data transmitted by the smart wearable device, it is compared with the set standard data value. When a certain value of the physiological data decreases, it can be determined that the user has a need for sleep.

[0059] Step 106 : In response to determining that the user has a need for sleep, obtaining location information, vehicle information, and historical sleep data.

[0060] In this step, when the mobile terminal determines that the user has a sleep demand, it sends a data acquisition signal to the vehicle. After receiving the data acquisition signal, the vehicle controller acquires corresponding data according to the data acquisition signal. Exemplarily, the acquisition signal may include vehicle location information, in-vehicle environment acquisition signal and out-vehicle environment acquisition signal. After receiving the data acquisition signal, the vehicle controller controls the corresponding sensor on the vehicle to acquire corresponding data. The corresponding sensor acquires the vehicle location according to the vehicle location information acquisition signal, acquires the in-vehicle environment information according to the in-vehicle environment acquisition signal, acquires the out-vehicle environment information according to the out-vehicle environment acquisition signal, and feeds back to the mobile terminal. Since the user's historical sleep data is stored in the smart wearable device, when recommending a sleeping place for the user, the user's historical sleeping place can be recommended to the user based on the historical sleep data, so that a more comfortable and longer sleeping place can be recommended to the user. Therefore, while the mobile terminal acquires the location information and vehicle information, it also needs to acquire the historical sleep data of the smart wearable device. Since sleeping in the vehicle is not disturbed by anyone, the sleeping space and comfort are good, therefore, the preferred sleeping place is the vehicle, and the vehicle-related data is acquired in combination with the historical sleep data to recommend a better sleeping place for the user.

[0061] Step 108: Determine the sleep duration based on the location information, vehicle information and historical sleep data.

[0062] In this step, the location information includes the user's current location information, the vehicle information includes the vehicle's current location information and the destination location information, and the historical sleep data includes the historical sleep location, the historical sleep time period, and the historical sleep duration corresponding to the historical sleep time period. After the mobile terminal obtains the location information, vehicle information, and historical sleep data, it will calculate the user's sleep duration based on the historical sleep time period, the historical sleep location, the user's current location information, the vehicle's current location information, and the destination location information. Exemplarily, when the user's historical sleep location is the vehicle area, then first determine the historical sleep time period corresponding to the current time period based on the current time within the historical sleep time period, then calculate the time spent on the road based on the user's current location information and the destination location information, and calculate the sleep duration based on the time spent on the road and the sleep duration corresponding to the historical sleep time period, so that it can be recommended whether the user is suitable for sleeping in the car based on the sleep duration.

[0063] Step 110: Generate a recommended sleeping location based on the sleep duration, location information, vehicle information, and historical sleep data.

[0064] In this step, after determining the sleep duration based on the above steps, the mobile terminal needs to first determine whether the sleep duration is greater than the preset sleep duration. If the sleep duration is less than the preset sleep duration, then the sleeping place will not be recommended to the user, because the time required for the user to reach the sleep location and then the destination location from the current location is relatively long, which results in a shorter sleep time. Before falling into deep sleep, the user needs to return to the destination location, which will bring a bad experience to the user. When it is determined that the sleep duration is greater than the preset sleep duration, the time taken on the road is calculated based on the user's current location information and the destination location information, and a more suitable sleeping place is recommended to the user based on the time taken on the road and the sleep duration corresponding to the historical sleep time period. In this way, after recommending a suitable sleeping place to the user, the user's consideration time for choosing a sleeping place is saved, and the problem of increased user alertness, reduced sleepiness, and obstacles to falling asleep quickly is avoided, thereby reducing the sleep time.

[0065] Through steps 102-110, by real-time monitoring of the user's physiological data, it is determined whether the user has a need for sleep based on the physiological data. When it is determined that the user has a need for sleep, the location information, vehicle information and historical sleep data are obtained, so that the mobile terminal can recommend the best sleeping place for the user based on the historical sleep data combined with the location information and vehicle information. Specifically, firstly, the sleep duration is determined based on the location information, vehicle information and historical sleep data, and the best sleeping place can be recommended to the user based on the sleep duration, location information, vehicle information and historical sleep data. The user can choose according to the recommended sleeping place, thereby saving the user's consideration time for choosing a sleeping place, avoiding the problem of increased user wakefulness, reduced sleepiness, and obstacles to falling asleep quickly, and reducing sleep time.

[0066] In some embodiments, Figure 2 As shown, when the user is out or in a break from work, he or she can rest in the vehicle without being disturbed, and the air conditioning and sleeping position can be adjusted according to the user's comfort to improve the user's sleep quality. Therefore, the vehicle area is recommended as the sleeping location for the user. Whether the vehicle information meets the preset sleep judgment condition is used as the priority judgment condition, and then it is judged whether the sleep duration is greater than the preset sleep duration. Specifically, the historical sleep data includes historical sleep locations, and the historical sleep locations include vehicle areas and non-vehicle areas;

[0067] The step of generating a recommended sleeping location according to the sleeping duration, location information, vehicle information and historical sleeping data comprises the following steps:

[0068] Step 202: In response to the vehicle information meeting a preset sleep determination condition and the sleep duration being greater than a preset sleep duration, taking the vehicle area as a recommended sleep location;

[0069] Step 204: In response to the vehicle information not meeting the preset sleep determination condition and the sleep duration being greater than the preset sleep duration, the non-vehicle area is used as a recommended sleeping location.

[0070] Specifically, when the vehicle information meets the preset sleep judgment conditions, it means that the vehicle area can be recommended for the user, and the sleep duration must be greater than the preset sleep duration, so that the user's sleep quality can be improved. When the vehicle information does not meet the preset sleep conditions, it means that the vehicle is not suitable for sleeping. For example, in summer, the temperature in the vehicle is too high, and it is not suitable to sleep in the vehicle, and the sleep duration at this time is greater than the preset sleep duration. In this way, the mobile terminal recommends a non-vehicle area as the sleeping location for the user. The non-vehicle area can be a home or company. The sleep duration is calculated based on the specific historical sleeping locations, and a longer sleep time or a more comfortable sleeping location is recommended to the user, thereby improving the user experience and the user's sleep quality.

[0071] In some embodiments, based on the above embodiments, when the vehicle area is recommended as the sleeping location for the user, it is necessary to determine whether the vehicle information meets the preset sleep judgment condition. It can be understood that the preset sleep judgment condition is a limiting condition suitable for the user to sleep. Specifically, the vehicle information includes: vehicle interior environment information, vehicle exterior environment information and the lower limit of the vehicle seat angle adjustment;

[0072] The vehicle information meets the preset sleep judgment conditions, including:

[0073] In response to the in-vehicle environment information satisfying preset in-vehicle environment information, the out-vehicle environment information satisfying preset out-vehicle environment information and the vehicle seat angle adjustment lower limit value being equal to a preset angle adjustment threshold value, it is determined that the vehicle meets the preset sleep judgment condition.

[0074] Specifically, the in-vehicle environment information includes the in-vehicle temperature, the in-vehicle light brightness, the in-vehicle air index, and the in-vehicle air circulation, etc.; the out-vehicle environment includes the vehicle surrounding environment noise index and the vehicle surrounding light brightness; the preset angle adjustment threshold can be 180°. The preset in-vehicle environment information includes the preset in-vehicle temperature threshold, the preset in-vehicle light brightness threshold, the preset in-vehicle air index threshold, and the preset in-vehicle air circulation threshold, etc.; the preset out-vehicle environment information includes the preset vehicle surrounding environment noise index threshold and the preset vehicle surrounding light brightness threshold. When the temperature inside the car is lower than the preset temperature threshold, the light brightness inside the car is lower than the preset light brightness threshold, the air index inside the car is lower than the preset air index threshold, the air circulation inside the car is lower than the preset air circulation threshold, the ambient noise index around the vehicle is lower than the preset ambient noise index threshold, the brightness of the light around the vehicle is lower than the preset brightness threshold and the lower limit of the angle adjustment of the vehicle seat is equal to the preset angle adjustment threshold (it can be understood that the lower limit of the angle adjustment of the vehicle seat is equal to 180°, which means that the vehicle seat can be laid flat, so that the user can place an inflatable bed to further improve the user's sleeping experience), then it means that the vehicle meets the preset sleep judgment conditions. Under the restrictions of these conditions, a more comfortable sleeping environment can be provided to the user, thereby improving the user's sleep quality.

[0075] In some embodiments, Figure 3 As shown, after the mobile terminal recommends a sleeping location for the user based on the above embodiment, if the recommended sleeping location is the vehicle area, the environment in the vehicle needs to be adjusted in advance so that the user can directly enter a comfortable environment after arriving, which is more conducive to fast sleep. Therefore, the historical sleep data includes historical adjustment data; the location information includes the user's current location information; the vehicle information includes the vehicle's current location information;

[0076] After selecting the vehicle area as a recommended sleeping location, the following steps are included:

[0077] Step 302: in response to receiving a confirmation instruction from a user to use the vehicle area as a recommended sleeping location, generating an unlock instruction;

[0078] Step 304: Generate a control instruction according to the historical adjustment data;

[0079] Step 306: Determine the time when the user arrives at the location of the vehicle according to the current location information of the user and the current location information of the vehicle;

[0080] Step 308: Determine the start execution time of the control instruction and the start execution time of the unlock instruction according to the time when the user arrives at the location of the vehicle;

[0081] Step 310: Send the control instruction, the start execution time of the control instruction, the unlock instruction and the start execution time of the unlock instruction to the vehicle, so that the vehicle controls the operation of the vehicle according to the control instruction and the unlock instruction according to the start execution time of the control instruction and the start execution time of the unlock instruction.

[0082] Specifically, the historical adjustment data may include: the position of the seat, the air conditioning temperature and the window opening. The mobile terminal generates an unlocking instruction after receiving the user's confirmation instruction for the vehicle area as a recommended sleeping place, and generates a control instruction according to the historical adjustment data. Exemplarily, the mobile terminal may be a mobile phone, which is equipped with an APP that recommends sleeping places for users. The interface of the mobile phone will show the user a confirmation option and a cancel option. After the user clicks the confirmation option, the mobile terminal receives the user's confirmation instruction for the vehicle area as a recommended sleeping place and generates an unlocking instruction. After the mobile terminal obtains the historical sleep data, it generates a control instruction according to the seat position, air conditioning temperature and window opening of the historical sleep data. In this way, when adjusting the vehicle, it can be adjusted in combination with the historical data. Since the historical data records the user's commonly used data, that is, the data that the user feels comfortable in the vehicle, adjusting the vehicle according to the historical data can bring comfort to the user. Furthermore, the time when the user arrives at the location of the vehicle is determined based on the current location information of the user and the current location information of the vehicle. The APP software in the mobile phone can automatically locate the current location of the user and the location of the vehicle, calculate the time taken by the user to reach the vehicle based on the distance speed time formula, and obtain the time when the user arrives at the location of the vehicle based on the current time and the time taken by the user to reach the vehicle. The time when the user arrives at the location of the vehicle can also be obtained based on the high-precision map, that is, by locating the current location information of the user and the current location information of the vehicle in the map software of the mobile phone, the time when the user arrives at the location of the vehicle is automatically given. According to the time when the user arrives at the location of the vehicle, the start execution time of the control instruction and the start execution time of the unlocking instruction are determined, including: taking the time corresponding to the preset first time before the time when the user arrives at the location of the vehicle as the start execution time of the control instruction; taking the time corresponding to the preset second time before the time when the user arrives at the location of the vehicle as the start execution time of the unlocking instruction. For example, the time when the user arrives at the location of the vehicle is 12:00, the preset first time is 10 minutes (this time can be determined based on the current time and the time when the user arrives at the location of the vehicle, and is not specifically limited in this application), and the preset second time is 2 minutes. The time corresponding to the preset first time (10 minutes) before the time when the user arrives at the location of the vehicle (12:00) (that is, 11:50) is used as the start execution time of the control instruction, that is, the start execution time of the control instruction is 11:50. The time corresponding to the preset second time (2 minutes) before the time when the user arrives at the location of the vehicle (12:00) (that is, 11:58) is used as the start execution time of the unlock instruction, that is, the start execution time of the unlock instruction is 11:58.The control instruction, the start execution time of the control instruction, the unlock instruction and the start execution time of the unlock instruction are sent to the vehicle, so that the vehicle is controlled to operate according to the control instruction according to the start execution time of the control instruction, and the vehicle is controlled to unlock according to the start execution time of the unlock instruction. In this way, the interior environment of the vehicle is adjusted to a comfortable environment for the user in advance before the user gets on the vehicle, which improves the user's experience, thereby saving the user's consideration time for choosing a sleeping place, avoiding the problem of increased user alertness, reduced sleepiness, and hindered rapid sleep, thereby reducing sleep time. Furthermore, by controlling the unlocking of the vehicle according to the start execution time of the unlock instruction, it can be understood that the vehicle is unlocked after the user is about to reach the vehicle, preventing the theft of items in the vehicle and preventing the vehicle from being stolen.

[0083] In some embodiments, due to the different types of vehicles, for vehicles that are not new energy vehicles, turning on the air conditioner during vehicle control will generate a safety hazard of carbon monoxide, while new energy vehicles will not have such a hazard. Therefore, it is necessary to first determine the vehicle type to ensure the safe operation of the vehicle and the safety of the user. Therefore, the historical adjustment data includes: the position of the seat, the air conditioner temperature and the window opening; the vehicle information includes the type of vehicle; the control instruction includes a first control instruction and a second control instruction;

[0084] The step of generating a control instruction according to the historical adjustment data comprises:

[0085] Determining whether the type of the vehicle is a new energy vehicle;

[0086] In response to the type of the vehicle being a new energy vehicle, generating the first control instruction according to the position of the seat and the air conditioning temperature;

[0087] In response to the type of the vehicle not being a new energy vehicle, the second control instruction is generated according to the position of the seat, air conditioning temperature control and window opening.

[0088] Specifically, since when the vehicle type is a fuel or hybrid vehicle, turning on the air conditioner will generate a safety hazard of carbon monoxide. Therefore, when turning on the air conditioner, it is necessary to open the window for ventilation, slightly open the window or the skylight and enable the external circulation mode to ensure air circulation, reduce the CO concentration, and ensure the safety of the users in the car. When the vehicle type is a new energy vehicle, there is no need to consider the problem of carbon monoxide generated by turning on the air conditioner, and the air conditioner can be turned on. Therefore, first determine whether the type of the vehicle is a new energy vehicle. When the type of the vehicle is a new energy vehicle, a first control instruction is generated according to the position of the seat and the temperature of the air conditioner; when the type of the vehicle is not a new energy vehicle, a second control instruction is generated according to the position of the seat, the temperature of the air conditioner and the window opening. The mobile terminal sends the first control instruction and the second control instruction to the vehicle. After the vehicle controller receives the control instruction, it controls the vehicle operation according to the control instruction. In this way, it is equivalent to adjusting the vehicle's interior environment in advance, so that the user feels comfortable when entering the car after arriving, and can fall asleep quickly, thereby improving the quality of sleep. Furthermore, the intelligent adjustment of the interior environment of the car is realized, thereby helping users maintain sleepiness, increasing the speed of falling asleep, reducing the operation of getting on the car, creating a comfortable sleeping environment, and ensuring a good sleeping experience.

[0089] In this embodiment, the control instruction also includes turning off unnecessary entertainment systems in the car, creating a quiet environment, or turning on sleep-aiding music, etc. The specific setting depends on the actual situation, and this application does not make specific limitations.

[0090] In some embodiments, Figure 4 As shown, in the above embodiment, when recommending a sleeping place for the user, the sleep duration is taken into consideration. If the sleep duration is short, the user needs to return to the destination before falling asleep, which will make the user more tired and unable to connect to work or travel, which will bring a bad experience to the user. Therefore, first determine the sleep duration, and then recommend a sleeping place to the user based on the sleep duration, which will bring a better experience to the user. Specifically including: the location information includes the user's current location information and the destination location information; the vehicle information includes the vehicle's current location information; the historical sleep data includes: historical sleeping places, historical sleep time periods and historical sleep durations corresponding to the historical sleep time periods; wherein the historical sleeping places include vehicle areas and non-vehicle areas; the sleep duration includes: a first sleep duration and a second sleep duration;

[0091] Determining the sleep duration according to the location information, vehicle information and historical sleep data comprises the following steps:

[0092] Step 402: taking the historical sleep time period corresponding to the current moment in the historical sleep time period as the target historical sleep time period;

[0093] Step 404: Determine a target historical sleeping location corresponding to the current moment in the historical sleeping locations according to the target historical sleeping time period;

[0094] Step 406: In response to the target historical sleeping location being a vehicle area, determining a first duration according to the current location information of the user, the current location information of the vehicle, and the destination location information;

[0095] Step 408: searching the target historical sleep time period for a historical sleep duration corresponding to the current moment as the first target historical sleep duration, and taking the difference between the first target historical sleep duration and the first duration as the first sleep duration;

[0096] Step 410: In response to the historical sleeping location being a non-vehicle area, determining a second duration according to the user's current location information, the location information of the non-vehicle area, and the destination location information;

[0097] Step 412: Search the target sleep time period for a historical sleep duration corresponding to the current time as the second target historical sleep duration, and use the difference between the second target historical sleep duration and the second duration as the second sleep duration.

[0098] Specifically, in this embodiment, the historical sleep time periods may include, for example, 12:00-13:00, 13:00-14:00, 14:00-15:00, 17:00-18:00, and 18:00-19:00. The historical sleep duration corresponding to the historical sleep time period of 12:00-13:00 may be 40 minutes, and the historical sleep location is in the vehicle area. The historical sleep duration corresponding to the historical sleep time period of 17:00-18:00 may be 30 minutes, and the historical sleep location is at home. The current time is 12:00, then the historical sleep time period (12:00-13:00) corresponding to the current time (12:00) in the historical sleep time period is used as the target historical sleep time period (12:00-13:00). According to the target historical time period, the target historical sleeping place corresponding to the current moment is determined in the historical sleeping places (the historical sleeping place is the vehicle area). When the target historical sleeping place is the vehicle area, the first duration is determined according to the user's current location information, the vehicle's current location information and the destination location information, that is, the duration from the user's current location to the vehicle's current location is calculated, plus the duration from the user's current location in the vehicle to the destination location (for example, the user is walking outside, and the time taken from the current location of the walk to the location of the vehicle, plus the shared time from the user's location in the vehicle to the location of the destination (for example, the company's workstation)). In the target historical sleeping time period, the historical sleeping duration (40 minutes) corresponding to the current moment (12:00) is searched as the first target historical sleeping duration, and the difference (30 minutes) between the first target historical sleeping duration (40 minutes) and the first duration (for example, 10 minutes) is used as the first sleeping duration, which can be understood as the user can sleep in the vehicle for 30 minutes. When the target historical sleeping location is a non-vehicle area (for example, at home), the second duration is determined based on the user's current location information, the location information of the non-vehicle area (home location) and the destination location information, that is, the duration from the user's current location to the home location is calculated, plus the duration from the user's current location at home to the destination location (for example, the user is walking outside, the time taken from the current location of the walk to the home location, plus the shared time from the user's home location to the destination location (for example, the company's workstation)). In the target historical sleeping time period, the historical sleeping duration (30 minutes) corresponding to the current time (17:00) is searched as the second target historical sleeping duration, and the difference (25 minutes) between the second target historical sleeping duration (30 minutes) and the second duration (for example, 5 minutes) is used as the second sleeping duration, which can be understood as the user can sleep at home for 25 minutes. The specific sleeping time of the user can be determined by calculation, and the sleeping duration and sleeping location can be displayed to the user through the mobile terminal for the user to choose, so as to recommend a more suitable sleeping plan to the user.It saves users time in choosing a sleeping place, avoids the problem of increased alertness, decreased sleepiness, and hindrance to falling asleep quickly, thereby reducing sleep time.

[0099] In some embodiments, when the user has a need for sleep, the physiological data will change. For example, after feeling sleepy, the physiological data will decrease, allowing the user to fall asleep better. Therefore, the specific method for determining whether the user has a need for sleep is as follows: the physiological data includes: heart rate value, respiratory rate value and skin conductance value;

[0100] The determining, based on the physiological data, whether the user has a need for sleep includes:

[0101] In response to the heart rate value being less than a preset heart rate value, the breathing rate value being less than a preset breathing rate value, and the skin conductance value being less than a preset skin conductance value, confirming that the user has a need for sleep;

[0102] In response to the heart rate value being greater than or equal to a preset heart rate value, the breathing rate value being greater than or equal to a preset breathing rate value, and the skin conductance value being greater than or equal to a preset skin conductance value, it is confirmed that the user does not have a need for sleep.

[0103] Specifically, the smart wearable device can be a smart bracelet, which detects the user's heart rate, respiratory rate and skin conductance values ​​and transmits them to the mobile terminal. After receiving the data, the mobile terminal compares the heart rate value with the preset heart rate value, the respiratory rate value with the preset respiratory rate value, and the skin conductance value with the preset skin point. When the heart rate value is less than the preset heart rate value, the respiratory rate value is less than the preset respiratory rate value, and the skin conductance value is less than the preset skin conductance value, it is confirmed that the user has a need for sleep. When the heart rate value is greater than or equal to the preset heart rate value, the respiratory rate value is greater than or equal to the preset respiratory rate value, and the skin conductance value is greater than or equal to the preset skin conductance value, it is confirmed that the user does not have a need for sleep. Further, if the user is in a walking state, his physiological data will change with the walking process, so that it can be accurately judged whether the user has a need for sleep based on the user's physiological data. If necessary, a sleep plan is recommended for the user, thereby saving the user's consideration time for choosing a sleeping place, avoiding the problem of increased user wakefulness, reduced sleepiness, and obstacles to falling asleep quickly, and reducing sleep time.

[0104] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0105] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0106] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a recommendation device.

[0107] refer to Figure 5 , the recommendation device comprises:

[0108] A monitoring module 502 is configured to monitor the user's physiological data in real time;

[0109] A determination module 504 is configured to determine whether the user has a need for sleep based on the physiological data;

[0110] An acquisition module 506 is configured to acquire location information, vehicle information, and historical sleep data in response to determining that the user has a need for sleep;

[0111] A determination module 508 is configured to determine the sleep duration according to the location information, vehicle information and historical sleep data;

[0112] The recommendation module 510 is configured to generate a recommended sleeping location according to the sleeping duration, location information, vehicle information and historical sleeping data.

[0113] Specifically, by real-time monitoring of the user's physiological data, it is determined whether the user has a need for sleep based on the physiological data. When it is determined that the user has a need for sleep, the location information, vehicle information and historical sleep data are obtained. In this way, the mobile terminal can recommend the best sleeping place for the user based on the historical sleep data combined with the location information and vehicle information. Specifically, firstly, the sleep duration is determined based on the location information, vehicle information and historical sleep data. The best sleeping place can be recommended to the user based on the sleep duration, location information, vehicle information and historical sleep data. The user can choose based on the recommended sleeping place, thereby saving the user's consideration time for choosing a sleeping place, avoiding the problem of increased user alertness, reduced sleepiness, and obstacles to falling asleep quickly, and reducing sleep time.

[0114] In some embodiments, the recommendation module is further configured such that the historical sleep data includes historical sleeping locations, and the historical sleeping locations include vehicle areas and non-vehicle areas; and generating a recommended sleeping location based on the sleep duration, location information, vehicle information and historical sleep data includes: in response to the vehicle information meeting a preset sleep judgment condition and the sleep duration is greater than the preset sleep duration, taking the vehicle area as a recommended sleeping location; in response to the vehicle information not meeting the preset sleep judgment condition and the sleep duration is greater than the preset sleep duration, taking the non-vehicle area as a recommended sleeping location.

[0115] In some embodiments, the recommendation module is further configured that the vehicle information includes: in-vehicle environment information, out-vehicle environment information and a lower limit value of the vehicle seat angle adjustment; the vehicle information meets the preset sleep judgment conditions, including: in response to the in-vehicle environment information satisfying the preset in-vehicle environment information, the out-vehicle environment information satisfying the preset out-vehicle environment information and the vehicle seat angle adjustment lower limit value is less than the preset angle adjustment threshold, determining that the vehicle meets the preset sleep judgment conditions.

[0116] In some embodiments, the recommendation module is also configured that the historical sleep data includes historical adjustment data; the location information includes the user's current location information; the vehicle information includes the vehicle's current location information; after the vehicle area is used as a recommended sleeping place, it includes: in response to receiving a user's confirmation instruction for using the vehicle area as a recommended sleeping place, generating an unlocking instruction; generating a control instruction based on the historical adjustment data; determining the time when the user arrives at the vehicle's location based on the user's current location information and the vehicle's current location information; determining the start execution time of the control instruction and the start execution time of the unlocking instruction based on the time when the user arrives at the vehicle's location; sending the control instruction, the start execution time of the control instruction, the unlocking instruction and the start execution time of the unlocking instruction to the vehicle, so that the vehicle controls the vehicle operation according to the control instruction and the unlocking instruction according to the start execution time of the control instruction and the start execution time of the unlocking instruction.

[0117] In some embodiments, the recommendation module is also configured that the historical adjustment data includes: seat position, air-conditioning temperature and window opening; the vehicle information includes the type of vehicle; the control instructions include a first control instruction and a second control instruction; and generating control instructions based on the historical adjustment data includes: determining whether the type of the vehicle is a new energy vehicle; in response to the type of the vehicle being a new energy vehicle, generating the first control instruction based on the seat position and air-conditioning temperature; in response to the type of the vehicle not being a new energy vehicle, generating the second control instruction based on the seat position, air-conditioning temperature control and window opening.

[0118] In some embodiments, the determination module is further configured that the location information includes the user's current location information and destination location information; the vehicle information includes the vehicle's current location information; the historical sleep data includes: historical sleep locations, historical sleep time periods, and historical sleep durations corresponding to the historical sleep time periods; wherein the historical sleep locations include vehicle areas and non-vehicle areas; the sleep durations include: a first sleep duration and a second sleep duration; determining the sleep duration based on the location information, vehicle information, and historical sleep data includes: taking the historical sleep time period corresponding to the current moment in the historical sleep time period as a target historical sleep time period; determining a target historical sleep location corresponding to the current moment in the historical sleep locations based on the target historical sleep time period; and responding to the target historical sleep time period. Mark the historical sleeping place as a vehicle area, and determine a first duration according to the current location information of the user, the current location information of the vehicle and the destination location information; search the historical sleep duration corresponding to the current moment in the target historical sleep time period as the first target historical sleep duration, and use the difference between the first target historical sleep duration and the first duration as the first sleep duration; in response to the historical sleeping place being a non-vehicle area, determine a second duration according to the current location information of the user, the location information of the non-vehicle area and the destination location information; search the historical sleep duration corresponding to the current moment in the target sleep time period as the second target historical sleep duration, and use the difference between the second target historical sleep duration and the second duration as the second sleep duration.

[0119] In some embodiments, the judgment module is further configured that the physiological data includes: a heart rate value, a respiratory rate value and a skin conductance value; and judging whether the user has a need for sleep based on the physiological data includes: in response to the heart rate value being less than a preset heart rate value, the respiratory rate value being less than a preset respiratory rate value and the skin conductance value being less than a preset skin conductance value, confirming that the user has a need for sleep; in response to the heart rate value being greater than or equal to a preset heart rate value, the respiratory rate value being greater than or equal to a preset respiratory rate value and the skin conductance value being greater than or equal to a preset skin conductance value, confirming that the user does not have a need for sleep.

[0120] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0121] The device of the above embodiment is used to implement a corresponding recommended method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0122] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a recommended method described in any of the above embodiments is implemented.

[0123] Figure 6 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0124] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0125] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0126] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0127] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0128] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0129] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0130] The electronic device of the above embodiment is used to implement a corresponding recommended method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0131] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute a recommendation method as described in any of the above embodiments.

[0132] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0133] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute a recommendation method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0134] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0135] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.

[0136] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0137] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.

[0138] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0139] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0140] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0141] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A recommendation method, characterized in that: include: Real-time monitoring of user physiological data; Determining whether the user has a need for sleep based on the physiological data; In response to determining that the user has a need for sleep, acquiring location information, vehicle information, and historical sleep data; Determine the sleep duration based on the location information, vehicle information and historical sleep data; A recommended sleeping location is generated based on the sleeping duration, location information, vehicle information and historical sleeping data.

2. The method according to claim 1, characterized in that The historical sleep data includes historical sleep locations, and the historical sleep locations include vehicle areas and non-vehicle areas; The generating a recommended sleeping location according to the sleeping duration, location information, vehicle information and historical sleeping data includes: In response to the vehicle information meeting a preset sleep determination condition and the sleep duration being greater than a preset sleep duration, taking the vehicle area as a recommended sleeping location; In response to the vehicle information not meeting a preset sleep determination condition and the sleep duration being greater than a preset sleep duration, the non-vehicle area is used as a recommended sleeping location.

3. The method according to claim 2, characterized in that The vehicle information includes: in-vehicle environment information, out-vehicle environment information and the lower limit of the vehicle seat angle adjustment; The vehicle information meets the preset sleep judgment conditions, including: In response to the in-vehicle environment information satisfying preset in-vehicle environment information, the out-vehicle environment information satisfying preset out-vehicle environment information and the vehicle seat angle adjustment lower limit value being less than a preset angle adjustment threshold, it is determined that the vehicle meets the preset sleep judgment condition.

4. The method according to claim 2, characterized in that: The historical sleep data includes historical adjustment data; the location information includes the current location information of the user; the vehicle information includes the current location information of the vehicle; After considering the vehicle area as a recommended sleeping spot, include: generating an unlocking instruction in response to receiving a user's confirmation instruction for taking the vehicle area as a recommended sleeping place; generating a control instruction based on the historical adjustment data; Determining the time when the user arrives at the location of the vehicle according to the current location information of the user and the current location information of the vehicle; Determining a start time for executing a control instruction and a start time for executing an unlock instruction according to a time when the user arrives at the location of the vehicle; The control instruction, the start execution time of the control instruction, the unlock instruction and the start execution time of the unlock instruction are sent to the vehicle, so that the vehicle controls the operation of the vehicle according to the control instruction and the unlock instruction according to the start execution time of the control instruction and the start execution time of the unlock instruction.

5. The method according to claim 4, characterized in that The historical adjustment data includes: seat position, air conditioning temperature and window opening; the vehicle information includes the type of vehicle; the control instruction includes a first control instruction and a second control instruction; The step of generating a control instruction according to the historical adjustment data comprises: Determining whether the type of the vehicle is a new energy vehicle; In response to the type of the vehicle being a new energy vehicle, generating the first control instruction according to the position of the seat and the air conditioning temperature; In response to the type of the vehicle not being a new energy vehicle, the second control instruction is generated according to the position of the seat, air conditioning temperature control and window opening.

6. The method according to claim 1, characterized in that The location information includes the user's current location information and destination location information; the vehicle information includes the vehicle's current location information; the historical sleep data includes: historical sleep locations, historical sleep time periods, and historical sleep durations corresponding to the historical sleep time periods; wherein the historical sleep locations include vehicle areas and non-vehicle areas; the sleep durations include: first sleep durations and second sleep durations; The determining of the sleep duration according to the location information, the vehicle information and the historical sleep data includes: The historical sleep time period corresponding to the current moment in the historical sleep time period is used as the target historical sleep time period; Determining a target historical sleeping location corresponding to the current moment from among the historical sleeping locations according to the target historical sleeping time period; In response to the target historical sleeping location being a vehicle area, determining a first duration according to the current location information of the user, the current location information of the vehicle, and the destination location information; Searching for a historical sleep duration corresponding to the current moment in the target historical sleep time period as a first target historical sleep duration, and taking a difference between the first target historical sleep duration and the first duration as the first sleep duration; In response to the historical sleeping location being a non-vehicle area, determining a second duration according to the user's current location information, the location information of the non-vehicle area, and the destination location information; A historical sleep duration corresponding to the current moment is searched in the target sleep time period as a second target historical sleep duration, and a difference between the second target historical sleep duration and the second duration is used as the second sleep duration.

7. The method according to claim 1, characterized in that The physiological data include: heart rate value, respiratory rate value and skin conductance value; The determining, based on the physiological data, whether the user has a need for sleep includes: In response to the heart rate value being less than a preset heart rate value, the breathing rate value being less than a preset breathing rate value, and the skin conductance value being less than a preset skin conductance value, confirming that the user has a need for sleep; In response to the heart rate value being greater than or equal to a preset heart rate value, the breathing rate value being greater than or equal to a preset breathing rate value, and the skin conductance value being greater than or equal to a preset skin conductance value, it is confirmed that the user does not have a need for sleep.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.

10. A vehicle, characterized in that: An electronic device comprising the electronic device described in claim 8.

Citation Information

Patent Citations

  • Information recommendation method and system and vehicle

    CN111027393A

  • Rest point recommendation method and system

    CN112597401A

  • Safe driving method and system based on sleep quality of driver and vehicle

    CN115042795A

  • Self-adaptive intelligent auxiliary sleep adjusting method and system for automobile

    CN115848303A

  • Driver rest recommendation

    US20160046294A1