Vehicle control method and device based on traffic lights, electronic equipment and medium

By determining the traffic light stop line distance and change information in autonomous driving vehicles, and dynamically adjusting the vehicle strategy, the problem of strategy adjustment in severe weather and long-distance identification of traffic lights is solved, and driving safety and timeliness are improved.

CN118877012APending Publication Date: 2024-11-01CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410999733.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

It is difficult for autonomous vehicles to make timely strategic adjustments in time when identifying traffic lights in severe weather conditions and long-distance, which affects driving safety and the timeliness of strategy adjustments.

Method used

By determining the distance between the vehicle and the traffic light stop line, and dynamically adjusting the vehicle's driving strategy according to the target speed and the change information of the traffic light, the first and second execution strategies are adopted to control the vehicle to continue driving or stop, reducing the single visual recognition dependency.

Benefits of technology

Under severe weather and long-distance conditions, ensure that the vehicle can make timely strategic adjustments, and improve the driving safety of autonomous driving and the timeliness of strategic adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118877012A_ABST
    Figure CN118877012A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle control method and device based on traffic lights, electronic equipment and a medium. The method comprises the steps that the distance between a vehicle and a stop line corresponding to the traffic lights is determined; the stop line is used for representing the stop position of the vehicle when encountering the traffic light; when the distance between the vehicle and the stop line corresponding to the traffic light is smaller than a distance threshold value, controlling the speed of the vehicle to a target speed, and controlling the vehicle to complete lane selection; determining an execution strategy of the vehicle as a first execution strategy or a second execution strategy according to the target speed, the distance between the vehicle and a stop line corresponding to the traffic light and the change information of the traffic light; the first execution strategy is used for controlling the vehicle to continue driving; the second execution strategy is used for controlling the vehicle to stop driving. According to the embodiment of the invention, by comprehensively utilizing various information sources, the dependence of the vehicle on single visual identification is reduced, and the driving strategy of the vehicle is dynamically adjusted, so that the vehicle can be ensured to make strategy adjustment in time during automatic driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of autonomous driving technology, and in particular, to a traffic light-based vehicle control method, a traffic light-based vehicle control device, an electronic device, and a computer-readable storage medium. Background Art

[0002] In autonomous driving, Advanced Driver Assistance Systems (ADAS) have become a product favored by more and more car models and users. Traffic lights are recognized through the sensing devices on the vehicle. However, the current perception level of the sensing devices is very limited for the recognition of traffic lights. For traffic light scenes with larger intersections, the requirements for the sensing devices will be higher. Weather conditions such as heavy rain, snow, fog, and backlight in traffic light scenes pose great challenges to the visual recognition performance, which is undoubtedly very fatal to vision, which directly affects the driving safety of autonomous vehicles and the timeliness of strategy adjustments. Summary of the invention

[0003] The embodiments of the present invention provide a vehicle control method, device, electronic device and computer-readable storage medium based on traffic lights to solve the problem that vehicles have difficulty identifying traffic lights in severe weather conditions and at long distances, resulting in the vehicle being unable to make timely strategy adjustments during automatic driving.

[0004] The embodiment of the present invention discloses a vehicle control method based on traffic lights, the method comprising:

[0005] Determine the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light;

[0006] When the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection;

[0007] When the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet the first condition, the execution strategy of the vehicle is determined to be the first execution strategy; the first execution strategy is used to control the vehicle to continue driving;

[0008] When the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the second condition, the execution strategy of the vehicle is determined to be the second execution strategy; the second execution strategy is used to control the vehicle to stop driving.

[0009] Optionally, the change information of the traffic light includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a first condition, determining that the execution strategy of the vehicle is the first execution strategy includes:

[0010] Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light;

[0011] When the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the execution strategy of the vehicle is determined to be the first execution strategy.

[0012] Optionally, after determining that the execution strategy of the vehicle is the first execution strategy when the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the method further includes:

[0013] If the vehicle passes through the stop line corresponding to the traffic light, and the color corresponding to the traffic light is not red, the execution strategy of the vehicle is still maintained as the first execution strategy;

[0014] If the vehicle passes through the stop line corresponding to the traffic light and the color corresponding to the traffic light is red, the execution strategy of the vehicle is changed to the second execution strategy.

[0015] Optionally, the change information of the traffic light includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a second condition, determining that the execution strategy of the vehicle is the second execution strategy includes:

[0016] Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light;

[0017] When the time of the stop line corresponding to the traffic light is greater than the time threshold, the execution strategy of the vehicle is determined to be the second execution strategy.

[0018] Optionally, when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, controlling the speed of the vehicle to a target speed, and controlling the vehicle to complete lane selection, includes:

[0019] When the distance between the vehicle and the stop line corresponding to the traffic light is less than the distance threshold, determining the driving intention of the vehicle;

[0020] Determining the target speed and the target lane according to the driving intention of the vehicle;

[0021] controlling the speed of the vehicle to the target speed;

[0022] The vehicle is controlled according to the target lane to complete lane selection.

[0023] Optionally, determining the target speed and the target lane according to the driving intention of the vehicle includes:

[0024] When the driving intention of the vehicle is a straight-going intention, determining the target speed as a first speed and determining the target lane as a straight-going lane;

[0025] When the driving intention of the vehicle is a right turn intention, determining the target speed as a second speed and determining the target lane as a right turn lane;

[0026] When the driving intention of the vehicle is a left turn intention, determining the target speed as the second speed, and determining the target lane as a left turn lane;

[0027] When the driving intention of the vehicle is a U-turn intention, the target speed is determined to be a third speed, and the target lane is determined to be the left-turn lane;

[0028] The first speed is greater than the second speed and the third speed, and the second speed is greater than the third speed.

[0029] Optionally, the time threshold is the time interval for the color corresponding to the traffic light to change from red to non-red, or the time interval for the color corresponding to the traffic light to change from non-red to red.

[0030] The embodiment of the present invention further discloses a vehicle control device based on traffic lights, the device comprising:

[0031] A distance module, used to determine the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light;

[0032] a control module, configured to control the speed of the vehicle to a target speed and control the vehicle to complete lane selection when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold;

[0033] a first execution strategy module, configured to determine that the execution strategy of the vehicle is a first execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a first condition; the first execution strategy is used to control the vehicle to continue traveling;

[0034] The second execution strategy module is used to determine that the execution strategy of the vehicle is the second execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the second condition; the second execution strategy is used to control the vehicle to stop driving.

[0035] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0036] The memory is used to store computer programs;

[0037] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0038] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.

[0039] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0040] The embodiments of the present invention include the following advantages:

[0041] In an embodiment of the present invention, the distance between the vehicle and the stop line corresponding to the traffic light is determined; the stop line is used to represent the position where the vehicle stops when encountering the traffic light; when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection; when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a first condition, the execution strategy of the vehicle is determined to be a first execution strategy; the first execution strategy is used to control the vehicle to continue driving; when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a second condition, the execution strategy of the vehicle is determined to be a second execution strategy; the second execution strategy is used to control the vehicle to stop driving.

[0042] The embodiments of the present invention can dynamically adjust the vehicle's driving strategy according to the real-time distance between the vehicle and the traffic light stop line, the target speed, and the change information of the traffic light. By using the change information of the traffic light and optimizing the vehicle's driving strategy, the problem that the vehicle has difficulty in identifying traffic lights in adverse weather conditions and at long distances, resulting in the vehicle being unable to make timely strategy adjustments during automatic driving, is solved. By comprehensively utilizing multiple information sources, the vehicle's reliance on single visual recognition is reduced, thereby ensuring that the vehicle can make timely strategy adjustments during automatic driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is a schematic diagram of the installation positions of components included in the vehicle control system provided in an embodiment of the present invention;

[0044] Figure 2 is a schematic diagram of the interaction between various parts in a vehicle provided in an embodiment of the present invention;

[0045] Figure 3 is a flow chart of steps of a vehicle control method based on traffic lights provided in an embodiment of the present invention;

[0046] Figure 4 It is a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle is driving straight at a current traffic light intersection provided in an embodiment of the present invention;

[0047] Figure 5 It is a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns right at the current traffic light intersection provided in an embodiment of the present invention;

[0048] Figure 6 It is a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns left at the current traffic light intersection provided in an embodiment of the present invention;

[0049] Figure 7 It is a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns around at a current traffic light intersection provided in an embodiment of the present invention;

[0050] Figure 8 is a flow chart of a vehicle control method based on traffic lights in different scenarios provided in an embodiment of the present invention;

[0051] Fig. 9 is a structural block diagram of a vehicle control device based on traffic lights provided in an embodiment of the present invention;

[0052] Fig.10 is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention;

[0053] Fig.11is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0055] In the embodiment of the present invention, the components included in the vehicle control system are shown in Table 1 below:

[0056] Table 1 List of components included in the vehicle control system

[0057] Parts Name quantity Parts Description Rear view camera (RC) 1 120° wide-angle camera Front Camera Module (FCM) 1 Camera and controller integration Side view camera (SFC1~2, SRC1~2) 4 100° wide-angle camera Smart camera set 1 3 HD cameras with different angles Front Millimeter Wave Radar Module (FRM) 1 77GHz millimeter wave radar Front angle millimeter wave radar (CR1~2) 2 77GHz millimeter wave radar Rear corner millimeter wave radar (CR3~4) 2 77GHz millimeter wave radar Autopilot controller 1 Advanced autonomous driving controller module assembly

[0058] Reference Figure 1 , shows a schematic diagram of the installation positions of the components included in the vehicle control system provided in an embodiment of the present invention, which is described in detail as follows:

[0059] 1) Rear view camera (RC): 120° wide-angle megapixel camera, located above the rear windshield of the vehicle;

[0060] 2) Front Camera Module (FCM): It is placed on the front windshield of the vehicle and has a detection range of about 150m;

[0061] 3) Side view camera (SFC1-2, SRC1-2): 100° wide-angle megapixel camera, the side front view (SFC1-2) is arranged in the rearview mirror, and the side rear view (SRC1-2) is arranged above the fender, with a detection distance of about 70m;

[0062] 4) Smart camera group: There are 3 cameras respectively, with the field of view divided into small, medium and large angles, and the maximum detection distance can reach about 200m;

[0063] 5) Front millimeter-wave radar (FRM): 77GHz millimeter-wave radar, installed in front of the vehicle, with a detection range of about 160m;

[0064] 6) Front corner millimeter wave radar (CR1~2): 77GHz millimeter wave radar, installed on the left and right sides of the front bumper, with a detection distance of about 80m;

[0065] 7) Rear corner millimeter wave radar (CR3~4): 77GHz millimeter wave radar, installed on the left and right sides of the rear bumper, with a detection range of about 80m;

[0066] 8) Automatic driving controller: can be placed in any waterproof position of the vehicle.

[0067] In an embodiment of the present invention, the control system of the vehicle can realize functions such as adaptive cruise, integrated cruise, pilot assisted driving, front collision warning, automatic emergency braking, lane departure, lane keeping, lever lane change, and autonomous lane change.

[0068] Reference Figure 2 , showing a schematic diagram of the interaction between various parts in the vehicle provided in an embodiment of the present invention, including 5 millimeter-wave radars, 9 cameras, an automatic driving controller, a body stability system, an electric power steering, a vehicle controller, a body controller, an instrument, a central control screen, a turn signal, etc. The sensor unit communicates with the automatic driving controller through a private CANFD (Controller Area Network Flexible Data-rate, a communication protocol) network, and other related systems communicate with the automatic driving controller through CANFD. The following is a brief description of the main working implementation methods of various parts in the vehicle:

[0069] 1) Corner millimeter-wave radar is installed on the left and right sides of the front and rear bumpers. It sends out radio waves (radar waves) and then receives echoes. The target's position data is measured based on the time difference between sending and receiving. The detection distance can reach 160m. Millimeter waves can accurately detect parameters such as the distance between obstacles and the vehicle and the relative speed.

[0070] 2) The front millimeter-wave radar is installed directly below the vehicle license plate. It sends out radio waves (radar waves) and then receives echoes. The target's position data is measured based on the time difference between sending and receiving. The detection distance can reach 160m. Millimeter waves can accurately detect parameters such as the distance between the obstacle and the vehicle and the relative speed.

[0071] 3) The front camera module can output obstacle targets and lane line information to the autonomous driving controller for decision-making and control, and play a redundant takeover role when the autonomous driving controller fails.

[0072] 4) The smart camera group is a combination of three high-pixel cameras with different viewing angles. It can detect obstacles up to 200 meters away from the front, identify lane line information, and identify vehicles entering and exiting at close range.

[0073] 5) Side-view cameras can make up for the poor recognition rate of corner radar in low-speed scenarios, and can quickly and in advance capture the trend of other vehicles cutting in and close-range cutting in scenarios, so that the autonomous driving controller can handle the cutting in and out scenarios in advance;

[0074] 6) The autonomous driving controller (ADC module for short) obtains the perception module (the perception module includes millimeter-wave radar, front camera module, smart camera group, side-view camera and IMU integrated inside, etc.) and identifies lane lines, vehicles on the road, curbs, obstacles, etc. through algorithms, and then reasonably plans the trajectory planning of driving assistance, and controls the lateral and longitudinal directions of the vehicle to achieve functions such as following the vehicle when there are obstacles, and achieving cruise control, avoiding rear collision vehicles, following and automatic starting when there are no obstacles. During the control process, the autonomous driving controller will send corner requests, deceleration requests, torque requests, etc. to each related system.

[0075] 7) The body stability system (ESC) is used to receive the deceleration request command sent by the automatic driving controller, and at the same time feedback the vehicle's deceleration, yaw angle, vehicle speed, wheel speed and other body data for the automatic driving controller to perform vehicle longitudinal control calculations.

[0076] 8) Electric power steering (EPS for short) is used to execute the steering angle and steering angle acceleration requests issued by the automatic driving controller, and control the steering wheel to the angle instructed by the automatic driving controller. If the electric power steering fails or the driver intervenes in parking, the reason for exiting control must be fed back to the automatic driving controller.

[0077] 9) The vehicle control unit (VCU) is used to receive the torque request from the automatic driving controller, perform acceleration control, and provide real-time feedback on the vehicle's gear position, response torque, etc.

[0078] 10) The body controller (BCM for short) is used to receive control requests for turn signals, hazard warning lights, wipers, lights, etc. for autonomous driving control.

[0079] 11) Instrument cluster (IC for short) is used to display the human-computer interaction interface, text, picture and sound reminders during the activation of the assisted driving function.

[0080] 12) The central control screen (HU for short) displays the scene reconstruction interface and the user-defined settings entrance during the activation process of the navigation assistance function.

[0081] 13) The turn signal lamp is used to respond to the lighting request of the vehicle body controller during the autonomous driving process to remind other vehicles to drive safely.

[0082] The high-precision map navigation system can accurately locate the position of the vehicle and confirm the specific lane information of the vehicle. Currently, navigation software such as AutoNavi can provide traffic light countdown function through big data. According to statistics, the countdown accuracy is relatively high, with a maximum deviation of 2-3 seconds. Therefore, in an embodiment of the present invention, it is proposed that assisted driving use high-precision maps to combine lane-level positioning of vehicles with big data analysis of traffic light changes. The high-precision map navigation system can provide the assisted driving system with the traffic light change cycle, thereby controlling the vehicle to pass through the traffic light scene in advance, and effectively realizing the implementation of the traffic light assisted driving system.

[0083] Reference Figure 3 , shows a flow chart of the steps of a vehicle control method based on traffic lights provided in an embodiment of the present invention, which may specifically include the following steps:

[0084] Step 301, determining the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light;

[0085] In the embodiment of the present invention, the system first needs to obtain the current position information of the vehicle through the vehicle-mounted sensors (such as radar, camera, etc.). At the same time, the system can also obtain the position information of the stop line corresponding to the traffic light through map data or real-time traffic information, and then calculate the straight-line distance between the current position of the vehicle and the stop line position of the traffic light, and the system can determine the distance between the vehicle and the stop line.

[0086] Step 302: When the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection;

[0087] In the embodiment of the present invention, the system needs to set a distance threshold to determine whether the vehicle needs to slow down and select a lane, and the distance threshold can be specific to S meters, that is, when the vehicle is S meters away from the stop line of the traffic light, the system will start to perform specific operations. Specifically, the speed of the vehicle is reduced to the target speed and the lane selection is completed.

[0088] In an embodiment of the present invention, the target speed can be concretized as V km / h, which is a safe speed calculated by the system to ensure that the vehicle can stop safely before the stop line in various emergency situations. The system will adjust the vehicle speed by controlling the vehicle's accelerator, brakes, etc. to gradually reduce it to V km / h.

[0089] Step 303: when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet the first condition, determining that the execution strategy of the vehicle is the first execution strategy; the first execution strategy is used to control the vehicle to continue driving;

[0090] In the embodiment of the present invention, the system calculates the time t when the vehicle passes the stop line according to the current speed V of the vehicle and the distance S between the vehicle and the stop line. Specifically, the time t when the vehicle passes the stop line is calculated by the following formula (1).

[0091]

[0092] In the embodiment of the present invention, the change information of the traffic light may specifically include a time threshold T, where T refers to the time interval between the color of the traffic light corresponding to red and non-red. Specifically, when t≤T, the system believes that the vehicle can smoothly pass the stop line corresponding to the current traffic light, and the system enters the traffic light passing strategy, that is, the first execution strategy, and the vehicle continues to travel at a speed V.

[0093] However, there will be certain deviations in the traffic light change information obtained through big data. Therefore, the camera will continue to detect the corresponding traffic lights within S meters.

[0094] Specifically, when the vehicle passes the stop line, if the visual detection shows that the color corresponding to the traffic light is not red, the vehicle's execution strategy is still the first execution strategy, so as to control the vehicle to continue traveling at a speed V.

[0095] In an embodiment of the present invention, a high-precision map is used to locate the vehicle at the lane level, and big data is used to analyze the changes in traffic lights. On the premise of ensuring the safety of the vehicle, the speed and lane of the vehicle are adjusted in time so that the vehicle can pass the traffic lights smoothly.

[0096] Step 304: When the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet the second condition, the execution strategy of the vehicle is determined to be the second execution strategy; the second execution strategy is used to control the vehicle to stop driving.

[0097] In the embodiment of the present invention, the change information of the traffic light may specifically include a time threshold T, where T refers to the time interval between the color of the traffic light corresponding to red and non-red. Specifically, when t>T, the system believes that the vehicle cannot safely pass the stop line corresponding to the current traffic light under the current traffic light state, so the system will decide to stop the vehicle. At this time, the execution strategy of the vehicle will be determined as the second execution strategy, and the vehicle will be smoothly braked to ensure that the vehicle can stop safely before the stop line corresponding to the current traffic light.

[0098] In an embodiment of the present invention, a high-precision map is used to locate the vehicle at the lane level, and big data is used to analyze the changes in traffic lights. On the premise of ensuring the safety of the vehicle, the speed and lane of the vehicle are adjusted in time so that the vehicle can stop safely at the red light.

[0099] In one embodiment of the present invention, the change information of the traffic light includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a first condition, determining that the execution strategy of the vehicle is the first execution strategy includes:

[0100] Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light;

[0101] When the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the execution strategy of the vehicle is determined to be the first execution strategy.

[0102] In the embodiment of the present invention, the system calculates the time t when the vehicle passes the stop line according to the current speed V of the vehicle and the distance S between the vehicle and the stop line.

[0103] In the embodiment of the present invention, the change information of the traffic light may specifically include a time threshold T, where T refers to the time interval between the color of the traffic light corresponding to red and non-red. Specifically, when t≤T, the system believes that the vehicle can smoothly pass the stop line corresponding to the current traffic light, and the system enters the traffic light passing strategy, that is, the first execution strategy, and the vehicle continues to travel at a speed V.

[0104] In one embodiment of the present invention, the time threshold is the time interval for the color corresponding to the traffic light to change from red to non-red, or the time interval for the color corresponding to the traffic light to change from non-red to red. In actual scenarios, there are two possibilities for the color corresponding to the traffic light to be non-red, namely, yellow light or green light.

[0105] Specifically, the time threshold T includes T1 and T2, T1 refers to the time interval for the color corresponding to the traffic light to change from red to non-red, which can be the time interval for the red light to change to the green light, and T2 refers to the time interval for the color corresponding to the traffic light to change from non-red to red, which can be the time interval for the green light or yellow light to change to the red light.

[0106] In one embodiment of the present invention, after determining that the execution strategy of the vehicle is the first execution strategy when the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the method further includes:

[0107] If the vehicle passes through the stop line corresponding to the traffic light, and the color corresponding to the traffic light is not red, the execution strategy of the vehicle is still maintained as the first execution strategy;

[0108] If the vehicle passes through the stop line corresponding to the traffic light and the color corresponding to the traffic light is red, the execution strategy of the vehicle is changed to the second execution strategy.

[0109] In actual applications, the traffic light change information obtained through big data may have certain deviations. Therefore, the camera in the embodiment of the present invention will continue to detect the corresponding traffic light within S meters. Specifically, when the vehicle passes the stop line, if the visual detection of the color corresponding to the traffic light is not red, the vehicle's execution strategy is still the first execution strategy, so as to control the vehicle to continue to travel at a speed of V.

[0110] In another embodiment of the present invention, when the vehicle passes through the stop line, if the visual detection corresponds to the color of the traffic light is red, the traffic light passing strategy will be exited, and the vehicle's execution strategy will be determined to be the second execution strategy, and the vehicle will be quickly braked to a stop, that is, the vehicle's execution strategy will be changed from the first execution strategy to the second execution strategy.

[0111] When faced with various complex traffic conditions, the embodiments of the present invention can adjust the vehicle's execution strategy in a timely manner by combining the lane-level positioning of the vehicle by the high-precision map and the analysis of the changes in traffic lights by big data. When the vehicle is allowed to pass, it is ensured that the vehicle can pass the traffic light smoothly; when the vehicle is not allowed to pass, it is determined that the vehicle can stop safely at the stop line.

[0112] In the embodiment of the present invention, there are the following relevant examples for actual traffic conditions:

[0113] Reference Figure 4 , shows a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle is going straight at a current traffic light intersection provided in an embodiment of the present invention.

[0114] Scenario 1: The vehicle is going straight at the current traffic light intersection, and the corresponding color of the traffic light is non-red;

[0115] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle has not passed the stop line, if the visual detection corresponds to the color of the traffic light changes from non-red to red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0116] Scenario 2: The vehicle is going straight at the current traffic light intersection, and the corresponding color of the traffic light is red;

[0117] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle passes the stop line, if the visual detection shows that the color corresponding to the traffic light is still red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0118] Reference Figure 5 , shows a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns right at the current traffic light intersection provided in an embodiment of the present invention.

[0119] Scenario 3: The vehicle turns right at the current traffic light intersection, and the color corresponding to the arrow traffic light is red;

[0120] The current system calculates that the vehicle can pass the stop line smoothly and enters the traffic light passing strategy. When the vehicle passes the stop line, if the visual detection shows that the color corresponding to the traffic light is still red, the first execution strategy (traffic light passing strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0121] Scenario 4: The vehicle turns right at the current traffic light intersection, and the color corresponding to the arrow traffic light is non-red;

[0122] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle has not passed the stop line, if the visual detection corresponds to the color of the traffic light changes from non-red to red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0123] Scenario 5: The vehicle turns right at the current traffic light intersection, a round traffic light;

[0124] The system directly executes the vehicle's right turn using the first execution strategy.

[0125] Reference Figure 6 , shows a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns left at the current traffic light intersection provided in an embodiment of the present invention.

[0126] Scenario 6: The vehicle turns left at the current traffic light intersection, and the corresponding color of the traffic light is non-red;

[0127] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle has not passed the stop line, if the visual detection corresponds to the color of the traffic light changes from non-red to red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0128] Scenario 7: The vehicle turns left at the current traffic light intersection, and the corresponding color of the traffic light is red;

[0129] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle passes the stop line, if the visual detection shows that the color corresponding to the traffic light is still red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0130] Reference Figure 7 , shows a schematic diagram of scenes corresponding to different traffic light conditions when a vehicle turns around at the current traffic light intersection provided in an embodiment of the present invention.

[0131] Scenario 8: The vehicle turns around at the current traffic light intersection, and the corresponding color of the traffic light is non-red;

[0132] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle has not passed the stop line, if the visual detection corresponds to the color of the traffic light changes from non-red to red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0133] Scenario 9: The vehicle turns around at the current traffic light intersection, and the corresponding color of the traffic light is red;

[0134] The current system calculates that the vehicle can pass the stop line smoothly and enters the first execution strategy (passing the traffic light strategy). When the vehicle passes the stop line, if the visual detection shows that the color corresponding to the traffic light is still red, the first execution strategy (passing the traffic light strategy) is exited and the second execution strategy (quick brake stop strategy) is entered.

[0135] In one embodiment of the present invention, the change information of the traffic light includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a second condition, determining that the execution strategy of the vehicle is the second execution strategy includes:

[0136] Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light;

[0137] When the time of the stop line corresponding to the traffic light is greater than the time threshold, the execution strategy of the vehicle is determined to be the second execution strategy.

[0138] In the embodiment of the present invention, the change information of the traffic light may specifically include a time threshold T, where T refers to the time interval between the color of the traffic light corresponding to red and non-red. Specifically, when t>T, the system believes that the vehicle cannot safely pass the stop line corresponding to the current traffic light under the current traffic light state, so the system will decide to stop the vehicle. At this time, the execution strategy of the vehicle will be determined as the second execution strategy, and the vehicle will be smoothly braked to ensure that the vehicle can stop safely before the stop line corresponding to the current traffic light.

[0139] In an embodiment of the present invention, a high-precision map is used to locate the vehicle at the lane level, and big data is used to analyze the changes in traffic lights. On the premise of ensuring the safety of the vehicle, the speed and lane of the vehicle are adjusted in time so that the vehicle can stop safely at the red light.

[0140] In one embodiment of the present invention, when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection, including:

[0141] When the distance between the vehicle and the stop line corresponding to the traffic light is less than the distance threshold, determining the driving intention of the vehicle;

[0142] Determining the target speed and the target lane according to the driving intention of the vehicle;

[0143] controlling the speed of the vehicle to the target speed;

[0144] The vehicle is controlled according to the target lane to complete lane selection.

[0145] Since the ability to visually recognize traffic lights is within 100m, the distance threshold S in the embodiment of the present invention can be set to 80m. The system will then complete vehicle deceleration and lane selection when the vehicle is 80m away from the stop line to ensure that there is enough time and space to respond to possible traffic signal changes.

[0146] It should be noted that the distance threshold in the embodiment of the present invention may be changed according to actual conditions, and the embodiment of the present invention is not limited thereto.

[0147] Specifically, when the distance between the vehicle and the stop line corresponding to the traffic light is less than 80m, the system will determine the vehicle's driving intention, such as whether the vehicle is going straight, turning left, turning right or making a U-turn. According to the vehicle's driving intention, the system will determine the target speed and target lane. The target speed is a safe speed calculated by the system to ensure that the vehicle can stop safely before the stop line. The target lane is the most suitable lane selected according to the current traffic conditions and driving intention. The system will adjust the vehicle's speed by controlling the vehicle's accelerator, brakes, etc., so that it gradually drops to the target speed, and complete the lane change by controlling the steering wheel and the vehicle's acceleration to ensure that the vehicle can safely pass the traffic light.

[0148] In one embodiment of the present invention, determining the target speed and the target lane according to the driving intention of the vehicle includes:

[0149] When the driving intention of the vehicle is a straight-going intention, determining the target speed as a first speed and determining the target lane as a straight-going lane;

[0150] When the driving intention of the vehicle is a right turn intention, determining the target speed as a second speed and determining the target lane as a right turn lane;

[0151] When the driving intention of the vehicle is a left turn intention, determining the target speed as the second speed, and determining the target lane as a left turn lane;

[0152] When the driving intention of the vehicle is a U-turn intention, the target speed is determined to be a third speed, and the target lane is determined to be the left-turn lane;

[0153] The first speed is greater than the second speed and the third speed, and the second speed is greater than the third speed.

[0154] In the embodiment of the present invention, the system needs to adjust the target speed and the target lane according to the driving intention of the vehicle to ensure that the vehicle can complete the driving task safely and effectively.

[0155] In the embodiment of the present invention, there are the following relevant examples for the actual driving intention:

[0156] Go straight: Since the ability of visual recognition of traffic lights is within 100m, the system will reduce the vehicle speed to 40km / h and complete the selection of the straight lane when the vehicle is 80m away from the stop line.

[0157] Right turn: Since the ability to visually identify traffic lights is within 100m, the system will reduce the vehicle speed to 30km / h and select the right turn lane when the vehicle is 80m away from the stop line.

[0158] Left turn: Since the ability of visual recognition of traffic lights is within 100m, the system will reduce the vehicle speed to 30km / h and complete the selection of the left turn lane when the vehicle is 80m away from the stop line.

[0159] U-turn: Since the ability of visual recognition of traffic lights is within 100m, the system will reduce the speed to 20km / h and complete the selection of the left turn lane when the vehicle is 80m away from the stop line.

[0160] In the above example, the first speed can be set to 40km / h, the second speed can be set to 30km / h, and the third speed can be set to 20km / h. It should be noted that the target speed in the embodiment of the present invention can be changed according to actual conditions, and the embodiment of the present invention is not limited thereto.

[0161] In order to enable those skilled in the art to better understand the embodiments of the present invention, a specific example is used below for illustration. Figure 8 , shows a flow chart of a vehicle control method based on traffic lights in different scenarios provided in an embodiment of the present invention, specifically including:

[0162] If the distance between the vehicle and the stop line is less than or equal to the distance threshold S, the vehicle's driving intention is determined, the vehicle is decelerated to the target speed according to the vehicle's driving intention, and the lane selection is completed. Then the passing time of the vehicle through the stop line is calculated, and the relationship between the passing time and the time threshold T is determined. If the passing time is greater than the time threshold T, the first execution strategy is executed, and if the passing time is less than or equal to the time threshold T, the second execution strategy is executed.

[0163] Under the first execution strategy, it is necessary to visually monitor the status of the traffic light. If the color corresponding to the traffic light is red when the vehicle passes the stop line, it means that the vehicle is not allowed to pass at this time. The vehicle needs to change from the first execution strategy to the second execution strategy. If the color corresponding to the traffic light is not red, it means that the vehicle is allowed to pass at this time, and the vehicle continues to execute the first execution strategy.

[0164] The embodiments of the present invention can dynamically adjust the vehicle's driving strategy according to the real-time distance between the vehicle and the traffic light stop line, the target speed, and the change information of the traffic light. By using the change information of the traffic light and optimizing the vehicle's driving strategy, the problem that the vehicle has difficulty in identifying traffic lights in adverse weather conditions and at long distances, resulting in the vehicle being unable to make timely strategy adjustments during automatic driving, is solved. By comprehensively utilizing multiple information sources, the vehicle's reliance on single visual recognition is reduced, thereby ensuring that the vehicle can make timely strategy adjustments during automatic driving.

[0165] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0166] Reference Fig. 9 , shows a structural block diagram of a vehicle control device based on traffic lights provided in an embodiment of the present invention, which may specifically include the following modules:

[0167] A distance module 901 is used to determine the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light;

[0168] A control module 902, configured to control the speed of the vehicle to a target speed and control the vehicle to complete lane selection when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold;

[0169] The first execution strategy module 903 is used to determine that the execution strategy of the vehicle is the first execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the first condition; the first execution strategy is used to control the vehicle to continue driving;

[0170] The second execution strategy module 904 is used to determine that the execution strategy of the vehicle is the second execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the second condition; the second execution strategy is used to control the vehicle to stop driving.

[0171] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0172] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned traffic light-based vehicle control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0173] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned vehicle control method based on traffic lights is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0174] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned traffic light-based vehicle control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0175] Fig.10 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0176] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0177] It should be understood that in the embodiment of the present invention, the radio frequency unit 1001 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 1010 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.

[0178] The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0179] The audio output unit 1003 can convert the audio data received by the RF unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output it as sound. Moreover, the audio output unit 1003 can also provide audio output related to a specific function performed by the electronic device 1000 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, etc.

[0180] The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 can be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode.

[0181] The electronic device 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 10061 and / or the backlight when the electronic device 1000 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1005 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0182] The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0183] The user input unit 1007 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 10071 or near the touch panel 10071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the coordinates of the contact point, and then sends it to the processor 1010, receives the command sent by the processor 1010 and executes it. In addition, the touch panel 10071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

[0184] Furthermore, the touch panel 10071 may be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of touch event. Then, the processor 1010 provides corresponding visual output on the display panel 10061 according to the type of touch event. Fig.10 In the figure, the touch panel 10071 and the display panel 10061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0185] The interface unit 1008 is an interface for connecting an external device to the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and an external device.

[0186] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0187] The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1009 and calling data stored in the memory 1009, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.

[0188] The electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to each component. Preferably, the power supply 1011 may be logically connected to the processor 1010 via a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0189] In addition, the electronic device 1000 includes some functional modules not shown, which will not be described in detail here.

[0190] like Fig.11As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1101 is also provided, in which instructions are stored. When the computer-readable storage medium 1101 is run on a computer, the computer executes the traffic light-based vehicle control method described in the above embodiment.

[0191] 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.

[0192] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0193] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0194] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0195] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0196] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0197] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0198] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0199] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0200] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A vehicle control method based on traffic lights, characterized in that: The method comprises: Determine the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light; When the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection; When the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet the first condition, the execution strategy of the vehicle is determined to be the first execution strategy; the first execution strategy is used to control the vehicle to continue driving; When the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the second condition, the execution strategy of the vehicle is determined to be the second execution strategy; the second execution strategy is used to control the vehicle to stop driving.

2. The method according to claim 1, characterized in that The traffic light change information includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the traffic light change information meet a first condition, determining that the execution strategy of the vehicle is the first execution strategy includes: Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light; When the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the execution strategy of the vehicle is determined to be the first execution strategy.

3. The method according to claim 2, characterized in that After determining that the execution strategy of the vehicle is the first execution strategy when the time of the stop line corresponding to the traffic light is less than or equal to the time threshold, the method further includes: If the vehicle passes through the stop line corresponding to the traffic light, and the color corresponding to the traffic light is not red, the execution strategy of the vehicle is still maintained as the first execution strategy; If the vehicle passes through the stop line corresponding to the traffic light and the color corresponding to the traffic light is red, the execution strategy of the vehicle is changed to the second execution strategy.

4. The method according to claim 1, characterized in that The traffic light change information includes a time threshold, and when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the traffic light change information meet a second condition, determining that the execution strategy of the vehicle is the second execution strategy includes: Determine the time when the vehicle passes the stop line corresponding to the traffic light according to the target speed and the distance between the vehicle and the stop line corresponding to the traffic light; When the time of the stop line corresponding to the traffic light is greater than the time threshold, the execution strategy of the vehicle is determined to be the second execution strategy.

5. The method according to claim 1, characterized in that When the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold, the speed of the vehicle is controlled to a target speed, and the vehicle is controlled to complete lane selection, including: When the distance between the vehicle and the stop line corresponding to the traffic light is less than the distance threshold, determining the driving intention of the vehicle; Determining the target speed and the target lane according to the driving intention of the vehicle; controlling the speed of the vehicle to the target speed; The vehicle is controlled according to the target lane to complete lane selection.

6. The method according to claim 5, characterized in that The determining the target speed and the target lane according to the driving intention of the vehicle includes: When the driving intention of the vehicle is a straight-going intention, determining the target speed as a first speed and determining the target lane as a straight-going lane; When the driving intention of the vehicle is a right turn intention, determining the target speed as a second speed and determining the target lane as a right turn lane; When the driving intention of the vehicle is a left turn intention, determining the target speed as the second speed, and determining the target lane as a left turn lane; When the driving intention of the vehicle is a U-turn intention, the target speed is determined to be a third speed, and the target lane is determined to be the left-turn lane; The first speed is greater than the second speed and the third speed, and the second speed is greater than the third speed.

7. The method according to any one of claims 2 to 4, characterized in that: The time threshold is the time interval for the color corresponding to the traffic light to change from red to non-red, or the time interval for the color corresponding to the traffic light to change from non-red to red.

8. A vehicle control device based on traffic lights, characterized in that: The device comprises: A distance module, used to determine the distance between the vehicle and the stop line corresponding to the traffic light; the stop line is used to represent the position where the vehicle stops when encountering the traffic light; a control module, configured to control the speed of the vehicle to a target speed and control the vehicle to complete lane selection when the distance between the vehicle and the stop line corresponding to the traffic light is less than a distance threshold; a first execution strategy module, configured to determine that the execution strategy of the vehicle is a first execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light, and the change information of the traffic light meet a first condition; the first execution strategy is used to control the vehicle to continue traveling; The second execution strategy module is used to determine that the execution strategy of the vehicle is the second execution strategy when the target speed, the distance between the vehicle and the stop line corresponding to the traffic light and the change information of the traffic light meet the second condition; the second execution strategy is used to control the vehicle to stop driving.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.