Vehicle driving mode switching method based on vehicle cloud communication
1. A vehicle driving mode switching method based on vehicle cloud communication is characterized by comprising the following steps:
judging whether the vehicle in the current driving mode receives a driving mode switching instruction, wherein the driving mode comprises the following steps: an artificial driving mode, a constant speed cruise mode and a predictive cruise control mode, the predictive cruise control mode comprising: a first predictive cruise control sub-mode, a second predictive cruise control sub-mode and a third predictive cruise control sub-mode;
and when a driving mode switching instruction is received, controlling the vehicle to run according to a target driving mode corresponding to the driving mode switching instruction, wherein the target driving mode is a mode for dynamically adjusting the vehicle speed according to the received vehicle speed conversion instruction.
2. The method according to claim 1, wherein when the current driving mode is an artificial driving mode and the target driving mode is a constant speed cruise mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
receiving external touch operation information;
when the external touch operation information meets a first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received;
when the current driving mode is the constant-speed cruise mode and the target driving mode is the manual driving mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps:
receiving external touch operation information;
and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
3. The method according to claim 1, wherein when the current driving mode is a driver mode and the target driving mode is a first anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching command comprises:
receiving external touch operation information;
when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data is received normally, and the data format is normal, determining that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received;
when the current driving mode is the first predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps:
receiving external touch operation information;
and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
4. The method according to claim 2, wherein when the current driving mode is the constant-speed-cruise mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
receiving external touch operation information;
when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data is received normally, and the data format is normal, determining that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received;
when the current driving mode is the first predictive cruise control sub-mode, the judging whether the vehicle in the current mode receives a driving mode switching instruction comprises the following steps:
and when the network connection is interrupted or the GPS cannot be solved or the speed of the vehicle exceeds a preset speed threshold or the received external touch operation information meets a first operation condition or the error accumulation frequency exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
5. The method according to claim 3 or 4, wherein when the current driving mode is the first anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
when the network connection is normal, GPS data can be resolved, data receiving is normal, the data format is normal, the speed of the vehicle is smaller than or equal to a preset speed threshold value, the position of the vehicle is on a preset map, the distance from the position of the vehicle to the next station in the preset map is within a preset range, and the number of stations in the preset map is larger than a preset number, it is determined that a driving mode switching instruction for switching to the second predictive cruise control sub-mode is received, wherein the preset map comprises a plurality of preset stations.
6. The method of claim 5, wherein when the current driving mode is the second anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching command comprises:
and when the data format is abnormal due to errors, the data receiving is abnormal, or the position of the vehicle is not in a preset map or the distance between the positions of the vehicles or the distance between the next station in the preset map is out of a preset range or the number of stations in the preset map is less than or equal to a preset number, determining that a cruise switching instruction for switching to the third predictive cruise control sub-mode is received.
7. The method according to claim 3 or 4, wherein when the current driving mode is the first anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
and when the data format is abnormal due to errors, the data receiving is abnormal, or the position of the vehicle is not in a preset map or the distance between the positions of the vehicles or the distance between the next station in the preset map is out of a preset range or the number of stations in the preset map is less than or equal to a preset number, determining that a driving mode switching instruction for switching to the third predictive cruise control sub-mode is received.
8. The method according to claim 7, wherein when the current driving mode is a third anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching command comprises:
and when the data reception is normal, the data format is normal, the position of the vehicle is in a preset map, the distance from the position of the vehicle to the next station in the preset map is in a preset range, and the number of stations in the preset map is greater than the preset number, determining that a driving mode switching instruction for switching to the second predictive cruise control sub-mode is received.
9. The method according to claim 6 or 7, wherein when the current driving mode is a third predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
when network connection is interrupted or GPS cannot be solved or the speed of the vehicle exceeds a preset speed threshold or received external touch operation information meets a first operation condition or the number of times of error accumulation exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received;
or when the current driving mode is the third predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps:
receiving external touch operation information;
and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
10. The method according to claim 5 or 8, wherein when the current driving mode is the second anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction comprises:
receiving external touch operation information;
when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received;
or when the current driving mode is the second predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps:
and when the network connection is interrupted or the GPS cannot be solved or the speed of the vehicle is greater than a preset speed threshold value or the received external touch operation information meets a first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
Background
With the rapid development of vehicle technology, more and more vehicles are provided with cruise control systems, which are systems for keeping automobiles running automatically at a constant speed by using electronic control technology. The speed per hour locking device has the main effects that the speed per hour of a vehicle can be locked according to the requirements of a driver, the vehicle can automatically keep a fixed speed per hour to run without stepping on an accelerator pedal, when the vehicle runs on a highway, the body fatigue of the driver can be effectively relieved, and the fuel consumption can be saved when the vehicle runs at the same speed.
However, in the current vehicle cruise, the vehicle cruise is performed according to a fixed speed set by a driver, but when a driving road condition is complex, the speed needs to be continuously adjusted according to an actual road condition, so that a vehicle driving mode switching method based on vehicle cloud communication is urgently needed to dynamically adjust the driving speed so as to adapt to a complex driving scene.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that the driving speed cannot be adjusted according to the actual road condition in the prior art, so that a vehicle driving mode switching method based on vehicle cloud communication is provided.
According to a first aspect, the invention discloses a vehicle driving mode switching method based on vehicle cloud communication, which comprises the following steps: judging whether the vehicle in the current driving mode receives a driving mode switching instruction, wherein the driving mode comprises the following steps: an artificial driving mode, a constant speed cruise mode and a predictive cruise control mode, the predictive cruise control mode comprising: a first predictive cruise control sub-mode, a second predictive cruise control sub-mode and a third predictive cruise control sub-mode; and when a driving mode switching instruction is received, controlling the vehicle to run according to a target driving mode corresponding to the driving mode switching instruction, wherein the target driving mode is a mode for dynamically adjusting the vehicle speed according to the received vehicle speed conversion instruction.
Optionally, when the current driving mode is an artificial driving mode and the target driving mode is a constant-speed cruise mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: receiving external touch operation information; when the external touch operation information meets a first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received; when the current driving mode is the constant-speed cruise mode and the target driving mode is the manual driving mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps: receiving external touch operation information; and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
Optionally, when the current driving mode is a driver mode and the target driving mode is a first predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: receiving external touch operation information; when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data is received normally, and the data format is normal, determining that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received; when the current driving mode is the first predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps: receiving external touch operation information; and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
Optionally, when the current driving mode is the constant-speed cruise mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: receiving external touch operation information; when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data is received normally, and the data format is normal, determining that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received; when the current driving mode is the first predictive cruise control sub-mode, the judging whether the vehicle in the current mode receives a driving mode switching instruction comprises the following steps: and when the network connection is interrupted or the GPS cannot be solved or the speed of the vehicle exceeds a preset speed threshold or the received external touch operation information meets a first operation condition or the error accumulation frequency exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
Optionally, when the current driving mode is the first predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: when the network connection is normal, GPS data can be resolved, data receiving is normal, the data format is normal, the speed of the vehicle is smaller than or equal to a preset speed threshold value, the position of the vehicle is on a preset map, the distance from the position of the vehicle to the next station in the preset map is within a preset range, and the number of stations in the preset map is larger than a preset number, it is determined that a driving mode switching instruction for switching to the second predictive cruise control sub-mode is received, wherein the preset map comprises a plurality of preset stations.
Optionally, when the current driving mode is the second predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: and when the data format is abnormal due to errors, the data receiving is abnormal, or the position of the vehicle is not in a preset map or the distance between the positions of the vehicles or the distance between the next station in the preset map is out of a preset range or the number of stations in the preset map is less than or equal to a preset number, determining that a cruise switching instruction for switching to the third predictive cruise control sub-mode is received.
Optionally, when the current driving mode is the first predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: and when the data format is abnormal due to errors, the data receiving is abnormal, or the position of the vehicle is not in a preset map or the distance between the positions of the vehicles or the distance between the next station in the preset map is out of a preset range or the number of stations in the preset map is less than or equal to a preset number, determining that a driving mode switching instruction for switching to the third predictive cruise control sub-mode is received.
Optionally, when the current driving mode is the third predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: and when the data reception is normal, the data format is normal, the position of the vehicle is in a preset map, the distance from the position of the vehicle to the next station in the preset map is in a preset range, and the number of stations in the preset map is greater than the preset number, determining that a driving mode switching instruction for switching to the second predictive cruise control sub-mode is received.
Optionally, when the current driving mode is the third predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: when network connection is interrupted or GPS cannot be solved or the speed of the vehicle exceeds a preset speed threshold or received external touch operation information meets a first operation condition or the number of times of error accumulation exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received; or when the current driving mode is the third predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps: receiving external touch operation information; and when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received.
Optionally, when the current driving mode is the second predictive cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes: receiving external touch operation information; when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to the manual driving mode is received; or when the current driving mode is the second predictive cruise control sub-mode, the judging whether the vehicle in the current driving mode receives a driving mode switching instruction comprises the following steps: and when the network connection is interrupted or the GPS cannot be solved or the speed of the vehicle is greater than a preset speed threshold value or the received external touch operation information meets a first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
The technical scheme of the invention has the following advantages:
the invention provides a vehicle cruise mode switching method based on vehicle cloud communication, which judges whether a vehicle in a current driving mode receives a driving mode switching instruction, wherein the driving mode comprises the following steps: the cruise control system comprises an artificial driving mode, a constant-speed cruise mode and a predictive cruise control mode, wherein the predictive cruise control mode comprises the following steps: a first predictive cruise control sub-mode, a second predictive cruise control sub-mode and a third predictive cruise control sub-mode; and when a driving mode switching instruction is received, controlling the vehicle to run according to a target driving mode corresponding to the driving mode switching instruction, wherein the target driving mode is a mode for dynamically adjusting the vehicle speed according to the received vehicle speed conversion instruction. The invention switches a plurality of driving modes according to the received driving mode switching instruction, changes the driving speed, so that the vehicle is more suitable for complex road conditions when driving, optimizes the energy consumption of the vehicle, has high intelligent degree, only changes software without changing the hardware condition of the existing vehicle, has low cost and better application universality.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a vehicle cruise mode switching method based on vehicle cloud communication according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an exemplary embodiment of a vehicle cruise mode switching method based on vehicle cloud communication;
FIG. 3 is a diagram of an embodiment of a computer device.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present 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," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention discloses a vehicle cruising mode switching method based on vehicle cloud communication, which comprises the following steps as shown in figure 1:
s11: judging whether the vehicle in the current driving mode receives a driving mode switching instruction, wherein the driving mode comprises the following steps: the cruise control system comprises an artificial driving mode, a constant-speed cruise mode and a predictive cruise control mode, wherein the predictive cruise control mode comprises the following steps: a first predictive cruise control sub-mode, a second predictive cruise control sub-mode, and a third predictive cruise control sub-mode.
The constant-speed cruise mode refers to a mode for cruising at a fixed speed set by a driver. The Predictive Cruise Control (PCC) mode may include: a first predictive cruise control submode (PCC standby driving mode), a second predictive cruise control submode (PCC running driving mode), a third predictive cruise control submode (PCC failure driving mode), and the like.
The driving speed of the PCC mode may be fixed or may be changed in real time. For example, the driving speed corresponding to the PCC mode may be calculated and transmitted to the processor by the cloud in real time according to the driving environment and the vehicle driving information, or may be a fixed driving speed set in advance for the PCC mode. The determination method of the running speed in the embodiment of the present invention is not particularly limited, and those skilled in the art may determine the running speed according to actual situations.
S12: and when a driving mode switching instruction is received, controlling the vehicle to run according to a target driving mode corresponding to the driving mode switching instruction, wherein the target driving mode is a mode for dynamically adjusting the vehicle speed according to the received vehicle speed conversion instruction.
For example, the driving mode switching instruction may be transmitted by the driver. The vehicle speed conversion command can be sent by the cloud, and can also be sent by a driver. The vehicle speed change command may be received through a wireless network (T-box) or a wired network. The sending method of the vehicle speed conversion command in the embodiment of the present invention is not particularly limited, and may be determined according to a specific target driving mode.
The above-described target cruise mode may also include: the system comprises a manual driving mode, a constant-speed cruise mode and a predictive cruise control mode, wherein the vehicle speed is dynamically adjusted according to a received vehicle speed conversion command.
The invention provides a vehicle cruise mode switching method based on vehicle cloud communication, which judges whether a vehicle in a current driving mode receives a driving mode switching instruction, wherein the driving mode comprises the following steps: the cruise control system comprises an artificial driving mode, a constant-speed cruise mode and a predictive cruise control mode, wherein the predictive cruise control mode comprises the following steps: a first predictive cruise control sub-mode, a second predictive cruise control sub-mode and a third predictive cruise control sub-mode; and when a driving mode switching instruction is received, controlling the vehicle to run according to a target driving mode corresponding to the driving mode switching instruction, wherein the target driving mode is a mode for dynamically adjusting the vehicle speed according to the received vehicle speed conversion instruction. The invention switches a plurality of driving modes according to the received driving mode switching instruction, changes the driving speed, so that the vehicle is more suitable for complex road conditions when driving, optimizes the energy consumption of the vehicle, has high intelligent degree, only changes software without changing the hardware condition of the existing vehicle, has low cost and better application universality.
As an optional implementation manner of the embodiment of the present invention, when the current driving mode is the manual driving mode and the target driving mode is the constant-speed cruise mode, as shown in condition 1 in fig. 2, the determining in step S12 whether the vehicle in the current driving mode receives the driving mode switching instruction includes:
first, external touch operation information is received.
Illustratively, the external touch operation information may include: push button information, turn knob information, or accelerator press information. The touch operation information is not particularly limited in the embodiment of the present invention, and those skilled in the art can determine the touch operation information according to the actual situation of the vehicle. In the embodiment of the invention, the driver can send external touch operation information to the controller by pressing the button, rotating the knob and stepping on the accelerator.
Secondly, when the external touch operation information meets the first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
For example, the first operating condition may be that the pressing information is received a first preset number of times within a preset time, the first preset number of times may be 1 time, and the preset time may be 10 s. The first operating condition may also be that rotation information of a target direction is received, for example, a rotation button is rotated to the left. The first operating condition may be that the rotation information is received a second preset number of times, and the second preset number of times may be 2 times. The first operating condition, the preset time, the target direction, the first preset times and the second preset times are not specifically limited in the embodiment of the present invention, and can be determined by a person skilled in the art according to actual conditions.
After switching to the cruise control mode, as shown in condition 2 of fig. 2, when the current driving mode is the cruise control mode and the target driving mode is the manual driving mode, determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
first, external touch operation information is received.
Secondly, when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to a manual driving mode is received.
For example, the second operating condition may be that the accelerator pedal angle is less than a preset angle threshold (e.g., 30 °), that the rotation knob is zeroed, or that a manual driving selection box on an electronic display screen of the vehicle is clicked. The second operating condition and the preset angle threshold are not specifically limited in the embodiment of the present invention, and those skilled in the art can determine the second operating condition and the preset angle threshold according to actual situations.
As an alternative implementation manner of the embodiment of the present invention, as shown in condition 7 in fig. 2, when the current driving mode is the driver mode and the target driving mode is the first predictive cruise control sub-mode, the determining in step S12 whether the vehicle in the current driving mode receives the driving mode switching instruction includes:
first, external touch operation information is received.
Secondly, when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data reception is normal and the data format is normal, it is determined that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received.
Illustratively, the third operating condition may be that the pressing information is received a third preset number of times within the preset time, the third preset number of times may be 2 times, and the preset time may be 20 s. The third operating condition may also be that rotation information of the target direction is received, for example, a right rotation. The third operating condition may be that the rotation information is received a fourth preset number of times, and the fourth preset number of times may be 1 time. The third operating condition, the preset time, the target direction, the third preset times and the fourth preset times are not specifically limited in the embodiment of the present invention, and those skilled in the art can determine the third operating condition, the preset time, the target direction, the third preset times and the fourth preset times according to actual situations.
Whether the network connection is normal or not can be judged by judging whether the network parameters are consistent with the standard network parameters or not, for example, whether the network speed is 0kb/s or not, and when the network speed is 0kb/s, the network connection is determined to be abnormal, and when the network speed is more than 0kb/s, the network connection is determined to be normal. Whether the data format is normal or not can be determined by judging the comparison of the received data format and a preset format.
When the cruise control system is in the constant-speed cruise mode or the manual driving mode and simultaneously meets all the conditions, the cruise control system can be switched to the first anticipatory cruise control sub-mode to carry out cruise.
According to the embodiment of the invention, the communication condition of the vehicle and the cloud is judged before switching, and when the communication condition of the vehicle and the cloud meets the preset condition, the mode is switched to the PCC mode, so that the accuracy of obtaining the driving speed transmitted by the cloud and the reliability of vehicle operation are ensured.
When the current driving mode is the first anticipatory cruise control sub-mode, as shown in condition 8 in fig. 2, the method for determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
firstly, receiving external touch operation information;
secondly, when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to a manual driving mode is received. The detailed description of the condition 2 in the above embodiment can be referred to, and is not repeated herein.
As an optional implementation manner of the embodiment of the present invention, as shown in condition 3 in fig. 2, when the current driving mode is the constant-speed cruise mode, determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
first, external touch operation information is received.
Secondly, when the external touch operation information meets a third operation condition, the network connection is normal, GPS data can be resolved, the data reception is normal and the data format is normal, it is determined that a driving mode switching instruction for switching to the first predictive cruise control sub-mode is received. For specific implementation, refer to the description of condition 7 in the above embodiment, which is not repeated herein.
When the current driving mode is the first anticipatory cruise control sub-mode, as shown in condition 4 in fig. 2, the step S12 of determining whether the vehicle in the current mode receives a driving mode switching command includes:
and when the network connection is interrupted or the GPS or the speed of the vehicle cannot be solved and exceeds a preset speed threshold or the received external touch operation information meets a first operation condition or the error accumulation frequency exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
For example, the accumulated number of errors may be: the method solves the accumulation times of GPS data errors and network connection abnormity. The first preset threshold may be 2 times, and the first preset threshold is not specifically limited in the embodiment of the present invention, and may be determined by a person skilled in the art according to an actual situation.
When the first anticipatory cruise control sub-mode simultaneously meets all the conditions, the cruise control mode can be switched to the constant-speed cruise mode for cruising.
As an optional implementation manner of the embodiment of the present invention, as shown in condition 9 in fig. 2, when the current driving mode is the first anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
when the network connection is normal, the GPS data can be resolved, the data receiving is normal, the data format is normal, the speed of the vehicle is smaller than or equal to a preset speed threshold value, the position of the vehicle is on a preset map, the distance between the position of the vehicle and the next station in the preset map is within a preset range, and the number of stations in the preset map is larger than a preset number, it is determined that a driving mode switching instruction for switching to a second predictive cruise control sub-mode is received, and the preset map comprises a plurality of preset stations.
For example, the preset map may be previously constructed from actual road segments. The preset range may be 30 m. The preset speed threshold value can be 50km/h or 100 km/h. The site can be preset in each position on the map, and can also be set manually. The preset number may be 100, and the preset speed threshold, the station, the preset range, and the preset number are not specifically limited in the embodiment of the present invention, and may be determined by a person skilled in the art according to an actual situation.
When the first anticipatory cruise control sub-mode meets all the conditions, the cruise control can be switched to the second anticipatory cruise control sub-mode for cruise.
As an alternative implementation manner of the embodiment of the present invention, as shown in condition 10 in fig. 2, when the current driving mode is the second anticipatory cruise control sub-mode, the step of determining whether the vehicle in the current driving mode receives the driving mode switching instruction in step S12 includes:
and when the data format is abnormal due to errors, the data receiving is abnormal, the position of the vehicle is not in the preset map, the distance between the position of the vehicle and the next stop point in the preset map is out of the preset range, or the number of the stop points in the preset map is less than or equal to the preset number, determining that a cruise switching instruction for switching to the third predictive cruise control sub-mode is received. That is, when the second anticipatory cruise control sub-mode satisfies any one of the above conditions, the cruise control mode can be switched to the third anticipatory cruise control sub-mode for cruise.
As an optional implementation manner of the embodiment of the present invention, as shown in condition 14 in fig. 2, when the current driving mode is the first anticipatory cruise control sub-mode, the determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
and when the data format is abnormal due to errors, the data receiving is abnormal, the position of the vehicle is not in the preset map, the distance between the position of the vehicle and the next stop in the preset map is out of the preset range, or the number of stops in the preset map is less than or equal to the preset number, determining that a driving mode switching instruction for switching to the third predictive cruise control sub-mode is received. That is, when the first anticipatory cruise control sub-mode satisfies any one of the above conditions, the cruise control mode can be switched to the third anticipatory cruise control sub-mode for cruise.
As an optional implementation manner of the embodiment of the present invention, as shown in condition 11 in fig. 2, when the current driving mode is the third anticipatory cruise control sub-mode, determining whether the vehicle in the current driving mode receives a driving mode switching instruction includes:
and when the data reception is normal, the data format is normal, the position of the vehicle is in the preset map, the distance from the position of the vehicle to the next station in the preset map is in the preset range, and the number of stations in the preset map is greater than the preset number, determining that a driving mode switching instruction for switching to the second predictive cruise control sub-mode is received. That is, when the third anticipatory cruise control sub-mode satisfies all the above conditions, the cruise control mode can be switched to the second anticipatory cruise control sub-mode for cruise.
As an alternative implementation manner of the embodiment of the present invention, as shown in condition 6 in fig. 2, when the current driving mode is the third anticipatory cruise control sub-mode, the step S12 of determining whether the vehicle in the current driving mode receives the driving mode switching instruction includes:
and when the network connection is interrupted or the GPS or the speed of the vehicle cannot be solved and exceeds a preset speed threshold or the received external touch operation information meets a first operation condition or the error accumulation frequency exceeds a preset threshold, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received. For specific implementation, reference may be made to the description related to condition 4 of the foregoing embodiment, which is not described herein again.
Or as shown in condition 12 in fig. 2, when the current driving mode is the third predictive cruise control sub-mode, the step S12 of determining whether the vehicle in the current driving mode receives the driving mode switching command includes:
first, external touch operation information is received.
Secondly, when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to a manual driving mode is received. For specific implementation, reference may be made to the description related to condition 2 in the foregoing embodiment, which is not described herein again.
As an alternative implementation manner of the embodiment of the present invention, as shown in condition 13 in fig. 2, when the current driving mode is the second anticipatory cruise control sub-mode, the step of determining whether the vehicle in the current driving mode receives the driving mode switching instruction in step S12 includes:
first, external touch operation information is received.
Secondly, when the external touch operation information meets a second operation condition, determining that a driving mode switching instruction for switching to a manual driving mode is received; for specific implementation, reference may be made to the description related to condition 2 in the foregoing embodiment, which is not described herein again.
Or as shown in condition 5 in fig. 2, when the current driving mode is the second predictive cruise control sub-mode, the step S12 of determining whether the vehicle in the current driving mode receives the driving mode switching command includes:
and when the network connection is interrupted or the GPS or the vehicle speed cannot be solved or the received external touch operation information meets a first operation condition, determining that a driving mode switching instruction for switching to the constant-speed cruise mode is received.
When the second anticipatory cruise control sub-mode meets any one of the conditions, the cruise control mode can be switched to the constant-speed cruise mode for cruising.
As an optional implementation method of the embodiment of the present invention, the step S12 includes:
firstly, a vehicle speed transformation command sent by a cloud is obtained.
Illustratively, the vehicle speed transformation command comprises a vehicle running speed, and can be sent by a cloud through a wireless network, and the cloud can encrypt the vehicle speed transformation command according to an agreed algorithm and then transmit the vehicle speed transformation command in order to ensure the information transmission safety when sending the vehicle speed transformation command. And the vehicle receives the speed conversion command and then decrypts according to the agreed algorithm.
And secondly, adjusting the current running speed according to a speed transformation instruction sent by the cloud. And switching the current running speed to the vehicle running speed in the vehicle speed conversion command.
The embodiment of the invention calculates the transmission driving speed in real time through the cloud end, can be more suitable for complex driving scenes, and obtains the driving speed through communication with the cloud end, thereby being more intelligent.
As an optional implementation manner of the embodiment of the present invention, when the target cruise mode is the manual driving mode, the controlling the vehicle to travel according to the target cruise mode corresponding to the cruise mode switching command includes:
the method comprises the steps of receiving a vehicle speed conversion instruction sent by a driver, wherein the vehicle speed conversion instruction comprises vehicle running speed, adjusting the current running vehicle speed according to the vehicle speed conversion instruction sent by the driver, and sending the vehicle running speed to a controller by stepping on an accelerator pedal for the driver.
An embodiment of the present invention further provides a computer device, as shown in fig. 3, the computer device may include a processor 31 and a memory 32, where the processor 31 and the memory 32 may be connected by a bus or in another manner, and fig. 3 takes the example of being connected by a bus as an example.
The processor 31 may be a Central Processing Unit (CPU). The Processor 31 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 32 is a non-transitory computer readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the vehicle cruise mode switching method based on vehicle cloud communication in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, the vehicle cruise mode switching method based on vehicle cloud communication in the above method embodiment is implemented.
The memory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 31, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 32 may optionally include memory located remotely from the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 32, and when executed by the processor 31, perform the vehicle cruise mode switching method based on vehicle cloud communication in the embodiment shown in fig. 1.
The details of the computer device can be understood with reference to the corresponding related descriptions and effects in the embodiment shown in fig. 1, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:信息处理装置、记录介质以及信息处理方法