Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart illustrating a method for collision avoidance according to a first embodiment of the present invention. The method for preventing collision of the vehicle provided by the first embodiment specifically comprises the following steps.
Step S101, obtaining the automobile running information of the current automobile and the bicycle running information of the current bicycle. The vehicle travel information includes a vehicle position, a vehicle speed, and a vehicle travel path, and the bicycle travel information includes a bicycle position, a bicycle speed, and a bicycle travel path.
Specifically, please refer to fig. 7 in combination, the first electronic device 100 and the second electronic device 200 are utilized to obtain a vehicle position, a vehicle speed, a vehicle traveling path, a bicycle position, a bicycle speed, and a bicycle traveling path. The first electronic device 100 includes a first memory 101, a first processor 102, a first speed sensor 103, a first communication component 104, a first display component 105, an angle measurement component 106, and an automatic door locking component 107. The second electronic device 200 includes a second memory 201, a second processor 202, a second speed sensor 203, a second communication component 204, a second display component 205, and an automatic braking component 206.
For example, the first memory 101 and the second memory 201 store software such as a GPS system and a height map, the first processor 102 and the second processor 202 use the GPS system to locate the current position of the car or the bicycle, and use navigation software such as a height map to obtain the driving route of the car or the bicycle. And control other components to perform various tasks. The first speed sensor 103 and the second speed sensor 203 are used to obtain the vehicle speed and the bicycle speed. The angle measurement assembly 106 is used to measure the angle of the vehicle when it is driven. The first communication component 104 and the second communication component 204 are used for sending the information related to the automobile and the bicycle to the server 900, and receiving the locking signal, the braking signal and the deceleration signal from the server 900. The deadlock signal is used for automatically locking the door assembly 107, and when a dangerous condition is met, the automatically locking door assembly 107 cannot open the vehicle door within a certain time after receiving the deadlock signal. The braking signal and the deceleration signal are applied to the brake actuating assembly 206, and when a dangerous situation is encountered, the braking signal and the deceleration signal control the automatic brake assembly 206 to brake or decelerate. The first display assembly 105 and the second display assembly 205 convert the received warning signal into a sound or display signal that can attract the attention of the passengers and the riding personnel.
And S102, calculating the actual distance between the automobile and the bicycle according to the automobile position and the bicycle position.
Step S103, determining whether the actual distance is smaller than a first criterion, where the first criterion is a preset safety distance. Specifically, in the present embodiment, 100 meters is set as the first criterion, and it is determined whether the actual distance is less than 100 meters. The numerical values are only examples and are not limited, and the first criterion is set according to actual conditions.
And step S104, when the actual distance is smaller than the first standard, calculating the running distance according to the automobile running information and the bicycle running information. In particular, the amount of the solvent to be used,
the driving distance is the minimum distance between the car and the bicycle according to the prediction algorithm. And calculating the possible minimum distance between the automobile and the bicycle according to the common running path of the automobile and the bicycle and the speed of the automobile and the speed of the bicycle.
And step S105, judging whether the running distance is smaller than a second standard, wherein the second standard is the minimum safety distance between the automobile and the bicycle. Specifically, the second standard is 10 meters. When the running distance is less than the second standard, the automobile and the bicycle can collide.
In some other possible embodiments, the warning signal is also sent to the bicycle when the vehicle speed is 0 meters per second. The warning device is used for prompting that the parked automobile has a possible danger of opening the automobile door, and the attention of a rider is promoted.
And step S106, when the running distance is smaller than the second standard, judging whether the reaction time from the actual distance to the running distance is larger than the time standard. Specifically, the time required to reach the minimum distance is calculated from the speed of the vehicle and the speed of the bicycle, for example, the speed of the vehicle stopping at the roadside is 0 meters per second, the speed of the bicycle is 4.5 meters per second, and the reaction time required for a distance from 50 meters to 5 meters is 10 seconds.
And step S107, when the reaction time is greater than the time standard, sending an early warning signal to the bicycle. Specifically, in this embodiment, the time standard is set to 3 seconds, 10 seconds are longer than 3 seconds, and the bicycle riding personnel have enough time to avoid the automobile, so send the early warning signal to the bicycle.
In some other possible embodiments, after the bicycle receives the prompting signal, the information in the prompting signal is output through a vehicle-mounted output device such as a display device or a voice device so as to achieve the effect of reminding the riding personnel of paying attention to the surrounding automobiles.
And step S108, when the reaction time is less than or equal to the time standard, sending a preset emergency processing signal to the automobile and the bicycle. Specifically, when the reaction time is less than 3 seconds, a locking signal is sent to the automobile and/or a braking signal or a deceleration signal is sent to the bicycle according to actual conditions.
In the above-mentioned embodiment, through car position and bicycle position, calculate the actual distance between car and the bicycle, judge whether there is the bicycle in the car preset range according to actual distance, when the bicycle, remind personnel in the car carefully to observe the car circumstances, open the door after confirming the environmental safety again, prevent the dangerous condition that the door caused suddenly opened. The driving distance is calculated according to the automobile driving information and the bicycle driving information, and the bicycle riding personnel is reminded to pay attention to the surrounding environment in time according to the relation between the driving distance and the second standard, so that dangerous situations that the bicycle is too late to brake or carelessly meets are prevented, and the bicycle riding safety is improved.
The method for preventing collision of a vehicle provided by the second embodiment of the invention is different from the method for preventing collision of a vehicle provided by the first embodiment in that the method for preventing collision of a vehicle provided by the second embodiment further comprises
And when the running distance is greater than the second standard, sending a prompt signal to the automobile and/or the bicycle. Specifically, when the actual distance is less than 50 meters, the calculated travel distance is 20 meters, and the second criterion is 5 meters. When the running distance is 20 meters, the bicycle and the automobile have no risk of collision, and only a prompt signal is sent to the automobile and/or the bicycle to indicate that the automobile or the bicycle runs within the specified distance. In the embodiment, when the actual distance between the automobile and the bicycle is 50 and the running distance is 20 meters, a prompt signal is sent to the automobile and/or the bicycle so as to bring the driver to the attention of the surrounding vehicles.
In some other possible embodiments, after the automobile receives the prompt signal, the information in the prompt signal is output through an on-board output device such as a display device or a voice device to achieve the effect of reminding the passengers of paying attention to the surrounding bicycles.
In the embodiment, when the bicycle enters a certain range around the vehicle, the early warning signal is sent to the vehicle in time, and the attention of the passengers to the surrounding environment is improved, so that the condition that the bicycle hits a vehicle door due to the fact that the vehicle is opened is reduced, and the safety of the passengers is improved.
Please refer to fig. 3, which is a first sub-flowchart of a vehicle collision avoidance method according to a second embodiment of the present invention. The method for vehicle collision avoidance provided by the second embodiment differs from the method for vehicle collision avoidance provided by the first embodiment in that the method for vehicle collision avoidance provided by the second embodiment further includes the following steps.
Step S301, judging whether the automobile running path and the bicycle running path are overlapped or not. Specifically, it is determined whether there is an overlapping path when the vehicle and the bicycle travel on the east-west road.
In step S302, when the automobile traveling path and the bicycle traveling path coincide with each other, a traveling distance is calculated according to the automobile traveling path, the bicycle traveling path, the automobile speed, and the bicycle speed.
Please refer to fig. 4, which is a first sub-flowchart of a vehicle collision avoidance method according to a third embodiment of the present invention. The method for vehicle collision avoidance provided by the third embodiment differs from the method for vehicle collision avoidance provided by the first embodiment in that the second criterion includes a second criterion for opening a door and a preset second criterion, and the method for vehicle collision avoidance provided by the third embodiment further includes the following steps.
Step S401, judging whether a door opening signal is acquired.
And step S402, when a door opening signal when the automobile is opened is acquired, acquiring the door opening angle of the automobile. Specifically, the information receiving and returning device further comprises an angle measurer, and the angle measurer is used for measuring the angle of the vehicle when the door is opened.
And S403, calculating a second door opening standard according to the door opening angle and a preset second standard. Specifically, the second door opening standard is calculated according to the door opening angle and the preset second standard according to a preset distance algorithm. Further, when the door opening signal is obtained, whether the driving distance is smaller than a second door opening standard is judged; and when the door opening signal is not acquired, judging whether the driving distance is smaller than a preset second standard, wherein the preset second standard is a numerical value of a preset second standard.
Please refer to fig. 6, which is a flowchart illustrating the sub-steps of step S107 according to a second embodiment of the present invention. Wherein the early warning signal comprises a first early warning signal and a second early warning signal. Step S107 is to send an early warning signal to the bicycle when the reaction time is larger than the time standard.
Further, step S107 may include the following steps.
Step S601, when the driving distance is smaller than a preset second standard and the reaction time is larger than a time standard, whether a door opening signal is acquired is judged.
Step S602, when the door opening signal is acquired, a first early warning signal is sent to the bicycle.
And step S603, when the door opening signal is not acquired, sending a second early warning signal to the bicycle.
In other possible embodiments, step S107 may further include the following steps.
And when the running distance is less than the second standard of opening the door and the reaction time is greater than the time standard, sending a first early warning signal to the bicycle.
The second embodiment of the present invention provides the flow of the sub-steps of step S108. Step S108, when the reaction time is less than or equal to the time standard, a preset emergency processing signal is sent to the automobile and the bicycle. The emergency processing signals include a lock-up signal, a brake signal and a deceleration signal.
Further, step S108 may include the following steps.
When the travel distance is less than a preset second criterion and the reaction time is less than or equal to a time criterion, a lock-up signal is sent to the vehicle and/or a brake signal or a deceleration signal is sent to the bicycle.
In other possible embodiments, step S108 may further include the following steps.
And when the running distance is less than the second standard of opening the door and the reaction time is less than or equal to the time standard, sending a braking signal or a deceleration signal to the bicycle.
In the embodiment, according to the specific actual situation, the corresponding scheme is flexibly adopted, under the condition that danger is possibly caused, the attention of automobile riders and bicycle riders is timely aroused, the situation that the bicycle collides with the automobile door is reduced, the safety of the bicycle riders is improved, and a good parking door opening environment is provided for the automobile.
The present invention also provides a server 900, the server 900 comprising a memory 901 for storing program instructions for a method of vehicle collision avoidance. A processor 902 for executing program instructions to cause the server to perform the above-described method of vehicle collision avoidance.
Please refer to fig. 5, which is a schematic diagram illustrating an internal structure of a server 900 according to a first embodiment of the present invention. The server 900 includes a memory 901, a processor 902, and a bus 903.
The memory 901 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 901 may be an internal storage unit of the server 900 in some embodiments, such as a hard disk of the server 900. The memory 901 may also be an external storage device of the server 900 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), etc. provided on the server 900. Further, the memory 901 may also include both an internal storage unit of the server 900 and an external storage device. The memory 901 may be used not only to store application software installed in the server 900 and various types of data, such as a method of vehicle collision avoidance and the like, but also to temporarily store data that has been output or is to be output.
The bus 903 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Further, the server 900 can also include a display component 904. The display component 904 may be an LED (Light Emitting Diode) display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (organic Light-Emitting Diode) touch panel, or the like. The display component 904 may also be referred to as a display device or display unit, as appropriate, for displaying information processed in the server 900 and for displaying a visualized user interface, among other things.
Further, the server 900 may further include a communication component 905, and the communication component 905 may optionally include a wired communication component and/or a wireless communication component (e.g., a WI-FI communication component, a bluetooth communication component, etc.), which is generally used for establishing a communication connection between the server 900 and other servers.
Processor 902 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip that executes program instructions or processes data stored in memory 901. In particular, the processor 902 executes program instructions of a method of vehicle collision avoidance to control the server 900 to implement the method of vehicle collision avoidance.
While fig. 5 shows only a server 900 having components 901 and 905 and program instructions for implementing a method for vehicle collision avoidance, those skilled in the art will appreciate that the configuration shown in fig. 5 is not limiting of server 900 and may include fewer or more components than shown, or some components may be combined, or a different arrangement of components. The server 900 will be described in detail below, with the processor 902 executing the autopilot software development program instructions to control the server 900 to implement the detailed procedures of the method of vehicle collision avoidance.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more program instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The server may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The program instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the program instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above described systems, apparatuses and units may refer to the corresponding processes in the above described method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the unit is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program instructions.
The invention also provides a vehicle collision avoidance system 99, and the vehicle collision avoidance system 99 comprises the server 900, so that the vehicle collision avoidance system can realize the vehicle collision avoidance method. Referring to fig. 2 in combination, the vehicle collision avoidance system 99 further includes a first electronic device 100, a second electronic device 200, and a server 900.
Since the server 900 and the vehicle collision avoidance system 99 adopt all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described herein again.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, insofar as these modifications and variations of the invention fall within the scope of the claims of the invention and their equivalents, the invention is intended to include these modifications and variations.
The above-mentioned embodiments are only examples of the present invention, which should not be construed as limiting the scope of the present invention, and therefore, the present invention is not limited by the claims.