Driving rate recommendation method and device, equipment, medium and program product
By calculating the overlapping part of the distance and time range between the vehicle and the traffic light, the recommended driving speed is to pass quickly when the traffic light is a green light, which solves the problem of long waiting time and frequent deceleration and acceleration of traffic lights, and improves driving safety and efficiency.
Patent Information
- Application Number
- CN202411085586.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, when dealing with traffic lights, vehicles need to wait for a long time, resulting in wasted time and road blockage, and frequent deceleration and acceleration reduces the time efficiency and user experience of the car owner.
By determining the distance between the vehicle and the traffic light, combining the preferred driving speed range and the traffic speed limit range, the overlapping parts of the first time range and the second time range are calculated. The recommended driving speed is to pass quickly when the traffic light is a green light to avoid emergency Accelerate or decelerate rapidly to improve driving safety.
It effectively reduces the waiting time of the vehicle at the traffic light, improves the efficiency and safety of passing the traffic light, reduces the incidence of sudden braking, and improves the driving experience.
Smart Images

Figure CN119091664A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the automotive field, and in particular to a driving speed recommendation method, device, equipment, medium and program product. Background Art
[0002] In recent years, more and more intersections have added traffic lights, which greatly enhanced the road traffic safety of non-motor vehicles and citizens. However, the increase in traffic lights has also led to a large increase in the number of traffic lights that need to be passed through, and some of the traffic lights have very long intervals. Drivers often need to spend a long time queuing at an intersection, that is, they need to wait for a long time at the traffic light intersection. However, this will lead to a waste of time and cause a certain degree of road congestion. Even if the interval is short, dense traffic lights in a certain area will cause vehicles to decelerate, stop and accelerate too frequently, which reduces the time efficiency and user experience of car owners. Therefore, a method to assist drivers to quickly pass through traffic light intersections is very necessary. Summary of the invention
[0003] The present application provides a driving speed recommendation method, device, equipment, medium and program product, which are beneficial for improving the driving safety of vehicles while quickly passing through traffic lights.
[0004] In a first aspect, an embodiment of the present application provides a method for recommending a driving speed, the method comprising: determining a first distance between a current position of a vehicle and a first traffic light to be passed; determining a first time range according to a preferred driving speed range of the vehicle and / or a traffic speed limit range, the lower limit value and the upper limit value of the first time range being the minimum time and the maximum time respectively required for the vehicle to travel the first distance; determining at least one second time range according to a change cycle of the first traffic light and a current state of the first traffic light, the lower limit value of the second time range referring to the time from the current moment to the first green light moment, and the upper limit value of the second time range referring to the time from the current moment to the second green light moment; wherein the first traffic light remains green during the time period from the first green light moment to the second green light moment; and recommending a driving speed based on the overlapping portion of the first time range and the second time range and the first distance.
[0005] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the first distance between the current position of the vehicle and the first traffic light is first determined, the first time range is determined according to the vehicle's preferred driving speed range and / or traffic speed limit range, and the second time range is determined according to the change cycle and current state of the first traffic light; then the driving speed is recommended based on the overlapping part of the first time range and the second time range and the first distance. In this way, the vehicle's preferred driving speed range and / or traffic regulation speed limit range are taken into account, and a first time range for reaching the first traffic light based on the vehicle's preferred driving speed range and / or traffic regulation speed limit range is determined. The first time range is intersected with a second time range of a green light determined based on a change cycle of the first traffic light and a current state, and a driving speed recommendation is made using the intersection and the first distance, so that the recommended driving speed not only meets the vehicle's preferred driving speed range and / or traffic regulation speed limit range, but also can reach the first traffic light when the first traffic light is green. This is beneficial for quickly passing the first traffic light while improving the driving safety of the vehicle by avoiding situations where the recommended driving speed is significantly different from the current driving speed and / or does not meet traffic regulations, that is, by avoiding sudden acceleration or deceleration of the vehicle.
[0006] In some embodiments, the change cycle includes a first duration of a red light and a second duration of a green light; determining at least one second time range based on the change cycle of the first traffic light and the current state of the first traffic light includes: when the current state of the first traffic light is a red light, determining a first time difference between the duration of the red light that has lasted in the current change cycle and the first duration; determining a second time range based on the first time difference and the second duration; and / or determining at least one second time range based on the first time difference, the second duration and the change cycle.
[0007] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is red, the first time difference between the duration of the red light in the current change cycle and the first duration of the red light in the change cycle of the first traffic light is determined; at least one second time range is determined based on the first time difference, the second duration and the change cycle. In this way, it is helpful to calculate the second time range when the state of the first traffic light in multiple cycles is green when the current state of the first traffic light is red, so as to calculate the overlapping part of the second time range and the first time range, and then to recommend the driving speed.
[0008] In some embodiments, determining at least one second time range based on the change cycle of the first traffic light and the current state of the first traffic light includes: when the current state of the first traffic light is a green light, determining the second time difference between the duration of the green light in the current change cycle and the second duration; determining a second time range based on the second time difference; and / or determining a second time range based on the second time difference, the first duration, the second duration and the third duration; wherein the third duration is the third duration of the yellow light in the change cycle; and / or determining at least one second time range based on the second time difference, the first duration, the second duration, the third duration and the change cycle.
[0009] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is green, the second time difference between the duration of the green light in the current change cycle and the second duration of the green light in the change cycle of the first traffic light is determined; a second time range is determined based on the first time difference; and / or, a second time range is determined based on the second time difference, the first duration, the second duration, and the third duration of the yellow light in the change cycle. In this way, it is helpful to calculate the time range within multiple cycles when the first traffic light is in the green light state when the current state of the first traffic light is green, so as to calculate the overlapping part with the first time range, and then to recommend the driving speed.
[0010] In some embodiments, when the current state of the first traffic light is yellow, determine the third time difference between the duration that the yellow light has lasted in the current change cycle and the third duration; determine a second time range based on the third time difference, the first duration and the second duration; and / or determine at least one second time range based on the third time difference, the first duration, the second duration and the change cycle.
[0011] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is yellow, the third time difference between the duration of the yellow light in the current change cycle and the third duration is determined; at least one second time range is determined based on the third time difference, the first duration, the second duration and the change cycle. In this way, it is helpful to calculate the time range within multiple cycles when the first traffic light is green when the current state of the first traffic light is yellow, so as to calculate the overlapping part with the first time range, and then to recommend the driving speed.
[0012] In some embodiments, the recommending of driving speed based on the overlapping part of the first time range and the second time range and the first distance includes: determining the upper limit value of the first driving speed range based on the lower limit value of the overlapping part of the first time range and the second time range and the first distance; determining the lower limit value of the first driving speed range based on the upper limit value of the overlapping part of the first time range and the second time range and the first distance; and recommending a driving speed based on the first driving speed range.
[0013] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the upper limit of the first driving speed range is determined according to the lower limit of the overlapping part of the first time range and the second time range and the first distance; the lower limit of the first driving speed range is determined according to the upper limit of the overlapping part of the first time range and the second time range and the first distance; the driving speed is recommended according to the first driving speed range. In this way, since the time range of the determined first driving speed range is the overlapping part of the first time range and the second time range, and the lower limit and upper limit of the first time range are respectively the minimum time and maximum time required for the vehicle to travel the first distance, and the second time range is the time range when the first traffic light is in the green light state; therefore, using any rate in the first driving speed range determined based on the overlapping part of the first time range and the second time range and the first distance is beneficial to improve the driving safety of the vehicle by avoiding the situation where the recommended driving speed is greatly different from the current driving speed and / or does not comply with traffic regulations while passing the first traffic light quickly, that is, by avoiding sudden acceleration or deceleration of the vehicle.
[0014] In some embodiments, the recommending of driving speed according to the overlapping part of the first time range and the second time range and the first distance includes: determining a first driving speed range according to the overlapping part of the first time range and the second time range and the first distance; determining a second distance between the current position of the vehicle and the second traffic light to be passed; determining a third time range according to the preferred driving speed range and / or the traffic speed limit range of the vehicle, the lower limit value and the upper limit value of the third time range being the minimum time and the maximum time required for the vehicle to travel the second distance respectively; determining at least one fourth time range according to the change cycle of the second traffic light and the current state of the second traffic light, the lower limit value of the fourth time range being the time from the current moment to the third green light moment, and the upper limit value of the fourth time range being the time from the current moment to the fourth green light moment; wherein the second traffic light is continuously green during the time period from the third green light moment to the fourth green light moment; determining a second driving speed range according to the overlapping part of the third time range and the fourth time range and the second distance; recommending driving speed according to the overlapping part of the first driving speed range and the second driving speed range.
[0015] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the first driving speed range is determined according to the overlapping part of the first time range and the second time range and the first distance; the second distance between the current position of the vehicle and the second traffic light to be passed is determined, and the third time range to reach the second traffic light is determined according to the preferred driving speed range and / or the traffic speed limit range of the vehicle; at least one fourth time range is determined according to the change cycle of the second traffic light and the current state of the second traffic light; the second driving speed range is determined according to the overlapping part of the third time range and the fourth time range and the second distance; the driving speed is recommended according to the overlapping part of the first driving speed range and the second driving speed range. In this way, the recommended driving speed can meet the requirements of the preferred driving speed and the traffic speed while passing the first traffic light and the second traffic light quickly, thereby passing the first traffic light and the second traffic light quickly and safely.
[0016] In some embodiments, the first traffic light is the first traffic light that the vehicle passes through from the current position, and the method further includes: when the first distance is less than or equal to a first threshold, determining a first duration required for the vehicle to reach the first traffic light based on the current driving speed of the vehicle and the first distance; and displaying prompt information; wherein the prompt information is used to prompt the first duration required to reach the first traffic light at the current driving speed.
[0017] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the first distance is less than or equal to the first threshold, the first time required for the vehicle to reach the first traffic light is determined based on the current driving speed and the first distance of the vehicle; based on this, prompt information is displayed, and the prompt information is used to prompt the first time required to reach the first traffic light at the current driving speed. In this way, it is helpful to assist the user to determine whether it is possible to pass through the traffic light intersection based on the displayed time and the current state of the traffic light seen by the user. If it is not possible to pass through the traffic light intersection, the speed of the vehicle can be adjusted in time, emergency braking can be reduced, and the driving experience can be improved.
[0018] In a second aspect, an embodiment of the present application provides a driving speed recommendation device, the device comprising: a first determination module, configured to determine a first distance between a current position of a vehicle and a first traffic light to be passed; a second determination module, configured to determine a first time range according to a preferred driving speed range and / or a traffic speed limit range of the vehicle, the lower limit value and the upper limit value of the first time range being the minimum time and the maximum time required for the vehicle to travel the first distance, respectively; a third determination module, configured to determine at least one second time range according to a change cycle of the first traffic light and a current state of the first traffic light, the lower limit value of the second time range being the time from the current moment to the first green light moment, and the upper limit value of the second time range being the time from the current moment to the second green light moment; wherein the first traffic light remains green during the time period from the first green light moment to the second green light moment; a recommendation module, configured to recommend a driving speed based on the overlapping portion of the first time range and the second time range and the first distance.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the recommendation method described in the first aspect is implemented.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the recommendation method described in the first aspect when executed by a processor.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the recommendation method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 1 ;
[0023] Figure 2 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 2 ;
[0024] Figure 3 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 3 ;
[0025] Figure 4 A schematic diagram of a driving speed recommendation system provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of a vehicle driving path provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 4 ;
[0028] Figure 7 A schematic diagram of an implementation process of a method for determining a recommended driving speed provided in an embodiment of the present application Figure 1 ;
[0029] Figure 8 A schematic diagram of an implementation process of a method for determining a recommended driving speed provided in an embodiment of the present application Figure 2 ;
[0030] Fig. 9 A schematic diagram of a driving speed recommendation device provided in an embodiment of the present application;
[0031] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0034] In the following description, reference is made to “some embodiments\other embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments\other embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0035] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0037] In the related art, a vehicle speed control method and system are provided, the method comprising: obtaining the distance between the current position of the vehicle and a traffic light that the vehicle wishes to pass; obtaining the traffic light information that the vehicle wishes to pass; and controlling the current vehicle speed according to the distance and the traffic light information so that the traffic light is green when the vehicle reaches the traffic light that the vehicle wishes to pass.
[0038] In the related art, the next green light of the nearest traffic light on the current driving route is taken as the green light that you want to pass, and the traffic light speed control method starting from the step of obtaining the distance between the current position of the vehicle and the traffic light you want to pass is re-executed. The start time and end time of the next green light are obtained according to the distance and the current vehicle speed. The time T2 required to reach the nearest green light at the current rate is compared to see whether the time T2 is within the start time and the end time; when acceleration is required, the increased vehicle speed is compared to V2 and the current road section speed limit is Vmax; if there is a third or fourth cycle, the above traffic light speed control steps will be repeated. It can be reflected here that the threshold S that we need to set should be long enough to allow us to make enough road space to make acceleration and deceleration control adjustments under the condition that the WIFI wireless network radius allows, and it should also be short enough to avoid redundant multiple cycle judgments as much as possible (it is better to only judge the closest green light and the next green light closest to the green light). However, this method has the following problems:
[0039] (1) There may be a large gap between the speed calculated based on the current traffic light changing pattern and the actual driving speed of the motor vehicle. Users need to accelerate or decelerate suddenly. Both sudden acceleration and deceleration are likely to cause traffic accidents and provide a poor user experience.
[0040] (2) When obtaining traffic light information through WIFI, the only way is to increase the traffic light cycle one by one to determine whether the speed is within the speed limit, which is not conducive to the implementation of the system.
[0041] (3) The rate recommendation and rate acceleration and deceleration can only be performed under the condition that the radius of the WIFI wireless network allows, which has great limitations.
[0042] To this end, the embodiment of the present application proposes a method that can assist users to quickly pass through traffic lights. The method pre-calculates the optimal speed at which a vehicle can quickly pass through traffic lights through the navigation road selected by the navigation system, and assists vehicle users to quickly pass through traffic lights along the way and arrive at the destination safely and comfortably.
[0043] In an embodiment of the present application, a method for recommending a driving speed is provided. Figure 1 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the method includes steps 101 to 104:
[0044] Step 101, determining a first distance between a current position of a vehicle and a first traffic light to be passed;
[0045] Step 102, determining a first time range according to a preferred driving speed range of the vehicle and / or a traffic speed limit range, wherein a lower limit value and an upper limit value of the first time range are respectively a minimum time and a maximum time required for the vehicle to travel a first distance;
[0046] Step 103, determining at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light, wherein the lower limit of the second time range refers to the time length from the current moment to the first green light moment, and the upper limit of the second time range refers to the time length from the current moment to the second green light moment; wherein the first traffic light is continuously green during the time period from the first green light moment to the second green light moment;
[0047] Step 104 : recommending a driving speed based on the overlap between the first time range and the second time range and the first distance.
[0048] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the first distance between the current position of the vehicle and the first traffic light is first determined, the first time range is determined according to the vehicle's preferred driving speed range and / or traffic speed limit range, and the second time range is determined according to the change cycle and current state of the first traffic light; then the driving speed is recommended based on the overlapping part of the first time range and the second time range and the first distance. In this way, the vehicle's preferred driving speed range and / or traffic regulation speed limit range are taken into account, and a first time range for reaching the first traffic light based on the vehicle's preferred driving speed range and / or traffic regulation speed limit range is determined. The first time range is intersected with a second time range of a green light determined based on a change cycle of the first traffic light and a current state, and a driving speed recommendation is made using the intersection and the first distance, so that the recommended driving speed not only meets the vehicle's preferred driving speed range and / or traffic regulation speed limit range, but also can reach the first traffic light when the first traffic light is green. This is beneficial for quickly passing the first traffic light while improving the driving safety of the vehicle by avoiding situations where the recommended driving speed is significantly different from the current driving speed and / or does not meet traffic regulations, that is, by avoiding sudden acceleration or deceleration of the vehicle.
[0049] It should be understood that in the embodiment of the present application, the quickly passing the first traffic light means passing the traffic light without waiting for the first traffic light, that is, when the vehicle reaches the first traffic light and passes through the first traffic light, the state of the first traffic light is green.
[0050] The following describes further optional implementations and related terms of each of the above steps.
[0051] In step 101 , a first distance between a current position of a vehicle and a first traffic light to be passed is determined.
[0052] It should be understood that in the embodiments of the present application, the current position of the vehicle is not limited. The current position of the vehicle may be any position of the vehicle in the process of driving toward the first traffic light. In some embodiments, the current position of the vehicle may be the starting position of the vehicle. The first distance between the current position of the vehicle and the first traffic light is also not limited, because the current position of the vehicle may be any position of the vehicle in the process of driving toward the first traffic light, and therefore the first distance may be the distance between any position of the vehicle in the process of driving toward the first traffic light and the first traffic light.
[0053] In step 102, a first time range is determined according to a preferred driving speed range and / or a traffic speed limit range of the vehicle, wherein a lower limit value and an upper limit value of the first time range are respectively a minimum time and a maximum time required for the vehicle to travel a first distance.
[0054] It should be understood that in the embodiment of the present application, the preferred driving speed range of the vehicle is not limited. The specific implementation method for determining the preferred driving speed range of the vehicle is not limited. The preferred driving speed of the vehicle can be filled in by the user, or the preferred driving speed of the vehicle can be determined based on the historical driving information of the vehicle. The preferred driving speed range of the vehicle can also be the daily driving speed range of the vehicle. The preferred driving speed of the vehicle on different roads can be the same or different; wherein the different roads can be highways, urban roads, rural roads, etc. In step 102, the preferred driving speed range of the vehicle refers to the preferred driving speed of the vehicle on the road heading to the first traffic light.
[0055] In the embodiment of the present application, the traffic speed limit range refers to the traffic speed limit range of the road section from the current position of the vehicle to the first traffic light.
[0056] In an embodiment of the present application, the determining of the first time range according to the vehicle's preferred driving speed range and / or traffic regulation speed limit range includes: determining the upper limit value of the first time range according to the lower limit value of the vehicle's preferred driving speed range; determining the lower limit value of the first time range according to the upper limit value of the vehicle's preferred driving speed range; or, determining the upper limit value of the first time range according to the lower limit value of the traffic regulation speed limit range; determining the lower limit value of the first time range according to the upper limit value of the traffic regulation speed limit range; or, determining the upper limit value of the first time range according to the lower limit value of the overlapping part of the vehicle's preferred driving speed range and the traffic regulation speed limit range; determining the lower limit value of the first time range according to the upper limit value of the overlapping part of the vehicle's preferred driving speed range and the traffic regulation speed limit range.
[0057] Specifically, as a possible implementation method, the user's preferred driving speed range on different road sections (such as highways, urban roads, rural roads, etc.) is obtained based on the preferred driving speed range filled in by the user or the vehicle's daily driving speed range. Determine that the current driving section is an urban road, and obtain the user's preferred driving speed range on urban roads as 40 kilometers per hour (km / h) to 60km / h. The traffic speed limit range in the current area obtained from the map is 0km / h to 70km / h. Take the intersection of the user's preferred driving speed range and the current traffic speed limit range, and you can get an overlapping speed range of 40km / h to 60km / h.
[0058] When the first distance between the current position of the vehicle and the first traffic light is 150 meters, the lower limit of the first time range calculated by the overlapping rate range is: 150 / (60×1000 / 3600)=9 seconds (second, s); the upper limit of the first time range is: 150 / (40×1000 / 3600)]=13.5s.
[0059] In step 103, at least one second time range is determined based on the change cycle of the first traffic light and the current state of the first traffic light, the lower limit of the second time range refers to the time length from the current moment to the first green light moment, and the upper limit of the second time range refers to the time length from the current moment to the second green light moment; wherein, the first traffic light is continuously green during the time period from the first green light moment to the second green light moment.
[0060] In some embodiments, the change cycle includes a first duration of a red light and a second duration of a green light; determining at least one second time range based on the change cycle of the first traffic light and the current state of the first traffic light includes: when the current state of the first traffic light is a red light, determining a first time difference between the duration of the red light that has lasted in the current change cycle and the first duration; determining a second time range based on the first time difference and the second duration; and / or determining at least one second time range based on the first time difference, the second duration and the change cycle.
[0061] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is red, the first time difference between the duration of the red light in the current change cycle and the first duration of the red light in the change cycle of the first traffic light is determined; at least one second time range is determined based on the first time difference, the second duration and the change cycle. In this way, it is helpful to calculate the time range within multiple cycles when the first traffic light is green when the current state of the first traffic light is red, so as to calculate the overlapping part with the first time range, and then to recommend the driving speed.
[0062] It should be understood that in the driving speed recommendation method provided in the embodiment of the present application, the method for determining the second time difference between the duration of the green light in the current change cycle and the second duration is not limited. Exemplarily, in some embodiments, the duration of the red light in the current change cycle is obtained; the first time difference is determined based on the first duration and the duration of the red light in the current change cycle; wherein, the first time difference = the first duration - the duration of the red light in the current change cycle. In other embodiments, the red light countdown time currently displayed by the first traffic light is obtained, and the first time difference is determined to be equal to the red light countdown time currently displayed by the first traffic light.
[0063] In some embodiments, determining a second time range based on the first time difference and the second duration includes: determining the lower limit of the second time range as the first time difference based on the first time difference; and determining the upper limit of the second time range as the sum of the first time difference and the second duration based on the first time difference and the second duration.
[0064] Exemplarily, in some embodiments, the first time difference is represented by A, the second duration is represented by Y, and the second time range can be represented by [A, A+Y].
[0065] In some embodiments, at least one second time range is determined based on the first time difference, the second duration and the change period, including: based on the first time difference and the change period, determining the lower limit of at least one second time range as the sum of the first time difference and at least one change period; based on the first time difference, the second duration and the change period, determining the lower limit of at least one second time range as the sum of the first time difference, the second duration and at least one change period; wherein the time difference between the upper limit value and the lower limit value belonging to the same time range is the second duration.
[0066] Exemplarily, in some embodiments, the first time difference is represented by A, the second duration is represented by Y, and the change period is represented by T, then the second time range can be expressed as [A+NT, A+Y+NT]; wherein N represents the number of changes in the change period.
[0067] In some embodiments, determining at least one second time range based on the change cycle of the first traffic light and the current state of the first traffic light includes: when the current state of the first traffic light is a green light, determining the second time difference between the duration of the green light in the current change cycle and the second duration; determining a second time range based on the second time difference; and / or determining a second time range based on the second time difference, the first duration, the second duration and the third duration; wherein the third duration is the third duration of the yellow light in the change cycle; and / or determining at least one second time range based on the second time difference, the first duration, the second duration, the third duration and the change cycle.
[0068] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is green, the second time difference between the duration of the green light in the current change cycle and the second duration of the green light in the change cycle of the first traffic light is determined; a second time range is determined based on the first time difference; and / or, a second time range is determined based on the second time difference, the first duration, the second duration, and the third duration of the yellow light in the change cycle. In this way, it is helpful to calculate the time range within multiple cycles when the first traffic light is in the green light state when the current state of the first traffic light is green, so as to calculate the overlapping part with the first time range, and then to recommend the driving speed.
[0069] It should be understood that in the embodiments of the present application, the method for determining the second time difference between the duration of the green light in the current change cycle and the second duration of the green light in the change cycle of the first traffic light is not limited. Exemplarily, in some embodiments, the duration of the current change cycle is obtained; the second time difference is determined based on the duration of a change cycle and the duration of the current change cycle; wherein, the second time difference = the duration of a change cycle - the duration of the current change cycle. In other embodiments, the green light countdown time currently displayed by the first traffic light is obtained, and the second time difference is determined to be equal to the green light countdown time currently displayed by the first traffic light.
[0070] In some embodiments, determining a second time range according to the second time difference includes: determining an upper limit value of the second time range as the second time difference according to the second time difference; and determining a lower limit value of the second time range as 0.
[0071] Exemplarily, in some embodiments, the second time difference is represented by B, and the second time range can be represented as [0, B].
[0072] In some embodiments, at least one of the second time ranges is determined based on the second time difference, the first duration, the second duration and the third duration, including: based on the second time difference, the third duration and the first duration, determining the lower limit of the second time range is the sum of the second time difference, the third duration and the first duration; based on the second time difference, the first duration, the second duration and the third duration, determining the upper limit of the second time range is the sum of the second time difference, the third duration, the first duration and the third duration.
[0073] Exemplarily, in some embodiments, the second time difference is represented by B, the first duration is represented by X, the second duration is represented by Y, and the third duration is the duration of the yellow light, which is 3s. Then the second time range can be expressed as [B+X+3, B+X+Y+3].
[0074] In some embodiments, at least one of the second time ranges is determined based on the second time difference, the first duration, the second duration, the third duration and the change period, including: determining the lower limit of the second time range as the sum of the second time difference and the third duration, the first duration and the change period based on the second time difference, the third duration, the first duration and the change period; determining the upper limit of the second time range as the sum of the second time difference and the third duration, the first duration, the third duration and the change period based on the second time difference, the first duration, the second duration, the third duration and the change period; wherein the time difference between the upper limit and the lower limit belonging to the same time range is the second duration.
[0075] Exemplarily, in some embodiments, the second time difference is represented by B, the first duration is represented by X, the second duration is represented by Y, the third duration is the duration of the yellow light is 3 seconds, and the change cycle is represented by T, then the second time range can be expressed as [B+X+3+NT, B+X+Y+3+NT]; wherein N represents the number of changes in the change cycle; wherein the duration of a change cycle is T=X+Y+3.
[0076] In some embodiments, when the current state of the first traffic light is yellow, determine the third time difference between the duration that the yellow light has lasted in the current change cycle and the third duration; determine a second time range based on the third time difference, the first duration and the second duration; and / or determine at least one second time range based on the third time difference, the first duration, the second duration and the change cycle.
[0077] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the current state of the first traffic light is yellow, the third time difference between the duration of the yellow light in the current change cycle and the third duration is determined; at least one second time range is determined based on the third time difference, the first duration, the second duration and the change cycle. In this way, it is helpful to calculate the time range within multiple cycles when the first traffic light is green when the current state of the first traffic light is yellow, so as to calculate the overlapping part with the first time range, and then to recommend the driving speed.
[0078] It should be understood that in the embodiments of the present application, the method for determining the third time difference between the duration of the yellow light that has lasted in the current change cycle and the third duration is not limited. Exemplarily, in some embodiments, the duration that has lasted in the current change cycle is obtained; the third time difference is determined based on the duration of a change cycle and the duration that has lasted in the current change cycle; wherein, the third time difference = the duration of a change cycle - the duration that has lasted in the current change cycle. In other embodiments, the countdown time of the yellow light currently displayed by the first traffic light is obtained, and the second time difference is determined to be equal to the countdown time of the yellow light currently displayed by the first traffic light.
[0079] In some embodiments, a second time range is determined based on the third time difference, the first duration and the second duration, including: based on the third time difference and the first duration, determining the lower limit of the second time range as the sum of the third time difference and the first duration; based on the third time difference, the first duration and the second duration, determining the upper limit of the second time range as the sum of the third time difference and the first duration and the second duration.
[0080] Exemplarily, in some embodiments, the third time difference is represented by C, the first duration is represented by X, the second duration is represented by Y, and the third duration is the duration of the yellow light, which is 3s. Then the second time range can be expressed as [C+X, C+X+Y].
[0081] In some embodiments, at least one second time range is determined based on the third time difference, the first duration, the second duration and the change period, including: based on the third time difference, the first duration and the change period, determining the lower limit of the second time range as the sum of the third time difference and the first duration and the change period; based on the third time difference, the first duration and the second duration and the change period, determining the upper limit of the second time range as the sum of the third time difference and the first duration, the second duration and the change period.
[0082] Exemplarily, in some embodiments, the third time difference is represented by C, the first duration is represented by X, the second duration is represented by Y, and the change period is represented by T, then the second time range can be expressed as [C+X+NT, C+X+Y+NT]; wherein N represents the number of changes in the change period.
[0083] Exemplarily, as a possible implementation method, the change law of the traffic light (i.e., an example of the first traffic light) that is about to be passed is obtained by third-party software or big data calculation. The change law of the traffic light can be represented by a three-dimensional array (X, Y, Z), where X is the red light time, Y is the green light time, and Z is the time that the traffic light has lasted in a cycle (0≤Z≤X+Y+3), and the time range in which the traffic light can pass can be obtained. When 0≤Z≤X, the traffic light is in the red light interval, and the passing time range is [XZ, X+YZ]+N(X+Y+3); wherein XZ is the first example of the first difference. When X<Z≤X+Y, the traffic light is in the green light interval, and the passing time range is [ZZ, X+YZ] or [2X+Y+3-Z, 2X+2Y+3-Z]+N(X+Y+3); wherein X+YZ is an example of the second difference. When X+Y<Z≤X+Y+3, the traffic light is in the yellow light interval, and the passing time range is [2X+Y+3-Z, 2X+2Y+3-Z]+N(X+Y+3); wherein X+Y+3-Z is an example of the third difference.
[0084] In step 104 , a driving speed is recommended based on the overlap between the first time range and the second time range and the first distance.
[0085] It should be understood that in the embodiments of the present application, the method for recommending the driving speed is not limited. In some embodiments, if the above method is applied to a vehicle-mounted terminal, the recommended driving speed can be displayed in the vehicle-mounted terminal, or the recommended driving speed can be prompted by voice in the vehicle-mounted terminal; or, if the above method is applied to a mobile terminal, the recommended driving speed can be displayed in the mobile terminal, or the recommended driving speed can be prompted by voice in the mobile terminal.
[0086] In some embodiments, Figure 2 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 2 ,like Figure 2 As shown, step 104 can be implemented through the following steps 201 to 203:
[0087] Step 201, determining an upper limit value of a first driving speed range according to a lower limit value of an overlapping portion of the first time range and the second time range and the first distance;
[0088] Step 202, determining a lower limit value of the first driving speed range according to an upper limit value of an overlapping portion of the first time range and the second time range and the first distance;
[0089] Step 203: recommend a driving speed according to the first driving speed range.
[0090] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the upper limit of the first driving speed range is determined according to the lower limit of the overlapping part of the first time range and the second time range and the first distance; the lower limit of the first driving speed range is determined according to the upper limit of the overlapping part of the first time range and the second time range and the first distance; the driving speed is recommended according to the first driving speed range. In this way, since the time range of the determined first driving speed range is the overlapping part of the first time range and the second time range, and the lower limit and upper limit of the first time range are respectively the minimum time and maximum time required for the vehicle to travel the first distance, and the second time range is the time range when the first traffic light is in the green light state; therefore, using any rate in the first driving speed range determined based on the overlapping part of the first time range and the second time range and the first distance is beneficial to improve the driving safety of the vehicle by avoiding the situation where the recommended driving speed is greatly different from the current driving speed and / or does not comply with traffic regulations while passing the first traffic light quickly, that is, by avoiding sudden acceleration or deceleration of the vehicle.
[0091] It should be understood that in the embodiment of the present application, any speed within the first driving speed range can be recommended to the user. Of course, the closer the recommended driving speed is to the upper limit of the first driving speed range, the faster the first traffic light can be passed.
[0092] In other embodiments, Figure 3 A schematic diagram of the implementation process of a driving speed recommendation method provided in an embodiment of the present application Figure 3 ,like Figure 3 As shown, step 104 can be implemented through the following steps 301 to 306:
[0093] Step 301, determining a first driving speed range according to an overlapping portion of a first time range and a second time range and a first distance;
[0094] Step 302, determining a second distance between the current position of the vehicle and a second traffic light to be passed;
[0095] Step 303, determining a third time range according to the preferred driving speed range of the vehicle and / or the traffic regulation speed limit range, wherein the lower limit value and the upper limit value of the third time range are respectively the minimum time and the maximum time required for the vehicle to travel the second distance;
[0096] Step 304, determining at least one fourth time range according to the change cycle of the second traffic light and the current state of the second traffic light, wherein the lower limit of the fourth time range refers to the time length from the current moment to the third green light moment, and the upper limit of the fourth time range refers to the time length from the current moment to the fourth green light moment; wherein the second traffic light is continuously green during the time period from the third green light moment to the fourth green light moment;
[0097] Step 305, determining a second driving speed range according to the overlapped portion of the third time range and the fourth time range and the second distance;
[0098] Step 306 : Recommend a driving speed based on the overlap between the first driving speed range and the second driving speed range.
[0099] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, the first driving speed range is determined according to the overlapping part of the first time range and the second time range and the first distance; the second distance between the current position of the vehicle and the second traffic light to be passed is determined, and the third time range to reach the second traffic light is determined according to the preferred driving speed range and / or the traffic speed limit range of the vehicle; at least one fourth time range is determined according to the change cycle of the second traffic light and the current state of the second traffic light; the second driving speed range is determined according to the overlapping part of the third time range and the fourth time range and the second distance; the driving speed is recommended according to the overlapping part of the first driving speed range and the second driving speed range. In this way, the recommended driving speed can meet the requirements of the preferred driving speed and the traffic speed while passing the first traffic light and the second traffic light quickly, thereby passing the first traffic light and the second traffic light quickly and safely.
[0100] It should be understood that in the embodiments of the present application, the first traffic light and the second traffic light are not limited. In some embodiments, the first traffic light may be the first traffic light that the vehicle is about to pass, and the second traffic light may be the traffic light that the vehicle is about to pass after passing the first traffic light; or the second traffic light may be the first traffic light that the vehicle is about to pass, and the first traffic light may be the traffic light that the vehicle is about to pass after passing the second traffic light.
[0101] Regarding “determining the third time range based on the vehicle's preferred driving speed range and / or traffic regulations speed limit range”, you can refer to the above explanation on determining the first time range for understanding, and will not elaborate on it here. Regarding “determining at least one fourth time range based on the change cycle of the second traffic light and the current state of the second traffic light”, you can refer to the above explanation on determining the second time range for understanding, and will not elaborate on it here. Regarding “determining the second driving speed range based on the overlapping part of the third time range and the fourth time range and the second distance”, you can refer to the above explanation on determining the first driving speed range for understanding, and will not elaborate on it here.
[0102] Exemplarily, as a possible implementation method, there are two traffic light intersections on the driving route of the vehicle. It is determined that the distance d1 between the vehicle and the first traffic light that is about to pass is 150 meters, and the distance d2 between the vehicle and the second traffic light that is about to pass is 850 meters. The change rule of the first traffic light is obtained as (10, 5, 2), and the change rule of the second traffic light is obtained as (20, 10, 15). Since 2<10, 15<20, both traffic lights are in the red light period during the current calculation. When 0≤Z≤X (that is, when the traffic light is in the red light interval), the time range when the traffic light is green is [XZ, X+YZ]+N(X+Y+3). For the first traffic light, the second time range calculated using the above method is [8, 13]+18N. For the second traffic light, the fourth time range calculated using the above method is [5, 15]+18N. The overlapping rate range of the vehicle is 40km / h to 60km / h.
[0103] Thereby, the first time range and the third time range are calculated; wherein the first time range is: [150 / (60×1000 / 3600), 150 / (40×1000 / 3600)]=[9, 13.5], and the third time range is: [850 / (60×1000 / 3600), 850 / (40×1000 / 3600)]=[51, 76.5]. The first time range [9, 13.5] and the second time range take the intersection [8, 13] + 18N to get [9, 13], that is, the vehicle can pass the first traffic light during the first green light, the passing time is [9, 13], and the passing speed range is 41.53km / h to 60km / h, that is, the first speed range; the lower limit of the first speed range is calculated by dividing d1 by 13 seconds, and the upper limit of the first speed range is calculated by dividing d1 by 9 seconds; the third time range [51, 76.5] and the fourth time range [5, 15] + 18N take the intersection to get [51, 51] and [59, 74]. Since the interval [51, 51] is only 1s, this interval is discarded. Therefore, the vehicle can pass the second traffic light during the fourth green light, and the passing speed range is 41.35km / h to 51.86km / h, that is, the second speed range. The intersection of the first speed range and the second speed range results in an overlapped portion of 41.53 km / h to 51.86 km / h. The recommended driving speed is any speed from 41.53 km / h to 51.86 km / h, for example, the recommended speed may be 51.86 km / h.
[0104] It should be understood that in the embodiment of the present application, the number of traffic lights involved in the calculation is not limited. It is sufficient as long as the overlapping part of the driving speed range can be obtained. The premise for being able to obtain the overlapping part of the driving speed range is that a usable intersection can be obtained based on the multiple time ranges obtained from the traffic lights involved in the calculation. Among them, the usable intersection means that within the time range, the vehicle can pass the traffic light. For example, when the intersection is only one second, the intersection is not usable because it is difficult for the vehicle to pass the traffic light within one second.
[0105] Exemplarily, in some embodiments, if the vehicle is on the road to the destination and also includes a third traffic light, the second distance between the current position of the vehicle and the third traffic light to be passed can also be determined; based on the vehicle's preferred driving speed range and / or traffic speed limit range, a fifth time range is determined, and the lower limit value and upper limit value of the third time range are respectively the minimum time and maximum time required for the vehicle to travel the third distance; based on the change cycle of the third traffic light and the current state of the second traffic light, at least one sixth time range is determined, the lower limit value of the sixth time range refers to the time from the current moment to the fifth green light moment, and the upper limit value of the sixth time range refers to the time from the current moment to the sixth green light moment; wherein, the third traffic light remains green during the time period from the fifth green light moment to the sixth green light moment; based on the overlapping part of the fifth time range and the sixth time range and the third distance, a third driving speed range is determined; based on the overlapping part of the first driving speed range, the second driving speed range and the third driving speed range, a driving speed recommendation is made.
[0106] In some embodiments, the fourth driving speed range, fifth driving speed range, and sixth driving speed range corresponding to the fourth traffic light, fifth traffic light, sixth traffic light, etc. can also be calculated; and driving speed recommendations can be made based on the overlapping parts of the first driving speed range, the second driving speed range, the third driving speed range, the fourth driving speed range, the fifth driving speed range, and the sixth driving speed range.
[0107] In some embodiments, the first traffic light is the first traffic light that the vehicle passes through from the current position, and the method further includes: when the first distance is less than or equal to a first threshold, determining a first duration required for the vehicle to reach the first traffic light based on the current driving speed of the vehicle and the first distance; and displaying prompt information; wherein the prompt information is used to prompt the first duration required to reach the first traffic light at the current driving speed.
[0108] It can be understood that in the driving speed recommendation method provided in the embodiment of the present application, when the first distance is less than or equal to the first threshold, the first time required for the vehicle to reach the first traffic light is determined based on the current driving speed of the vehicle and the first distance; based on this, prompt information is displayed, and the prompt information is used to prompt the first time required to reach the first traffic light at the current driving speed. In this way, it is helpful to assist the user to determine whether it is possible to pass through the traffic light intersection based on the displayed time and the current state of the traffic light seen by the user. If it is not possible to pass through the traffic light intersection, the speed can be adjusted in time, emergency braking can be reduced, and the driving experience can be improved.
[0109] It should be understood that in the embodiments of the present application, the specific value of the first threshold is not limited, and the first threshold can be filled in by the user or preset. In some embodiments, the first threshold is 100 meters.
[0110] In some embodiments, the prompt information is used to prompt the first time duration required to reach the first traffic light at the current driving speed, so that the user can judge whether the first traffic light can be passed based on the first time duration and the duration of the current state of the first traffic light seen by the user. If the user cannot pass the traffic light, the user can slow down and drive safely.
[0111] In some embodiments, the prompt information is also used to prompt the user to slow down when it is determined that the user cannot pass the first traffic light based on the first duration and the duration of the current state of the first traffic light seen by the user.
[0112] In other embodiments, the method further includes: determining whether the vehicle can pass through the first traffic light based on the first duration, the changing cycle of the first traffic light and the current state of the first traffic light, and displaying a prompt message; wherein the prompt message is used to prompt the first duration required to reach the first traffic light at the current driving speed, and whether the vehicle can pass through the first traffic light based on the current driving speed or the vehicle cannot pass through the first traffic light based on the current driving speed, please slow down.
[0113] In some embodiments, determining whether the vehicle can pass through the first traffic light based on the first duration, the changing cycle of the first traffic light and the current state of the first traffic light includes: determining the first time range according to the changing cycle of the first traffic light and the current state of the first traffic light; determining whether the vehicle can pass through the first traffic light according to the first time range and the first duration.
[0114] Exemplarily, as a possible implementation, when the distance to the traffic light that is about to be passed is 100m, the three-dimensional array of the current traffic light change rule is (10, 5, 5.47), the time required to reach the traffic light intersection at the current driving speed of 51.86km / h is 6.94s, 5.47s+6.94s=12.41s is within the green light range, and the user is reminded that the time required to reach the traffic light intersection at the current driving speed of 51.86km / h is 6.94s, and the user is reminded to reach the traffic light intersection within 6.94s.
[0115] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0116] An embodiment of the present application provides a method for recommending driving speed. By using the navigation road selected by the navigation system, the optimal speed at which a vehicle can quickly pass through traffic lights is calculated in advance, thereby assisting vehicle users to quickly pass through traffic lights along the way. This method can effectively reduce the incidence of traffic accidents and improve vehicle driving safety.
[0117] Figure 4 A schematic diagram of a driving speed recommendation system provided in an embodiment of the present application, such as Figure 4 As shown, the driving speed recommendation system includes an input module 401 , a monitoring module 402 , a logic judgment module 403 , a data processing module 404 and an output module 405 .
[0118] Among them, the input module 401 is used to: obtain the location of the traffic light intersection on the navigation path, the passing order, spacing, number, and the traffic limit speed range on the driving section based on the road map and navigation path information; and obtain the user's preferred driving speed range on different roads (such as highways, urban roads, rural roads, etc.), obtain the changing pattern of the traffic light that the vehicle is about to pass (i.e., an example of the first traffic light) and the current driving speed of the vehicle.
[0119] The monitoring module 402 is used to obtain the vehicle position at regular intervals.
[0120] The logic judgment module 404 is used to: judge whether the traffic light intersection that the vehicle is about to pass through on its driving route is greater than 1 or greater than 0; judge whether the distance d between the vehicle and the traffic light intersection that is about to pass through is less than M (i.e., an example of the first threshold); judge whether the vehicle can directly pass through the traffic light that is about to be reached at the current driving speed; and judge whether the vehicle has passed the traffic light that is about to be passed.
[0121] The data processing module 404 is used to: calculate the distance d1 (an example of the first distance) and d2 (an example of the second distance) from the vehicle to two traffic lights that are about to be passed or the distance d1 from a traffic light that is about to be passed; and calculate the optimal speed of the vehicle passing through the two traffic lights that are about to be passed; and periodically calculate the distance d to the traffic light that is about to be passed.
[0122] The output module 405 is used to: remind the user according to the calculation result; and terminate the system operation according to the logic judgment result.
[0123] In some embodiments, Figure 5 A schematic diagram of a vehicle driving path provided in an embodiment of the present application, such as Figure 5 As shown, taking the example of a user driving a vehicle from location 501 to location 502 along the navigation path, the traffic lights that the vehicle will pass through include a first traffic light intersection 503, a second traffic light intersection 504, a third traffic light intersection 505 and a fourth traffic light intersection 506.
[0124] The implementation of the driving speed recommendation method provided in the embodiment of the present application relies on the road map and global positioning system (GPS) positioning and other auxiliary positioning functions of the existing navigation system. The vehicle user installs software (hereinafter referred to as user software) on his mobile terminal device to assist the user to quickly pass through the traffic light intersection. Select to fill in the user's preferred driving speed range and set the distance threshold M between the vehicle and the traffic light intersection. If the user does not fill in, the user's preferred driving speed range defaults to 0km / h to 120km / h, and M defaults to 100 meters. After the relevant operations are completed, the navigation-based method of assisting users to quickly pass through traffic lights (i.e., an example of a driving speed recommendation method) is as follows: Figure 6 As shown, the method includes the following steps 601 to 617.
[0125] Step 601, obtaining the positions and number N of all traffic lights on the navigation path.
[0126] In some embodiments, the location, passing order, spacing, and number N of traffic lights on the navigation path are obtained based on the road map and navigation path information.
[0127] Specifically, in some embodiments, the positions of the traffic lights on the navigation path are obtained as traffic light intersection 1, traffic light intersection 2, traffic light intersection 3, and traffic light intersection 4, and the order of passing is traffic light intersection 1, traffic light intersection 2, traffic light intersection 3, and traffic light intersection 4, with a spacing of 150m, 700m, 150m, and 500m. The number of traffic lights on the navigation path is N = 4. It can be obtained that the distances between each traffic light intersection and the starting point are 150m, 850m, 1000m, and 1500m respectively.
[0128] Step 602, determine whether N is greater than 0; if so, execute step 603, otherwise end.
[0129] In some embodiments, it is determined whether there is a traffic light intersection on the vehicle's route (whether N is greater than 0). If N is equal to or less than 0, the system operation ends; if N is greater than 0, the traffic light intersection closest to the vehicle on the driving direction route is selected as the traffic light intersection to be passed.
[0130] Step 603, read the position of the traffic light that is about to be passed.
[0131] Specifically, in some embodiments, the user software obtains the vehicle position and uploads it to the system server. The system server reads the current position of the vehicle and selects the traffic light intersection closest to the vehicle (traffic light intersection 1) as the traffic light to be passed.
[0132] Step 604, determine whether N is greater than 1; if so, execute 605, otherwise execute step 606
[0133] In some embodiments, it is determined whether there are two or more traffic lights on the vehicle's route (whether N is greater than 1). If N is greater than 1, the vehicle's current position is read, and the distances d1 and d2 between the vehicle and the two traffic lights that the vehicle is about to pass are calculated; if N is equal to 1, the vehicle's current position is read, and the distance d1 to the traffic light that the vehicle is about to pass is calculated.
[0134] Specifically, in some embodiments, there are two or more traffic lights on the vehicle's route, and the system calculates that the distance d1 between the vehicle and the two traffic lights that the vehicle is about to pass is 150 meters, and d2 is 850 meters.
[0135] Step 605, calculating the speed of passing through two traffic lights.
[0136] Step 606, calculating the speed of passing a single traffic light.
[0137] Step 607, prompting the user to adjust the speed to the optimal speed.
[0138] In some embodiments, Figure 7 A schematic diagram of an implementation process of a method for determining a recommended driving speed provided in an embodiment of the present application Figure 1 ,like Figure 7 As shown, the method includes the following steps 701 to 707:
[0139] Step 701, obtaining the distances d1 and d2 between the vehicle and the two nearest traffic lights;
[0140] Step 702, obtaining a preferred driving speed range;
[0141] Step 703, obtaining the traffic speed limit range of the current area (i.e., an example of the traffic speed limit range);
[0142] Step 707, determining the intersection [v1, v4] of the preferred driving speed range and the current regional traffic speed limit range;
[0143] Step 705, obtaining the changing pattern of the two traffic lights to be passed;
[0144] Step 706, calculating the speed range [v2, v3] for consecutively passing through two traffic lights to be passed;
[0145] Step 707, taking v3 as the optimal speed.
[0146] In some embodiments, Figure 8 A schematic diagram of an implementation process of a method for determining a recommended driving speed provided in an embodiment of the present application Figure 2 ,like Figure 8 As shown, the method includes the following steps 801 to 807:
[0147] Step 801, obtaining the distance d1 between the vehicle and the traffic light to be passed;
[0148] Step 802, obtaining a preferred driving speed range;
[0149] Step 803, obtaining the traffic speed limit range of the current area;
[0150] Step 804, determining the intersection [v1, v4] of the preferred driving speed range and the current regional traffic speed limit range;
[0151] Step 805: Obtain the changing pattern of the traffic light that is about to pass
[0152] Step 806, calculating the speed range [v2, v3] for continuously passing through the traffic lights to be passed;
[0153] Step 807, taking v3 as the optimal speed.
[0154] Specifically, in some embodiments, the software obtains that the current driving section is an urban road, and obtains that the user's preferred driving speed range on urban roads is 40 kilometers per hour (km / h) to 60km / h. The traffic speed limit range of the current region obtained from the map is 0km / h to 70km / h. The intersection of the user's preferred driving speed range and the current traffic speed limit range is taken, and the overlapping speed range can be obtained as 40km / h to 60km / h.
[0155] The changing pattern of the first traffic light is obtained as (10, 5, 2), and the changing pattern of the second traffic light is obtained as (20, 10, 15). Since 2<10, 15<20, both traffic lights are in the red light period during the current calculation. When 0≤Z≤X (that is, when the traffic light is in the red light interval), the time range when the traffic light is green is [XZ, X+YZ]+N(X+Y+3). For the first traffic light, the second time range calculated using the above method is [8, 13]+18N. For the second traffic light, the fourth time range calculated using the above method is [5, 15]+18N. The overlapping rate range of vehicles is 40km / h to 60km / h. Thereby, the first time range and the third time range are calculated; wherein the first time range is: [150 / (60×1000 / 3600), 150 / (40×1000 / 3600)]=[9, 13.5], and the third time range is: [850 / (60×1000 / 3600), 850 / (40×1000 / 3600)]=[51, 76.5]. The first time range [9, 13.5] and the second time range take the intersection [8, 13] + 18N to get [9, 13], that is, the vehicle can pass the first traffic light during the first green light, the passing time is [9, 13], and the passing speed range is 41.53km / h to 60km / h, that is, the first speed range; the lower limit of the first speed range is calculated by dividing d1 by 13 seconds, and the upper limit of the first speed range is calculated by dividing d1 by 9 seconds; the third time range [51, 76.5] and the fourth time range [5, 15] + 18N take the intersection to get [51, 51] and [59, 74]. Since the interval [51, 51] is only 1s, this interval is discarded. Therefore, the vehicle can pass the second traffic light during the fourth green light, and the passing speed range is 41.35km / h to 51.86km / h, that is, the second speed range. The intersection of the first speed range and the second speed range gives an overlapped portion of 41.53km / h to 51.86km / h. The recommended driving speed is any speed between 41.53km / h and 51.86km / h, for example, the recommended speed may be 51.86km / h. The time from the current position to the traffic light is 10.41s. The user is reminded that the optimal driving speed is v3, and adjusting the speed to v3 allows the user to directly pass the current traffic light.
[0156] Step 608, periodically obtain the distance d between the vehicle and the traffic light that is about to pass.
[0157] Step 609, determine whether d is less than M; if so, execute step 610, otherwise execute step 608.
[0158] Step 610, obtaining the vehicle speed v.
[0159] In some embodiments, the current position of the vehicle is read every second, and the distance d between the vehicle and the traffic light intersection to be passed is calculated. When d is less than a threshold value M, the driving speed of the vehicle is obtained; otherwise, the distance d between the vehicle and the traffic light intersection to be passed is continuously calculated at regular intervals.
[0160] Specifically, in some embodiments, if the first threshold is not modified, the current position of the vehicle is read every second, and the distance d between the vehicle and the traffic light intersection to be passed is calculated. When d is less than the threshold of 100m, the vehicle speed is obtained; otherwise, the distance d between the vehicle and the traffic light intersection to be passed is continuously calculated at regular intervals.
[0161] In some embodiments, the current driving speed v of the vehicle is obtained by interacting with the interior of the vehicle. Specifically, in some embodiments, the current driving speed v of the vehicle is obtained to be 51.86 km / h.
[0162] Step 611, calculate the time it takes for the vehicle to pass the upcoming traffic light.
[0163] In some embodiments, the time t to reach the traffic light intersection is calculated based on the current vehicle speed v obtained in step 610. Specifically, in some embodiments, the time t=100 / (51.86×1000 / 3600)=6.94s is calculated based on the speed 51.86km / h and the distance 100m.
[0164] Step 612, determine whether the vehicle can directly pass through the traffic light; if yes, execute step 613, otherwise execute step 614.
[0165] Step 613, reminding the user that the user can go directly through the traffic light.
[0166] In some embodiments, the user is reminded of the time t required to reach the traffic light intersection at the current driving speed v, and is reminded to judge in advance whether the traffic light intersection can be passed within the time t based on the traffic light indication ahead. If it cannot be passed, the user should slow down.
[0167] Specifically, in some embodiments, when the traffic light is about to be passed 100m away, the current traffic light status is (10, 5, 5.47), the time required to reach the traffic light intersection at the current driving speed of 51.86km / h is 6.94s, and 5.47s+6.94s=12.41s is within the green light range. The user is reminded that the time required to reach the traffic light intersection at the current driving speed of 51.86km / h is 6.94s, and the user is reminded to judge in advance that he can pass the traffic light intersection within 6.94s.
[0168] Step 614, reminding the user that he cannot go directly through the traffic light and please slow down.
[0169] Step 615 , after time t, determine whether the vehicle has passed the traffic light; if so, execute step 616 , otherwise execute step 617 .
[0170] Step 616, N=N-1.
[0171] Step 617, determine every second whether the vehicle passes the traffic light; if yes, execute step 616, otherwise execute step 617.
[0172] In some embodiments, the current position information of the vehicle is read after t seconds to determine whether the vehicle has passed or is about to pass a traffic light intersection. If it is determined that the vehicle has passed the intersection, the number of remaining traffic light intersections N=N-1 is updated, and the process returns to step 601. If it is determined that the vehicle has not passed the intersection, the process loops through n traffic light cycles to determine whether the vehicle has passed the traffic light until the vehicle passes the intersection.
[0173] Specifically, in some embodiments, the current position of the vehicle is read after 6.94 seconds, and it is determined that the vehicle has just passed through traffic light intersection 1. The number of traffic lights that need to be passed subsequently is 4-1=3, and the process returns to step 601.
[0174] The driving speed recommendation method provided in the embodiment of the present application has the following three advantages: 1. It assists users in judging whether they can pass through a traffic light intersection, so that they can pass through the traffic light intersection quickly and reduce the waiting time for the traffic light; it reduces the situation of passing the traffic light when the traffic light is about to turn red, and reduces the risk of traffic accidents; 2. It assists users in judging whether they can pass through a traffic light intersection, so that they can adjust the vehicle speed in time, reduce emergency braking, and improve the driving experience; 3. The reminder function of the vehicle passing through the traffic light intersection is realized through the navigation system, and the functions of the present application can be directly realized on the existing navigation system at a low cost.
[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present application, which should be included in the scope of protection of the present application.
[0176] It should be noted that although the steps of the method in the present application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.; or, the steps in different embodiments may be combined into a new technical solution. Based on the foregoing embodiments, an embodiment of the present application provides a device, which includes the modules included and the units included in the modules, which can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor may be an AI acceleration engine (such as NPU, etc.), a graphics processor (GPU), a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0177] Fig. 9 A schematic diagram of a driving speed recommendation device provided in an embodiment of the present application, such as Fig. 9 As shown, the driving speed recommendation device 90 includes: a first determination module 901, a second determination module 902, a third determination module 903 and a recommendation module 904; wherein,
[0178] A first determination module 901 is configured to determine a first distance between a current position of the vehicle and a first traffic light to be passed;
[0179] The second determination module 902 is configured to determine a first time range according to the preferred driving speed range and / or the traffic speed limit range of the vehicle, wherein the lower limit value and the upper limit value of the first time range are respectively the minimum time and the maximum time required for the vehicle to travel the first distance;
[0180] The third determination module 903 is configured to determine at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light, wherein the lower limit of the second time range refers to the time length from the current moment to the first green light moment, and the upper limit of the second time range refers to the time length from the current moment to the second green light moment; wherein the first traffic light is continuously green during the time period from the first green light moment to the second green light moment;
[0181] The recommendation module 904 is configured to recommend a driving speed according to the overlap between the first time range and the second time range and the first distance.
[0182] In some embodiments, the change cycle includes a first duration of a red light and a second duration of a green light; the second determination module 902 is specifically configured to determine, when the current state of the first traffic light is a red light, a first time difference between the duration of the red light that has lasted in the current change cycle and the first duration; determine a second time range based on the first time difference and the second duration; and / or determine at least one second time range based on the first time difference, the second duration and the change cycle.
[0183] In some embodiments, the second determination module 902 is specifically configured to determine, when the current state of the first traffic light is a green light, a second time difference between the duration of the green light that has lasted in the current change cycle and the second duration; determine a second time range based on the second time difference; and / or determine a second time range based on the second time difference, the first duration, the second duration and the third duration; wherein the third duration is the third duration of the yellow light in the change cycle; and / or determine at least one second time range based on the second time difference, the first duration, the second duration, the third duration and the change cycle; when the current state of the first traffic light is a yellow light, determine the third time difference between the duration of the yellow light that has lasted in the current change cycle and the third duration; determine a second time range based on the third time difference, the first duration and the second duration; and / or determine at least one second time range based on the third time difference, the first duration, the second duration and the change cycle.
[0184] In some embodiments, the recommendation module 904 is specifically configured to determine the upper limit value of the first driving speed range based on the lower limit value of the overlapping part of the first time range and the second time range and the first distance; determine the lower limit value of the first driving speed range based on the upper limit value of the overlapping part of the first time range and the second time range and the first distance; and recommend a driving speed based on the first driving speed range.
[0185] In some embodiments, the recommendation module 904 is specifically configured to determine a first driving speed range based on the overlapping portion of the first time range and the second time range and the first distance; determine the second distance between the current position of the vehicle and the second traffic light to be passed; determine a third time range based on the preferred driving speed range and / or traffic speed limit range of the vehicle, the lower limit value and the upper limit value of the third time range being the minimum time and the maximum time required for the vehicle to travel the second distance respectively; determine at least one fourth time range based on the change cycle of the second traffic light and the current state of the second traffic light, the lower limit value of the fourth time range being the time from the current moment to the third green light moment, and the upper limit value of the fourth time range being the time from the current moment to the fourth green light moment; wherein the second traffic light remains green during the time period from the third green light moment to the fourth green light moment; determine a second driving speed range based on the overlapping portion of the third time range and the fourth time range and the second distance; and recommend a driving speed based on the overlapping portion of the first driving speed range and the second driving speed range.
[0186] In some embodiments, the driving speed recommendation device 90 also includes a fourth determination module and a display module; wherein the fourth determination module is configured to, when the first distance is less than or equal to a first threshold, determine the first duration required for the vehicle to reach the first traffic light based on the current driving speed of the vehicle and the first distance; the display module is configured to display prompt information; wherein the prompt information is used to prompt the first duration required to reach the first traffic light at the current driving speed.
[0187] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0188] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0189] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0190] An embodiment of the present application provides an electronic device, Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device 100 includes a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program that can be run on the processor 1002, and the processor 1002 implements the steps in the method provided in the above embodiment when executing the program.
[0191] It should be noted that the memory 1001 is configured to store instructions and applications executable by the processor 1002, and can also cache data to be processed or processed by the processor 1002 and various modules in the electronic device 100, which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0192] In some embodiments, the electronic device 100 may be a vehicle-mounted terminal or a mobile terminal. For example, when the recommendation method provided in the embodiment of the present application is applied to a vehicle-mounted terminal, the electronic device 100 is a vehicle-mounted terminal; when the recommendation method provided in the embodiment of the present application is applied to a mobile phone, the electronic device 100 is a mobile phone; when the recommendation method provided in the embodiment of the present application is applied to a tablet computer, the electronic device 100 is a tablet computer.
[0193] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0194] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0195] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0196] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0197] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0198] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0199] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0200] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0201] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0202] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0203] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0204] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain a new product embodiment. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment or device embodiment.
[0205] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for recommending a driving speed, characterized in that: The method comprises: Determining a first distance between a current position of the vehicle and a first traffic light to be passed; Determine a first time range according to the preferred driving speed range and / or traffic speed limit range of the vehicle, wherein a lower limit value and an upper limit value of the first time range are respectively the minimum time and the maximum time required for the vehicle to travel the first distance; Determine at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light, wherein the lower limit of the second time range refers to the time length from the current moment to the first green light moment, and the upper limit of the second time range refers to the time length from the current moment to the second green light moment; wherein the first traffic light is continuously green during the time period from the first green light moment to the second green light moment; A driving speed recommendation is made based on the overlap between the first time range and the second time range and the first distance.
2. The recommendation method according to claim 1, characterized in that: The change cycle includes a first duration of the red light and a second duration of the green light; The determining at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light comprises: When the current state of the first traffic light is a red light, determining a first time difference between the duration of the red light in the current change cycle and the first duration; Determine a second time range according to the first time difference and the second duration; And / or, determine at least one of the second time ranges according to the first time difference, the second duration and the change period.
3. The recommendation method according to claim 2, characterized in that: The determining at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light comprises: When the current state of the first traffic light is green, determining a second time difference between the duration of the green light in the current change cycle and the second duration; Determine a second time range according to the second time difference; and / or, determining a second time range according to the second time difference, the first duration, the second duration and a third duration; wherein the third duration is the third duration of the yellow light in the change cycle; and / or, determining at least one of the second time ranges according to the second time difference, the first duration, the second duration, the third duration and the change period; When the current state of the first traffic light is a yellow light, determining a third time difference between the duration of the yellow light in the current change cycle and the third duration; Determine a second time range according to the third time difference, the first duration and the second duration; And / or, determine at least one of the second time ranges according to the third time difference, the first duration, the second duration and the change period.
4. The recommendation method according to claim 1, characterized in that: The recommending a driving speed according to the overlapped portion of the first time range and the second time range and the first distance includes: Determining an upper limit value of a first driving speed range according to a lower limit value of an overlapping portion of the first time range and the second time range and the first distance; Determining a lower limit value of the first driving speed range according to an upper limit value of an overlapping portion of the first time range and the second time range and the first distance; A driving speed recommendation is made according to the first driving speed range.
5. The recommendation method according to any one of claims 1 to 4, characterized in that: The recommending a driving speed according to the overlapped portion of the first time range and the second time range and the first distance includes: Determine a first driving speed range according to the overlap between the first time range and the second time range and the first distance; Determining a second distance between the current position of the vehicle and a second traffic light to be passed; Determine a third time range according to the preferred driving speed range and / or traffic regulation speed limit range of the vehicle, wherein a lower limit value and an upper limit value of the third time range are respectively the minimum time and the maximum time required for the vehicle to travel the second distance; According to the change cycle of the second traffic light and the current state of the second traffic light, at least one fourth time range is determined, wherein the lower limit of the fourth time range refers to the time length from the current moment to the third green light moment, and the upper limit of the fourth time range refers to the time length from the current moment to the fourth green light moment; wherein the second traffic light is continuously green during the time period from the third green light moment to the fourth green light moment; determining a second driving speed range according to an overlapping portion of the third time range and the fourth time range and the second distance; A driving speed recommendation is made based on the overlapping portion of the first driving speed range and the second driving speed range.
6. The recommendation method according to claim 5, characterized in that: The first traffic light is the first traffic light that the vehicle passes through starting from the current position, and the method further includes: When the first distance is less than or equal to a first threshold, determining a first time required for the vehicle to reach the first traffic light according to the current driving speed of the vehicle and the first distance; Display prompt information; wherein, the prompt information is used to prompt the first time required to reach the first traffic light at the current driving speed.
7. A driving speed recommendation device, characterized in that: The device comprises: A first determination module, configured to determine a first distance between a current position of the vehicle and a first traffic light to be passed; A second determination module is configured to determine a first time range according to the preferred driving speed range and / or the traffic speed limit range of the vehicle, wherein the lower limit value and the upper limit value of the first time range are respectively the minimum time and the maximum time required for the vehicle to travel the first distance; A third determination module is configured to determine at least one second time range according to the change cycle of the first traffic light and the current state of the first traffic light, wherein the lower limit of the second time range refers to the time length from the current moment to the first green light moment, and the upper limit of the second time range refers to the time length from the current moment to the second green light moment; wherein the first traffic light is continuously green during the time period from the first green light moment to the second green light moment; The recommendation module is configured to recommend a driving speed according to an overlap between the first time range and the second time range and the first distance.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the recommendation method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the recommendation method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the recommendation method according to any one of claims 1 to 6 is implemented.
