Roadside pedestrian protection method, device, equipment, medium and program product
By obtaining the speed data of pedestrians and target vehicles, the time when pedestrians and vehicles arrive at the crosswalk is calculated, and instructions are generated, which solves the safety hazards of pedestrians when passing through crosswalks, and improves traffic safety and adaptability.
Patent Information
- Application Number
- CN202411801507.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-11
AI Technical Summary
On urban roads, pedestrians still have certain safety hazards when passing through crosswalks, especially in unmanned vehicle factories or unmanned sanitation vehicle parks.
By obtaining the speed data of pedestrians and target vehicles, calculate the time when pedestrians and vehicles arrive at the crosswalk, generate instructions to tell pedestrians whether they can pass through the crosswalk.
It improves pedestrian traffic safety and reduces the risk of traffic accidents. It is suitable for different traffic scenarios in one-way and multi-directional lanes.
Smart Images

Figure CN119600832A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic control technology, and in particular to a roadside pedestrian protection method, device, equipment, medium and program product. Background Art
[0002] With the rapid development of social economy, road traffic is becoming increasingly busy. Through promoting traffic safety publicity, strengthening urban road infrastructure construction, and implementing measures such as separating people and vehicles, the number of traffic accidents in cities has dropped significantly. However, there are still some vehicles that do not follow regulations and rush to cross the crosswalk, and there are still some pedestrians who have a weak sense of safety and are not focused enough when crossing the road, which increases the risk of traffic accidents. At the same time, for unmanned logistics vehicle factories or unmanned sanitation vehicle parks, pedestrians also have a certain risk of accidents when crossing crosswalks.
[0003] Traditionally, pedestrians are usually given a chance to walk, and monitoring and capturing images are strengthened to further restrict drivers’ driving behavior, or traffic safety publicity is strengthened to improve pedestrians’ traffic safety awareness. However, there are still certain safety hazards when pedestrians cross the crosswalk. How to ensure the safety of roadside pedestrians has become an urgent problem to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide roadside pedestrian protection methods, devices, equipment, media and program products that can improve pedestrian safety in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a roadside pedestrian protection method, comprising:
[0006] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0007] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0008] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0009] Indication information is generated according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
[0010] In one embodiment, the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0011] In one of the embodiments, the instruction information includes waiting instruction information and passing instruction information; the waiting instruction information is used to instruct pedestrians to wait for the target vehicle to pass; and the passing instruction information is used to instruct pedestrians to pass quickly.
[0012] In one of the embodiments, indication information is generated based on the relationship between the vehicle driving time and the pedestrian walking time, including: if the target lane is the first lane or the second lane, then when the pedestrian walking time is greater than the vehicle driving time, waiting indication information is generated.
[0013] In one of the embodiments, indication information is generated based on the relationship between the vehicle driving time and the pedestrian walking time, including: if the target lane is the first lane or the second lane, then if the pedestrian walking time is not greater than the vehicle driving time, a passage indication information is generated.
[0014] In one of the embodiments, indication information is generated based on the relationship between the vehicle driving time and the pedestrian walking time, including: if the target lane includes a first lane and a second lane, then when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane, a passage indication information is generated.
[0015] In a second aspect, the present application also provides a roadside pedestrian protection device, comprising:
[0016] An acquisition module, used to acquire the walking speed of pedestrians when walking along the crosswalk, and the vehicle driving speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0017] A first determination module is used to determine the vehicle travel time corresponding to the first position of the crosswalk when the target vehicle travels to the crosswalk according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0018] A second determination module is used to determine the pedestrian walking time for the pedestrian to walk to a second position of the crosswalk according to the pedestrian's walking speed; wherein the second position is a preset position in the pedestrian's walking direction corresponding to the passing direction of the target lane;
[0019] The generating module is used to generate indication information according to the size relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
[0020] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0021] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0022] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0023] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0024] Indication information is generated according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
[0025] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0026] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0027] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0028] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0029] Indication information is generated according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
[0030] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0031] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0032] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0033] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0034] Indication information is generated according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
[0035] In the above-mentioned roadside pedestrian protection method, device, equipment, medium and program product, the vehicle driving time of the target vehicle to the corresponding pedestrian crossing stop line is determined by the vehicle driving speed, and the pedestrian walking time of the pedestrian to the second position of the pedestrian crossing is determined according to the pedestrian walking speed, so that the vehicle driving time is compared with the pedestrian walking time, and the indication information indicating whether the pedestrian has passed the pedestrian crossing is generated, thereby ensuring the safety of roadside pedestrians and helping to reduce the risk of traffic accidents. In addition, by introducing the second position of the pedestrian crossing, and the second position is determined by the travel direction of the target lane, the safe position of the pedestrian on the pedestrian crossing can be determined based on the travel direction of the target lane where the target vehicle is located, which can adapt to different traffic scenarios such as one-way lanes and multi-way lanes, and improve the scene adaptability and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic diagram of a process flow of a roadside pedestrian protection method in an embodiment;
[0038] Figure 2A This is an application scenario diagram of a roadside pedestrian protection method in an embodiment;
[0039] Figure 2B This is an application scenario diagram of a roadside pedestrian protection method in another embodiment;
[0040] Figure 2C This is an application scenario diagram of a roadside pedestrian protection method in yet another embodiment;
[0041] Figure 3 A schematic diagram of a flow chart of a roadside pedestrian protection method in another embodiment;
[0042] Figure 4 is a structural block diagram of a roadside pedestrian protection device in an embodiment;
[0043] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] In one embodiment, Figure 1 As shown, a roadside pedestrian protection method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0046] S110, obtaining a walking speed of a pedestrian when walking along a crosswalk, and a vehicle driving speed corresponding to a target vehicle on a target lane associated with the crosswalk.
[0047] Among them, the pedestrian crossing is also called a zebra crossing, which refers to a specific area on the road marked with zebra crossings for pedestrians to cross the road. The target lane associated with the pedestrian crossing refers to the lane where the target vehicle needs to pass through the corresponding pedestrian crossing during its driving process. The target vehicle can be a manned vehicle or an unmanned vehicle. The unmanned vehicle can include at least one of an unmanned sanitation vehicle, an unmanned logistics vehicle, and an unmanned inspection vehicle.
[0048] In an optional embodiment, the walking speed of pedestrians walking along the crosswalk and / or the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk can be obtained through the roadside data collection module. The data collected by the road test data collection module can be sent to the terminal or server through the data sending module. Among them, the roadside data collection module can be installed at the traffic light or street light pole in front of the crosswalk, and the roadside data collection module can include at least one of a camera, an infrared sensor, and a speed sensor.
[0049] In another optional embodiment, the vehicle speed corresponding to the target vehicle can be collected by the on-board device on the target vehicle, and the vehicle information and vehicle speed corresponding to the target vehicle can be uploaded to the server. At the same time, the vehicle information is collected by the roadside data collection module, and the vehicle speed corresponding to the vehicle information is obtained from the server, thereby reducing the pressure of collecting the vehicle speed of the target vehicle and reducing the computing resource usage.
[0050] S120. Determine, based on the vehicle driving speed, a vehicle driving time corresponding to when the target vehicle drives to a first position of the crosswalk; the first position is a position of a crosswalk stop line in a travel direction of the target lane.
[0051] Among them, the pedestrian crossing stop line is a type of road traffic marking, specifically referring to the parking position of the target vehicle when approaching the pedestrian crossing. For a two-way lane, pedestrian crossing stop lines are set on both sides of the pedestrian crossing to indicate that the target vehicle stops before the pedestrian crossing stop line in its direction of travel.
[0052] In an optional embodiment, determining the vehicle travel time corresponding to the target vehicle traveling to the first position of the crosswalk based on the vehicle travel speed includes: when the target vehicle passes the target position, obtaining the vehicle travel speed of the target vehicle and the target distance from the target position to the first position, and determining the vehicle travel time based on the vehicle travel speed and the target distance.
[0053] S130. Determine the pedestrian walking time for the pedestrian to reach a second position of the crosswalk according to the pedestrian's walking speed; wherein the second position is a preset position in the pedestrian's walking direction corresponding to the traveling direction of the target lane.
[0054] In an optional embodiment, the target lane associated with the crosswalk includes a first lane and a second lane, and the traffic direction of the first lane is opposite to the traffic direction of the second lane. The first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk. If the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0055] It is not difficult to understand that the safe position of pedestrians on the crosswalk is often different for target vehicles with different travel directions. When the target lane is only the first lane, since the first lane is close to the starting point of the crosswalk, pedestrians can ensure their safety by reaching the middle point of the crosswalk before the target vehicle reaches the corresponding crosswalk stop line. When the target lane is only the second lane, since the second lane is close to the end of the crosswalk, pedestrians can ensure their safety by reaching the end of the crosswalk before the target vehicle reaches the corresponding crosswalk stop line.
[0056] S140. Generate indication information based on the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian can safely cross the crosswalk.
[0057] Among them, the vehicle driving time can reflect the estimated time for the target vehicle to reach the stop line of the pedestrian crossing, and the pedestrian walking time can reflect the estimated time for the pedestrian to walk to the second position. The vehicle driving time is compared with the pedestrian walking time to provide safety instructions for pedestrians and ensure pedestrian safety.
[0058] In an optional embodiment, the instruction information may include waiting instruction information and passing instruction information. The waiting instruction information is used to instruct the pedestrian to wait for the target vehicle to pass, and the passing instruction information is used to instruct the pedestrian to pass quickly.
[0059] In an optional embodiment, the indication information may be played through a roadside alarm device. Optionally, the roadside alarm device may be set at a crosswalk. The roadside alarm device may include at least one of a display screen and a loudspeaker. Exemplarily, if the indication information is waiting indication information, the vehicle travel time may be displayed on the display screen in a countdown manner and updated in real time, and / or a waiting prompt may be played through voice, such as "The vehicle is about to pass, please wait in a safe area and do not pass through the crosswalk." Exemplarily, if the indication information is passing indication information, a passing prompt may be played through voice, such as "Please pass the crosswalk quickly."
[0060] In the embodiment of the present application, the vehicle driving time of the target vehicle to the stop line of the corresponding crosswalk is determined by the vehicle driving speed, and the pedestrian walking time of the pedestrian to the second position of the crosswalk is determined according to the pedestrian walking speed, so that the vehicle driving time is compared with the pedestrian walking time, and the indication information indicating whether the pedestrian has passed the crosswalk is generated, thereby ensuring the safety of pedestrians on the roadside and helping to reduce the risk of traffic accidents. In addition, by introducing the second position of the crosswalk, and the second position is determined by the traffic direction of the target lane, the safe position of the pedestrian on the crosswalk can be determined based on the traffic direction of the target lane where the target vehicle is located, which can adapt to different traffic scenes such as one-way lanes and multi-way lanes, and improve the scene adaptability and flexibility.
[0061] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the steps of generating the indication information are refined, including:
[0062] If the target lane is the first lane or the second lane, a waiting indication message is generated when the pedestrian walking time is greater than the vehicle driving time.
[0063] If the target lane is the first lane or the second lane, a traffic indication message is generated when the pedestrian walking time is not greater than the vehicle driving time.
[0064] If the target lane includes a first lane and a second lane, a traffic indication message is generated when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane.
[0065] If the target lane includes a first lane and a second lane, waiting indication information is generated when the vehicle driving time corresponding to the first lane is not greater than the pedestrian walking time corresponding to the first lane, or the vehicle driving time corresponding to the second lane is not greater than the pedestrian walking time corresponding to the second lane.
[0066] For ease of understanding, the following description will be given in conjunction with specific embodiments. For ease of distinction, the target vehicle in the first lane is referred to as the first target vehicle 210 , and the target vehicle in the second lane is referred to as the second target vehicle 220 .
[0067] like Figure 2A The figure shows an application scenario diagram of a roadside pedestrian protection method in an embodiment, where a pedestrian is preparing to walk from the starting point of a crosswalk to the end point of the crosswalk. The first target vehicle 210 is located in the first lane close to the starting point of the crosswalk. At this time, the second position is the midpoint of the crosswalk. The distance from the pedestrian to the midpoint of the crosswalk is d2. By obtaining the pedestrian's walking speed, the pedestrian walking time t1 corresponding to the first lane can be determined. The distance from the first target vehicle 210 to the corresponding stop line of the crosswalk is d1. By obtaining the vehicle driving speed of the first target vehicle 210, the vehicle driving time t2 corresponding to the first target vehicle 210 can be determined.
[0068] When the pedestrian walking time t1 is greater than the vehicle driving time t2, waiting instruction information is generated; when the pedestrian walking time t1 is not greater than the vehicle driving time t2, passing instruction information is generated.
[0069] like Figure 2B The figure shows an application scenario of the roadside pedestrian protection method in another embodiment, where a pedestrian is preparing to walk from the starting point of the crosswalk to the end point of the crosswalk. The second target vehicle 220 is located in the second lane close to the starting point of the crosswalk. At this time, the second position is the end point of the crosswalk. The distance from the pedestrian to the midpoint of the crosswalk is d4. By obtaining the pedestrian walking speed, the pedestrian walking time t3 corresponding to the second lane can be determined. The distance from the second target vehicle 220 to the corresponding stop line of the crosswalk is d3. By obtaining the vehicle driving speed of the second target vehicle 220, the vehicle driving time t4 corresponding to the second target vehicle 220 can be determined.
[0070] When the pedestrian walking time t3 is greater than the vehicle driving time t4, waiting instruction information is generated; when the pedestrian walking time t3 is not greater than the vehicle driving time t4, passing instruction information is generated.
[0071] like Figure 2B The figure shows an application scenario of a roadside pedestrian protection method in another embodiment, where a pedestrian is preparing to walk from the starting point of a crosswalk to the end point of the crosswalk. The first target vehicle 210 is located in the first lane near the starting point of the crosswalk, and the second target vehicle 220 is located in the second lane near the end point of the crosswalk. Similarly, the pedestrian walking time t1 corresponding to the first lane and the vehicle driving time t2 corresponding to the first target vehicle 210 can be determined; the pedestrian walking time t3 corresponding to the second lane and the vehicle driving time t4 corresponding to the second target vehicle 220 can be determined.
[0072] When the vehicle driving time t2 corresponding to the first lane is greater than the pedestrian walking time t1 corresponding to the first lane, and the vehicle driving time t4 corresponding to the second lane is greater than the pedestrian walking time t3 corresponding to the second lane, the passing instruction information is generated. When the vehicle driving time t2 corresponding to the first lane is not greater than the pedestrian walking time t1 corresponding to the first lane, or the vehicle driving time t4 corresponding to the second lane is not greater than the pedestrian walking time t3 corresponding to the second lane, the waiting instruction information is generated.
[0073] In the embodiment of the present application, only the type of the target lane and the relationship between the vehicle driving time and the pedestrian walking time are required, and then based on the above rules, the indication information can be quickly generated. The comparison process is relatively simple, which is conducive to improving the efficiency of generating indication information.
[0074] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which another specific implementation of the energy recovery control method is provided.
[0075] See also Figure 3 Another roadside pedestrian protection method shown includes:
[0076] S310, obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle driving speed corresponding to the target vehicle on the target lane associated with the crosswalk; the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk.
[0077] S320. Determine, based on the vehicle driving speed, the vehicle driving time corresponding to the first position of the crosswalk at which the target vehicle drives; the first position is the position of the crosswalk stop line in the travel direction of the target lane.
[0078] S330. Determine the pedestrian walking time for the pedestrian to reach the second position of the crosswalk according to the pedestrian's walking speed; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0079] S340: If it is determined that the target lane is the first lane or the second lane, then S350 is executed.
[0080] S350: When the pedestrian's walking time is greater than the vehicle's driving time, generate waiting instruction information; when the pedestrian's walking time is not greater than the vehicle's driving time, generate passing instruction information.
[0081] S360: If the target lane is determined to be the first lane or the second lane, execute S370.
[0082] S370. When the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane, generate a passing instruction message; when the vehicle driving time corresponding to the first lane is not greater than the pedestrian walking time corresponding to the first lane, or the vehicle driving time corresponding to the second lane is not greater than the pedestrian walking time corresponding to the second lane, generate a waiting instruction message.
[0083] The detailed technical contents of the above steps S310 - S370 have been recorded in the above examples and will not be repeated here.
[0084] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0085] Based on the same inventive concept, the embodiment of the present application also provides a roadside pedestrian protection device for implementing the roadside pedestrian protection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the roadside pedestrian protection device provided below can refer to the limitations of the roadside pedestrian protection method above, and will not be repeated here.
[0086] In an exemplary embodiment, Figure 4 As shown, a roadside pedestrian protection device is provided, including: an acquisition module 410, a first determination module 420, a second determination module 430 and a generation module 440, wherein:
[0087] The acquisition module 410 is used to acquire the walking speed of pedestrians when walking along the crosswalk, and the vehicle driving speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0088] The first determination module 420 is used to determine the vehicle travel time corresponding to the first position of the crosswalk when the target vehicle travels to the crosswalk according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0089] The second determination module 430 is used to determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the passing direction of the target lane;
[0090] The generating module 440 is used to generate indication information according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian can safely cross the crosswalk.
[0091] In one embodiment, the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0092] In one embodiment, the indication information includes waiting indication information and passing indication information; the waiting indication information is used to instruct pedestrians to wait for the target vehicle to pass; and the passing indication information is used to instruct pedestrians to pass quickly.
[0093] In one embodiment, the generation module 440 includes: a first generation unit, which is used to generate waiting indication information if the target lane is the first lane or the second lane and the pedestrian walking time is greater than the vehicle driving time.
[0094] In one embodiment, the generation module 440 includes: a second generation unit, which is used to generate traffic indication information if the target lane is the first lane or the second lane and the pedestrian walking time is not greater than the vehicle driving time.
[0095] In one embodiment, the generation module 440 includes: a third generation unit, which is used to generate traffic indication information if the target lane includes a first lane and a second lane, when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane.
[0096] Each module in the above-mentioned roadside pedestrian protection device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0097] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a roadside pedestrian protection method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0098] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0099] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0100] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0101] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0102] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0103] According to the relationship between the vehicle driving time and the pedestrian walking time, the indication information is generated; wherein the indication information is used to indicate whether the pedestrian can safely pass through the crosswalk.
[0104] In one embodiment, the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0105] In one embodiment, the indication information includes waiting indication information and passing indication information; the waiting indication information is used to instruct pedestrians to wait for the target vehicle to pass; and the passing indication information is used to instruct pedestrians to pass quickly.
[0106] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the target lane is the first lane or the second lane, then when the pedestrian walking time is greater than the vehicle driving time, a waiting indication message is generated.
[0107] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the target lane is the first lane or the second lane, then if the pedestrian walking time is not greater than the vehicle driving time, a traffic indication information is generated.
[0108] In one embodiment, the processor further implements the following steps when executing the computer program: if the target lane includes a first lane and a second lane, then when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane, a passage indication information is generated.
[0109] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0110] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0111] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0112] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0113] According to the relationship between the vehicle driving time and the pedestrian walking time, the indication information is generated; wherein the indication information is used to indicate whether the pedestrian can safely pass through the crosswalk.
[0114] In one embodiment, the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0115] In one embodiment, the indication information includes waiting indication information and passing indication information; the waiting indication information is used to instruct pedestrians to wait for the target vehicle to pass; and the passing indication information is used to instruct pedestrians to pass quickly.
[0116] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane is the first lane or the second lane, then when the pedestrian walking time is greater than the vehicle driving time, a waiting indication message is generated.
[0117] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane is the first lane or the second lane, a traffic indication message is generated when the pedestrian walking time is not greater than the vehicle driving time.
[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane includes a first lane and a second lane, then when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane, a passage indication information is generated.
[0119] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0120] Obtaining the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk;
[0121] Determine the vehicle travel time corresponding to the first position of the crosswalk where the target vehicle travels according to the vehicle travel speed; the first position is the position of the crosswalk stop line in the travel direction of the target lane;
[0122] Determine the pedestrian walking time for the pedestrian to walk to the second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane;
[0123] According to the relationship between the vehicle driving time and the pedestrian walking time, the indication information is generated; wherein the indication information is used to indicate whether the pedestrian can safely pass through the crosswalk.
[0124] In one embodiment, the target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; the second lane is close to the end point of the crosswalk; if the target lane is the first lane, the second position is the midpoint of the crosswalk; if the target lane is the second lane, the second position is the end point of the crosswalk.
[0125] In one embodiment, the indication information includes waiting indication information and passing indication information; the waiting indication information is used to instruct pedestrians to wait for the target vehicle to pass; and the passing indication information is used to instruct pedestrians to pass quickly.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane is the first lane or the second lane, then when the pedestrian walking time is greater than the vehicle driving time, a waiting indication message is generated.
[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane is the first lane or the second lane, a traffic indication message is generated when the pedestrian walking time is not greater than the vehicle driving time.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the target lane includes a first lane and a second lane, then when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane, a passage indication information is generated.
[0129] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0131] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A roadside pedestrian protection method, characterized in that: The method comprises: Obtaining a walking speed of a pedestrian when walking along a crosswalk, and a vehicle travel speed corresponding to a target vehicle on a target lane associated with the crosswalk; Determine, according to the vehicle travel speed, the vehicle travel time corresponding to the target vehicle traveling to a first position of the crosswalk; the first position is the position of the crosswalk stop line of the crosswalk in the travel direction of the target lane; Determining the pedestrian walking time for the pedestrian to walk to a second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the walking direction of the target lane; Indication information is generated according to the relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
2. The method according to claim 1, characterized in that The target lane associated with the crosswalk includes a first lane and a second lane; the traffic direction of the first lane is opposite to the traffic direction of the second lane; the first lane is close to the starting point of the crosswalk; and the second lane is close to the end point of the crosswalk; If the target lane is the first lane, the second position is the midpoint of the crosswalk; If the target lane is the second lane, the second position is the end point of the crosswalk.
3. The method according to claim 2, characterized in that The instruction information includes waiting instruction information and passing instruction information; The waiting instruction information is used to instruct the pedestrian to wait for the target vehicle to pass; The passage instruction information is used to instruct the pedestrian to pass quickly.
4. The method according to claim 2 or 3, characterized in that: The generating of indication information according to the magnitude relationship between the vehicle driving time and the pedestrian walking time includes: If the target lane is the first lane or the second lane, then when the pedestrian walking time is greater than the vehicle driving time, waiting indication information is generated.
5. The method according to claim 2 or 3, characterized in that: The generating of indication information according to the magnitude relationship between the vehicle driving time and the pedestrian walking time includes: If the target lane is the first lane or the second lane, then when the pedestrian walking time is not greater than the vehicle driving time, passage instruction information is generated.
6. The method according to claim 2 or 3, characterized in that: The generating of indication information according to the magnitude relationship between the vehicle driving time and the pedestrian walking time includes: If the target lane includes the first lane and the second lane, passage indication information is generated when the vehicle driving time corresponding to the first lane is greater than the pedestrian walking time corresponding to the first lane, and the vehicle driving time corresponding to the second lane is greater than the pedestrian walking time corresponding to the second lane.
7. A roadside pedestrian protection device, characterized in that: The device comprises: An acquisition module, used to acquire the walking speed of pedestrians when walking along the crosswalk, and the vehicle speed corresponding to the target vehicle on the target lane associated with the crosswalk; A first determination module is used to determine, according to the vehicle driving speed, the vehicle travel time corresponding to the first position of the crosswalk at which the target vehicle travels; the first position is the position of the crosswalk stop line of the crosswalk in the passing direction of the target lane; A second determination module is used to determine the pedestrian walking time of the pedestrian walking to a second position of the crosswalk according to the pedestrian walking speed; wherein the second position is a preset position in the pedestrian walking direction corresponding to the passing direction of the target lane; A generating module is used to generate indication information according to the size relationship between the vehicle driving time and the pedestrian walking time; wherein the indication information is used to indicate whether the pedestrian passes through the crosswalk.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are 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 steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Traffic safety early warning method for pedestrian crosswalk and related device
CN120183169A