Disclosure of Invention
In view of the above, the present invention provides a method and a system for assisting driving by using a driving path, so as to solve the problem in the prior art that the electric two-wheel or three-wheel vehicle frequently has traffic accidents due to poor driving behaviors of a rider.
According to a first aspect of embodiments of the present invention, there is provided a method for implementing driving assistance using a travel path, including:
acquiring a driving path and destination information of a user;
determining whether the same data are stored in a cloud database or not according to the driving path and the destination information;
if yes, the driving assistance function is started.
Preferably, the acquiring the user driving path and the destination information includes:
and setting riding destination information in an APP of the handheld terminal, planning a path through third-party software and acquiring a driving path selected by a user.
Preferably, the method further comprises the following steps:
if the riding is carried out for the first time, comparing the deviation degree of the positioning information of the user with the driving path selected by the user in the third-party software;
if the deviation degree is smaller than or equal to a preset distance, judging whether the driving path is successfully registered, learned and stored;
if yes, the driving track and the driving data are stored in a cloud database; wherein the driving data at least comprises video data in the driving process;
if not, giving up the running track and the running data information;
and if the deviation degree is greater than the preset distance, resetting the driving path and the destination information, and forbidding the use of the driving assistance function.
Preferably, the acquiring the user driving path and the destination information includes:
and acquiring the positioning information of the user, capturing the effective identification in the driving process, and obtaining the driving path and destination information of the user by comparing and analyzing the effective identification with the data stored in the cloud database in real time.
Preferably, the obtaining of the positioning information of the user, capturing the effective identifier in the driving process, and obtaining the driving path and the destination information of the user through comparing and analyzing the effective identifier with the data stored in the cloud database in real time specifically include:
step 1, acquiring driving data acquired by a front camera of a vehicle and GPS positioning information of a user;
step 2, sending the longitude and latitude once every other period of time, and identifying the effective identification of the same position by the synchronous camera;
step 3, the communication unit transmits the obtained driving track and the driving data to a cloud database for statistical analysis;
step 4, counting whether the driving tracks of the departure place and the destination exceeding the fixed times are completely the same as the driving data;
step 5, if yes, obtaining the information of the driving path and the destination of the user;
and 6, if not, returning to the step 1.
Preferably, the method further comprises:
judging whether the path track data is successfully registered, learned and stored;
if the registered learning is successful, confirming that the registered learning data are valid, and storing the driving track and the driving data in a cloud database;
starting a vehicle, and calling a driving track and driving data through a communication unit;
counting and analyzing whether the calling running track and the running data deviate from the track obtained by riding and the running data collected by the camera;
if the deviation is detected, the auxiliary driving mode is forbidden to be used;
and if the deviation is not generated, starting the vehicle auxiliary driving mode.
Preferably, the first and second liquid crystal display panels are,
if the electric vehicle is detected to turn, prompting a user to decelerate and automatically turn on a steering lamp, and simultaneously broadcasting a riding attention safety prompting sound;
if the road surface bump is detected, reducing the output current to reduce the speed of the vehicle, and broadcasting a road surface bump riding attention safety prompt sound;
if detect the place ahead barrier, open the brake mode to make the speed of a motor vehicle reduce, report simultaneously and ride and notice safe warning sound.
Preferably, the method further comprises:
if the downhill slope is detected, the output current is closed, the charging mode is changed, and meanwhile the vehicle speed is detected;
if the vehicle speed is too high, starting a brake mode, and simultaneously broadcasting a riding attention safety prompt tone;
if the uphill is detected, a large-current mode is started, the speed of the vehicle is reduced, and a riding attention safety prompt sound is broadcasted at the same time.
According to a second aspect of the embodiments of the present invention, there is provided a system for implementing driving assistance using a travel path, including:
the acquisition module is used for acquiring the information of a user driving path and a destination;
the determining module is used for determining whether the same data are stored in a cloud database according to the driving path and the destination information;
and the starting module is used for starting the driving assistance function if the starting module exists.
According to a third aspect of the embodiments of the present invention, there is provided a system for implementing driving assistance using a travel path, including:
a controller, a processor and a memory;
a controller for controlling a motion state of the electric vehicle according to the method of any one of claims 1 to 8;
the controller is in communication connection with the processor;
the processor is in communication connection with the memory;
the processor is used for calling and executing a program stored in the memory, or executing a control instruction of the controller;
the memory is used for storing a program, and the program is at least used for executing each step of the method for realizing the driving assistance by using the driving path according to any one of claims 1-8.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme, the driving path of the electric vehicle is acquired and compared with the data in the cloud database, if the driving path of the electric vehicle is the same as the data in the cloud database, an auxiliary driving mode is started, so that the user can follow traffic rules, the self-traffic safety awareness is improved, and the probability of traffic accidents is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the claims.
Example one
Fig. 1 is a flowchart illustrating a method of implementing driving assistance using a travel path according to an exemplary embodiment, where as shown in fig. 1, the method 1 includes:
s01, acquiring a user driving path and destination information;
s02, determining whether the same data are stored in a cloud database or not according to the driving path and the destination information;
and step S03, if yes, starting the driving assisting function.
It should be noted that the technical solution provided in this embodiment is applicable to an electric two-wheeled vehicle or a three-wheeled vehicle.
It should be noted that, because the electric two-wheeled vehicle or the electric three-wheeled vehicle is the preferred scheme of medium-short distance traffic, and most of the riding vehicle owners all have fixed travel time and routes, therefore, the travel law of the user can be counted.
It should be noted that, in this embodiment, first, the driving path and the destination information of the user are obtained, and whether the same data are stored in the cloud database is determined according to the driving path and the destination information, and if yes, the driving assistance function is turned on.
In a specific practice, the obtaining of the user driving path and the destination information includes:
and setting riding destination information in the APP of the handheld terminal, planning a path through third-party software and acquiring a driving path selected by a user.
In specific practice, it also includes:
if the riding is carried out for the first time, comparing the deviation degree of the positioning information of the user with the driving path selected by the user in the third-party software;
if the deviation degree is smaller than or equal to a preset distance, judging whether the driving path is successfully registered, learned and stored;
if so, storing the driving track and the driving data to a cloud database; wherein the driving data at least comprises video data in the driving process;
if not, giving up the running track and the running data information;
and if the deviation degree is greater than the preset distance, resetting the driving path and the destination information, and forbidding the use of the driving assistance function.
In a specific practice, the acquiring the user driving path and the destination information includes:
and acquiring the positioning information of the user, capturing the effective identification in the driving process, and comparing and analyzing the effective identification with the data stored in the cloud database in real time to obtain the driving path and destination information of the user.
In specific practice, the positioning information of the user is acquired, the effective identification in the driving process is captured, and the driving path and the destination information of the user are obtained through real-time comparison and analysis with the data stored in the cloud database, and the method specifically comprises the following steps:
step 1, acquiring running data acquired by a front camera of a vehicle and GPS (global positioning system) positioning information of a user;
step 2, sending longitude and latitude once every other period of time, and identifying effective identification of the same position by the synchronous camera;
step 3, the communication unit transmits the obtained driving track and the driving data to a cloud database for statistical analysis;
step 4, counting whether the driving track of the departure place and the destination exceeding the fixed times is completely the same as the driving data;
step 5, if yes, obtaining the driving path and destination information of the user;
and 6, if not, returning to the step 1.
In specific practice, it also includes:
judging whether the path track data is successfully registered, learned and stored;
if the registered learning is successful, confirming that the registered learning data are valid, and storing the driving track and the driving data in a cloud database;
starting a vehicle, and calling a driving track and driving data through a communication unit;
counting and analyzing whether the calling running track and the running data deviate from the track obtained by riding and the running data collected by the camera;
if the deviation is detected, the auxiliary driving mode is forbidden to be used;
and if the deviation is not generated, starting the vehicle auxiliary driving mode.
It should be noted that, the valid identifier may be: various static obstacle targets, such as: road signs, telegraph poles, trees, traffic lights, identification lines, and the like.
It should be noted that there are two methods for acquiring the travel route and the destination information of the user: 1. setting a riding destination in a mobile phone APP, and navigating through third-party software to obtain a driving path selected by a user; 2. in the driving process, the GPS positioning information of the user and the effective identification of the same position acquired by the front-facing camera are acquired, and the GPS positioning information and the effective identification are compared and analyzed with data stored in a cloud database in real time, so that the driving path and the destination information of the user are calculated and deduced.
It should be noted that the acquired driving path is compared with the data stored in the cloud database in real time, longitude and latitude information is sent once per second, and the synchronous camera acquires an effective identifier of the same position, so that the accuracy of calculating the driving path and destination information of the user in the driving process is improved.
The preset distance may be set according to actual conditions, and may be 5 meters, 10 meters, 15 meters, or 20 meters, which is not limited in particular.
It should be noted that, if this riding is the first riding, the deviation degree of the position of the user and the driving path in the third-party software is compared, if the deviation degree is less than the preset 10 meters, it is determined whether the driving path is successfully registered and learned, if the deviation degree is successful, the driving data collected by the camera and the actual driving track information are packaged and stored in the cloud database for being called when the riding is performed next time, and the driving track and the driving data collected by the riding for multiple times are respectively counted and updated according to the scheme of the embodiment, for example: in the driving path, a traffic light is newly added, and according to the technical scheme of the embodiment, the position of the traffic light is counted according to the actual situation, and the relevant information is added in the built-in system.
In specific practice, if the turning of the electric vehicle is detected, a user is prompted to decelerate and turn on a steering lamp automatically, and a riding attention safety prompt tone is broadcasted at the same time;
if the road surface bump is detected, reducing the output current to reduce the vehicle speed, and broadcasting a road surface bump riding attention safety prompt tone;
if detect the place ahead barrier, open the brake mode to make the speed of a motor vehicle reduce, report simultaneously and ride and notice safe warning sound.
In specific practice, if a downhill slope is detected, the output current is turned off and the charging mode is changed, and meanwhile, the vehicle speed is detected;
if the vehicle speed is too high, starting a brake mode, and simultaneously broadcasting a riding attention safety prompt tone;
if the uphill is detected, a large-current mode is started, the speed of the vehicle is reduced, and a riding attention safety prompt sound is broadcasted at the same time.
In specific practice, if the front pedestrian volume is detected to be large, a brake mode is started so that the speed of the bicycle is reduced, and a riding attention safety prompt sound is broadcasted at the same time;
if detect night meeting, then close the distance light and open the dipped headlight, reduce the speed of a motor vehicle, report simultaneously and ride and notice safe warning sound.
If the retrograde motion mode is detected, the speed of the vehicle is reduced, the riding track is corrected, and the riding attention safety prompt tone is broadcasted at the same time.
In some embodiments, if abnormal driving is detected, the speed of the vehicle is reduced, and a riding attention safety prompt sound is broadcasted at the same time.
In some embodiments, if detect the high risk highway section, then open two modes of dodging, reduce the speed of a motor vehicle, report the safe warning sound of riding attention simultaneously.
In some embodiments, if a vehicle fault is detected, the nearest service point is notified and a voice prompt is initiated.
In some embodiments, if an emergency situation is detected, the calling function is started, the system is dialed to set the mobile phone number of the relative, and meanwhile, the user positioning information is sent to the mobile phone of the relative in a short message mode.
It should be noted that the high-risk road section specifically includes: school road sections, accident-prone road sections, sharp turn road sections and the like.
It should be noted that the emergency includes: a user falling, the vehicle being hit by other objects, etc.
Based on the above discussion, there are various implementation manners of the technical solution of the present invention, and fig. 2 is a flowchart illustrating a method for implementing driving assistance using a travel path according to another exemplary embodiment, as shown in fig. 2, the method includes:
s11, opening an APP in the mobile terminal;
s12, setting information of a common riding destination at a certain time;
s13, planning a driving path through third-party software;
s14, opening a front camera of the vehicle;
s15, riding a high-precision positioning functional unit for the first time;
s16, carrying out high-precision positioning on longitude and latitude sent once per second, and identifying effective identifiers of the same position by a synchronous camera;
s17, the communication unit transmits the collected driving track and the driving data to a cloud database for statistical analysis;
s18, comparing whether the deviation degree of the driving track and the third-party navigation planning data is less than 10 meters;
step S19, if yes, judging whether the path track data is successfully registered, learned and stored; if not, returning to the step S11;
s20, if the registered learning is successful, confirming that the registered learning data are valid, and storing the driving track and the driving data in a cloud database;
s21, starting the vehicle, and calling a driving track and driving data through a communication unit;
s22, counting, analyzing and calling whether the driving track and the driving data deviate from the track obtained by riding and the driving data collected by a camera;
step S23, if the deviation exists, forbidding to use the auxiliary driving mode; if not, the auxiliary driving mode of the vehicle is started.
Step S31, if the user does not set the destination information, counting the destination information by adopting repeated big data;
s32, starting a front camera of the vehicle and GPS positioning and data capturing;
s33, carrying out high-precision positioning on longitude and latitude sent once per second, and identifying effective identifiers at the same position by a synchronous camera;
step S34, the communication unit transmits the driving track and the driving data to a cloud database for statistical analysis;
step S35, counting whether the driving track and the driving data of the departure place and the destination are completely the same for more than 5 times;
step S36, if yes, go to step S19; if not, go to step S31.
Wherein the driving assistance mode includes:
when the vehicle encounters a bumpy road surface, the vehicle is braked and decelerated in advance;
when meeting the opposite meeting, the vehicle is driven in advance to switch between the far light and the near light;
when the vehicle needs to turn, a left turn light switch and a right turn light switch are turned on in advance;
when going downhill, the vehicle is braked in advance, the current is reduced, and the vehicle is charged synchronously;
when climbing a slope, increasing current and decelerating to increase the climbing kinetic energy;
when the vehicle track runs in the wrong direction or does not run normally, the speed is reduced to standardize the riding path;
when the vehicle runs on a dangerous road section, the speed is reduced, and the double flashing lamps and the voice warning are started;
when the vehicle meets an obstacle or has a large amount of pedestrian flow, the vehicle automatically brakes, reduces the speed and starts voice warning;
when a vehicle fault occurs, automatically notifying a nearest maintenance point and starting voice prompt;
when the emergency situation of falling or collision occurs, the voice call is automatically called and the voice help is turned on.
Example two
Fig. 3 is a block diagram illustrating a system 300 for driving assistance using a travel path according to an exemplary embodiment, the system including, as shown in fig. 3:
an obtaining module 301, configured to obtain a user travel path and destination information;
a determining module 302, configured to determine whether the same data is stored in the cloud database according to the driving path and the destination information;
and the starting module 303 is used for starting the driving assistance function.
It should be noted that the technical solution provided in this embodiment is applicable to an electric two-wheeled vehicle or a three-wheeled vehicle.
It should be noted that, according to the technical solution provided in this embodiment, the obtaining module 301 is configured to obtain a driving path and destination information of a user, and according to the driving path and the destination information, the determining module 302 is configured to determine whether the same data is stored in the cloud database, and the starting module 303 is configured to start the assistant driving function.
EXAMPLE III
A system for implementing driving assistance using a travel path, the system comprising:
a controller, a processor and a memory;
a controller for controlling the state of motion of the electric vehicle according to the method claim;
the controller is in communication connection with the processor;
the processor is in communication connection with the memory;
the processor is used for calling and executing a program stored in the memory, or executing a control instruction of the controller;
the memory is used for storing a program for executing at least the steps of a method for driving assistance using a driving route according to any one of the method claims.
It should be noted that the technical solution provided in this embodiment is applicable to an electric two-wheeled vehicle or a three-wheeled vehicle.
It should be noted that, according to the technical scheme provided by this embodiment, the driving route and the destination information of the user are obtained, and whether the same data are stored in the cloud database is determined according to the driving route and the destination information, and if yes, the driving assistance function is started.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.